/* Buyerflare — system type, warm neutrals, one flare accent. */
:root {
  --bg: #FBFAF8; --bg-2: #F4F2EE; --surface: #FFFFFF;
  --ink: #15171C; --ink-2: #4B5160; --ink-3: #737987;
  --line: rgba(21, 23, 28, .09); --line-2: rgba(21, 23, 28, .14);
  --accent: #F25C2A; --accent-press: #DA4A1A; --accent-text: #C2410C; --accent-soft: rgba(242, 92, 42, .1);
  --green: #1A7F45;
  --nav: rgba(251, 250, 248, .78);
  --shadow: 0 1px 2px rgba(21, 23, 28, .04), 0 10px 30px rgba(21, 23, 28, .06);
  --shadow-lift: 0 2px 6px rgba(21, 23, 28, .06), 0 24px 60px rgba(21, 23, 28, .12);
  --radius: 18px;
  --spring: cubic-bezier(.32, .72, 0, 1);
  --snappy: cubic-bezier(.2, .9, .25, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C0D10; --bg-2: #121418; --surface: #181A1F;
    --ink: #F3F2EF; --ink-2: #B3B7C0; --ink-3: #8A8F9A;
    --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14);
    --accent: #FF6B35; --accent-press: #FF7F4F; --accent-text: #FF8A5B; --accent-soft: rgba(255, 107, 53, .14);
    --green: #3CCF72;
    --nav: rgba(12, 13, 16, .74);
    --shadow: 0 0 0 1px rgba(255, 255, 255, .06);
    --shadow-lift: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 60px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.55; letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.04; letter-spacing: -.038em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -.03em; max-width: 20ch; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.018em; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 40px); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.tinted { background: var(--bg-2); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--accent-text); margin-bottom: 14px; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; margin-top: 22px; letter-spacing: -.014em; }
.lede.small { font-size: 18px; margin-top: 16px; }
.accent { color: var(--accent); }

/* Navigation: translucent material */
.nav { position: sticky; top: 0; z-index: 30; background: var(--nav); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.nav.scrolled { border-bottom-color: var(--line); }
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.nav-inner { width: min(1160px, 100% - 40px); margin-inline: auto; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink) !important; font-weight: 700; font-size: 18px; letter-spacing: -.02em; text-decoration: none !important; }
.brand .mark { width: 30px; height: 30px; }
.brand.small .mark { width: 24px; height: 24px; }
.brand.small { font-size: 16px; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 760px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* Buttons: feedback on press */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; text-decoration: none !important; cursor: pointer; border: 0; transition: transform 240ms var(--snappy), background-color 160ms ease, box-shadow 160ms ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.96); transition-duration: 70ms; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(194, 65, 12, .3), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { background: var(--accent-press); }
.btn-quiet { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-quiet:hover { background: var(--surface); }
.btn-light { background: #fff; color: #15171C; }
.btn-light:hover { background: #F4F2EE; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fine { margin-top: 20px; font-size: 14px; color: var(--ink-3); }

.demo { margin: 0; display: grid; gap: 0; position: relative; }
.demo-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lift); padding: 20px 22px; font-size: 15px; line-height: 1.55; }
.demo-card p { color: var(--ink-2); }
.demo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.demo-head div { display: grid; }
.demo-head strong { font-size: 15px; }
.demo-head span { font-size: 13px; color: var(--ink-3); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 14px; font-weight: 700; color: #7A2E0E; background: linear-gradient(150deg, #FFD9C2, #FFB48C); }
.demo-card.post { transform: rotate(-1.2deg); }
.demo-card.email { margin-left: clamp(0px, 6vw, 56px); border: 1px solid var(--line); }
.demo-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.badge { font-size: 12px; font-weight: 600; color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.subject { color: var(--ink) !important; font-weight: 650; margin-bottom: 6px; }
.demo-card.reply { margin: 14px 0 0 clamp(24px, 12vw, 120px); display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: 16px 16px 16px 4px; }
.demo-card.reply p { color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); margin-top: 8px; flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 18%, transparent); }
.demo-link { height: 34px; display: flex; justify-content: center; }
.demo-link span { width: 2px; height: 100%; background: linear-gradient(var(--accent), transparent); border-radius: 2px; }
.demo figcaption { margin-top: 18px; font-size: 12.5px; color: var(--ink-3); text-align: right; }

/* Cards */
.cards { display: grid; gap: 18px; margin-top: 48px; }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 16px; }
.not-fit { margin-top: 28px; color: var(--ink-2); font-size: 16px; max-width: 46em; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.steps li { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; }
.steps .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 16px; }

/* Comparison */
.compare { margin-top: 44px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.compare .row { display: grid; grid-template-columns: 1fr 1.2fr 1.3fr; gap: 16px; padding: 18px 24px; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.compare .row.head { border-top: 0; font-size: 13px; font-weight: 600; color: var(--ink-3); padding-block: 14px; }
.compare .row.head span:last-child { color: var(--accent-text); }
.compare [role="rowheader"] { color: var(--ink); font-weight: 600; }
.compare strong { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .compare .row { grid-template-columns: 1fr 1fr; } .compare [role="rowheader"] { grid-column: 1 / -1; } .compare .row.head span:first-child { display: none; } }

/* What you get */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checks li { position: relative; padding: 16px 0 16px 40px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F25C2A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.checks strong { color: var(--ink); font-weight: 600; }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform 320ms var(--spring); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); animation: fade-in 260ms ease; }

/* Closing band */
.cta-band { background: #15171C; color: #F3F2EF; padding: clamp(72px, 9vw, 112px) 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: auto 0 -40% 0; height: 90%; background: radial-gradient(60% 60% at 50% 100%, rgba(242, 92, 42, .35), transparent 70%); pointer-events: none; }
.cta-band .wrap { position: relative; display: grid; justify-items: center; gap: 18px; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: #B3B7C0; font-size: 19px; margin-bottom: 10px; }

/* Footer */
.footer { padding: 36px 0 48px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink-3); }
.footer nav { display: flex; gap: 24px; }
.footer nav a { color: var(--ink-2); }

/* Legal page */
.legal { padding: clamp(48px, 7vw, 88px) 0 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); }
.legal h2 { font-size: 24px; letter-spacing: -.02em; margin: 44px 0 12px; max-width: none; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .updated { margin-top: 12px; color: var(--ink-3); font-size: 15px; }

/* Motion: content rises in once; never on reduced motion */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--spring), transform 700ms var(--spring); }
.js .reveal.in { opacity: 1; transform: none; }
.js .demo-card.post.reveal { transform: translateY(14px) rotate(-1.2deg); }
.js .demo-card.post.reveal.in { transform: rotate(-1.2deg); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  .js .demo-card.post.reveal { transform: rotate(-1.2deg); }
  .btn, .btn:active { transition: none; transform: none; }
  .faq summary::after, .faq details p { transition: none; animation: none; }
}
