/* salecopy.io — black, serif headlines, pill buttons, floating header */
:root {
  --bg: #000000;
  --bg-2: #0b0b0c;
  --panel: #111113;
  --line: #1f1f22;
  --line-2: #2b2b30;
  --ink: #f6f6f6;
  --muted: #9a9aa0;
  --muted-2: #c9c9ce;
  --mint: #3dd6b5;
  --white: #ffffff;
  --radius: 16px;
  --font-head: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--ink); }
h1, h2 { font-family: var(--font-head); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }
strong { color: var(--ink); font-weight: 600; }
.muted { color: var(--muted); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Floating header */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.site-header .wrap { pointer-events: auto; display: flex; align-items: center; gap: 20px; min-height: 56px; padding: 0 8px 0 16px; background: rgba(17, 17, 19, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); letter-spacing: -0.01em; }
.logo:hover { text-decoration: none; }
.logo b { font-weight: 400; color: var(--mint); }
.logo-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--white); color: #000; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.05rem; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav li { margin: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--muted-2); font-size: 0.92rem; }
.site-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.12); background: transparent; border-radius: 10px; padding: 11px 10px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary, .btn-mint { background: var(--white); color: #000; }
.btn-primary:hover, .btn-mint:hover { background: #e9e9ec; }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(255, 255, 255, 0.22); }
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost { background: transparent; color: var(--muted-2); border-color: transparent; padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.link { font-weight: 500; color: var(--ink); }
.link:hover { text-decoration: underline; }

/* Hero */
.hero { padding: 168px 0 48px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% 0 auto 0; height: 80vh; background: radial-gradient(60% 60% at 50% 0%, rgba(61, 214, 181, 0.14), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.hero-copy { max-width: 820px; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-weight: 500; }
.hero h1 { margin-bottom: 22px; }
.lede { font-size: 1.2rem; color: var(--muted-2); max-width: 62ch; line-height: 1.55; }
.hero .lede { margin-inline: auto; }
.big { font-size: 1.35rem; line-height: 1.5; color: var(--muted-2); }
.big strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 14px; }
.hero-grid .hero-actions { justify-content: center; }
.hero-note { font-size: 0.9rem; color: var(--muted); }
.hero-panel { margin-top: 56px; width: 100%; background: linear-gradient(180deg, #121214 0%, #0a0a0b 100%); border: 1px solid var(--line); border-radius: 24px; padding: 40px; text-align: left; position: relative; overflow: hidden; }
.hero-panel::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 214, 181, 0.16), transparent 65%); pointer-events: none; }
.panel-title { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin: 0 0 26px; position: relative; }
.stats div { border-left: 1px solid var(--line-2); padding-left: 16px; }
.stats dt { font-size: 0.8rem; color: var(--muted); }
.stats dd { margin: 4px 0 0; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.panel-foot { font-size: 0.95rem; color: var(--muted-2); margin: 0; position: relative; max-width: 70ch; }
.panel-foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Sections */
.section { padding: 104px 0; }
.section.light { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: #f6f6f6; color: #1a1a1a; }
.section.dark h2, .section.dark h3, .section.dark strong { color: #000; }
.section-head { max-width: 60ch; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section.dark .section-head p { color: #555; }
.section-head.row { max-width: none; text-align: left; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-inline: 0; }
.section-head.row > div { max-width: 60ch; }
.answer-first { padding: 72px 0 24px; text-align: center; }
.answer-first h2 { font-size: 1rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.page-head { padding: 160px 0 56px; }
.page-head h1 { max-width: 20ch; }
.crumbs { position: relative; z-index: 2; font-size: 0.82rem; color: var(--muted); padding: 92px 0 0; margin-bottom: -140px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 6px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--ink); display: flex; flex-direction: column; gap: 10px; transition: border-color 0.2s, transform 0.2s; }
.card h3 { margin-bottom: 0; }
.card p { margin: 0; color: var(--muted-2); font-size: 0.97rem; }
.card.flat { background: transparent; }
a.card:hover { text-decoration: none; border-color: var(--line-2); transform: translateY(-2px); }
a.card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.service-card p { flex: 1; }
.service-card .link { margin-top: 8px; color: var(--muted); font-size: 0.9rem; }
.service-card:hover .link { color: var(--ink); }
.section.dark .card { background: #fff; border-color: #e3e3e6; color: #1a1a1a; }
.section.dark .card p { color: #444; }
.engage { margin-top: 20px; }
.engage-one { margin-top: 20px; align-items: flex-start; }
.engage-one .btn { margin-top: 8px; }

.principles h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.015em; }
.principles p { font-size: 0.95rem; color: #555; }

.case-card .kicker { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.stat { margin: 0; display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-head); font-weight: 400; font-size: 2.2rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1.05; }
.stat span { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.case-card h3 { font-size: 1.15rem; margin-top: 4px; }
.case-card ul { margin: 0; padding-left: 1.1em; font-size: 0.93rem; color: var(--muted-2); }
.case-card .link { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.cases .case-card { gap: 12px; }
.proof { background: #f6f6f6; color: #333; border: 0; justify-content: center; }
.proof .stat strong { color: #000; font-size: 3rem; }
.proof p { color: #333; }
.who { align-items: start; }
.who h2 { margin-bottom: 24px; }
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 26px; position: relative; margin-bottom: 12px; color: var(--muted-2); }
.checks li strong { color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }

.steps { list-style: none; padding: 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); margin: 0; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: #000; font-family: var(--font-head); font-size: 1.1rem; display: grid; place-items: center; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted-2); }

.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.05rem; font-weight: 500; display: inline; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--font-head); font-size: 1.6rem; color: var(--muted); transition: transform 0.2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 20px; color: var(--muted-2); max-width: 65ch; }
.faq-a p { margin: 0; }
.faq-section h2 { margin-bottom: 24px; }

.founder .quote { background: var(--bg-2); justify-content: center; }
.founder .quote p:first-child { font-family: var(--font-head); font-size: 1.55rem; line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; }
.founder h2 { margin-bottom: 20px; }
.founder p { color: var(--muted-2); }
.choose p { padding: 14px 0; border-top: 1px solid var(--line); margin: 0; color: var(--muted-2); }
.choose p:last-child { border-bottom: 1px solid var(--line); }
.choose a { text-decoration: underline; text-underline-offset: 3px; }

/* CTA band */
.cta-band { background: #f6f6f6; color: #1a1a1a; padding: 96px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #000; margin-bottom: 8px; }
.cta-band p { margin: 0; color: #555; max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cta-band .btn-primary, .cta-band .btn-mint { background: #000; color: #fff; }
.cta-band .btn-primary:hover, .cta-band .btn-mint:hover { background: #222; }
.cta-band .btn-ghost { color: #555; }
.cta-band .btn-ghost:hover { color: #000; }

/* Forms */
.contact-form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 0.86rem; color: var(--muted-2); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-family: var(--font-body); font-size: 1rem; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #000; color: var(--ink); width: 100%; }
.contact-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9a9aa0 50%), linear-gradient(135deg, #9a9aa0 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: rgba(255, 255, 255, 0.6); }
.contact-form textarea { resize: vertical; }
.contact-form ::placeholder { color: #55555c; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form .btn { align-self: flex-start; }
.contact-inline { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-inline .grid-2 { align-items: start; }
.contact-inline h2 { margin-bottom: 18px; }
.contact-inline p { color: var(--muted-2); }
.contact-grid { align-items: start; }
.contact-grid aside { display: flex; flex-direction: column; gap: 16px; }
.plain { padding-left: 1.2em; color: var(--muted-2); }

/* About */
.prose h2 { margin-top: 64px; }
.prose p { color: var(--muted-2); }
.career { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.career th, .career td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-top: 1px solid var(--line); color: var(--muted-2); }
.career th { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-top: 0; font-weight: 500; }
.career td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.career a { text-decoration: underline; text-underline-offset: 3px; }
.toolkit div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.toolkit dt { font-weight: 500; color: var(--ink); }
.toolkit dd { margin: 0; color: var(--muted-2); }
.principles-inline h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.4rem; }
.principles-inline p { color: var(--muted-2); font-size: 0.95rem; }
.tiers li { margin-bottom: 14px; color: var(--muted-2); }
.tiers strong { color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 28px; font-size: 0.92rem; }
.grid-footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--muted-2); }
.site-footer a:hover { color: var(--ink); }
.site-footer .muted { margin-top: 14px; }
.foot-note { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }

/* Reveal on scroll: CSS scroll-driven, no JS. Browsers without support just show everything. */
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* Mobile */
@media (max-width: 960px) {
  .grid-3, .grid-4, .grid-footer { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .cta-head { display: none; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 120px 0 32px; }
  .page-head { padding: 124px 0 40px; }
  .crumbs { display: none; }
  .grid-2, .grid-3, .grid-4, .grid-footer, .row2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .stats dd { font-size: 2.1rem; }
  .hero-panel { padding: 24px; border-radius: 18px; margin-top: 36px; }
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 64px; background: rgba(17, 17, 19, 0.96); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; display: none; padding: 8px 10px 12px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 12px 10px; font-size: 1.05rem; color: var(--ink); }
  .site-nav li:last-child a { margin-top: 8px; background: var(--white); color: #000; text-align: center; font-weight: 500; }
  .toolkit div { grid-template-columns: 1fr; gap: 4px; }
  .career td:first-child { white-space: normal; }
  .btn-lg { width: 100%; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .contact-form { padding: 20px; }
  .section-head.row { align-items: start; }
}

/* Sticky mobile CTA */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; }
  .sticky-cta .btn { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }
  .sticky-cta.hide { display: none; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a.card, .nav-toggle span { transition: none; }
  .reveal { animation: none; }
}
