:root {
  --bg: #f5f3ee;
  --paper: #ffffff;
  --ink: #111111;
  --ink-2: #3c3c3c;
  --mute: #74716b;
  --line: #dcd8cf;
  --accent: #d93a26;
  --accent-ink: #ffffff;
  --radius: 14px;
  --max: 1240px;
  --font: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0f0f0e; --paper: #181816; --ink: #f2efe8; --ink-2: #cfcbc2; --mute: #8f8b83; --line: #2c2b28; --accent: #ff5a43;
  }
}
:root[data-theme='dark'] { --bg: #0f0f0e; --paper: #181816; --ink: #f2efe8; --ink-2: #cfcbc2; --mute: #8f8b83; --line: #2c2b28; --accent: #ff5a43; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 19px; text-decoration: none; }
.logo svg { width: 26px; height: 26px; }
.nav nav { display: flex; gap: 26px; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--ink-2); }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav nav { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; font-weight: 650; font-size: 15px; text-decoration: none; border: 1.5px solid var(--ink); background: var(--ink); color: var(--bg); cursor: pointer; transition: transform .15s, background .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.sm { padding: 9px 15px; font-size: 14px; }

/* hero */
.hero { padding: 88px 0 56px; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.hero h1 { font-size: clamp(42px, 8.2vw, 112px); line-height: .94; letter-spacing: -0.045em; margin: 0 0 28px; font-weight: 800; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); max-width: 46ch; margin: 0 0 34px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: end; }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.hero-facts div { padding: 16px 0 6px; border-bottom: 1px solid var(--line); }
.hero-facts div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.hero-facts div:nth-child(even) { padding-left: 16px; }
.hero-facts b { display: block; font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; }
.hero-facts span { font-size: 14px; color: var(--mute); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 56px 0 40px; } }

/* ticker */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--ink); color: var(--bg); }
.ticker-track { display: flex; gap: 40px; padding: 14px 0; width: max-content; animation: tick 60s linear infinite; font-weight: 650; font-size: 15px; white-space: nowrap; }
.ticker-track span::after { content: '✦'; margin-left: 40px; color: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* sections */
section { padding: 88px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { section { padding: 60px 0; } }
.sec-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; margin-bottom: 44px; align-items: end; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.035em; margin: 0; font-weight: 800; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 18px; max-width: 52ch; }
.num { font-variant-numeric: tabular-nums; color: var(--mute); font-size: 14px; font-weight: 600; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; gap: 14px; } }

/* work grid */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .work { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .work { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.35); }
.thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--line), var(--bg)); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.thumb .tag { position: absolute; left: 12px; top: 12px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; font-size: 19px; letter-spacing: -0.01em; }
.card-body .biz { font-size: 13px; color: var(--mute); font-weight: 600; }
.card-body p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.card-body .go { margin-top: auto; padding-top: 12px; font-weight: 700; font-size: 14px; color: var(--accent); }

/* services */
.cat { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 34px 0; border-top: 1px solid var(--ink); }
.cat:first-of-type { border-top: 0; padding-top: 0; }
.cat h3 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.svc { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.svc:hover h4 { color: var(--accent); }
.svc h4 { margin: 0 0 4px; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.svc h4 small { font-weight: 600; color: var(--mute); font-size: 13px; white-space: nowrap; }
.svc p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .cat { grid-template-columns: 1fr; gap: 12px; } .svc-list { grid-template-columns: 1fr; } }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.step { padding: 22px 22px 8px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 22px; }
.step:last-child { border-right: 0; }
.step b { display: block; font-size: 46px; letter-spacing: -0.04em; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(2) { border-right: 0; } .step:nth-child(3) { padding-left: 0; } .step { border-bottom: 1px solid var(--line); padding-bottom: 22px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding-left: 0; border-right: 0; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan.feature { border: 2px solid var(--ink); }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan .price small { font-size: 15px; color: var(--mute); font-weight: 600; letter-spacing: 0; }
.plan ul { margin: 6px 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: '→ '; color: var(--accent); font-weight: 700; }
.plan .btn { margin-top: auto; justify-content: center; }
.care { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.care div { padding: 20px 22px; border-right: 1px solid var(--line); }
.care div:last-child { border-right: 0; }
.care b { font-size: 22px; }
.care p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .care { grid-template-columns: 1fr; } .care div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* why */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.why div { padding: 22px 0; border-top: 1px solid var(--line); }
.why h3 { margin: 0 0 6px; font-size: 20px; }
.why p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* faq */
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: '+'; color: var(--accent); font-size: 24px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--ink-2); margin: 12px 0 0; max-width: 70ch; }

/* contact */
.contact { background: var(--ink); color: var(--bg); border-bottom: 0; }
.contact .sec-head p { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 820px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; padding: 13px 14px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); background: color-mix(in srgb, var(--bg) 8%, transparent); color: var(--bg); }
.form textarea { min-height: 120px; resize: vertical; }
.form .full { grid-column: 1 / -1; }
.form select option { color: #111; }
.contact .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

footer { padding: 36px 0 48px; font-size: 14px; color: var(--mute); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* pitch pages */
.pitch-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.pitch-hero h1 { font-size: clamp(38px, 6vw, 80px); line-height: .98; letter-spacing: -0.04em; margin: 0 0 20px; max-width: 16ch; }
.pitch-hero .lede { font-size: 21px; color: var(--ink-2); max-width: 52ch; margin: 0 0 28px; }
.pitch-meta { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--ink); margin-top: 36px; }
.pitch-meta div { padding: 16px 28px 4px 0; margin-right: 28px; border-right: 1px solid var(--line); }
.pitch-meta div:last-child { border-right: 0; }
.pitch-meta b { display: block; font-size: 28px; letter-spacing: -0.02em; }
.pitch-meta span { font-size: 13px; color: var(--mute); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two h2 { font-size: 30px; letter-spacing: -0.03em; margin: 0 0 14px; }
.two ul { padding: 0; margin: 0; list-style: none; }
.two li { padding: 12px 0; border-top: 1px solid var(--line); }
.problem { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -0.015em; max-width: 34ch; margin: 0; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; gap: 32px; } .pitch-meta div { padding-right: 18px; margin-right: 18px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 100; }

/* simplified home */
.hero-simple { padding: 120px 0 96px; }
.hero-simple h1 { max-width: none; font-size: clamp(48px, 9vw, 128px); }
.why-4 { grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
@media (max-width: 900px) { .why-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-4 { grid-template-columns: 1fr; } }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps-3 .step:nth-child(2) { border-right: 1px solid var(--line); }
@media (max-width: 900px) { .steps-3 { grid-template-columns: 1fr; } .steps-3 .step, .steps-3 .step + .step { padding-left: 0; border-right: 0; } }
.chips-groups { display: grid; gap: 28px; }
.chips-group h3 { margin: 0 0 12px; font-size: 15px; color: var(--mute); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 15px; background: var(--paper); transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 600px) { .hero-simple { padding: 72px 0 56px; } }
details.more { margin-top: 28px; }
details.more > summary { list-style: none; display: inline-flex; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: none; }
details.more[open] > summary { display: none; }
details.more, details.more:last-child { border: 0; padding: 0; }
