/* Kanakkedu website: self-hosted fonts, no inline styles (strict CSP). */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --deep: #0D4034; --deep-2: #0A3229; --green: #17634F; --green-soft: #E2EFE8;
  --gold: #C79531; --gold-2: #E2B95E; --gold-soft: #F7EBD0; --rust: #9C3B35;
  --paper: #F4F6F5; --paper-2: #EEF2F0; --cream: #FFFFFF; --ink: #0F1A16; --muted: #55625C; --line: #E2E8E5;
  --on-dark: #F4EEDF; --on-dark-muted: #B9CDC4;
  --radius: 18px; --shadow: 0 30px 80px -30px rgba(16, 24, 20, .32); --shadow-sm: 0 10px 30px -14px rgba(16, 24, 20, .22);
  --serif: "Fraunces", Georgia, "Times New Roman", serif; --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); overflow-x: hidden; font-variant-numeric: tabular-nums; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -.02em; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--gold); color: var(--deep); border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid transparent; font: 700 .95rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: #2FB37E; color: #04261B; box-shadow: 0 10px 24px -12px rgba(47, 179, 126, .75); }
.btn-gold:hover { background: #45C892; }
.site-header .btn-gold { background: #0E6B50; color: #fff; box-shadow: none; }
.site-header .btn-gold:hover { background: #0B5A43; }
.btn-ghost { color: var(--deep); border-color: rgba(13, 64, 52, .25); }
.btn-ghost:hover { background: rgba(13, 64, 52, .06); }
.btn-outline-light { color: var(--on-dark); border-color: rgba(244, 238, 223, .45); }
.btn-outline-light:hover { background: rgba(244, 238, 223, .1); border-color: var(--on-dark); }
.text-link { display: inline-block; margin-top: 14px; color: var(--green); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--rust); font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 26px; height: 2px; background: var(--gold); }
.eyebrow-light { color: var(--gold-2); }

/* notice bar (maintenance / announcements from the app) */
.notice-bar { padding: 10px 16px; background: var(--gold-soft); color: #4A3510; text-align: center; font-size: .92rem; font-weight: 600; border-bottom: 1px solid #E7CF98; }
.notice-bar.danger { background: #F6DEDA; color: #5B1D18; border-color: #E5B5AE; }
.notice-bar b { margin-right: 6px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 229, .9); }
.nav { display: flex; align-items: center; gap: 20px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 650; font-size: 1.32rem; text-decoration: none; color: var(--deep); }
.brand img { width: 40px; height: 40px; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; color: #2E4038; }
.nav-links a:hover { background: rgba(13, 64, 52, .07); color: var(--deep); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-links .menu-only { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--deep); cursor: pointer; place-items: center; }

/* hero */
.hero { position: relative; overflow: hidden; color: var(--on-dark); background: var(--deep); padding: 72px 0 48px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 520px at 85% 20%, rgba(226, 185, 94, .22), transparent 60%),
    radial-gradient(700px 600px at 10% 110%, rgba(23, 99, 79, .9), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 39px, rgba(244, 238, 223, .05) 39px 40px),
    linear-gradient(160deg, #0F4A3C 0%, var(--deep) 45%, var(--deep-2) 100%); }
.hero-bg::after { content: ""; position: absolute; top: 0; bottom: 0; left: max(16px, calc(50% - 600px - 24px)); width: 2px; background: rgba(199, 149, 49, .35); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.9rem, 6.2vw, 5.4rem); letter-spacing: -.03em; line-height: 1; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-2); }
.hero .lead { margin-top: 22px; max-width: 540px; color: var(--on-dark-muted); font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--on-dark); font-size: .92rem; font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--gold-2); }
.hero-visual { position: relative; padding: 20px 0 60px 40px; }
.sample-note { margin-top: 6px; text-align: right; color: rgba(185, 205, 196, .7); font-size: .78rem; }

/* frames */
.frame { margin: 0; overflow: hidden; border-radius: 14px; background: var(--cream); border: 1px solid rgba(13, 64, 52, .12); box-shadow: var(--shadow); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #EEF2F0; border-bottom: 1px solid #E2E8E5; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3DAD6; }
.frame-bar i:first-child { background: #E07A6A; } .frame-bar i:nth-child(2) { background: #E6BC55; } .frame-bar i:nth-child(3) { background: #7DB98F; }
.frame-bar span { margin-left: 12px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); color: #55625C; font-size: .72rem; font-weight: 600; }
.frame-hero { transform: perspective(1800px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; border-color: rgba(244, 238, 223, .18);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04); }
.phone { position: absolute; left: 0; bottom: 0; width: 26%; min-width: 130px; margin: 0; padding: 7px; border-radius: 30px; background: #08261F;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.phone img { border-radius: 24px; }
.chip { position: absolute; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 251, 242, .97); color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); border: 1px solid rgba(199, 149, 49, .35); }
.chip small { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.chip b { font-family: var(--serif); font-size: 1.35rem; font-weight: 650; color: var(--deep); }
.chip-a { top: -6px; right: 18px; }
.chip-b { right: -8px; bottom: 26px; min-width: 190px; }
.chip .bar { display: block; height: 6px; margin-top: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.chip .bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), #2E9B6D); }
.w-48 { width: 48%; }
@media (prefers-reduced-motion: no-preference) {
  .chip-a { animation: float 7s ease-in-out infinite; }
  .chip-b { animation: float 8s ease-in-out -3s infinite; }
  @keyframes float { 50% { transform: translateY(-8px); } }
}

/* strip */
.strip { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid div { display: grid; gap: 2px; padding: 26px 22px; border-right: 1px dashed #D3DAD6; }
.strip-grid div:last-child { border-right: 0; }
.strip-grid b { font-family: var(--serif); font-size: 1.22rem; font-weight: 650; color: var(--deep); }
.strip-grid span { color: var(--muted); font-size: .93rem; line-height: 1.45; }

/* sections */
section { padding: 104px 0; }
.hero, .strip { padding-block: 0; }
.hero { padding: 72px 0 40px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head > p:last-child:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }
.section-head.center { max-width: 860px; margin-inline: auto; text-align: center; }

/* tour */
.tour { background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tabs [role="tab"] { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); color: #34463E;
  font: 700 .93rem var(--sans); cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.tabs [role="tab"]:hover { border-color: var(--green); color: var(--deep); }
.tabs [role="tab"][aria-selected="true"] { background: var(--deep); border-color: var(--deep); color: var(--on-dark); }
.panel { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 44px; align-items: center; }
.js .panel[hidden] { display: none; }
.panel + .panel { margin-top: 56px; }
.js .panel + .panel { margin-top: 0; }
.panel-copy h3 { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; letter-spacing: -.01em; }
.panel-copy p { margin-top: 14px; color: var(--muted); }
.ticks { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .js .panel:not([hidden]) { animation: fadeUp .45s ease both; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
}

/* features */
.features { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #C5D1CB; }
.ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; background: var(--green-soft); color: var(--green); }
.card:nth-child(4n+2) .ico { background: var(--gold-soft); color: #946A1A; }
.card:nth-child(4n+3) .ico { background: #F6E3DF; color: var(--rust); }
.card:nth-child(4n+4) .ico { background: #E4ECF1; color: #2D5A73; }
.ico svg { width: 22px; height: 22px; }
.card p { margin-top: 8px; color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* privacy */
.privacy { position: relative; background: var(--deep); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.privacy::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 500px at 100% 0%, rgba(226, 185, 94, .16), transparent 60%),
              repeating-linear-gradient(180deg, transparent 0 39px, rgba(244, 238, 223, .045) 39px 40px); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.privacy h2 { color: #fff; }
.privacy .lead { margin-top: 18px; color: var(--on-dark-muted); font-size: 1.1rem; }
.privacy-list { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.privacy-list li { padding: 16px 18px; border-radius: 14px; background: rgba(244, 238, 223, .06); border: 1px solid rgba(244, 238, 223, .1); color: var(--on-dark-muted); font-size: .97rem; }
.privacy-list b { display: block; margin-bottom: 2px; color: #fff; }
.frame-dark { border-color: rgba(244, 238, 223, .15); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }

/* reports */
.reports { background: var(--cream); }
.reports-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.paper { position: relative; margin: 0; padding: 0 20px; }
.paper::before { content: ""; position: absolute; inset: 18px 0 -12px 34px; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); transform: rotate(3deg); }
.paper img { position: relative; border-radius: 6px; border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.reports-copy > p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.report-list { display: grid; gap: 4px; margin: 28px 0 22px; padding: 0; list-style: none; counter-reset: r; }
.report-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); counter-increment: r; }
.report-list li::before { content: counter(r, decimal-leading-zero); grid-row: span 2; color: var(--gold); font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.report-list span { color: var(--muted); font-size: .95rem; }
.reports-copy .muted { font-size: .95rem; }

/* start */
.start { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.step-no { display: block; margin-bottom: 26px; color: var(--gold); font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1; }
.step p { margin-top: 10px; color: var(--muted); }
.step code { display: block; margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--deep); color: var(--gold-2); font: 600 .9rem ui-monospace, "Cascadia Code", Consolas, monospace; }

/* name */
.name { padding: 0 0 104px; background: var(--paper); }
.name-card { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; padding: 40px 44px; border-radius: 24px;
  background: var(--cream); border: 1px solid var(--line);
  background-image: linear-gradient(90deg, transparent 0 22px, rgba(156, 59, 53, .3) 22px 24px, transparent 24px); }
.name-card img { width: 96px; height: 96px; }
.name-text { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; font-weight: 450; color: var(--ink); }
.name-text em { color: var(--green); font-weight: 600; }

/* faq */
.faq { background: var(--cream); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 54px 18px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border: solid var(--green); border-width: 0 2px 2px 0;
  transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* cta */
.cta { padding: 0 0 104px; background: var(--cream); }
.cta-card { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 56px; border-radius: 28px; color: var(--on-dark);
  background: radial-gradient(600px 300px at 90% 0%, rgba(226, 185, 94, .25), transparent 60%), linear-gradient(135deg, var(--green), var(--deep)); box-shadow: var(--shadow); }
.cta-card h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.cta-card p { margin-top: 10px; color: var(--on-dark-muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.footer { padding: 36px 0 44px; background: var(--paper); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 14px 30px; align-items: center; }
.footer .brand { font-size: 1.15rem; }
.footer .brand img { width: 34px; height: 34px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; font-weight: 600; font-size: .93rem; }
.footer-links a { text-decoration: none; color: #34463E; }
.footer-links a:hover { color: var(--green); text-decoration: underline; }
.footer-note { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; }

/* reveal: only when JS is running, so content is never hidden without it */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.visible { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links a { padding: 8px 9px; }
}
@media (max-width: 980px) {
  .nav-links { position: absolute; top: 70px; left: 0; right: 0; display: none; flex-direction: column; gap: 2px; margin: 0; padding: 12px 16px 18px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25); }
  .nav-links.open { display: flex; }
  .nav-links .menu-only { display: block; border-top: 1px dashed var(--line); border-radius: 0; color: var(--green); font-weight: 700; }
  .nav-links .menu-cta { margin-top: 6px; }
  .nav-links .menu-cta + .menu-only { border-top: 0; }
  .hero-bg::after { display: none; }
  .nav-links a { padding: 12px 14px; font-size: 1.02rem; }
  .menu-btn { display: grid; }
  .hero { padding-top: 48px; }
  .hero-grid, .privacy-grid, .reports-grid, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { padding: 10px 0 50px 28px; }
  .frame-hero { transform: none; }
  .panel { grid-template-columns: 1fr; gap: 26px; }
  .panel-copy { max-width: 640px; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid div:nth-child(2) { border-right: 0; }
  .strip-grid div:nth-child(-n+2) { border-bottom: 1px dashed #D3DAD6; }
  .steps { grid-template-columns: 1fr; }
  .reports-grid .paper { max-width: 460px; margin-inline: auto; }
  .cta-card { grid-template-columns: 1fr; padding: 40px 32px; }
  .faq-grid .section-head { margin-bottom: 0; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  section { padding: 76px 0; }
  .name, .cta { padding-bottom: 76px; }
  .hide-sm { display: none !important; }
  .nav-actions .btn-gold { min-height: 40px; padding: 0 14px; font-size: .88rem; }
  .brand span { font-size: 1.15rem; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 20px 18px; }
  .chip { display: none; }
  .phone { width: 34%; }
  .hero-visual { padding-left: 18px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs [role="tab"] { flex: none; }
  .name-card { grid-template-columns: 1fr; gap: 18px; padding: 30px 26px 30px 40px; }
  .name-card img { width: 72px; height: 72px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .cta-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .feature-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid div { border-right: 0; border-bottom: 1px dashed #D3DAD6; }
  .strip-grid div:last-child { border-bottom: 0; }
  .nav-actions .btn-gold { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- security and privacy pages ---------- */
.doc-hero { position: relative; overflow: hidden; color: var(--on-dark); background: linear-gradient(160deg, #0F4A3C 0%, var(--deep) 45%, var(--deep-2) 100%); padding: 72px 0 64px; }
.doc-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 0%, rgba(60, 196, 141, .16), transparent 60%), repeating-linear-gradient(180deg, transparent 0 39px, rgba(244, 238, 223, .045) 39px 40px); pointer-events: none; }
.doc-hero .wrap { position: relative; }
.doc-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 5vw, 3.8rem); letter-spacing: -0.025em; max-width: 820px; }
.doc-hero .lead { margin-top: 18px; max-width: 640px; color: var(--on-dark-muted); font-size: 1.12rem; }
.doc-section { padding: 72px 0; background: var(--paper); }
.doc-alt { background: var(--cream); border-block: 1px solid var(--line); }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.sec-grid .card h2 { font-family: var(--sans); font-size: 1.12rem; font-weight: 700; letter-spacing: 0; }
.sec-grid .card p { margin-top: 8px; }
.doc-two { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.doc-two h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.doc-two .ticks li { font-weight: 500; }
.doc-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.doc-toc { position: sticky; top: 96px; display: grid; gap: 2px; padding: 16px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); font-size: .94rem; }
.doc-toc p { margin: 0 0 6px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.doc-toc a { padding: 6px 8px; border-radius: 8px; text-decoration: none; color: #34463E; font-weight: 600; }
.doc-toc a:hover { background: var(--green-soft); color: var(--green); }
.doc-text { max-width: 760px; }
.doc-text h2 { margin: 42px 0 12px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); scroll-margin-top: 96px; }
.doc-text h2:first-of-type { margin-top: 28px; }
.doc-text p, .doc-text li { color: #2E3D37; }
.doc-text p + p { margin-top: 12px; }
.doc-text ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.doc-text a { color: var(--green); font-weight: 600; }
.doc-callout { padding: 18px 20px; border-radius: 14px; background: var(--green-soft); border: 1px solid #C8E2D6; color: #173B31; }
.doc-callout b { color: var(--deep); }
.nav-links a[aria-current="page"] { background: var(--green-soft); color: var(--green); }
.privacy-more { display: inline-block; margin-top: 24px; color: var(--gold-2); font-weight: 700; text-decoration: none; }
.privacy-more:hover { text-decoration: underline; }
@media (max-width: 980px) {
  .doc-layout, .doc-two { grid-template-columns: 1fr; gap: 28px; }
  .doc-toc { position: static; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .doc-toc p { grid-column: 1 / -1; }
}
@media (max-width: 680px) { .doc-hero { padding: 52px 0 44px; } .doc-section { padding: 52px 0; } }

/* ---------- v2.3: what's new, plans, help centre ---------- */
.new { padding: 104px 0; background: var(--cream); border-top: 1px solid var(--line); }
.new-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.new-card .frame { box-shadow: var(--shadow-sm); }
.new-card h3 { margin-top: 18px; font-size: 1.2rem; }
.new-card p { margin-top: 6px; color: var(--muted); }
.plans { padding: 104px 0; background: var(--paper); border-top: 1px solid var(--line); }
.plan-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; max-width: 960px; margin-inline: auto; }
.plan-card { padding: 32px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.plan-card > p:not(.plan-tag):not(.plan-price) { margin-top: 10px; color: var(--muted); }
.plan-main { border: 2px solid var(--green); box-shadow: var(--shadow-sm); }
.plan-main .btn { margin-top: 26px; width: 100%; justify-content: center; }
.plan-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.plan-tag-muted { background: var(--gold-soft); color: #7A5714; }
.plan-card h3 { font-size: 1.35rem; }
.plan-price { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; }
.plan-price b { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--deep); line-height: 1; }
.plan-price span { color: var(--muted); }
.help-list { margin-top: 14px; }
.help-list details { border-radius: 14px; background: var(--cream); border: 1px solid var(--line); }
.help-list summary { position: relative; padding: 16px 50px 16px 20px; font-weight: 700; cursor: pointer; list-style: none; color: var(--ink); }
.help-list summary::-webkit-details-marker { display: none; }
.help-list summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -6px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.help-list details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.help-list details p { padding: 0 20px 18px; }
.mt-s { margin-top: 12px; }
.mt-l { margin-top: 28px; }
.sec-grid .card .text-link { margin-top: 0; }
@media (max-width: 860px) {
  .new, .plans { padding: 72px 0; }
  .new-grid, .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .plan-card { padding: 24px 20px; } }
