/* furoki.css v4: shared Furoki page components for furoki.com, Concierge, Bingo, Marco and Gateway.
   The base is white, ink and grey, with Inter, pill buttons, soft cards and flat dark panels. Uses tokens from
   furoki-tokens.css; product localization is limited to each product's components, copy and client-branded demos. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text-strong); font-family: var(--font-sans); font-size: var(--fs-13); font-weight: var(--weight-regular); line-height: var(--lh-body); -webkit-font-smoothing: antialiased; }
body::before { display: none; content: none; }
a { color: var(--text-strong); }
/* one visible focus ring everywhere */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.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; white-space: normal; }
h1 em::before { content: none; }
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: 8px; font-size: var(--fs-13); font-weight: var(--weight-regular); color: var(--text-strong); margin: 0 0 16px; }
.eyebrow.center { justify-content: center; }
.eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--tick); }
.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); }

/* flat dark panels */
.gfx { position: relative; isolation: isolate; overflow: hidden; color: var(--on-gfx); background: var(--panel-dark); }
.gfx::before, .gfx::after { content: none; }

/* 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: 72px; 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); }

/* shared sections */
.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: none; }
.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(--panel-dark); 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; } }

/* Shared v4 surfaces */
body h1, body h2, body h3 { font-family: var(--font-sans); font-weight: var(--weight-medium); letter-spacing: var(--tracking-display); }
body h1, body h2, body h3 { overflow-wrap: break-word; }
body h1 { line-height: var(--leading-tight); }
body h2 { line-height: var(--leading-heading); }
body h1 em { font-style: normal; white-space: normal; }
body h1 em::before { content: none; }
body .eyebrow { gap: 8px; color: var(--text-strong); margin-bottom: 16px; }
body .eyebrow::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border: 0; border-radius: 50%; background: var(--tick); box-shadow: none; }
body .btn, body a.btn { min-height: var(--btn-h); padding: 0 var(--sp-6); font-size: var(--type-btn); font-weight: var(--weight-medium); border-radius: var(--radius-pill); line-height: 1; box-shadow: none; }
body .btn.sm { min-height: var(--btn-h-sm); padding: 0 var(--sp-5); font-size: var(--type-small); }
body .btn.lg { min-height: var(--btn-h); font-size: var(--type-btn); }
body .btn.ghost, body .container a.btn.ghost { background: var(--sand-raised); color: var(--text-strong); border-color: var(--sand-raised); box-shadow: none; }
body .btn.ghost:hover { background: var(--card-hover); border-color: var(--card-hover); }
body .btn.light, body .final .btn:not(.ghost) { background: var(--card); color: var(--ink); border-color: var(--card); }
body .final .btn.ghost { background: transparent; color: var(--on-gfx); border-color: var(--line-on-dark-strong); }
body .btn:focus-visible, body a:focus-visible, body summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
body .final .btn:focus-visible { outline-color: var(--focus-on-dark); }
body .nav { background: var(--nav-bg); border-bottom: 1px solid var(--sand-line); }
body .nav-in { height: 72px; }
body .links a, body .nav-cta .txt { font-size: var(--type-small); }
body .nav .btn { min-height: var(--btn-h-sm); padding: 0 var(--sp-5); font-size: var(--type-small); }
body .cells { border-block: 0; gap: var(--sp-4); }
body .cell, body .features > * { border: 0; border-radius: var(--radius-card); background: var(--sand-raised); }
body .cell, body .cells .cell { padding: var(--sp-4); }
body .cell:last-child, body .cells .cell { border: 0; }
body .cell::before, body .ticked::before, body .features > *::before, body .features > *::after { content: none; background: none; }
body .features { gap: var(--sp-3); padding: 0; }
body .features article { border: 0; margin: 0; border-radius: var(--radius-card); background: var(--sand-raised); padding: var(--sp-6); min-height: 0; }
body .features article::before, body .features article::after { content: none; }
body .strip::before, body .strip::after, body .section::before, body .section::after, body .final::before, body .final::after, body .foot::before, body .foot::after { content: none; }
body .final { background: var(--panel-dark); color: var(--on-gfx); border-radius: var(--radius-panel); }
body .hero-panel { background: var(--panel-dark); color: var(--on-gfx); border-radius: var(--radius-panel); }
body .gfx { color: var(--on-gfx); background: var(--panel-dark); }
body .gfx::before, body .gfx::after { content: none; }
body .gfx .glass, body .scene .glass { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius-lg); color: var(--glass-text); box-shadow: var(--shadow-card); backdrop-filter: none; -webkit-backdrop-filter: none; }
body .glass p, body .glass-head, body .glass .row, body .glass .row b { color: var(--glass-text); }
body .glass-head span:last-child, body .glass .row span { color: var(--text-on-glass-muted); }
