/* Nolvune — site styles. Colors follow the brand kit: Night #0E1730, Moon #F2EBDD, Paper #F3EFE6. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }

:root {
  --bg: #F3EFE6;          /* Paper */
  --bg-alt: #ECE6D9;
  --surface: #F9F6F0;
  --ink: #0E1730;         /* Night */
  --ink-2: #434A5C;
  --ink-3: #5F6574;
  --line: #DAD2C2;
  --accent: #7E5E24;      /* Brass: lamplight on the sill, and the gold of the in-app Pro mark */
  --band: #0E1730;
  --band-ink: #F2EBDD;    /* Moon */
  --band-ink-2: #B4B8C6;
  --band-line: #27314F;
  --gold: #D9BD84;
  --phone: #0A1022;
  --shadow: 0 40px 70px -34px rgba(14, 23, 48, .55);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1226;
    --bg-alt: #0F1830;
    --surface: #131D38;
    --ink: #F2EBDD;
    --ink-2: #C3C1BB;
    --ink-3: #959AA8;
    --line: #243050;
    --accent: #D9BD84;
    --band: #131D3A;
    --band-line: #2A3658;
    --phone: #050914;
    --shadow: 0 40px 70px -30px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--gold); color: #0E1730; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 12px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ——— Brand marks. The SVGs are single-color paths, painted with the current text color. ——— */
.lockup, .mark { display: block; background: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.lockup { --src: url("/assets/brand/lockup.svg"); width: 148px; aspect-ratio: 1104 / 563; }
.mark { --src: url("/assets/brand/mark.svg"); aspect-ratio: 470 / 512; }
.mark-bold { --src: url("/assets/brand/mark-bold.svg"); aspect-ratio: 321 / 512; }

/* ——— Header ——— */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.home-link { color: var(--ink); display: block; margin: -6px 0 -10px -8px; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--ink-2); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); }

/* ——— Type ——— */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 6.6vw, 86px); line-height: 1.02; letter-spacing: -.015em; }
.keep { white-space: nowrap; }
.display, .title, .prose h2, .feature h3, .promises dt { font-variant-numeric: lining-nums; }
.title { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.65; color: var(--ink-2); max-width: 36em; }
.arrow-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.arrow-link::after { content: " →"; }

/* ——— Hero ——— */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(72px, 10vw, 128px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 36px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: var(--bg); border-radius: 100px; padding: 14px 24px 14px 20px; font-size: 15px; font-weight: 500; text-decoration: none; }
.store:hover { color: var(--bg); }
.store svg { width: 20px; height: 20px; flex: none; }
.store small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .72; font-weight: 600; line-height: 1.3; }
.store span { line-height: 1.25; }
.facts-line { margin-top: 30px; font-size: 14px; color: var(--ink-3); }
.facts-line span { display: inline-block; white-space: nowrap; }
.facts-line span + span::before { content: "·"; margin: 0 .7em; color: var(--line); }

/* The window: an arched pane of night sky, a feather in the moonlight, and the sill the phone rests on. */
.window-scene { position: relative; margin: 0; padding-bottom: 6px; }
.window { position: relative; margin-left: auto; width: min(100%, 440px); aspect-ratio: 440 / 560; background: #0E1730;
  border-radius: 999px 999px 10px 10px; overflow: hidden; }
.window::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120% 70% at 28% 6%, rgba(242, 235, 221, .16), rgba(242, 235, 221, 0) 60%); }
.window .mark { position: absolute; width: 33%; left: 14%; top: 13%; color: #F2EBDD; opacity: .92; }
.window-scene .phone { position: absolute; right: max(4%, calc(50% - 250px)); bottom: 6px; width: min(56%, 252px); box-shadow: -26px 0 44px -26px rgba(0, 0, 0, .55); }
.sill { position: relative; height: 1px; margin-left: auto; width: min(118%, 540px); background: var(--ink); margin-right: -6%; opacity: .7; }
@media (prefers-color-scheme: dark) { .window { box-shadow: inset 0 0 0 1px var(--line); } }

.phone { border-radius: 34px; padding: 7px; background: var(--phone); box-shadow: var(--shadow); }
.phone img { border-radius: 27px; width: 100%; background: #F5F6F8; }

/* ——— Sections ——— */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(48px, 7vw, 80px); }
.section-head .title { margin-bottom: 20px; }
.alt { background: var(--bg-alt); }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 11vw, 140px); }
.feature figure { margin: 0; justify-self: center; width: min(100%, 300px); }
.feature:nth-of-type(even) figure { order: -1; }
.feature .no { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); display: block; margin-bottom: 14px; }
.feature h3 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; margin-bottom: 20px; }
.feature p { color: var(--ink-2); max-width: 30em; }
.ticks { list-style: none; margin-top: 26px; border-top: 1px solid var(--line); }
.ticks li { padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 1px; background: var(--accent); }

/* ——— Privacy band ——— */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.band .eyebrow { color: var(--gold); }
.band .lead { color: var(--band-ink-2); }
.band a:hover { color: var(--gold); }
.band .arrow-link { border-color: var(--gold); }
.band-mark { position: absolute; right: -40px; top: 40px; width: 360px; color: #F2EBDD; opacity: .06; pointer-events: none; }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--band-line); margin: 0 0 48px; }
.promises div { padding: 30px 28px 6px 0; }
.promises div + div { padding-left: 28px; border-left: 1px solid var(--band-line); }
.promises dt { font-family: var(--serif); font-size: 26px; line-height: 1.2; margin-bottom: 12px; color: var(--band-ink); }
.promises dd { margin: 0; font-size: 15px; line-height: 1.65; color: var(--band-ink-2); }

/* ——— Plans ——— */
.plans { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; }
.plan { border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 4vw, 44px); background: var(--surface); display: flex; flex-direction: column; }
.plan h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.price { font-family: var(--serif); font-size: clamp(44px, 5vw, 58px); line-height: 1; margin-bottom: 10px; font-variant-numeric: lining-nums; }
.price small { font-family: var(--sans); font-size: 16px; color: var(--ink-3); margin-left: 6px; }
.plan .note { color: var(--ink-3); font-size: 15px; min-height: 1.7em; margin-bottom: 26px; }
.plan ul { list-style: none; border-top: 1px solid var(--line); }
.plan li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.plan-pro { background: #0E1730; color: #F2EBDD; border-color: #0E1730; }
.plan-pro .note, .plan-pro .price small { color: #B4B8C6; }
.plan-pro ul, .plan-pro li { border-color: #27314F; }
.plan-pro li::before { border-color: #D9BD84; }
@media (prefers-color-scheme: dark) { .plan-pro { background: #16203D; border-color: #33405F; } }
.pro-mark { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; letter-spacing: .1em; padding: 3px 9px 3px 7px; border-radius: 100px;
  background: linear-gradient(135deg, #0E1730, #24396E); color: #F2D28A; border: 1px solid rgba(242, 210, 138, .35); }
.pro-mark svg { width: 13px; height: 13px; }
/* Two plans side by side, as in the app: monthly is the default (framed), lifetime sits beside it at the same size. */
.options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-bottom: 30px; }
.option { border: 1px solid #2E3A5C; border-radius: 16px; padding: 20px 22px 18px; }
.option-head { margin: 0 0 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #B4B8C6; }
.option .price { font-size: 34px; margin-bottom: 12px; color: #E4E1D8; white-space: nowrap; }
.option-note { font-size: 14px; line-height: 1.6; color: #B4B8C6; margin: 0; }
.option-main { border-color: #D9BD84; background: #16224A; }
.option-main .option-head { color: #F2D28A; }
.option-main .price { color: #F2EBDD; }
.option-main .option-note { color: #D8D2C4; }
.fine { margin-top: 28px; font-size: 14px; color: var(--ink-3); max-width: 60em; }

/* ——— FAQ ——— */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 18px; font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--accent), var(--accent)) center / 14px 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 1.5px 14px no-repeat; transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details > div { padding: 0 44px 22px 0; color: var(--ink-2); }
.qa details > div p:last-child { margin-bottom: 0; }

/* ——— Closing ——— */
.closing { text-align: center; padding: clamp(80px, 11vw, 140px) 0; }
.closing .mark { width: 46px; margin: 0 auto 34px; color: var(--ink); }
.closing blockquote { margin: 0 auto; max-width: 30em; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.35; }
.closing .say { margin-top: 22px; font-size: 14px; color: var(--ink-3); letter-spacing: .04em; }
.closing .cta { justify-content: center; }

/* ——— Footer ——— */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 44px; font-size: 14px; color: var(--ink-3); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
.site-footer .lockup { width: 128px; color: var(--ink); margin: -6px 0 14px -7px; }
.site-footer h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 24px; }

/* ——— Legal & help pages ——— */
.doc-head { padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.doc-head .title { margin-bottom: 18px; }
.doc-head .meta { color: var(--ink-3); font-size: 15px; margin: 0; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); padding: clamp(40px, 6vw, 72px) 0 clamp(80px, 10vw, 120px); align-items: start; }
.toc { position: sticky; top: 28px; font-size: 14px; }
.toc h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin-bottom: 14px; }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.45; }
.toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.prose { max-width: 44em; }
.prose h2 { font-family: var(--serif); font-size: clamp(27px, 2.6vw, 33px); line-height: 1.2; margin: 60px 0 18px; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 600; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--ink); text-decoration-color: var(--accent); overflow-wrap: anywhere; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3vw, 34px); margin-bottom: 56px; }
.summary h2 { font-family: var(--sans); font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; font-weight: 600 !important; color: var(--accent); margin: 0 0 14px !important; line-height: 1.4 !important; }
.summary ul { margin: 0; }
.summary li { color: var(--ink); }
.callout { border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; margin: 22px 0; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 40px !important; margin-bottom: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-size: 13px; display: grid; place-items: center; font-weight: 600; }
.mail { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); text-decoration: none; border-bottom: 1px solid var(--accent); color: var(--ink); }

/* ——— 404 ——— */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost .mark { width: 72px; margin: 0 auto 30px; }

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises div:nth-child(3) { padding-left: 0; border-left: 0; }
  .promises div:nth-child(n + 3) { border-top: 1px solid var(--band-line); margin-top: 6px; }
  .site-footer .cols { grid-template-columns: repeat(3, 1fr); }
  .site-footer .cols > :first-child { grid-column: 1 / -1; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
  .toc ol { border: 0; columns: 2; column-gap: 24px; }
  .toc a { padding-left: 0; border: 0; }
}
@media (max-width: 820px) {
  .hero .wrap, .feature, .faq { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-of-type(even) figure { order: 0; }
  .feature figure { width: min(78%, 280px); }
  .window-scene { max-width: 420px; margin: 8px auto 0; width: 100%; }
  .window { margin: 0 auto; width: 88%; }
  .sill { width: 100%; margin-right: 0; }
  .window-scene .phone { right: 8%; }
  .plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header .wrap { min-height: 70px; }
  .lockup { width: 122px; }
  .site-nav .optional { display: none; }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .promises div, .promises div + div { padding: 24px 0 4px; border-left: 0; }
  .promises div + div { border-top: 1px solid var(--band-line); }
  .options { grid-template-columns: minmax(0, 1fr); }
  .site-footer .cols { grid-template-columns: repeat(2, 1fr); }
  .toc { font-size: 13.5px; }
  .toc ol { column-gap: 16px; }
  .qa summary { font-size: 17px; }
}

@media print {
  .site-header, .site-footer, .toc, .skip { display: none; }
  body { background: #fff; color: #000; }
  .doc { display: block; padding: 0; }
  .prose p, .prose li { color: #000; }
}
