/* furoki.css v3: Furoki's page components, shared by furoki.com, Concierge, Bingo and Marco.
   A warm sand page inside a thin framed column, SF Pro on a small type scale (13px base, 24px at most), grey cards,
   black/white pill buttons, section rules pinned by little coloured dots, numbered section labels, and grainy
   gradient panels as the only colour. Uses only the variables in furoki-tokens.css: no colours or font names
   here, so a product can restyle it (Concierge maps them to its light and dark tokens).
   Source of truth: furoki-website/brand/. Copy changes to the products with scripts/brand-sync.mjs (see brand/README.md).
   Products localise only through their own override file (accent, pattern, imagery, product components), never by
   editing this file. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text-default); font-family: var(--font-sans); font-size: var(--fs-13); font-weight: var(--weight-regular); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
/* the thin frame running down both sides of the page */
body::before { content: ""; position: fixed; top: 0; bottom: 0; left: 50%; width: var(--col); transform: translateX(-50%); border-inline: 1px solid var(--line); pointer-events: none; z-index: 1; }
a { color: var(--text-strong); }
/* one visible focus ring everywhere (white on the dark gradient panels) */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.gfx :focus-visible, .final :focus-visible { outline-color: var(--focus-on-dark); }
b, strong { font-weight: var(--weight-medium); color: var(--text-strong); }
.wrap { width: var(--col); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); position: relative; z-index: 2; }
.wrap.narrow > * { max-width: 860px; }
.center { text-align: center; }
h1, h2, h3 { font-family: var(--font-display); color: var(--text-strong); }
h1, h2 { font-weight: var(--weight-regular); line-height: var(--lh-heading); margin: 0; letter-spacing: -.015em; }
h1 { font-size: var(--fs-24); }
/* one heading scale on every site: display size for the hero, the section size for section titles */
.hero h1 { font-size: var(--fs-display); line-height: var(--lh-tight); }
.section h2 { font-size: var(--fs-h2); line-height: var(--lh-tight); }
h1 em { font-style: normal; position: relative; z-index: 0; white-space: nowrap; }
/* a soft marker behind the words that matter */
h1 em::before { content: ""; position: absolute; z-index: -1; left: -.1em; right: -.12em; top: .16em; bottom: .02em; border-radius: 48% 52% 46% 54% / 60% 50% 50% 40%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 50%, transparent), color-mix(in srgb, var(--accent-2) 38%, transparent) 72%, transparent); transform: rotate(-2.5deg); }
h2 { font-size: var(--fs-18); margin-bottom: 12px; max-width: 820px; }
.section h2 { margin-bottom: 16px; }
h2.center { margin-inline: auto; }
h3 { font-family: var(--font-sans); font-weight: var(--weight-medium); font-size: var(--fs-14); line-height: 1.4; margin: 0 0 6px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: var(--fs-13); font-weight: var(--weight-regular); color: var(--text-subtle); margin: 0 0 12px; }
.eyebrow.center { justify-content: center; }
/* section labels are numbered */
main { counter-reset: call; }
.eyebrow::before { counter-increment: call; content: counter(call, decimal-leading-zero); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, var(--card) 0, var(--card) 45%, var(--alt) 100%); border: 1px solid var(--line); box-shadow: inset -2px -3px 5px rgba(0, 0, 0, .06); font-family: var(--font-sans); font-weight: var(--weight-medium); font-size: var(--fs-12); color: var(--text-strong); letter-spacing: 0; }
.sub-c { color: var(--text-default); font-size: var(--fs-14); max-width: 640px; margin: 0 0 28px; }
.center .sub-c, .sub-c.center { margin-inline: auto; }
.body { color: var(--text-default); font-size: var(--fs-14); max-width: 560px; }
.fine { color: var(--text-subtle); font-size: var(--fs-12); margin-top: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 9px 18px; background: var(--ink); color: var(--card); text-decoration: none; font-weight: var(--weight-medium); font-size: var(--fs-13); border: 1px solid var(--ink); transition: background .15s, color .15s, border-color .15s, box-shadow .15s; white-space: nowrap; cursor: pointer; }
.btn:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.btn.lg { padding: 11px 22px; font-size: var(--fs-14); }
.btn.sm { padding: 6px 14px; font-size: var(--fs-12); }
.btn.ghost { background: var(--card); color: var(--text-strong); border-color: var(--line-strong); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 14px rgba(0, 0, 0, .04); }
.btn.ghost:hover { background: var(--bg-selected); }
.btn.more::after { content: "›"; font-size: 1.25em; line-height: 0; margin-left: 4px; }
.btn.light { background: var(--on-gfx); border-color: var(--on-gfx); color: var(--on-light); }
.btn.light:hover { background: var(--card-hover); border-color: var(--card-hover); }

/* grainy gradient panels, the only place colour appears */
.gfx { position: relative; isolation: isolate; overflow: hidden; color: var(--on-gfx); background: var(--g, var(--g-sky)); }
.gfx::after { content: ""; position: absolute; inset: 0; background: var(--grain); mix-blend-mode: overlay; opacity: .55; pointer-events: none; z-index: -1; }
/* a pattern grid (dots by default, each product can set --pattern), fading out towards the top */
.gfx.grid::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .8; pointer-events: none; z-index: -1; -webkit-mask-image: linear-gradient(to top, black 10%, transparent 95%); mask-image: linear-gradient(to top, black 10%, transparent 95%); }
.g-party { --g: var(--g-party); } .g-mint { --g: var(--g-mint); } .g-sun { --g: var(--g-sun); } .g-sky { --g: var(--g-sky); } .g-night { --g: var(--g-night); }

/* nav: the furoki wordmark, then the product after a thin rule (furoki | Bingo) */
.nav { position: sticky; top: 0; z-index: 30; background: var(--nav-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { width: 100%; max-width: 1320px; }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 20px; }
.brand { font-family: var(--font-display); font-weight: var(--weight-medium); font-size: var(--fs-18); letter-spacing: -.02em; color: var(--text-strong); text-decoration: none; display: flex; align-items: center; white-space: nowrap; }
.brand .prod { font-family: var(--font-display); font-weight: var(--weight-regular); font-size: var(--fs-18); letter-spacing: -.01em; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); line-height: 1.1; }
.links { display: flex; gap: 24px; }
.links a, .nav-cta .txt { color: var(--text-default); text-decoration: none; font-size: var(--fs-13); font-weight: var(--weight-medium); }
.links a:hover, .nav-cta .txt:hover, .links a[aria-current="page"] { color: var(--text-strong); }
.links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { display: flex; align-items: center; gap: 20px; }
@media (max-width: 820px) { .links { display: none; } .nav .btn { min-height: var(--tap); } }
@media (max-width: 820px) { .nav-cta { gap: var(--sp-2); } }
@media (max-width: 420px) { .nav-cta .txt { display: none; } .brand .prod { margin-left: var(--sp-2); padding-left: var(--sp-2); } .menu > summary { padding: 0 var(--sp-3); } }
/* phone menu: a <details class="menu"> in .nav-cta, shown where .links are hidden (markup: brand/templates/header.html.tmpl) */
.menu, .menu:last-of-type { display: none; position: relative; border: 0; }
@media (max-width: 820px) { .menu, .menu:last-of-type { display: block; } }
.menu > summary { min-height: var(--tap); padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--card); font-size: var(--fs-13); font-weight: var(--weight-medium); color: var(--text-strong); justify-content: center; }
.menu > summary::after { content: ""; }
.menu[open] > summary::after { content: ""; }
.menu > nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; display: flex; flex-direction: column; padding: var(--sp-2); background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius-md); box-shadow: var(--shadow); z-index: 40; }
.menu > nav a { display: flex; align-items: center; min-height: var(--tap); padding: 0 var(--sp-3); border-radius: var(--radius-sm); color: var(--text-strong); text-decoration: none; font-size: var(--fs-14); }
.menu > nav a:hover, .menu > nav a[aria-current="page"] { background: var(--bg-selected); }

/* every block below the nav is a framed band; a rule pinned by two little dots marks where it starts */
.hero, .strip, .section, .final, .foot { position: relative; }
.strip, .section, .final, .foot { border-top: 1px solid var(--line); }
.strip::before, .strip::after, .section::before, .section::after, .final::before, .final::after, .foot::before, .foot::after {
  content: ""; position: absolute; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .85) 0, var(--dot, var(--orange)) 55%); z-index: 3; }
.strip::before, .section::before, .final::before, .foot::before { left: calc((100% - var(--col)) / 2 - 4.5px); }
.strip::after, .section::after, .final::after, .foot::after { right: calc((100% - var(--col)) / 2 - 4.5px); }
main > :nth-child(4n+2) { --dot: var(--orange); } main > :nth-child(4n+3) { --dot: var(--violet); }
main > :nth-child(4n) { --dot: var(--pink); } main > :nth-child(4n+1) { --dot: var(--green); } .foot { --dot: var(--orange); }

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 72px); }
.hero-in > * { min-width: 0; }
.hero-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-in.solo { grid-template-columns: 1fr; max-width: 900px; }
@media (max-width: 1000px) { .hero-in { grid-template-columns: 1fr; } }
.hero .sub { font-size: var(--fs-16); color: var(--text-default); margin: 16px 0 24px; max-width: 560px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { color: var(--text-subtle); font-size: var(--fs-12); margin-top: 16px; }
.trust b { color: var(--text-strong); font-weight: var(--weight-medium); }
.stage { border-radius: 28px; padding: clamp(18px, 3vw, 36px); }

/* stat strip: cells divided by thin rules */
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; }
.strip-in > div { padding: clamp(24px, 3.4vw, 40px) clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }
.strip-in > div:first-child { border-left: 0; }
.strip b { display: block; font-family: var(--font-display); font-weight: var(--weight-medium); font-size: var(--fs-24); line-height: 1.2; letter-spacing: -.01em; }
.strip span { font-size: var(--fs-12); color: var(--text-subtle); }
@media (max-width: 760px) { .strip-in { grid-template-columns: 1fr 1fr; } .strip-in > div:nth-child(3) { border-left: 0; } .strip-in > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* sections */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.features.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features, .features.two { grid-template-columns: 1fr; } }
.features article { border-radius: var(--radius); padding: 28px; min-height: 250px; background: var(--alt); display: flex; flex-direction: column; }
.features h3 { color: var(--text-strong); font-weight: var(--weight-medium); font-size: var(--fs-14); margin: auto 0 6px; padding-top: 28px; }
.features p { color: var(--text-default); margin: 0; font-size: var(--fs-13); }
.ico { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: var(--fs-18); line-height: 1; color: var(--text-strong); }
.ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: var(--icon-stroke); stroke-linecap: round; stroke-linejoin: round; }

/* product cards: a grainy picture on top, a white caption and links below */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product .pic { min-height: 240px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.product .pic .name { font-family: var(--font-display); font-weight: var(--weight-medium); font-size: var(--fs-24); letter-spacing: -.01em; line-height: 1.2; }
.product .txt { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product .txt p { margin: 0; color: var(--text-default); }
.product .txt .cta-row { margin-top: auto; padding-top: 8px; }

/* steps as cards with a grainy picture on top and a white caption below */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.steps .pic { height: 180px; padding: 18px; }
.steps .txt { padding: 22px 26px 26px; }
.steps h3 { font-size: var(--fs-14); }
.steps p { color: var(--text-default); margin: 0; font-size: var(--fs-13); }
.n { display: inline-block; background: var(--card); color: var(--text-strong); border-radius: 999px; padding: 4px 12px; font-family: var(--font-sans); font-weight: var(--weight-medium); font-size: var(--fs-12); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .btn { margin-top: 26px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; }
.ticks li { padding: 12px 0 12px 28px; position: relative; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: "✓"; position: absolute; left: 2px; top: 12px; font-size: var(--fs-13); font-weight: var(--weight-medium); color: var(--text-strong); }

/* pricing cards */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; margin-top: 8px; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; max-width: 480px; } }
.price { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.price h3 { color: var(--text-subtle); font-weight: var(--weight-medium); font-size: var(--fs-13); }
.price.best { border: 0; background: var(--g); color: var(--on-gfx); }
.price.best h3, .price.best .amt, .price.best .for, .price.best li { color: rgba(255, 255, 255, .8); }
.price.best li::before { color: var(--on-gfx); }
.amt { font-family: var(--font-display); font-weight: var(--weight-medium); font-size: var(--fs-24); line-height: 1.2; margin: 6px 0 4px; letter-spacing: -.01em; color: var(--text-strong); }
.amt small { font-family: var(--font-sans); font-weight: var(--weight-regular); font-size: var(--fs-13); letter-spacing: 0; color: inherit; opacity: .7; }
.for { color: var(--text-subtle); font-size: var(--fs-12); margin: 0 0 20px; }
.price ul { list-style: none; padding: 0; margin: 0 0 30px; flex: 1; }
.price li { padding-left: 24px; position: relative; margin: 8px 0; font-size: var(--fs-13); color: var(--text-default); }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--text-strong); font-weight: var(--weight-medium); }
.price .btn { align-self: flex-start; }
.ribbon { align-self: flex-start; background: var(--card); color: var(--text-strong); font-size: var(--fs-12); font-weight: var(--weight-medium); padding: 5px 14px; border-radius: 999px; white-space: nowrap; margin-bottom: 18px; }

/* a quiet grey panel with a line of text and a button */
.pro { margin: 16px 0 0; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--alt); border-radius: var(--radius); padding: 28px; }
.pro p { margin: 4px 0 0; color: var(--text-default); max-width: 700px; }
.pro h3 { color: var(--text-strong); font-weight: var(--weight-medium); font-size: var(--fs-14); }

/* faq: a plain ruled list */
.faq h2 { margin-bottom: 24px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: var(--weight-medium); font-size: var(--fs-14); color: var(--text-strong); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--text-subtle); font-size: var(--fs-18); font-weight: var(--weight-regular); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--text-default); margin: -4px 0 16px; max-width: 720px; }

/* closing call to action, a large grainy panel inside the frame */
.final { padding: clamp(40px, 6vw, 72px) 0; }
.final-card { border-radius: 32px; padding: clamp(64px, 10vw, 140px) clamp(24px, 5vw, 64px); }
.final h2 { color: var(--on-gfx); font-size: var(--fs-h2); line-height: var(--lh-tight); max-width: 900px; }
.final .sub-c { color: rgba(255, 255, 255, .82); margin-top: 18px; }
.final a:not(.btn) { color: var(--on-gfx); }

/* footer (markup: brand/templates/footer.html.tmpl): blurb, the product's links, the Furoki family, then legal */
.foot { padding: 40px 0 96px; }
.foot-in { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px 24px; }
.foot-brand p { color: var(--text-subtle); font-size: var(--fs-12); margin: 12px 0 0; max-width: 30ch; }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot h4, .foot .foot-h { margin: 0 0 4px; font-family: var(--font-sans); font-weight: var(--weight-medium); font-size: var(--fs-12); color: var(--text-strong); }
.foot nav a { color: var(--text-default); text-decoration: none; font-size: var(--fs-13); font-weight: var(--weight-regular); }
.foot nav a:hover { color: var(--text-strong); }
.foot .foot-legal { grid-column: 1 / -1; color: var(--text-subtle); font-size: var(--fs-12); margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .foot-in { grid-template-columns: repeat(2, 1fr); } .foot-brand { grid-column: 1 / -1; } .foot nav { gap: 0; } .foot nav a { display: flex; align-items: center; min-height: var(--tap); } }

/* legal and long-form pages */
.legal { padding: 56px 0 90px; }
.legal h1 { font-size: var(--fs-24); margin-bottom: 8px; }
.legal h2 { font-size: var(--fs-16); margin: 32px 0 8px; }
.legal p, .legal li { color: var(--text-default); font-size: var(--fs-14); max-width: 68ch; }

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