/* Custom Calendar Background — site styles */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #1e1621;
  --ink-2: #3b3040;
  --muted: #6c6271;
  --cream: #fbf7f2;
  --cream-2: #f4ece3;
  --paper: #ffffff;
  --line: #eadfd4;
  --coral: #ff6b4a;
  --coral-2: #ff8a5c;
  --coral-ink: #c8431f;
  --plum: #6a2758;
  --plum-2: #8e3a6e;
  --plum-soft: #f6e8f0;
  --sun: #fff1cc;
  --ok: #1d7f54;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(40, 20, 30, .06), 0 2px 8px rgba(40, 20, 30, .05);
  --shadow: 0 2px 6px rgba(40, 20, 30, .06), 0 18px 48px -18px rgba(60, 20, 50, .28);
  --shadow-lg: 0 30px 80px -30px rgba(60, 20, 50, .45);
  --max: 1180px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--sans); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--coral-ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "WONK" 0; }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
em.accent { font-style: italic; color: var(--coral-ink); font-weight: 500; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--coral); border-radius: 2px; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--ink-2); max-width: 36em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(30, 22, 33, .6); }
.btn-primary:hover { background: #000; color: #fff; transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(30, 22, 33, .65); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 107, 74, .8); }
.btn-coral:hover { background: #f35a37; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(30, 22, 33, .18); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn .chrome { width: 20px; height: 20px; flex: none; display: block; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 242, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand span { font-size: 1.02rem; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 940px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav .btn-header { display: none; }
}

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 110px); overflow-x: clip; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(255, 138, 92, .22), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -30% -15%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; background: radial-gradient(closest-side, rgba(142, 58, 110, .14), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.92fr 1.18fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-top: 18px; }
.hero h1 .line2 { display: block; font-style: italic; font-weight: 500; color: var(--plum); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.cta-note { font-size: .9rem; color: var(--muted); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding: 0; list-style: none; }
.trust-row li { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.tick { width: 20px; height: 20px; border-radius: 50%; background: #e3f3ea; color: var(--ok); display: grid; place-items: center; flex: none; }
.tick svg { width: 12px; height: 12px; }

/* Demo */
.demo { position: relative; }
.demo-frame { position: relative; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(0, 0, 0, .06); overflow: hidden; transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); transition: transform .5s ease; }
.demo:hover .demo-frame { transform: perspective(1600px) rotateY(0) rotateX(0); }
@media (max-width: 980px) { .demo-frame { transform: none; } }
.browser-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: #f3efea; border-bottom: 1px solid #e7e0d8; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e0d6cc; display: block; }
.browser-bar i:nth-child(1) { background: #ff8f7a; } .browser-bar i:nth-child(2) { background: #ffd27a; } .browser-bar i:nth-child(3) { background: #8fd4a3; }
.browser-bar .url { margin-left: 12px; flex: 1; height: 22px; border-radius: 6px; background: #fff; font-size: .72rem; color: #8a8090; display: flex; align-items: center; padding: 0 10px; }
.cal { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; color: #1f1f1f; }
.cal-bg { position: absolute; inset: -20px; background: center / cover no-repeat; transition: opacity .6s ease, filter .3s ease; }
.cal-bg.next { opacity: 0; }
.cal-shade { position: absolute; inset: 0; background: rgba(255, 255, 255, .35); transition: background .3s ease; }
.cal-ui { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; padding: 12px 14px 14px; gap: 10px; }
.cal-top { display: flex; align-items: center; gap: 10px; font-size: .82rem; }
.cal-top .menu { width: 16px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; opacity: .7; margin-right: 6px; }
.cal-top .today { border: 1px solid rgba(0, 0, 0, .25); border-radius: 999px; padding: 3px 10px; font-size: .72rem; }
.cal-top b { font-family: var(--sans); font-weight: 500; font-size: .98rem; }
.cal-top .sp { flex: 1; }
.cal-top .ext { width: 22px; height: 22px; border-radius: 6px; background: url("../img/logo.svg") center/cover; box-shadow: 0 0 0 3px rgba(255, 255, 255, .5); }
.cal-top .avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #7b8cff, #c77dff); }
.cal-body { display: grid; grid-template-columns: 26% 1fr; gap: 12px; min-height: 0; }
.cal-side { display: flex; flex-direction: column; gap: 8px; font-size: .66rem; }
.cal-side .create { align-self: flex-start; background: rgba(255, 255, 255, .85); border-radius: 12px; padding: 7px 12px; font-weight: 600; box-shadow: var(--shadow-sm); color: #333; }
.mini { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: .56rem; opacity: .9; }
.mini span.on { background: #1a73e8; color: #fff; border-radius: 50%; }
.cal-side .lbl { font-weight: 600; margin-top: 4px; }
.cal-side .chip { display: flex; align-items: center; gap: 6px; }
.cal-side .chip i { width: 9px; height: 9px; border-radius: 2px; display: block; }
.month { display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: auto repeat(5, 1fr); border-top: 1px solid rgba(0, 0, 0, .12); border-left: 1px solid rgba(0, 0, 0, .12); min-height: 0; }
.month > div { border-right: 1px solid rgba(0, 0, 0, .12); border-bottom: 1px solid rgba(0, 0, 0, .12); padding: 3px 4px; font-size: .6rem; overflow: hidden; min-width: 0; }
.month .dow { text-align: center; font-size: .55rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .8; padding: 4px 0; }
.month .d { display: block; text-align: center; font-size: .62rem; margin-bottom: 2px; }
.month .now .d { background: #1a73e8; color: #fff; border-radius: 50%; width: 18px; height: 18px; line-height: 18px; margin: 0 auto 2px; }
.month .ev { display: block; border-radius: 4px; padding: 1px 4px; color: #fff; font-size: .52rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.month .faded .d { opacity: .45; }
.cal.dark { color: #e8e6ea; }
.cal.dark .cal-shade { background: rgba(16, 14, 20, .5); }
.cal.dark .month, .cal.dark .month > div { border-color: rgba(255, 255, 255, .14); }
.cal.dark .cal-top .today { border-color: rgba(255, 255, 255, .35); }
.cal.dark .cal-side .create { background: rgba(40, 36, 46, .85); color: #eee; }
@media (max-width: 560px) { .cal-side { display: none; } .cal-body { grid-template-columns: 1fr; } .month .ev { display: none; } .cal { aspect-ratio: 4 / 3.4; } }

.demo-controls { position: relative; z-index: 2; margin: -28px auto 0; width: min(560px, 94%); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid rgba(0, 0, 0, .06); padding: 14px 16px; display: grid; gap: 12px; }
.demo-controls .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.demo-controls .lbl { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; min-width: 92px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 42px; height: 30px; border-radius: 9px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); background: center / cover; cursor: pointer; padding: 0; transition: transform .15s ease, box-shadow .15s ease; }
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--coral); }
.seg { display: inline-flex; background: var(--cream-2); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: transparent; font: 600 .82rem var(--sans); color: var(--ink-2); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.demo-controls input[type="range"] { flex: 1; min-width: 140px; accent-color: var(--coral); }
.demo-caption { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* Sections */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Facts strip (GEO) */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; margin: 0; }
.facts div { padding: 20px 22px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; font-size: 1.02rem; }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 920px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--plum-soft); color: var(--plum); margin-bottom: 18px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.pro-pill { position: absolute; top: 22px; right: 22px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; background: var(--plum); color: #fff; padding: 3px 8px; border-radius: 6px; }

/* Showcase split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split.rev .split-media { order: -1; }
@media (max-width: 900px) { .split.rev .split-media { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li .tick { margin-top: 3px; }
.months-art { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.months-art figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; background-position: center; background-size: cover; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.months-art figcaption { position: absolute; left: 8px; bottom: 6px; font-size: .72rem; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.months-art figure.now { outline: 3px solid var(--coral); outline-offset: 2px; }

.panel-art { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: url("../img/scene-aurora.svg") center/cover; box-shadow: var(--shadow); }
.panel-art .mock-panel { position: absolute; right: 7%; top: 9%; width: 52%; background: rgba(36, 33, 39, .94); color: #f1edf3; border-radius: 16px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); padding: 14px; font-size: .74rem; display: grid; gap: 10px; }
.mock-panel .hd { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .82rem; }
.mock-panel .hd i { width: 18px; height: 18px; border-radius: 5px; background: url("../img/logo.svg") center/cover; }
.mock-panel .hd .tog { margin-left: auto; width: 30px; height: 17px; border-radius: 999px; background: var(--coral); position: relative; }
.mock-panel .hd .tog::after { content: ""; position: absolute; right: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.mock-panel .modes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mock-panel .modes span { border: 1.5px solid #3a3540; border-radius: 8px; padding: 6px 8px; }
.mock-panel .modes span.on { border-color: var(--coral); background: rgba(255, 107, 74, .1); }
.mock-panel .bar { height: 5px; border-radius: 99px; background: #3a3540; position: relative; }
.mock-panel .bar::before { content: ""; position: absolute; inset: 0 55% 0 0; background: var(--coral); border-radius: 99px; }
.mock-panel .thumb { height: 64px; border-radius: 10px; background: url("../img/scene-sunrise.svg") center/cover; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--coral); line-height: 1; display: block; margin-bottom: 14px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

/* Privacy */
.privacy-card { background: linear-gradient(160deg, #2a1d2e, #1b141e); color: #f3eef4; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; overflow: hidden; position: relative; }
.privacy-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 107, 74, .35), transparent); }
@media (max-width: 900px) { .privacy-card { grid-template-columns: 1fr; } }
.privacy-card h2 { color: #fff; }
.privacy-card .eyebrow { color: #ffb59c; }
.privacy-card p { color: #d5cbd8; }
.perm { position: relative; z-index: 1; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.perm h3 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.perm ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.perm li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .95rem; color: #e8e0ea; }
.perm li b { color: #fff; font-weight: 600; }
.perm .tick { background: rgba(94, 214, 150, .16); color: #6fe0a5; }
.perm .cross { width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #b7aebb; display: grid; place-items: center; }

/* Pricing */
.billing { display: inline-flex; margin: 0 auto 36px; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--coral); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .05em; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 4px; }
.plan .tagline { color: var(--muted); font-size: .94rem; margin-bottom: 18px; min-height: 2.9em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price .amt { font-family: var(--serif); font-size: 3rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.price .per { color: var(--muted); font-size: .95rem; }
.price-sub { font-size: .86rem; color: var(--muted); margin-bottom: 22px; min-height: 1.4em; }
.price-sub b { color: var(--ok); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: .95rem; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; }
.plan ul li .tick { margin-top: 2px; }
.plan .btn { width: 100%; margin-top: auto; }
.plan .fine { font-size: .8rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
[data-plan-period] [data-show="yearly"], [data-plan-period] [data-show="monthly"] { display: none; }
[data-plan-period="monthly"] [data-show="monthly"], [data-plan-period="yearly"] [data-show="yearly"] { display: revert; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; margin-top: 36px; color: var(--ink-2); font-size: .92rem; }
.assure span { display: inline-flex; align-items: center; gap: 8px; }
.assure svg { width: 18px; height: 18px; color: var(--plum); }

/* Compare */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .96rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--cream-2); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: #b9aebd; }
.table-scroll { overflow-x: auto; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-weight: 600; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 0 20px; color: var(--ink-2); }
.faq .ans p:last-child { margin: 0; }

/* Final CTA */
.final { border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px); text-align: center; color: #fff; position: relative; overflow: hidden; background: url("../img/scene-sunrise.svg") center 70%/cover; }
.final::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 14, 36, .15), rgba(40, 14, 36, .55)); }
.final > * { position: relative; }
.final h2 { color: #fff; max-width: 16em; margin-left: auto; margin-right: auto; }
.final p { color: #fde9e2; max-width: 34em; margin: 0 auto 28px; font-size: 1.1rem; }
.final .btn-primary { background: #fff; color: var(--ink); }
.final .btn-primary:hover { background: var(--sun); color: var(--ink); }

/* Footer */
.site-footer { padding: 64px 0 40px; color: var(--muted); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--ink); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--coral-ink); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; }

/* Article / legal pages */
.page-hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(24px, 4vw, 40px); }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; font-family: var(--sans); font-size: 1.12rem; font-weight: 700; letter-spacing: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose .callout { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: 12px; padding: 18px 20px; margin: 1.6em 0; }
.prose .callout p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; background: var(--paper); }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--cream-2); }
.updated { font-size: .9rem; color: var(--muted); }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin: 0 0 2em; }
.toc h2 { font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.article-grid { display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: 56px; align-items: start; }
@media (max-width: 1060px) { .article-grid { grid-template-columns: 1fr; } .aside-cta { display: none; } }
.aside-cta { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.aside-cta .thumb { aspect-ratio: 16/10; border-radius: 12px; background: url("../img/scene-sunrise.svg") center/cover; margin-bottom: 14px; }
.aside-cta h3 { font-size: 1.15rem; }
.aside-cta p { font-size: .92rem; color: var(--muted); }
.figure { margin: 1.6em 0; }
.figure .art { aspect-ratio: 16 / 9; border-radius: 16px; background-position: center; background-size: cover; box-shadow: var(--shadow-sm); }
.figure figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Scene + event colour classes (no inline styles, so a strict CSP works) */
.scene-sunrise { background-image: url("../img/scene-sunrise.svg"); }
.scene-ocean { background-image: url("../img/scene-ocean.svg"); }
.scene-forest { background-image: url("../img/scene-forest.svg"); }
.scene-dunes { background-image: url("../img/scene-dunes.svg"); }
.scene-aurora { background-image: url("../img/scene-aurora.svg"); }
.scene-pastel { background-image: url("../img/scene-pastel.svg"); }
.ev.c1 { background: #039be5; } .ev.c2 { background: #33b679; } .ev.c3 { background: #8e24aa; } .ev.c4 { background: #e67c73; } .ev.c5 { background: #f6bf26; color: #3a2a00; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.foot-grid > * { min-width: 0; }
.site-footer a, .prose a, .faq a { overflow-wrap: anywhere; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-grid > div:first-child { grid-column: 1 / -1; } }
.months-art figure.scene-pastel figcaption { color: #4a1a40; text-shadow: none; }

/* ---------- 404: 3D desk calendar ---------- */
.nf { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 110px) 0 clamp(64px, 9vw, 120px);
  background: radial-gradient(60% 70% at 25% 40%, rgba(255, 107, 74, .16), transparent 70%), radial-gradient(50% 60% at 80% 20%, rgba(106, 39, 88, .12), transparent 70%); }
.nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.nf-copy h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 10px 0 16px; }
.nf-copy .lede { max-width: 30rem; margin: 0 0 28px; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nf-links { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; }

.nf-stage { --rx: 0deg; --ry: 0deg; position: relative; height: clamp(320px, 42vw, 470px); perspective: 1100px; display: grid; place-items: center; }
.nf-scene { position: relative; width: clamp(220px, 27vw, 300px); aspect-ratio: 5 / 6; transform-style: preserve-3d;
  transform: rotateX(calc(14deg + var(--rx))) rotateY(calc(-22deg + var(--ry))); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  animation: nf-float 6s ease-in-out infinite; }
.nf-cal { position: absolute; inset: 0; transform-style: preserve-3d; }
.nf-page, .nf-sheet, .nf-flip { position: absolute; inset: 0; border-radius: 22px; }
.nf-sheet { background: #fff; border: 1px solid rgba(30, 22, 33, .08); }
.nf-sheet.s1 { transform: translateZ(-6px); background: #fbf3ec; }
.nf-sheet.s2 { transform: translateZ(-12px); background: #f5e7dc; }
.nf-sheet.s3 { transform: translateZ(-18px); background: var(--plum); box-shadow: 0 40px 70px -30px rgba(30, 22, 33, .55); }
.nf-page { background: #fff; overflow: hidden; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px rgba(30, 22, 33, .06); transform: translateZ(0); }
.nf-head { display: flex; justify-content: space-between; padding: 30px 20px 10px; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.nf-art { flex: 1; margin: 0 14px; border-radius: 14px; background-size: cover; background-position: center; }
.nf-num { font: 700 clamp(3.4rem, 6vw, 4.8rem)/1 var(--serif); text-align: center; padding: 12px 0 18px; color: var(--ink); letter-spacing: -.02em; }

.nf-flip { transform-origin: 50% 0; transform-style: preserve-3d; transform: translateZ(1px); animation: nf-flip 5.5s cubic-bezier(.55, 0, .3, 1) infinite; }
.nf-flip-front, .nf-flip-back { position: absolute; inset: 0; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.nf-flip-front { background-size: cover; background-position: center; display: grid; place-items: end center; padding-bottom: 22px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.nf-flip-front span { font: 700 clamp(3.4rem, 6vw, 4.8rem)/1 var(--serif); color: #fff; text-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.nf-flip-back { background: linear-gradient(#f3e6dc, #fff); transform: rotateX(180deg); }

.nf-rings { position: absolute; top: -10px; left: 0; right: 0; display: flex; justify-content: center; gap: 46px; transform: translateZ(4px); }
.nf-rings i { width: 12px; height: 30px; border-radius: 8px; background: linear-gradient(90deg, #3a2a3c, #9b8a9c 50%, #3a2a3c); box-shadow: 0 3px 6px rgba(0, 0, 0, .25); }

.nf-chip { position: absolute; padding: 9px 14px; border-radius: 12px; font: 600 .82rem/1 var(--sans); color: #fff; white-space: nowrap; box-shadow: 0 18px 30px -14px rgba(30, 22, 33, .6); }
.nf-chip.k1 { background: var(--coral); top: 14%; left: -26%; transform: translateZ(70px); animation: nf-bob 4.5s ease-in-out infinite; }
.nf-chip.k2 { background: var(--plum); top: 52%; right: -30%; transform: translateZ(110px); animation: nf-bob 5.2s ease-in-out -1.2s infinite; }
.nf-chip.k3 { background: #2f7d6d; bottom: 4%; left: -14%; transform: translateZ(50px); animation: nf-bob 4.8s ease-in-out -2.4s infinite; }
.nf-orb { position: absolute; border-radius: 50%; }
.nf-orb.o1 { width: 54px; height: 54px; top: -14%; right: -12%; background: radial-gradient(circle at 35% 30%, #fff6d8, #ffb35c 55%, #ff6b4a); transform: translateZ(140px); animation: nf-bob 6s ease-in-out -.6s infinite; }
.nf-orb.o2 { width: 26px; height: 26px; bottom: 18%; right: -18%; background: radial-gradient(circle at 35% 30%, #f3d5ea, #8e3a6e); transform: translateZ(40px); animation: nf-bob 5s ease-in-out -3s infinite; }
.nf-shadow { position: absolute; bottom: 4%; left: 50%; width: 58%; height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 22, 33, .28), transparent); animation: nf-shadow 6s ease-in-out infinite; }

@keyframes nf-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes nf-shadow { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .65; scale: .9; } }
@keyframes nf-bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }
@keyframes nf-flip { 0%, 35% { transform: translateZ(1px) rotateX(0); } 62% { transform: translateZ(40px) rotateX(-178deg); opacity: 1; } 72% { transform: translateZ(40px) rotateX(-180deg); opacity: 0; } 73%, 92% { transform: translateZ(1px) rotateX(0); opacity: 0; } 100% { transform: translateZ(1px) rotateX(0); opacity: 1; } }

@media (max-width: 820px) {
  .nf-grid { grid-template-columns: 1fr; text-align: center; }
  .nf-copy .lede { margin-left: auto; margin-right: auto; }
  .nf-actions, .nf-links { justify-content: center; }
  .nf-stage { height: 340px; }
  .nf-chip.k1 { left: -12%; } .nf-chip.k2 { right: -14%; } .nf-chip.k3 { left: -4%; bottom: -8%; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-scene, .nf-flip, .nf-chip, .nf-orb, .nf-shadow { animation: none !important; }
  .nf-flip { display: none; }
}
