/*
  Public website. Same design language as the homepage: Bricolage Grotesque throughout, colours taken
  from the logo (navy wordmark, the Z's blue, the star's cyan), flat round buttons, soft rounded
  surfaces instead of lines. The yellow highlighter marks a business named inside an AI answer only.
  Old variable names (--ink, --pine, --mist ...) are kept as aliases because other templates use them.
*/
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("new_ui/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --navy: #03234A;
  --blue: #0B55F0;
  --blue-press: #0841BE;
  --cyan: #17B8FF;
  --bg: #F4F7FC;
  --surface: #E6EDF8;
  --surface-2: #DCE6F6;
  --muted: #44587A;
  --on-navy: #EAF1FF;
  --on-navy-muted: #A7BCDD;
  --line: #CFDAEC;
  --mark: #F7DD4B;
  --good: #14693C;
  --bad: #A3302A;
  --margin: clamp(1.25rem, 3.2vw, 3rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 22px;
  /* aliases used by older templates */
  --mist: var(--bg); --paper: #FFFFFF; --ink: var(--navy); --slate: var(--muted);
  --pine: var(--blue); --pine-deep: var(--blue-press); --navy-deep: var(--navy);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand: var(--blue);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--navy); font: 400 clamp(1.0625rem, 1rem + .2vw, 1.1875rem)/1.55 var(--body);
       letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { color: var(--blue-press); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
code { overflow-wrap: anywhere; font: .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface); padding: .1em .4em; border-radius: 6px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--margin); }
.narrow > * { max-width: 820px; }  /* a reading column, left-aligned with the wide content around it */
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 20; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.1rem + 4.6vw, 4.5rem); line-height: 1; font-weight: 750; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.5vw, 3.1rem); line-height: 1.04; font-weight: 750; letter-spacing: -0.035em; }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.35; color: var(--muted); max-width: 30em; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.fine { font-size: .875rem; color: var(--muted); }

/* ---------- header ---------- */
.announce { background: var(--navy); color: #fff; font-size: .9375rem; text-align: center; padding: 8px 16px; }
.announce a { color: #fff; }
.site-head { background: rgba(244, 247, 252, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
             position: sticky; top: 0; z-index: 10; }
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.logo { display: flex; align-items: center; gap: 10px; font: 750 1.35rem var(--display); letter-spacing: -0.03em;
        color: var(--navy); text-decoration: none; margin-right: auto; }
.logo:hover { color: var(--navy); }
.logo img { height: 2.5rem; width: auto; display: block; }
.logo .pin { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--blue); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a { color: var(--navy); text-decoration: none; font-weight: 500; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { border-bottom-color: var(--blue); }
.head-auth { display: flex; align-items: center; gap: 1rem; order: 3; }
.head-auth .signin { color: var(--navy); font-weight: 600; text-decoration: none; white-space: nowrap; }
.head-auth .signin:hover { color: var(--blue); text-decoration: underline; }
.head-auth .btn { padding: .7rem 1.2rem; font-size: 1rem; white-space: nowrap; }
.nav-toggle { display: none; order: 4; background: none; border: 1.5px solid var(--line); border-radius: 999px;
              padding: .55rem 1rem; font: 600 1rem var(--body); color: var(--navy); min-height: 2.75rem; cursor: pointer; }
.nav-toggle .bars { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--bg); border-bottom: 1px solid var(--line); padding: .25rem var(--margin) 1rem;
         box-shadow: 0 18px 30px -18px rgba(3, 35, 74, .25); }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; min-height: 3rem; border-bottom: 1px solid var(--line); font-size: 1.125rem; }
  .nav a[aria-current="page"] { color: var(--blue); }
  .site-head .wrap { gap: .75rem; }
  .head-auth { gap: .75rem; }
}
@media (max-width: 560px) {
  .logo img { height: 2rem; }
  .head-auth .signin { font-size: .9375rem; }
  .head-auth .btn { padding: .6rem .9rem; font-size: .9375rem; }
  .nav-toggle { padding: 0; width: 2.75rem; display: grid; place-items: center; }
  .nav-toggle .label { display: none; }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }
  .nav-toggle .bars { position: relative; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle .bars::before { top: -6px; }
  .nav-toggle .bars::after { top: 6px; }
}
.nav .nav-extra { display: none; }
@media (max-width: 400px) { .head-auth .signin { display: none; } .nav .nav-extra { display: block; } }

/* ---------- buttons and forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--blue); color: #fff; border: 0;
       border-radius: 999px; padding: .95rem 1.6rem; font: 700 1.0625rem/1.1 var(--body); letter-spacing: -0.01em;
       text-decoration: none; cursor: pointer; min-height: 3rem;
       transition: background-color .2s ease, color .2s ease, transform .2s var(--ease); }
.btn:hover { background: var(--blue-press); color: #fff; }
.btn:active { transform: scale(.97); }
.btn.quiet { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn.quiet:hover { background: var(--navy); color: #fff; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #fff; color: var(--navy);
              border: 1.5px solid var(--line); border-radius: 999px; padding: .85rem 1rem; min-height: 3rem;
              font: 600 1.0625rem/1.2 var(--body); text-decoration: none; transition: border-color .2s ease; }
.btn-google:hover { border-color: var(--navy); color: var(--navy); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .875rem; margin: 1.1rem 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

label { display: block; font-weight: 600; font-size: .9375rem; margin: 0 0 .4rem; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=tel], input[type=number], select, textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  font: 1rem/1.4 var(--body); color: var(--navy); margin: 0 0 1rem; min-height: 3rem; transition: border-color .2s ease, box-shadow .2s ease; }
textarea { min-height: 8rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6B7C99; }
input:hover, select:hover, textarea:hover { border-color: #9FB2D1; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(11, 85, 240, .16); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.errors, .errorlist { color: var(--bad); font-size: .9375rem; margin: -.6rem 0 1rem; padding: 0; list-style: none; font-weight: 500; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* section headings inside a form panel: form-sized, with room below */
.card h2 { font-size: clamp(1.35rem, 1.15rem + .9vw, 1.75rem); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: .5rem; }
.card h2 + p { margin-top: 0; }

/* panels, used by public forms and the sign-in / signup pages */
.card { background: #fff; border-radius: 26px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 1px 0 rgba(3, 35, 74, .04), 0 24px 48px -32px rgba(3, 35, 74, .3); }
.notice { background: var(--surface); padding: 1rem 1.25rem; border-radius: 16px; margin: 0 0 1.25rem; }
.notice.bad { background: #FBE8E6; color: #6E1D18; }

/* ---------- sections ---------- */
main { display: block; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section.tight { padding: clamp(2rem, 5vw, 4rem) 0; }
.section.paper { background: #fff; }
.section.pine { background: var(--navy); color: var(--on-navy); }
.section.pine h2, .section.pine h3 { color: #fff; }
.section.pine .btn { background: var(--cyan); color: var(--navy); }
.section.pine .btn:hover { background: #fff; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.head-row p { max-width: 36em; margin: .75rem 0 0; }
.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lede { margin-top: 1.25rem; }
.page-head h1 { max-width: 14em; }

/* the closing ask, same blue band as the homepage */
.cta-band { background: var(--blue); color: #fff; padding: clamp(3.5rem, 8vw, 7rem) 0; }
.cta-band h2 { color: #fff; max-width: 12em; }
.cta-band p { margin-top: 1rem; max-width: 30em; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.4; color: #DCE8FF; }
.cta-band .btn { background: #fff; color: var(--navy); }
.cta-band .btn:hover { background: var(--navy); color: #fff; }

/* ---------- hero (old homepage, kept at /new_ui) ---------- */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 12.5em; }
.hero .lede { margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.answer { background: var(--navy); color: var(--on-navy); border-radius: 28px; padding: clamp(1.2rem, 2.6vw, 2rem); }
.answer .ask { background: #0A3470; border-radius: 18px 18px 4px 18px; padding: .8rem 1.1rem; margin: 0 0 1.1rem auto;
               max-width: 90%; width: fit-content; font-weight: 600; }
.answer .reply { line-height: 1.55; min-height: 9.5em; }
.answer .reply ol { margin: .5rem 0 0; padding-left: 1.4rem; }
.answer .reply li { margin: .4rem 0; }
.answer .who { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; border-top: 1px solid #1B4375;
               margin-top: 1rem; padding-top: .8rem; font-size: .875rem; color: var(--on-navy-muted); }
.answer .tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.answer .tabs span { background: #0A3470; border-radius: 999px; padding: 2px 10px; }
.answer .tabs span.on { background: var(--cyan); color: var(--navy); font-weight: 600; }
mark, .mark { background: linear-gradient(transparent 12%, var(--mark) 12%, var(--mark) 88%, transparent 88%);
              color: var(--navy); padding: 0 .2em; border-radius: 2px; }
.answer .you { font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .answer.play .reply li { opacity: 0; transform: translateY(4px); animation: show .45s ease forwards; }
  .answer.play .reply li:nth-child(2) { animation-delay: .5s; }
  .answer.play .reply li:nth-child(3) { animation-delay: 1s; }
  .answer.play .reply mark { background-size: 0 100%; background-repeat: no-repeat;
    background-image: linear-gradient(var(--mark), var(--mark)); background-position: 0 50%;
    animation: swipe .6s ease 1.6s forwards; }
}
@keyframes show { to { opacity: 1; transform: none; } }
@keyframes swipe { to { background-size: 100% 76%; } }

/* ---------- cards in a row (three places, three ideas) ---------- */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.places > div { background: var(--surface); border-radius: var(--radius); padding: clamp(1.4rem, 2.4vw, 2.2rem); }
.section.paper .places > div { background: var(--bg); }
.places h3 { margin-bottom: .6rem; }
.places p { color: var(--muted); margin: 0; }
.places .names { font-size: .9375rem; margin-bottom: .6rem; }
@media (max-width: 820px) { .places { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
                    background: var(--cyan); color: var(--navy); font: 750 1.25rem var(--display); margin-bottom: 1.1rem; }
.steps h3 { margin-bottom: .5rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* a vertical sequence with a line joining the numbers (How it works) */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.timeline li { counter-increment: step; position: relative; padding: 0 0 2.25rem 4.25rem; }
.timeline li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 3rem; height: 3rem;
                       border-radius: 50%; background: var(--blue); color: #fff; font: 750 1.25rem var(--display); }
.timeline li::after { content: ""; position: absolute; left: 1.5rem; top: 3.25rem; bottom: .25rem; width: 2px; background: var(--line); transform: translateX(-1px); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline h3 { margin: .35rem 0 .4rem; }
.timeline p { color: var(--muted); margin: 0; max-width: 38em; }
@media (max-width: 560px) { .timeline li { padding-left: 3.5rem; } .timeline li::before { width: 2.5rem; height: 2.5rem; font-size: 1.05rem; } .timeline li::after { left: 1.25rem; top: 2.75rem; } }

/* ---------- industries ---------- */
.industry-list { display: grid; gap: .5rem; }
.industry-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: .5rem 2rem; align-items: center; padding: 1.4rem 1.6rem;
                background: var(--surface); border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: background-color .25s ease; }
.industry-row:hover { background: var(--surface-2); color: var(--navy); }
.industry-row h3 { transition: color .2s ease; }
.industry-row:hover h3 { color: var(--blue); }
.industry-row q { color: var(--muted); font-size: 1rem; }
.industry-row q::before { content: "\201C"; } .industry-row q::after { content: "\201D"; }
.industry-row > span:last-child { font-weight: 700; color: var(--blue); white-space: nowrap; }
.industry-row > span:last-child::after { content: " \2192"; }
.status-soon { font-size: .875rem; font-weight: 600; color: var(--muted); background: #fff; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.industry-row > span.status-soon::after { content: none; }
@media (max-width: 820px) { .industry-row { grid-template-columns: 1fr; } }

.questions { list-style: none; margin: 0; padding: 0; }
.questions li { overflow-wrap: anywhere; background: #fff; border-radius: 18px 18px 18px 4px; padding: .9rem 1.2rem; margin: 0 0 .6rem; max-width: 38em; }

/* ---------- two columns ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split.wide-left { grid-template-columns: 1.2fr 1fr; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- platform: one soft panel per capability ---------- */
.feature { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--surface); border-radius: var(--radius); margin-bottom: .6rem;
           display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1rem clamp(1.5rem, 4vw, 4rem); }
.feature h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.08; }
.feature p { color: var(--muted); }
.feature p:last-child { margin-bottom: 0; }
.feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.feature li { position: relative; padding-left: 1.9rem; }
.feature li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .75rem; }
.plan { background: var(--surface); border-radius: 26px; padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: .9rem; }
.plan .price { font: 750 clamp(2.6rem, 2rem + 2.4vw, 4rem)/1 var(--display); letter-spacing: -0.045em; }
.plan .price small { font: 600 1rem var(--body); letter-spacing: 0; color: var(--muted); margin-left: .25em; }
.plan .btn { margin-top: auto; }
.plan.featured { background: var(--navy); color: var(--on-navy); }
.plan.featured h2, .plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .muted, .plan.featured .fine, .plan.featured .price small { color: var(--on-navy-muted); }
.plan.featured .btn { background: var(--cyan); color: var(--navy); box-shadow: none; }
.plan.featured .btn:hover { background: #fff; color: var(--navy); }
.plan.featured a:not(.btn) { color: var(--cyan); }
.plan .btn.quiet { margin-top: auto; }

.table-scroll { position: relative; overflow-x: auto; border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 34rem; }
table.compare th, table.compare td { padding: .9rem 1.1rem; border-bottom: 1px solid var(--surface); text-align: left; }
table.compare thead th { background: var(--surface); font-weight: 700; white-space: nowrap; }
table.compare tbody th { font-weight: 500; }
table.compare tbody tr:last-child > * { border-bottom: 0; }
table.compare td.y, table.compare td.n { text-align: center; }
table.compare thead th:not(:first-child) { text-align: center; }
.tick { display: inline-block; width: 1.25rem; height: 1.25rem; vertical-align: middle; }
td.y .tick { background: var(--good);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
td.n .tick { height: 2px; width: .9rem; background: #9FB2D1; border-radius: 2px; }
@media (max-width: 820px) {
  table.compare tbody th { position: sticky; left: 0; background: #fff; box-shadow: 1px 0 0 var(--surface); }
  table.compare thead th:first-child { position: sticky; left: 0; z-index: 1; }
}

/* ---------- faq ---------- */
.faq { display: grid; gap: .5rem; }
.faq details { background: var(--surface); border-radius: 20px; padding: 0; transition: background-color .25s ease; }
.faq details[open] { background: var(--surface-2); }
.faq summary { cursor: pointer; font: 700 clamp(1.1rem, 1rem + .5vw, 1.35rem)/1.25 var(--display); letter-spacing: -0.02em; padding: 1.15rem 1.5rem;
               list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 3.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 1.6rem; line-height: 1; color: var(--blue); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 40em; padding: 0 1.5rem 1.3rem; margin: 0; }

/* ---------- quotes, articles ---------- */
blockquote.quote { margin: 0; padding: clamp(1.4rem, 3vw, 2rem); background: #fff; border-radius: var(--radius); font-size: 1.2rem; line-height: 1.4; }
blockquote.quote cite { display: block; font-style: normal; font-size: .9375rem; color: var(--muted); margin-top: .8rem; }
.article-list { display: grid; gap: .5rem; }
.article-list a { display: block; padding: 1.4rem 1.6rem; background: var(--surface); border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: background-color .25s ease; }
.article-list a:hover { background: var(--surface-2); color: var(--navy); }
.article-list a:hover h3 { color: var(--blue); }
.prose { max-width: 40em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: 2.5rem 0 .75rem; }
.prose h3 { margin: 1.75rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin: .4rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.4rem; background: var(--surface); border-radius: 16px; }

/* ---------- footer ---------- */
.site-foot { background: var(--navy); color: var(--on-navy); padding: clamp(3rem, 6vw, 5rem) 0 0; font-size: 1rem; overflow: hidden; }
.site-foot a { color: var(--on-navy); text-decoration: none; }
.site-foot a:hover { color: var(--cyan); text-decoration: underline; }
.foot-name { display: flex; align-items: center; gap: 10px; font: 750 1.35rem var(--display); letter-spacing: -0.03em; color: #fff; margin: 0 0 .5rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; }
.foot-grid p { color: var(--on-navy-muted); }
.foot-grid h4 { font: 700 1rem var(--display); color: #fff; margin: 0 0 .9rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 0 0 .55rem; }
.foot-base { border-top: 1px solid #1B4375; margin-top: 2.5rem; padding-top: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--on-navy-muted); font-size: .9375rem; }
.foot-big { display: block; margin: clamp(1.5rem, 4vw, 3rem) 0 -.17em -.04em; font: 800 29vw/.85 var(--display); letter-spacing: -0.06em; color: #0A3470; white-space: nowrap; user-select: none; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- auth pages ---------- */
.auth { min-height: calc(100vh - 73px); display: grid; place-items: start center; padding: clamp(2rem, 6vw, 4rem) 1rem; }
.auth .card { width: 100%; max-width: 460px; }
.auth.wide .card { max-width: 700px; }
.auth h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); margin-bottom: .5rem; }
.google-icon { width: 20px; height: 20px; flex: none; }

.plan-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .6rem; }
.plan-strip > div { background: var(--surface); border-radius: 18px; padding: 1.1rem 1.3rem; }
.plan-strip .price { font: 750 2rem/1.1 var(--display); letter-spacing: -0.03em; margin: .3rem 0 .5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
