/* GoBolt site v2. Page styles on top of the kit (assets/kit/). Tokens are the kit's --k-*.
   It places kit mocks and components but never restyles one. Anything a page needs that is
   not here goes here, never into assets/kit/ (the sync replaces that folder). */

/* MKT-013: a tighter rhythm than the kit's default (72 to 168px above and below every scene, so 336px between two
   scenes on a laptop read as empty paper), and a sentence measure wide enough that a two-line sentence is not
   broken in half on purpose: the kit balances .two .body at 30rem, which split short sentences into two even lines. */
/* MKT-032 (owner, 2026-10-22: "things are super cramped, there is no space"): a step back up from MKT-013's rhythm, so
   each scene has paper around it on a laptop without returning to the kit's 168 px. */
:root { --k-section: clamp(64px, 8.5vw, 136px); }
.two .body { max-width: 44rem; text-wrap: pretty; }

.skip { position: absolute; inset-inline-start: 16px; top: -64px; z-index: 10; padding: 10px 16px; border-radius: var(--k-r-control); background: var(--k-ink); color: var(--k-surface); text-decoration: none; font-size: var(--k-small); }
.skip:focus { top: 12px; }

/* ── header over a hero, so the atmosphere runs behind it ─────────── */
.has-hero .site-header { position: absolute; top: 0; left: 0; right: 0; }
.has-hero .hero { padding-top: clamp(96px, 12vh, 128px); }
@media (max-width: 719px) { .has-hero .hero { padding-top: 128px; } }   /* the header has a second row of links here */
.site-footer .logo { display: inline-block; }
@media (min-width: 720px) { .site-header .logo { display: inline-block; } }

/* ── Hindi and Tamil set wider than the Latin serif: a step down keeps a headline to about two lines at 1440
   (DESIGN-NOTES rule 2). Tamil runs longest, so it steps down furthest. ── */
html:lang(hi) { --k-display: clamp(2rem, 1.4rem + 2.56vw, 3.2rem); --k-headline: clamp(1.8rem, 1.28rem + 2.2vw, 2.8rem); }
html:lang(ta) { --k-display: clamp(1.875rem, 1.31rem + 2.4vw, 3rem); --k-headline: clamp(1.6875rem, 1.2rem + 2.06vw, 2.625rem); }

/* ── the two calls in a hero or a close (MKT-032): the ink button, and beside it the quiet "See a live demo" link to
   the demo store. One loud thing per view (DESIGN-NOTES rule 8) still holds: the link is a line of text. ── */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.scene--center .actions { justify-content: center; }
/* owner, 2026-10-22: Get started is the one call; the demo is a quiet line under it, never a second button */
.two .demo-line { margin-top: var(--k-4); }
.demo-line a { display: inline-block; padding-block: 8px; margin-block: -8px; color: var(--k-ink-2); text-decoration: underline; text-decoration-color: var(--k-line); text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: color var(--k-fast) ease, text-decoration-color var(--k-fast) ease; }
.demo-line a:hover { color: var(--k-ink); text-decoration-color: currentColor; }
.actions--stack { flex-direction: column; align-items: center; gap: 6px; }
.actions--stack .release-line { text-align: center; text-wrap: balance; }
.two .actions > .player { flex-basis: 100%; }

/* ── the quiet line, and the hero title held to two lines on wide screens ── */
.hero-title > span { display: block; text-wrap: balance; }
.quiet { font-size: var(--k-small); line-height: 1.5; color: var(--k-ink-3); }
.two .quiet { margin-top: var(--k-5); }
@media (min-width: 900px) { .hero-title > span { white-space: nowrap; } }
/* a full-height scene should never be shorter than its picture on a small laptop */
.scene--full { padding-block: clamp(56px, 9vh, 96px); }

/* ── the Harvey hero: two lines, one button, then the stage card full width ──
   <section class="scene scene--full scene--center hero hero--card"> … <div class="wrap wrap--wide"><div class="stage-card">…</div></div> */
.hero--card { min-height: 0; display: block; }
.hero--card > .wrap:first-of-type { padding-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 1080px) { .wrap--wide { max-width: 1320px; } }
.hero--card .stage-card { margin-inline: auto; }
/* a player under the sentence, inside the two-line block */
.two .player { margin-inline: auto; }
.scene:not(.scene--center) .two .player { margin-inline: 0; }
.two .actions .player { text-align: initial; }

/* ── the storefront stage: a product page with the chat open on top of it ── */
.stage { position: relative; width: min(760px, 100%); min-height: 730px; }
.stage > .stage-chat { position: absolute; right: -20px; top: 268px; width: 384px; --k-ui-scale: 0.8; }
.stage--hero { width: 100%; max-width: 640px; min-height: 0; }
.stage--hero > .stage-chat { width: 430px; top: 236px; right: -74px; --k-ui-scale: 0.72; }
.stage--hero .k-browser { min-height: 592px; }
.stage > .stage-chat .k-chat { box-shadow: 0 2px 6px rgba(30, 29, 26, 0.06), 0 24px 64px rgba(30, 29, 26, 0.18); }
.stage .k-pp-line, .stage .k-pp-colour, .stage .k-audio-label, .stage .k-audio, .stage .k-pp-add { visibility: hidden; }
.stage-solo { display: none; width: 100%; }
@media (max-width: 1079px) { .stage:not(.stage--hero) > .stage-chat { right: -8px; } }
@media (max-width: 719px) { .stage { display: none; } .stage-solo { display: block; } }

/* ── a close look at one part of a mock (the audio highlight) ───────── */
.closeup { display: contents; }
@media (min-width: 1080px) {
  .closeup { display: block; width: 100%; max-width: 760px; aspect-ratio: 460 / 342; overflow: hidden; border-radius: var(--k-r-sheet); background: var(--k-surface); box-shadow: var(--k-shadow-sheet); border: 1px solid rgba(30, 29, 26, 0.06); }
  .closeup > [data-ui] { width: 760px; transform-origin: 0 0; transform: scale(var(--s, 1.5)) translate(-300px, -98px); }
  .closeup .k-browser { box-shadow: none; border: 0; border-radius: 0; }
}

/* WooCommerce: the audio highlight button sits just below Add to cart */
.woo .k-pp-info .k-pp-add { order: 1; }
.woo .k-pp-info .k-audio-label { order: 2; }
.woo .k-pp-info .k-audio { order: 3; }

/* ── words level with the conversation (a phone rests its thread on the composer) ── */
@media (min-width: 900px) {
  .split:not(.split--wide):has(> .picture [data-ui="phone"]) { align-items: end; }
  .split:not(.split--wide):has(> .picture [data-ui="phone"]) > .two { padding-bottom: clamp(48px, 6vh, 76px); }
}

/* ── under a picture: one quiet line ──────────────────────────────── */
.picture.picture--noted { flex-direction: column; align-items: center; justify-content: center; gap: var(--k-5); }
.picture--noted > .quiet { max-width: 19rem; text-align: center; text-wrap: balance; }

/* ── three short lines (how you start) ────────────────────────────── */
.lines { max-width: 30rem; color: var(--k-ink-2); }
.lines > li { text-wrap: balance; }
.lines > li + li { margin-top: var(--k-4); }
ol.lines { counter-reset: step; }
ol.lines > li { counter-increment: step; display: grid; grid-template-columns: 1.6em 1fr; }
ol.lines > li::before { content: counter(step); color: var(--k-ink-3); font-variant-numeric: tabular-nums; }
/* MKT-039: a link after a step's words (WooCommerce's "Get the plugin") sits under the words, not in the 1.6em number column */
ol.lines > li > a { grid-column: 2; justify-self: start; margin-top: 4px; white-space: nowrap; }
.two .lines + .body { margin-top: var(--k-6); }

/* ── the close ────────────────────────────────────────────────────── */
/* MKT-013: no longer a full screen. The dusk field sits under the button as a band of colour that fades into the
   footer, instead of half a screen of empty colour between the button and the footer links. */
.close.scene--full { min-height: 0; display: block; padding-block: var(--k-section) clamp(88px, 11vw, 152px); }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: var(--k-7); font-size: var(--k-body); }
.platforms a { color: var(--k-ink-2); text-decoration: none; transition: color var(--k-fast) ease; }
.platforms a:hover { color: var(--k-ink); }
/* MKT-030: the footer is the kit's ink footer (base.css); it needs no rule of its own here */
/* the last scene's colour fades back to paper before the footer (the hero's data-edge="soft" shape), so the field
   reads as light rising, never as a band with a ruled lower edge */
main > .scene:last-child > .atmo { --atmo-foot: calc(var(--atmo-cap) * 0.25); --atmo-hold: calc(var(--atmo-cap) * 0.39); }
/* quiet words over the colour field take ink-2: the quiet grey drops under 4.5:1 there */
.scene:has(> .atmo) .quiet { color: var(--k-ink-2); }

/* ── the header's Get started (MKT-013, removed MKT-039) ─────────── */
/* MKT-039 (owner, 2026-11-02): the header shows no Get started. It used to step aside whenever a page's own button was
   on screen, so it flickered in and out while scrolling; every page carries its own Get started instead. The markup
   stays (build tools and the platform pages set data-install on it) but is never shown, on any width. */
.site-header .header-cta { display: none; }

/* ── page intro (pricing, features, legal) ────────────────────────── */
.intro { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 48px); }
.section { padding-block: clamp(32px, 4.5vw, 64px); }
.section--last { padding-bottom: var(--k-section); }

/* ── pricing: five cards that stack, then one table (unchanged from v1) ── */
.plans { display: grid; gap: var(--k-4); }
.plan { padding: var(--k-5); background: var(--k-surface); border: 1px solid var(--k-line); border-radius: var(--k-r-sheet); display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px var(--k-4); }
.plan h2 { font-family: var(--k-font); font-size: var(--k-body); font-weight: 500; line-height: 1.3; letter-spacing: 0; }
.plan .price { font-size: var(--k-title); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
.plan .price small { font-size: var(--k-small); font-weight: 400; letter-spacing: 0; color: var(--k-ink-3); margin-left: 4px; }
.plan p { grid-column: 1 / -1; font-size: var(--k-small); line-height: 1.5; color: var(--k-ink-2); }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .plans { grid-template-columns: repeat(5, 1fr); }
  .plan { grid-template-columns: 1fr; align-content: start; gap: 0; padding: var(--k-5) var(--k-5) var(--k-6); }
  .plan .price { margin-top: var(--k-6); font-size: clamp(2rem, 3vw, 2.5rem); letter-spacing: -0.04em; }
  .plan .price small { display: block; margin: 8px 0 0; min-height: 1.5em; }
  .plan p { margin-top: var(--k-5); }
}
.plans-note { margin-top: var(--k-5); max-width: 40rem; }

.compare { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; }
.compare caption { text-align: start; margin-bottom: var(--k-6); font-size: var(--k-title); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; color: var(--k-ink); }
.compare th, .compare td { text-align: start; font-weight: 400; vertical-align: top; }
.compare thead th { color: var(--k-ink-3); padding: 0 var(--k-4) var(--k-4) 0; }
.compare tbody th { color: var(--k-ink); font-weight: 500; font-size: var(--k-body); padding-inline-end: var(--k-6); }
.compare tbody td { color: var(--k-ink-2); }
.compare tbody th, .compare tbody td { padding-block: var(--k-4); padding-inline-end: var(--k-4); border-top: 1px solid var(--k-line); }
.compare td.compare-all { color: var(--k-ink-3); }
.compare tbody .compare-group th { padding: var(--k-7) 0 var(--k-3); border-top: 0; color: var(--k-ink); }
.compare tbody:first-of-type .compare-group th { padding-top: 0; }
.compare-group + tr th, .compare-group + tr td { border-top-color: var(--k-ink-3); }
@media (min-width: 900px) { .compare-corner { width: 40%; } .compare td.compare-all { text-align: center; } }
@media (max-width: 899px) {
  .compare, .compare caption, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead, .compare td.compare-all--plain { display: none; }
  .compare tbody th, .compare tbody td { padding: 0; border-top: 0; }
  .compare tbody tr + tr { margin-top: var(--k-4); padding-top: var(--k-4); border-top: 1px solid var(--k-line); }
  .compare tbody .compare-group th { padding: var(--k-7) 0 var(--k-3); border-bottom: 1px solid var(--k-ink-3); }
  .compare tbody tr.compare-group + tr { margin-top: var(--k-4); padding-top: 0; border-top: 0; }
  .compare tbody td { margin-top: var(--k-2); }
  .compare td[data-label] { display: flex; justify-content: space-between; gap: var(--k-5); font-variant-numeric: tabular-nums; }
  .compare td[data-label]::before { content: attr(data-label); flex: none; color: var(--k-ink-3); }
  .compare td[data-label] + td[data-label] { margin-top: 6px; }
}
.meters { display: grid; gap: var(--k-5); max-width: var(--k-measure); color: var(--k-ink-2); }
.meters strong { font-weight: 500; color: var(--k-ink); }

.faq { border-bottom: 1px solid var(--k-line); }
.faq details { border-top: 1px solid var(--k-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--k-5); padding-block: var(--k-5); font-size: var(--k-body); font-weight: 500; color: var(--k-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-inline-end: 4px; border-right: 1.5px solid var(--k-ink-3); border-bottom: 1.5px solid var(--k-ink-3); transform: translateY(-3px) rotate(45deg); transition: transform var(--k-fast) ease; }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 var(--k-7) var(--k-5) 0; max-width: 36rem; color: var(--k-ink-2); }

/* ── get started: three choices, quiet and equal, on paper ────────── */
.choices { display: grid; gap: var(--k-3); width: min(22rem, 100%); margin: clamp(28px, 3.5vw, 40px) auto 0; }
.choices .button { width: 100%; background: transparent; color: var(--k-ink); box-shadow: inset 0 0 0 1.5px rgba(30, 29, 26, 0.16); white-space: normal; }
.choices .button:hover { transform: none; box-shadow: inset 0 0 0 1.5px var(--k-ink); }

/* ── legal: English only, in a page that may be in another language ── */
.legal .wrap { max-width: calc(var(--k-measure) + var(--k-gutter) * 2); }
.legal .prose hr { border: 0; border-top: 1px solid var(--k-line); margin-block: 2em; }
.legal .summary { padding: var(--k-5); background: var(--k-surface); border: 1px solid var(--k-line); border-radius: var(--k-r-sheet); }
.legal .summary > * + * { margin-top: var(--k-2); }
.legal .summary__label, .legal .legal-note { font-size: var(--k-small); color: var(--k-ink-3); }

@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ── footer (MKT-030): the AI reader's line keeps its star, in the ink footer's light ink ── */
.site-footer .footer-social svg { display: block; }
.site-footer .footer-ai::before { content: "\2726\00a0"; color: rgba(246, 245, 241, 0.66); }

/* ── a grid of feature cards (features page "at a glance", home page "more") ──
   MKT-032, owner: "make them immersive, so it looks pretty awesome". Each card: a tinted icon disc (the tint cycles
   through the atmosphere colours), a title, one line, a tag where true today; a soft halo of the same tint rises from
   the corner, and on hover the card lifts, the halo brightens and the arrow arrives. */
.cards { display: grid; gap: var(--k-4); margin-top: clamp(32px, 4vw, 56px); text-align: start; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--k-5); } }
.card {
  --tint: var(--k-honey);
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 6px; align-content: start;
  height: 100%; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--k-r-sheet);
  background: var(--k-surface); border: 1px solid rgba(30, 29, 26, 0.06); box-shadow: var(--k-shadow-quiet);
  color: inherit; text-decoration: none; transition: transform var(--k-move) var(--k-ease), box-shadow var(--k-move) ease;
}
.cards > li:nth-child(5n+2) .card { --tint: var(--k-sage); }
.cards > li:nth-child(5n+3) .card { --tint: var(--k-violet); }
.cards > li:nth-child(5n+4) .card { --tint: var(--k-coral); }
.cards > li:nth-child(5n+5) .card { --tint: var(--k-honey); }
.card::before {
  content: ""; position: absolute; left: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--tint) 38%, transparent), transparent 70%);
  opacity: 0.8; transition: opacity var(--k-move) ease, transform var(--k-move) var(--k-ease);
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--k-shadow-sheet); }
a.card:hover::before { opacity: 1; transform: scale(1.25); }
.card-icon {
  grid-row: 1 / span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px;
  background: color-mix(in srgb, var(--tint) 45%, var(--k-surface)); color: var(--k-ink); box-shadow: inset 0 0 0 1px rgba(30, 29, 26, 0.05);
}
.card-icon svg { width: 24px; height: 24px; }
.card-title { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--k-ink); text-wrap: balance; padding-right: 28px; }
.card-text { font-size: 0.9375rem; line-height: 1.5; color: var(--k-ink-2); text-wrap: pretty; }
a.card::after {
  content: "\2192"; position: absolute; right: 18px; top: 20px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--k-ink); color: var(--k-surface); font-size: 14px; opacity: 0; transform: translateX(-6px);
  transition: opacity var(--k-fast) ease, transform var(--k-move) var(--k-ease);
}
a.card:hover::after { opacity: 1; transform: none; }
.tag { display: inline-block; justify-self: start; grid-column: 2; margin-top: 8px; padding: 3px 10px; border-radius: var(--k-r-pill); background: var(--k-sunken); color: var(--k-ink-2); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.4; white-space: nowrap; }
.tag--ok { background: var(--k-green-tint); color: var(--k-green); }
.tag--ok::before { content: "\2713\00a0"; }
@media (prefers-reduced-motion: reduce) { .card, .card::before, a.card::after, .chapter { transition: none !important; } }
