/* Noteithere website — Plus Jakarta Sans (full Vietnamese support), navy + coral brand, lots of white space. */
:root {
  --navy: #092a6d;
  --navy-deep: #0b1d4f;
  --coral: #f14a38;
  --coral-deep: #d63a28;
  --coral-soft: #fdece9;
  --blue: #3356aa;
  --blue-soft: #e9eefa;
  --amber: #8a5300;
  --amber-soft: #fcefd9;
  --green: #1d7a4a;
  --green-soft: #e3f4ea;
  --ground: #fbfbfd;
  --ground-2: #f4f6fb;
  --card: #ffffff;
  --card2: #f1f3f9;
  --ink: #0b1330;
  --ink2: #4a5270;
  --ink3: #8a90a6;
  --eyebrow: #6b7aa6;
  --line: #e7eaf2;
  --glow-a: rgba(51, 86, 170, .55);
  --glow-b: rgba(241, 74, 56, .45);
  --shadow: 0 1px 2px rgba(11, 19, 48, .04), 0 12px 32px rgba(11, 19, 48, .06);
  --shadow-lg: 0 30px 80px rgba(11, 19, 48, .16);
  --radius: 24px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --coral-soft: #3a1612; --blue: #7d97e6; --blue-soft: #18244a; --amber: #f4b95a; --amber-soft: #33260f; --green: #4cc38a; --green-soft: #12301f;
    --ground: #070b18; --ground-2: #0b1122; --card: #10162b; --card2: #182039; --ink: #eef1fa; --ink2: #b3bad2; --ink3: #7f87a3; --eyebrow: #8e9bc6; --line: #222a44;
    --glow-a: rgba(51, 86, 170, .45); --glow-b: rgba(241, 74, 56, .30);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35); --shadow-lg: 0 30px 80px rgba(0,0,0,.55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --coral-soft: #3a1612; --blue: #7d97e6; --blue-soft: #18244a; --amber: #f4b95a; --amber-soft: #33260f; --green: #4cc38a; --green-soft: #12301f;
  --ground: #070b18; --ground-2: #0b1122; --card: #10162b; --card2: #182039; --ink: #eef1fa; --ink2: #b3bad2; --ink3: #7f87a3; --eyebrow: #8e9bc6; --line: #222a44;
  --glow-a: rgba(51, 86, 170, .45); --glow-b: rgba(241, 74, 56, .30);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35); --shadow-lg: 0 30px 80px rgba(0,0,0,.55);
  color-scheme: dark;
}

/* One typeface everywhere — headings, body, buttons, forms, prices. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, button, input, select, textarea {
  /* Plus Jakarta Sans covers Latin (incl. Vietnamese and Turkish); other scripts fall back to the system's own fonts. */
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic",
    "Geeza Pro", "Noto Sans Thai", "Thonburi", "Noto Sans Devanagari", "Kohinoor Devanagari", "PingFang SC", "PingFang TC",
    "Hiragino Sans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
body {
  margin: 0; background: var(--ground); color: var(--ink); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--blue); }
/* Line heights leave room for stacked Vietnamese marks (ậ, ặ, ễ, ỗ…). */
h1, h2, h3, h4 { margin: 0; line-height: 1.14; letter-spacing: -0.028em; text-wrap: balance; font-weight: 800; overflow-wrap: break-word; hyphens: auto; }
/* Long words in some languages (Geräteverleih, recordatorio) must never push a column past the screen. */
p, li, b, .tab, .btn { overflow-wrap: break-word; }
h3, h4 { letter-spacing: -0.015em; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 560px) { .wrap { padding-inline: 18px; } }
.accent { color: var(--coral); }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--eyebrow); }

/* Scripts that don't suit tight Latin spacing: no negative letter-spacing, more room for stacked marks.
   Arabic letters join, so letter-spacing must stay 0 everywhere. */
html[lang="ar"] *, html[lang="th"] *, html[lang="hi"] *, html[lang|="zh"] *, html[lang="ja"] *, html[lang="ko"] * { letter-spacing: 0 !important; }
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3, html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { line-height: 1.4; }
html[lang="ar"] body, html[lang="th"] body, html[lang="hi"] body { line-height: 1.8; }
html[lang="ar"] .eyebrow, html[lang|="zh"] .eyebrow, html[lang="ja"] .eyebrow, html[lang="ko"] .eyebrow, html[lang="th"] .eyebrow, html[lang="hi"] .eyebrow { font-size: 13.5px; }

/* Right to left (Arabic): mirror the few things placed by hand. */
[dir="rtl"] .glow { inset: -120px auto auto -10vw; }
[dir="rtl"] .mac { left: -120px; right: 130px; }
[dir="rtl"] .phone { left: auto; right: 0; }
[dir="rtl"] .today { left: auto; right: 0; }
[dir="rtl"] .tasks { left: 0; right: 200px; }
[dir="rtl"] .plan .badge { left: auto; right: 30px; }
[dir="rtl"] .arr, [dir="rtl"] .arrowc { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(3px); }
@media (max-width: 980px) { [dir="rtl"] .arrowc { transform: rotate(90deg); } [dir="rtl"] .phone { right: auto; } }
@media (max-width: 560px) { [dir="rtl"] .today, [dir="rtl"] .tasks { right: auto; left: auto; } }

/* ---------- Header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--ground) 78%, transparent);
  backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand svg { width: 22px; height: 30px; flex: none; }
.nav { display: flex; gap: 30px; margin-inline: auto; white-space: nowrap; }
.nav a { color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
/* Language menu: a quiet pill with the globe and the language's own name. */
.lang-pick { position: relative; display: inline-flex; align-items: center; gap: 6px; background: var(--card2); border-radius: 999px; padding: 0 12px 0 12px; height: 38px; font-size: 14px; }
.lang-pick span { font-size: 14px; }
.lang-select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--ink); font-size: 13.5px; font-weight: 700;
  padding: 0 16px 0 2px; height: 100%; cursor: pointer; outline: none; max-width: 150px; text-overflow: ellipsis; }
/* On the narrowest phones the menu gives way instead of pushing the page sideways. */
@media (max-width: 400px) { .menu-cta, .lang-pick { min-width: 0; flex-shrink: 1; } .lang-select { max-width: 104px; } }
.lang-pick::after { content: ""; position: absolute; inset-inline-end: 12px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--ink3); border-bottom: 1.5px solid var(--ink3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.lang-select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 999px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 15px 26px; font-weight: 700; font-size: 15.5px;
  text-decoration: none; cursor: pointer; border: 0; text-align: center; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 26px rgba(9, 42, 109, .28); }
.btn-navy:hover { background: #0c3585; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 26px rgba(241, 74, 56, .30); }
.btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--ink3); }
.btn-soft { background: var(--card2); color: var(--ink); }
.top .btn { padding: 11px 20px; font-size: 14px; }
.menu-cta { display: flex; align-items: center; gap: 14px; }
@media (max-width: 1100px) { .nav { display: none; } .menu-cta { margin-inline-start: auto; } }
.top .btn { white-space: nowrap; }
@media (max-width: 620px) { .top .btn { display: none; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-navy { background: #2a4fb0; } }
:root[data-theme="dark"] .btn-navy { background: #2a4fb0; }

/* ---------- Soft glow, like the reference: navy and coral light on the right ---------- */
.glow { position: absolute; inset: -120px -10vw auto auto; width: min(900px, 90vw); height: 760px; pointer-events: none; z-index: 0;
  background: radial-gradient(38% 45% at 42% 38%, var(--glow-a), transparent 70%),
              radial-gradient(34% 40% at 78% 30%, var(--glow-b), transparent 72%),
              radial-gradient(30% 30% at 70% 70%, rgba(241,74,56,.18), transparent 70%);
  filter: blur(40px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 72px 96px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 56px); margin-top: 22px; }
.hero h1 span.l2 { display: block; color: var(--coral); }
.hero .lead { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink2); margin-top: 26px; max-width: 32em; }
.hero .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.works { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; font-size: 14px; color: var(--ink3); }
.works .app { display: inline-flex; align-items: center; gap: 7px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ink2); font-weight: 600; font-size: 13px; }
.works .dot { width: 8px; height: 8px; border-radius: 50%; }
.props { display: flex; flex-wrap: wrap; gap: 26px 34px; margin-top: 44px; }
.prop { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink2); font-weight: 500; max-width: 200px; line-height: 1.4; }
.prop .ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); }
.prop .ico svg { width: 18px; height: 18px; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 48px 64px; } }

/* Devices: a Mac window with the calendar, the iPhone in front with the AI reading. */
.devices { position: relative; min-height: 560px; }
.mac { position: absolute; left: 130px; right: -120px; top: 20px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.mac .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding-inline: 12px; background: var(--ground-2); border-bottom: 1px solid var(--line); }
.mac .bar i { width: 9px; height: 9px; border-radius: 50%; background: #e0e3ec; display: block; }
.mac .body { display: grid; grid-template-columns: 100px minmax(0, 1fr); min-height: 380px; }
.mac .side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 6px; align-content: start; font-size: 11px; color: var(--ink2); }
.mac .side span { padding: 6px 8px; border-radius: 8px; }
.mac .side span.on { background: var(--coral-soft); color: var(--coral); font-weight: 700; }
.mac .cal { padding: 14px 16px; }
.mac .cal h5 { margin: 0 0 10px; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.grid7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; font-size: 9.5px; color: var(--ink3); }
.grid7 div { height: 62px; border-radius: 8px; background: var(--ground-2); padding: 4px 5px; position: relative; }
.grid7 .ev { position: absolute; left: 4px; right: 4px; bottom: 4px; border-radius: 6px; padding: 3px 5px; font-size: 8.5px; font-weight: 700; line-height: 1.2; }
.ev.b { background: var(--blue-soft); color: var(--blue); }
.ev.c { background: var(--coral-soft); color: var(--coral); }
.phone { position: absolute; left: 0; bottom: 0; width: 262px; background: #0e1224; border-radius: 44px; padding: 10px; box-shadow: var(--shadow-lg); z-index: 2; }
.phone .scr { background: var(--card); border-radius: 36px; overflow: hidden; padding: 16px 14px 18px; min-height: 500px; display: flex; flex-direction: column; gap: 10px; }
.phone .st { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; padding: 2px 10px 6px; color: var(--ink); }
.phone .hd { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; padding: 0 4px 4px; }
.phone .hd svg { width: 14px; height: 19px; }
.bubble { align-self: flex-end; max-width: 88%; background: var(--card2); border-radius: 18px 18px 6px 18px; padding: 10px 12px; font-size: 11.5px; line-height: 1.5; color: var(--ink); }
.found { border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: grid; gap: 8px; background: var(--card); box-shadow: var(--shadow); }
.found .t { font-size: 11px; color: var(--ink3); font-weight: 600; }
.kind { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-soft); color: var(--blue); font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 4px 10px; justify-self: start; }
.found h6 { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: -0.01em; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; font-size: 11px; }
.kv dt { color: var(--ink3); }
.kv dd { margin: 0; font-weight: 600; }
.tag { display: inline-block; font-size: 9px; font-weight: 700; border-radius: 999px; padding: 1px 6px; margin-left: 4px; border: 1px solid; vertical-align: 1px; }
.tag.g { color: var(--blue); border-color: color-mix(in srgb, var(--blue) 45%, transparent); }
.tag.s { color: var(--coral); border-color: color-mix(in srgb, var(--coral) 45%, transparent); }
.tag.u { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 45%, transparent); }
.np { color: var(--ink3) !important; font-weight: 500 !important; }
.confirm { display: flex; justify-content: flex-end; gap: 6px; }
.confirm span { font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 6px 11px; background: var(--card2); }
.confirm span.c { background: var(--coral); color: #fff; }
.phone .inp { margin-top: auto; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 14px; font-size: 11px; color: var(--ink3); }
.phone .inp b { width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-size: 12px; }
@media (max-width: 980px) { .devices { min-height: 0; } .mac { display: none; } .phone { position: relative; margin-inline: auto; left: auto; bottom: auto; } }
@media (max-width: 380px) { .phone { width: 100%; } }

/* ---------- Sections ---------- */
section { padding-block: 120px; position: relative; }
@media (max-width: 760px) { section { padding-block: 72px; } }
.head { max-width: 720px; margin-bottom: 56px; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(30px, 4vw, 50px); margin-top: 16px; }
.head p { color: var(--ink2); font-size: clamp(16px, 1.4vw, 18px); margin-top: 18px; }
.alt { background: var(--ground-2); }

/* Three value cards under the hero (like the reference) */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: -40px; position: relative; z-index: 2; }
.value { background: var(--card); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.value .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.value .ic svg { width: 24px; height: 24px; }
.ic.blue { background: var(--blue-soft); color: var(--blue); }
.ic.coral { background: var(--coral-soft); color: var(--coral); }
.ic.green { background: var(--green-soft); color: var(--green); }
.ic.amber { background: var(--amber-soft); color: var(--amber); }
.value h3 { font-size: 19px; margin-top: 22px; }
.value p { color: var(--ink2); font-size: 15px; margin-top: 8px; }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; } }
@media (max-width: 560px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* Time saved: the old way vs Noteithere */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.way { background: var(--card); border-radius: var(--radius); padding: 36px; border: 1px solid var(--line); }
.way.new { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.way .lbl { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.way.new .lbl { color: #ffb4a9; }
.way h3 { font-size: 24px; margin-top: 10px; }
.chain { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chain span { font-size: 13.5px; font-weight: 600; background: var(--card2); color: var(--ink2); border-radius: 999px; padding: 7px 13px; }
.chain span.x { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--coral) 60%, transparent); }
.way.new .chain span { background: rgba(255,255,255,.12); color: #fff; }
.way .sum { margin-top: 26px; font-size: 15px; color: var(--ink2); }
.way.new .sum { color: rgba(255,255,255,.78); }
.way .big { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin-top: 22px; line-height: 1; }
.way.new .big { color: #fff; }
.way .big small { font-size: 16px; font-weight: 600; letter-spacing: 0; opacity: .75; margin-left: 6px; }
@media (max-width: 860px) { .compare { grid-template-columns: minmax(0, 1fr); } .way { padding: 28px; } }

/* How it works: 01 → 02 → 03 */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: stretch; }
.stepc { background: var(--card); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.stepc .no { font-size: 13px; font-weight: 800; color: var(--coral); letter-spacing: .08em; }
.stepc h3 { font-size: 21px; }
.stepc .msg { background: var(--card2); border-radius: 18px 18px 18px 6px; padding: 14px 16px; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.stepc .msg small { display: block; font-size: 12px; color: var(--ink3); font-weight: 700; margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { max-width: 100%; overflow-wrap: anywhere; font-size: 13px; font-weight: 700; border-radius: 12px; padding: 8px 12px; background: var(--blue-soft); color: var(--blue); }
.chips span.k { background: var(--navy); color: #fff; }
.chips span.p { background: var(--coral-soft); color: var(--coral); }
.ready { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.ready h4 { font-size: 16px; }
.arrowc { display: grid; place-items: center; color: var(--ink3); font-size: 22px; }
@media (max-width: 980px) { .flow { grid-template-columns: minmax(0, 1fr); } .arrowc { transform: rotate(90deg); } }

/* One message. More than a date. — interactive */
.demo { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; }
.tabs { display: grid; gap: 10px; }
.tab { text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 18px; padding: 16px 18px; cursor: pointer; display: grid; gap: 4px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.tab b { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.tab b > span { min-width: 0; hyphens: auto; overflow-wrap: anywhere; }
.tab > span { font-size: 13.5px; color: var(--ink3); font-weight: 500; }
.tab[aria-selected="true"] { border-color: var(--coral); box-shadow: 0 10px 28px rgba(241, 74, 56, .14); }
.tab[aria-selected="true"] > span { color: var(--ink2); }
.panel { background: var(--card); border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
.panel[hidden] { display: none; }
.panel .col-lbl { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); margin-bottom: 12px; }
.panel .msg { background: var(--card2); border-radius: 20px 20px 20px 6px; padding: 16px 18px; font-size: 15px; line-height: 1.6; }
.panel .msg small { display: block; font-size: 12px; color: var(--ink3); font-weight: 700; margin-bottom: 4px; }
.result { display: grid; gap: 12px; }
.result h4 { font-size: 20px; }
.result .kv { font-size: 14px; gap: 7px 16px; }
.legend-inline { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 24px; font-size: 13px; color: var(--ink3); }
.legend-inline .tag { margin-left: 0; margin-right: 4px; font-size: 11px; }
@media (max-width: 980px) { .demo { grid-template-columns: minmax(0, 1fr); } .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tab > span { display: none; } .tab b { font-size: 14.5px; } }
@media (max-width: 700px) { .panel { grid-template-columns: minmax(0, 1fr); padding: 22px; } .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Made for work and life */
.uses { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.use { background: var(--card); border-radius: 20px; padding: 24px 22px; border: 1px solid var(--line); }
.use .e { font-size: 24px; }
.use h3 { font-size: 17px; margin-top: 14px; }
.use p { color: var(--ink2); font-size: 14px; margin-top: 6px; line-height: 1.55; }
@media (max-width: 1080px) { .uses { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .uses { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 440px) { .uses { grid-template-columns: minmax(0, 1fr); } }

/* Smart features (secondary) */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { background: var(--card); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.feat .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 18px; margin-top: 20px; }
.feat p { color: var(--ink2); font-size: 15px; margin-top: 8px; }
.pro { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: #fff; background: linear-gradient(90deg, var(--coral), var(--coral-deep)); border-radius: 999px; padding: 3px 8px; vertical-align: 3px; margin-left: 8px; }
@media (max-width: 980px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .feats { grid-template-columns: minmax(0, 1fr); } }

/* iPhone + Mac */
.both { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.both ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.both li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink2); font-size: 16px; }
.both li b { color: var(--ink); font-weight: 700; }
.both li .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 1px; }
.stack { position: relative; min-height: 420px; }
.today { position: absolute; left: 0; top: 40px; width: 220px; background: linear-gradient(170deg, #122a6b, #0a1a47); color: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--shadow-lg); z-index: 2; }
.today h5 { margin: 0; font-size: 22px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.today h5 i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); font-size: 12px; display: grid; place-items: center; }
.today ul { margin-top: 16px; gap: 12px; }
.today li { color: rgba(255,255,255,.92); font-size: 13.5px; display: block; }
.today li small { display: block; color: rgba(255,255,255,.55); font-size: 12px; }
.tasks { position: absolute; left: 200px; right: 0; top: 0; background: var(--card); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.tasks h5 { margin: 0 0 10px; font-size: 15px; color: var(--ink3); font-weight: 600; }
.tasks .r { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.tasks .r:first-of-type { border-top: 0; }
.tasks .r i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line); flex: none; }
.tasks .r span { margin-left: auto; color: var(--ink3); font-size: 13px; font-weight: 500; }
.tasks .r em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--coral); background: var(--coral-soft); padding: 2px 8px; border-radius: 999px; }
@media (max-width: 980px) { .both { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 560px) { .stack { min-height: 0; display: grid; gap: 16px; } .today, .tasks { position: static; width: 100%; } }

/* Pricing */
.billing { display: inline-flex; flex-wrap: wrap; justify-content: center; max-width: 100%; background: var(--card2); border-radius: 999px; padding: 4px; margin-top: 28px; }
.billing button { border: 0; background: none; font-size: 14.5px; font-weight: 700; color: var(--ink3); padding: 10px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.billing button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.billing .save { font-size: 11.5px; color: var(--coral); font-weight: 800; }
html[data-billing="monthly"] .yr, html[data-billing="yearly"] .mo { display: none !important; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 36px 32px; display: flex; flex-direction: column; position: relative; }
.plan.best { border: 2px solid var(--navy); box-shadow: var(--shadow-lg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan.best { border-color: var(--blue); } }
:root[data-theme="dark"] .plan.best { border-color: var(--blue); }
.plan .badge { position: absolute; top: -14px; left: 30px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 13px; }
.plan h3 { font-size: 20px; }
.plan .who { color: var(--ink3); font-size: 14px; margin-top: 4px; }
.plan .price { font-size: 46px; font-weight: 800; margin-top: 22px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--ink3); letter-spacing: 0; margin-left: 2px; }
.plan .per { color: var(--ink2); font-size: 14px; margin-top: 10px; min-height: 22px; }
.plan .reads { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; margin-top: 20px; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 13.5px; padding: 7px 13px; border-radius: 999px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; font-size: 15px; color: var(--ink2); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 800; }
.plan li.soon { color: var(--ink3); }
.plan li.soon::before { content: "◌"; color: var(--ink3); }
.plan .btn { margin-top: auto; width: 100%; text-align: center; }
.plan .trial { text-align: center; color: var(--ink3); font-size: 13px; margin-top: 12px; }
.fine { color: var(--ink3); font-size: 13.5px; margin-top: 28px; text-align: center; max-width: 720px; margin-inline: auto; }
.trialbar { max-width: 720px; margin: -28px auto 34px; text-align: center; background: var(--coral-soft); color: var(--ink); font-weight: 600; font-size: 15px; border-radius: 18px; padding: 12px 18px; }
/* The two ways a message is read, side by side under the plans. */
.readers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.readers > div { background: var(--card2); border-radius: 22px; padding: 22px 24px; }
.readers h3 { font-size: 17px; }
.readers p { color: var(--ink2); font-size: 14.5px; margin-top: 6px; }
.readers .spark, .aipro-def .spark { color: var(--coral); }
.readers ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 7px; color: var(--ink2); font-size: 14.5px; }
.readers li { display: flex; gap: 9px; }
.readers li::before { content: "•"; color: var(--ink3); font-weight: 800; }
.aipro-def { text-align: center; font-weight: 700; font-size: 16px; margin-top: 34px; color: var(--ink); }
.runout { text-align: center; color: var(--ink2); font-size: 14.5px; max-width: 720px; margin: 18px auto 0; }
.pfaq { max-width: 820px; margin: 44px auto 0; }
.pfaq > h3 { font-size: 22px; margin-bottom: 16px; text-align: center; }
@media (max-width: 700px) { .readers { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1080px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 500px; margin-inline: auto; } }

/* Final call to action */
.final { position: relative; overflow: hidden; border-radius: 36px; background: linear-gradient(150deg, var(--navy-deep), var(--navy)); color: #fff; padding: 88px 32px; text-align: center; }
.final::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 70%; height: 140%; background: radial-gradient(circle, rgba(241,74,56,.45), transparent 60%); filter: blur(30px); }
.final > * { position: relative; }
.final h2 { font-size: clamp(30px, 4.2vw, 52px); }
.final p { color: rgba(255,255,255,.75); font-size: 18px; margin-top: 18px; }
.final .btn { margin-top: 34px; }
@media (max-width: 560px) { .final { padding: 60px 22px; border-radius: 28px; } }

/* Footer */
footer { padding-block: 56px; margin-top: 88px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 26px; }
footer a { color: var(--ink2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
footer small { color: var(--ink3); font-size: 13.5px; }

/* ---------- Document pages (privacy, terms, support) ---------- */
.doc-hero { position: relative; padding-block: 72px 36px; }
.doc-hero h1 { font-size: clamp(36px, 5vw, 58px); margin-top: 14px; }
.doc-hero p { color: var(--ink2); margin-top: 18px; font-size: 18px; max-width: 42em; }
.meta { color: var(--ink3) !important; font-size: 14px !important; margin-top: 12px !important; }
/* Anything marked hidden stays hidden, whatever its own display style says. */
[hidden] { display: none !important; }
.draft { display: flex; gap: 10px; align-items: flex-start; background: var(--amber-soft); color: var(--amber); border-radius: 16px; padding: 14px 18px; font-size: 14.5px; margin-top: 26px; max-width: 760px; font-weight: 500; }
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 40px; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); display: grid; gap: 2px; font-size: 14.5px; }
.toc a { color: var(--ink2); text-decoration: none; padding: 7px 14px; border-radius: 10px; font-weight: 500; }
.toc a:hover { background: var(--card2); color: var(--ink); }
.prose { max-width: 72ch; background: var(--card); border-radius: 28px; padding: 44px 48px; border: 1px solid var(--line); }
.prose h2 { font-size: 22px; margin-top: 40px; scroll-margin-top: 100px; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink2); font-size: 16px; line-height: 1.75; }
.prose p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 12px 0 0; display: grid; gap: 8px; }
.prose strong { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; } .toc { position: static; display: flex; flex-wrap: wrap; } .prose { padding: 28px 22px; } }

.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 72px; }
.contact .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact .card h3 { font-size: 18px; margin-top: 18px; }
.contact .card p { color: var(--ink2); font-size: 15px; margin-top: 8px; }
.contact .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.contact .ic svg { width: 22px; height: 22px; }
.placeholder { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; background: var(--card2); border-radius: 8px; padding: 3px 9px; color: var(--ink); }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }

.faq { max-width: 820px; display: grid; gap: 12px; }
details { background: var(--card); border-radius: 20px; padding: 20px 24px; border: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--coral); font-size: 22px; line-height: 1; font-weight: 500; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink2); margin-top: 12px; font-size: 15.5px; }
