/*
Theme Name: ConvergeNote AI
Author: ConvergeNote AI
Author URI: https://convergenoteai.com
Description: A polished WordPress product theme for an AI transcription, notes, press, and film-awards workflow app.
Version: 2.0.0
Requires at least: 6.1
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: best-whiskey-guide
Tags: custom-logo, custom-menu, featured-images, blog, one-column, accessibility-ready, translation-ready
*/

:root {
  --ink: #090d1a;
  --ink-2: #151b2d;
  --muted: #667085;
  --soft: #f5f7fb;
  --soft-blue: #edf5ff;
  --blue: #2878f0;
  --blue-2: #0b5fe8;
  --cyan: #38d5ff;
  --coral: #ff6b6b;
  --green: #22c58b;
  --white: #ffffff;
  --line: rgba(9, 13, 26, 0.1);
  --dark-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(24, 37, 68, 0.14);
  --shadow-strong: 0 32px 100px rgba(40, 120, 240, 0.24);
  --wrap: min(1120px, calc(100% - 36px));
  --wrap-wide: min(1280px, calc(100% - 36px));
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, ul, ol, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: 0; }
h1 { font-size: clamp(2.65rem, 7vw, 5.9rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.9rem); }
h3 { font-size: clamp(1.08rem, 1.8vw, 1.45rem); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.screen-reader-text { position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.screen-reader-text:focus { position: fixed!important; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 16px; background: var(--ink); color: var(--white); z-index: 1000; clip: auto; }

.wrap { width: var(--wrap); margin-inline: auto; }
.wrap-wide { width: var(--wrap-wide); margin-inline: auto; }
.content-narrow { max-width: 820px; }
.section { padding-block: clamp(68px, 9vw, 124px); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow { color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.lead { color: #4f5f76; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.55; }
.section-head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-head .eyebrow { margin-inline: auto; }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.split-head > div { max-width: 780px; }

.button, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary, .wp-block-button.button-primary .wp-block-button__link { background: var(--blue); color: var(--white); box-shadow: 0 14px 30px rgba(40, 120, 240, .24); }
.button-primary:hover { background: var(--blue-2); }
.button-secondary { border-color: var(--line); background: var(--white); color: var(--ink); }
.button-secondary:hover { border-color: rgba(40, 120, 240, .5); box-shadow: 0 12px 28px rgba(24, 37, 68, .08); }
.section--dark .button-secondary { background: transparent; color: var(--white); border-color: var(--dark-line); }
.text-link { color: var(--blue); font-weight: 850; text-decoration: underline; text-underline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); border-bottom: 1px solid rgba(9,13,26,.07); backdrop-filter: blur(18px); }
.nav-shell { min-height: 70px; display: flex; align-items: center; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; color: var(--ink); }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--blue); color: var(--white); font-size: .78rem; box-shadow: 0 10px 28px rgba(40,120,240,.28); }
.custom-logo-link img { max-height: 42px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; }
.main-nav a { display: block; padding: 10px 12px; color: #263348; font-size: .94rem; font-weight: 760; }
.main-nav a:hover { color: var(--blue); }
.nav-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: var(--radius); background: var(--ink); color: var(--white); font-weight: 850; font-size: .94rem; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); }

.cn-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 72% 22%, rgba(56,213,255,.2), transparent 28%), linear-gradient(180deg, #fbfdff 0%, #f3f8ff 72%, #ffffff 100%); }
.cn-hero-grid { min-height: 760px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); gap: clamp(34px, 7vw, 96px); align-items: center; padding-block: clamp(64px, 9vw, 112px); }
.cn-hero-copy { max-width: 720px; min-width: 0; }
.cn-hero-copy h1, .cn-hero-copy .lead { overflow-wrap: normal; max-width: 100%; }
.cn-hero-copy .lead { margin-top: 22px; max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cn-phone-stage { position: relative; min-height: 660px; display: grid; place-items: center; }
.cn-phone {
  width: min(300px, 48vw);
  border-radius: 34px;
  border: 8px solid #0a0d16;
  box-shadow: var(--shadow-strong);
  background: var(--white);
}
.cn-phone-main { position: relative; z-index: 2; transform: rotate(-5deg) translateX(-72px); }
.cn-phone-side { position: absolute; z-index: 1; right: clamp(0px, 3vw, 52px); top: 88px; transform: rotate(5deg); opacity: .96; }
.cn-floating-note {
  position: absolute;
  z-index: 3;
  max-width: 210px;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(40,120,240,.16);
  box-shadow: 0 18px 48px rgba(24,37,68,.14);
  font-size: .84rem;
  font-weight: 850;
}
.cn-note-one { top: 110px; left: 4px; }
.cn-note-two { right: 0; bottom: 118px; }

.cn-trust-strip { background: var(--ink); color: var(--white); }
.cn-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; }
.cn-trust-grid strong { min-height: 68px; display: grid; place-items: center; padding: 16px; text-align: center; border-left: 1px solid var(--dark-line); font-size: .95rem; }

.cn-split { display: grid; grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr); gap: clamp(36px, 7vw, 88px); align-items: center; }
.cn-media-frame {
  min-height: 580px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, #11182a, #243857);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cn-media-frame img, .cn-workflow-phone img { width: min(300px, 74%); border-radius: 34px; border: 8px solid #080b12; box-shadow: 0 28px 80px rgba(0,0,0,.22); }
.cn-section-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 18px; max-width: 690px; }
.cn-mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.cn-mini-grid article, .cn-source-card, .cn-benefit-card, .cn-price-card, .cn-faq details, .article-card, .category-card, .method-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.cn-mini-grid article { padding: 18px; }
.cn-mini-grid p, .cn-source-card p, .cn-use-card p, .cn-price-card p, .cn-faq p { color: var(--muted); }

.cn-source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cn-source-card { min-height: 340px; padding: 24px; display: flex; flex-direction: column; justify-content: end; position: relative; overflow: hidden; box-shadow: 0 18px 54px rgba(24,37,68,.08); }
.cn-source-card span { position: absolute; top: 20px; left: 20px; color: var(--blue); font-weight: 950; }
.cn-source-card::before { content: ""; position: absolute; inset: 24px 24px auto auto; width: 118px; aspect-ratio: 1; border-radius: 50%; opacity: .16; }
.cn-source-a::before { background: var(--blue); }
.cn-source-b::before { background: var(--coral); }
.cn-source-c::before { background: var(--green); }
.cn-source-card h3 { margin-bottom: 10px; }

.cn-use-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cn-use-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 20px;
  border-radius: var(--radius);
  color: var(--white);
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, rgba(9,13,26,.08), rgba(9,13,26,.88)), linear-gradient(135deg, #2878f0, #151b2d);
}
.cn-use-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 24%, rgba(255,255,255,.32), transparent 28%); }
.cn-use-card > * { position: relative; z-index: 1; }
.cn-use-card p { color: rgba(255,255,255,.78); margin-top: 10px; }
.cn-use-card-2 { background: linear-gradient(180deg, rgba(9,13,26,.08), rgba(9,13,26,.88)), linear-gradient(135deg, #22c58b, #14261f); }
.cn-use-card-3 { background: linear-gradient(180deg, rgba(9,13,26,.08), rgba(9,13,26,.88)), linear-gradient(135deg, #ff6b6b, #311719); }
.cn-use-card-4 { background: linear-gradient(180deg, rgba(9,13,26,.08), rgba(9,13,26,.88)), linear-gradient(135deg, #38d5ff, #17243b); }

.cn-workflow { background: var(--ink); color: var(--white); overflow: hidden; }
.cn-workflow .eyebrow { color: var(--cyan); }
.cn-workflow-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: clamp(32px, 7vw, 88px); align-items: center; }
.cn-steps { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 12px; counter-reset: steps; }
.cn-steps li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--dark-line); border-radius: var(--radius); }
.cn-steps li::before { counter-increment: steps; content: counter(steps); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 950; grid-row: span 2; }
.cn-steps strong, .cn-steps span { display: block; }
.cn-steps span { color: rgba(255,255,255,.7); }
.cn-workflow-phone { display: grid; place-items: center; min-height: 560px; border-radius: 28px; background: radial-gradient(circle at 50% 40%, rgba(40,120,240,.48), transparent 38%); }

.cn-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cn-benefit-card { min-height: 116px; display: flex; align-items: end; padding: 18px; color: var(--ink); font-weight: 900; box-shadow: 0 12px 34px rgba(24,37,68,.05); }
.cn-benefit-card::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); margin-right: 10px; align-self: center; flex: 0 0 auto; }

.cn-pricing { max-width: 860px; }
.cn-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cn-price-card { padding: 26px; display: grid; gap: 16px; }
.cn-price-card-featured { border-color: rgba(40,120,240,.36); box-shadow: var(--shadow); }
.card-meta { color: var(--blue); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }

.cn-faq { max-width: 900px; }
.cn-faq-list { display: grid; gap: 10px; }
.cn-faq details { padding: 18px 20px; }
.cn-faq summary { cursor: pointer; font-weight: 900; }
.cn-faq p { margin-top: 12px; }

.cn-final-cta { text-align: center; color: var(--white); background: radial-gradient(circle at 50% 0%, rgba(56,213,255,.28), transparent 28%), linear-gradient(135deg, #080d18, #17243b); }
.cn-final-cta .eyebrow { color: var(--cyan); }
.cn-final-cta h2 { max-width: 900px; margin: 0 auto 26px; }

.breadcrumbs { display: flex; gap: 8px; align-items: center; padding-top: 24px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.content-page { padding-bottom: 72px; }
.article-header, .archive-header { padding-block: clamp(48px, 7vw, 88px) 34px; }
.article-header .lead, .archive-header .lead { margin-top: 18px; }
.post-thumb { margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }
.entry-content { font-size: 1.05rem; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.35em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--soft); }
.article-grid, .category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.article-card { overflow: hidden; display: flex; flex-direction: column; }
.article-thumb { display: grid; place-items: center; aspect-ratio: 16/10; background: var(--soft-blue); color: var(--blue); font-weight: 900; }
.article-card-body, .category-card { padding: 20px; display: grid; gap: 10px; }
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card span { display: block; font-size: 1.25rem; font-weight: 900; }
.method-box { padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; }

.site-footer { background: #050812; color: var(--white); padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p, .footer-links a, .responsible, .site-footer p { color: rgba(255,255,255,.7); }
.footer-brand .site-brand { margin-bottom: 14px; color: var(--white); }
.footer-heading { font-size: 1rem; margin-bottom: 14px; color: var(--cyan); }
.footer-links { list-style: none; display: grid; gap: 9px; padding: 0; }
.footer-links a:hover { color: var(--white); }
.responsible { margin-top: 16px; font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 26px; margin-top: 38px; border-top: 1px solid var(--dark-line); color: rgba(255,255,255,.68); font-size: .92rem; }

@media (max-width: 1020px) {
  .cn-hero-grid, .cn-split, .cn-workflow-grid { grid-template-columns: 1fr; }
  .cn-hero-grid { min-height: auto; }
  .cn-phone-stage { min-height: 620px; }
  .cn-phone-main { transform: rotate(-4deg) translateX(-42px); }
  .cn-phone-side { right: 8%; }
  .cn-mini-grid, .cn-source-grid, .cn-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cn-use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 70px 0 auto 0; display: none; background: var(--white); border-bottom: 1px solid var(--line); padding: 14px 18px; }
  .menu-open .main-nav { display: block; }
  .main-nav ul { display: grid; align-items: stretch; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .split-head, .method-box { align-items: start; flex-direction: column; grid-template-columns: 1fr; }
  .cn-trust-grid, .category-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 2.35rem; line-height: 1.08; }
  h2 { font-size: 2rem; }
  .wrap, .wrap-wide { width: min(100% - 28px, 1120px); }
  .section { padding-block: 58px; }
  .hero-actions { flex-direction: column; }
  .button, .wp-block-button__link { width: 100%; }
  .cn-hero-grid { padding-block: 50px 20px; }
  .cn-hero-copy { width: min(100%, 350px); max-width: 100%; }
  .cn-hero-copy h1, .cn-hero-copy .lead, .cn-hero-copy .hero-actions { max-width: 350px; }
  .cn-phone-stage { min-height: 520px; align-items: start; padding-top: 18px; overflow: hidden; width: 100%; }
  .cn-phone { width: 228px; border-radius: 28px; border-width: 6px; }
  .cn-phone-main { transform: rotate(-4deg) translateX(-36px); }
  .cn-phone-side { top: 84px; right: 0; }
  .cn-floating-note { font-size: .75rem; max-width: 176px; padding: 10px 12px; }
  .cn-note-one { top: 18px; left: 0; }
  .cn-note-two { right: 8px; bottom: 48px; max-width: 154px; }
  .cn-trust-grid, .cn-mini-grid, .cn-source-grid, .cn-use-grid, .cn-benefit-grid, .cn-price-grid, .category-grid, .article-grid, .footer-grid { grid-template-columns: 1fr; }
  .cn-media-frame, .cn-workflow-phone { min-height: 420px; border-radius: 18px; }
  .cn-source-card, .cn-use-card { min-height: 260px; }
  .cn-steps li { grid-template-columns: 36px minmax(0, 1fr); }
  .cn-steps li::before { width: 36px; height: 36px; }
  .footer-bottom { flex-direction: column; }
}
