/* flatnumber.com (marketing) — tokens mirror skills/flatnumber-design/colors_and_type.css (theme v2). Light only. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/outfit-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Readex Pro'; font-style: normal; font-weight: 160 700; font-display: swap; src: url('/assets/fonts/readex-pro-latin-wght-normal.woff2') format('woff2'); }

:root {
  --fn-orange: #F66C02; --fn-orange-dark: #753400; --fn-orange-faint: #FEE5D1;
  --fg-1: #14181B; --fg-2: #57636C; --fg-muted: #95A1AC;
  --bg-canvas: #F1F4F8; --bg-surface: #FFFFFF;
  --border-1: #E0E3E7; --divider: #ECEEF1;
  --success: #249689; --success-soft: #DCF1EE; --success-text: #1E7B70;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Readex Pro', system-ui, -apple-system, sans-serif;
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-button: 10px; --r-pill: 9999px;
  --shadow-card: 0 1px 2px rgba(20,24,27,0.04), 0 1px 3px rgba(20,24,27,0.06);
  --shadow-lg: 0 8px 15px rgba(0,0,0,0.10);
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.6; color: var(--fg-1); background: var(--bg-surface); overflow-wrap: break-word; }
a { color: var(--fn-orange); text-decoration: none; }
a:hover { color: var(--fn-orange-dark); }
:focus-visible { outline: 2px solid var(--fn-orange); outline-offset: 2px; border-radius: 4px; }
h1, h2 { font-family: var(--font-display); color: var(--fg-1); margin: 0; text-wrap: balance; font-weight: 600; }
p { margin: 0; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--r-button); font: inherit; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--fn-orange); color: #FFFFFF; }
.btn-primary:hover { background: var(--fn-orange-dark); color: #FFFFFF; }
.btn-white { background: #FFFFFF; color: var(--fn-orange-dark); }
.btn-white:hover { background: #FFFFFF; color: var(--fn-orange); }
.btn-ghost { background: transparent; color: var(--fg-1); border-color: var(--border-1); }
.btn-ghost:hover { border-color: var(--fn-orange); color: var(--fn-orange-dark); }
.btn-outline { background: transparent; color: var(--fn-orange); border-color: var(--fn-orange); }
.btn-block { width: 100%; }

/* Header */
.site-header { border-bottom: 1px solid var(--border-1); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand img { height: 26px; width: 114px; max-width: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn-ghost { display: none; }
@media (min-width: 900px) { .nav-actions .btn-ghost { display: inline-flex; } }
/* Desktop: "Classic login" sits centred in the free space between the nav and the buttons;
   an equal empty spacer on the nav's left keeps the nav where space-between put it. */
.header-spacer, .header-legacy { display: none; }
.header-legacy .legacy-link { font-size: 13px; font-weight: 400; color: var(--fg-muted); white-space: nowrap; }
.header-legacy .legacy-link:hover { color: var(--fg-2); text-decoration: underline; }
@media (min-width: 900px) { .header-spacer, .header-legacy { display: block; flex: 1 1 0; text-align: center; } }

/* Desktop nav: a plain, always-rendered <nav> — hidden on mobile purely via display,
   never via <details>, so there is nothing native to fight with CSS. */
.desktop-nav { display: none; }

/* Mobile nav: a real collapsible disclosure, no JS. The dropdown is fixed to the
   viewport (not positioned relative to the small hamburger button) so it is always
   a full-width panel regardless of where the button sits in the header. */
.mobile-nav > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-pill); }
.mobile-nav > summary::-webkit-details-marker { display: none; }
.mobile-nav[open] > summary { background: var(--bg-canvas); }
.mobile-nav nav { display: flex; flex-direction: column; gap: 2px; position: fixed; left: 0; right: 0; top: 64px; background: var(--bg-surface); border-bottom: 1px solid var(--border-1); padding: 8px var(--gutter) 16px; z-index: 20; }
.mobile-nav nav a { padding: 10px 4px; font-size: 15px; font-weight: 500; color: var(--fg-1); }
.mobile-nav nav a.active { color: var(--fn-orange); font-weight: 600; }
.mobile-nav nav a.legacy-link { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--border-1); font-size: 13px; font-weight: 400; color: var(--fg-muted); }

@media (min-width: 900px) {
  .desktop-nav { display: flex; align-items: center; gap: 32px; }
  .desktop-nav a { font-size: 15px; font-weight: 500; color: var(--fg-1); }
  .desktop-nav a.active { color: var(--fn-orange); font-weight: 600; }
  .mobile-nav { display: none; }
}

/* Hero (Home, For professionals) */
.hero { background: var(--fn-orange); padding: 40px 0 44px; }
.hero .wrap { display: flex; flex-direction: column; gap: 16px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.hero h1 { color: #FFFFFF; font-size: 30px; line-height: 1.2; }
.hero .lead { color: rgba(255,255,255,0.92); font-size: 15px; line-height: 1.55; max-width: 60ch; }
.hero .cta-note { color: rgba(255,255,255,0.8); font-size: 13px; }
.hero .platforms { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-size: 13px; }
.hero .platforms svg { flex-shrink: 0; }
.hero .btn { margin-top: 4px; }

@media (min-width: 900px) {
  .hero { padding: 64px 0; }
  .hero .wrap { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }
  .hero-copy { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
  .hero h1 { font-size: 44px; }
  .hero .lead { font-size: 18px; }
  .hero .cta-row { display: flex; align-items: center; gap: 20px; }
  .hero .btn { margin-top: 0; flex-shrink: 0; }
}

/* Social proof */
.social-proof { text-align: center; padding: 32px var(--gutter); background: var(--bg-canvas); }
.social-proof .stat { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.social-proof .sub { color: var(--fg-2); font-size: 13px; margin-top: 4px; }
@media (min-width: 900px) { .social-proof .stat { font-size: 26px; } .social-proof .sub { font-size: 14px; } }

/* Value / step cards */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 32px var(--gutter); max-width: 1180px; margin: 0 auto; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; padding: 40px var(--gutter) 48px; } }
.card { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.card-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--fn-orange-faint); color: var(--fn-orange-dark); }
.card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.card p { color: var(--fg-2); font-size: 14px; line-height: 1.5; }
@media (min-width: 900px) { .card-icon { width: 44px; height: 44px; } .card h3 { font-size: 18px; } .card p { font-size: 15px; } }

/* Callout / partner band */
.band { margin: 0 var(--gutter) 32px; padding: 20px; border-radius: var(--r-md); }
.band-faint { background: var(--fn-orange-faint); }
.band-canvas { background: var(--bg-canvas); }
.band-head { display: flex; align-items: center; gap: 10px; }
.band h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.band p { color: var(--fg-2); font-size: 14px; line-height: 1.55; margin-top: 6px; }
.band .link-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; color: var(--fn-orange-dark); }
@media (min-width: 900px) {
  .band { max-width: 1180px; margin: 0 auto 48px; padding: 28px 32px; display: flex; align-items: center; gap: 24px; }
  .band-head { flex-shrink: 0; }
  .band-body { flex-grow: 1; }
  .band h3 { font-size: 18px; }
  .band p { font-size: 15px; margin-top: 4px; }
  .band .link-cta { margin-top: 0; flex-shrink: 0; }
}

/* CTA band (bottom of page) */
.cta-band { text-align: center; padding: 40px var(--gutter); background: var(--fn-orange); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-band h2 { color: #FFFFFF; font-size: 22px; }
.cta-band p { color: rgba(255,255,255,0.92); font-size: 15px; }
@media (min-width: 900px) { .cta-band { padding: 56px var(--gutter); gap: 16px; } .cta-band h2 { font-size: 28px; } }

/* Pricing */
.page-head { padding: 36px var(--gutter) 8px; text-align: center; }
.page-head h1 { font-size: 26px; }
.page-head .lead { color: var(--fg-2); font-size: 15px; margin-top: 6px; }
@media (min-width: 900px) { .page-head { padding: 48px var(--gutter) 8px; } .page-head h1 { font-size: 34px; } .page-head .lead { font-size: 16px; } }

.price-card { margin: 24px var(--gutter); padding: 28px 24px; background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 420px; margin-left: auto; margin-right: auto; }
.currency-tabs { display: flex; width: 100%; padding: 4px; border-radius: var(--r-pill); background: var(--bg-canvas); }
.currency-tabs button { flex: 1; height: 36px; border: none; border-radius: var(--r-pill); background: transparent; color: var(--fg-2); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.currency-tabs button[aria-selected="true"] { background: var(--bg-surface); color: var(--fg-1); font-weight: 600; box-shadow: 0 1px 2px rgba(20,24,27,0.08); }
.price-amount { font-family: var(--font-display); font-size: 56px; font-weight: 700; color: var(--fn-orange); line-height: 1; }
.price-note { font-size: 15px; font-weight: 500; }
.price-tax { font-size: 13px; color: var(--fg-2); }
.trial-badge { margin-top: 6px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--success-soft); color: var(--success-text); font-size: 12px; font-weight: 600; }
.included-list { display: flex; flex-direction: column; gap: 10px; width: 100%; padding-top: 6px; border-top: 1px solid var(--divider); }
.included-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; list-style: none; }
.included-list svg { flex-shrink: 0; color: var(--success); }
.price-fine { font-size: 12px; color: var(--fg-muted); text-align: center; }

@media (min-width: 900px) {
  .price-card { flex-direction: row; align-items: center; gap: 56px; max-width: 900px; padding: 40px 48px; text-align: left; }
  .price-left { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex-shrink: 0; width: 320px; }
  .currency-tabs { width: auto; display: inline-flex; }
  .currency-tabs button { flex: none; padding: 0 14px; }
  .price-amount { font-size: 64px; }
  .included-list { flex-grow: 1; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 24px; padding-left: 56px; padding-top: 0; border-top: none; border-left: 1px solid var(--divider); }
}

/* FAQs */
.faq-groups { padding: 8px var(--gutter) 40px; max-width: 720px; margin: 0 auto; }
.faq-group-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.04em; margin: 24px 0 4px; }
.faq-groups details { border-bottom: 1px solid var(--border-1); padding: 14px 0; }
.faq-groups summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.faq-groups summary::-webkit-details-marker { display: none; }
.faq-groups summary svg { flex-shrink: 0; transition: transform 0.2s ease; color: var(--fg-2); }
.faq-groups details[open] summary svg { transform: rotate(180deg); }
.faq-groups details p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--fg-2); }
@media (min-width: 900px) { .faq-groups summary { font-size: 16px; } .faq-groups details p { font-size: 15px; } }

/* About */
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; padding: 20px var(--gutter); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px; background: var(--bg-canvas); border-radius: var(--r-md); }
.stat .value { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--fn-orange); }
.stat .label { font-size: 11px; color: var(--fg-2); text-align: center; }
.about-sections { display: flex; flex-direction: column; gap: 24px; padding: 12px var(--gutter) 32px; }
.about-sections h2 { font-size: 18px; }
.about-sections p { font-size: 14px; line-height: 1.6; color: var(--fg-2); margin-top: 6px; }
@media (min-width: 900px) {
  .page-head-row { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 48px var(--gutter); text-align: left; }
  .page-head-row h1 { font-size: 34px; }
  .page-head-row .lead { font-size: 17px; color: var(--fg-2); max-width: 640px; }
  .stat-grid { display: flex; gap: 16px; padding: 0; flex-shrink: 0; }
  .stat { padding: 18px 24px; }
  .stat .value { font-size: 26px; }
  .stat .label { font-size: 12px; }
  .about-sections { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; padding: 8px var(--gutter) 48px; max-width: 1180px; margin: 0 auto; }
  .about-sections h2 { font-size: 19px; }
  .about-sections p { font-size: 15px; }
}

/* Contact */
.contact-cards { display: flex; flex-direction: column; gap: 14px; padding: 20px var(--gutter); }
.contact-cards .card { align-items: flex-start; }
.contact-note { text-align: center; font-size: 13px; color: var(--fg-2); padding: 0 var(--gutter) 32px; }
@media (min-width: 900px) {
  .contact-cards { flex-direction: row; justify-content: center; gap: 24px; padding: 32px var(--gutter); }
  .contact-cards .card { width: 100%; max-width: 360px; padding: 28px; }
  .contact-note { font-size: 14px; }
}

/* Footer */
.site-footer { background: var(--bg-canvas); }
.site-footer .wrap { padding: 32px var(--gutter); display: flex; flex-direction: column; gap: 20px; }
.footer-cols { display: flex; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col .head { font-size: 12px; font-weight: 600; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col a { font-size: 14px; color: var(--fg-2); }
.copyright { font-size: 12px; color: var(--fg-muted); }
@media (min-width: 900px) {
  .site-footer .wrap { flex-direction: row; align-items: center; justify-content: space-between; }
}
