/* ---------- tokens ---------- */
:root {
  --orange: #ff5500;
  --orange-dark: #d94700;
  --orange-soft: #fff0e8;
  --ink: #111111;
  --ink-2: #333333;
  --muted: #666666;
  --line: #e3e3e3;
  --bg: #f2f2f2;
  --card: #ffffff;
  --radius: 10px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--orange-dark); }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--orange); text-decoration: none; flex-shrink: 0; }
.brand svg { width: 56px; height: 25px; display: block; }
.brand span { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: #ccc; text-decoration: none; font-size: 14px; font-weight: 600; padding: 17px 11px; border-bottom: 3px solid transparent; }
.nav a:hover { color: #fff; }
.nav a.is-active { color: #fff; border-bottom-color: var(--orange); }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger i { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

/* ---------- hero (shared) ---------- */
.hero { padding: 64px 0 56px; }
.hero .eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 14px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

.hero--center { text-align: center; background: var(--card); border-bottom: 1px solid var(--line); }
.hero--center p.lead { margin-left: auto; margin-right: auto; }

.hero--dark { background: var(--ink); color: #ddd; }
.hero--dark h1 { color: #fff; }
.hero--dark .eyebrow { color: var(--orange); }
.hero--dark p.lead { color: #aaa; }

.hero--split { background: var(--card); border-bottom: 1px solid var(--line); }
.hero--split .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero--split.is-flip .wrap { grid-template-columns: .85fr 1.15fr; }
.hero--split.is-flip .hero-side { order: -1; }

.hero--band { background: linear-gradient(120deg, var(--orange) 0%, #ff7a33 100%); color: #fff; }
.hero--band h1, .hero--band .eyebrow { color: #fff; }
.hero--band p.lead { color: #fff3ec; }

.hero--left { background: var(--card); border-bottom: 1px solid var(--line); border-left: 8px solid var(--orange); }

/* ---------- tool box ---------- */
.tool { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; gap: 10px; max-width: 720px; margin-top: 26px; box-shadow: 0 6px 24px rgba(0,0,0,.06); flex-wrap: wrap; }
.hero--center .tool { margin-left: auto; margin-right: auto; }
.tool input { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid #ccc; border-radius: 8px; background: #fafafa; color: var(--ink); }
.tool input:focus { outline: 2px solid var(--orange); outline-offset: 0; background: #fff; }
.btn { font: inherit; font-weight: 700; font-size: 16px; padding: 14px 26px; border-radius: 8px; border: 0; cursor: pointer; background: var(--orange); color: #fff; text-decoration: none; display: inline-block; text-align: center; }
.btn:hover { background: var(--orange-dark); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid #bbb; }
.btn--ghost:hover { background: #f0f0f0; }
.hero--dark .tool { background: #1c1c1c; border-color: #333; }
.hero--dark .tool input { background: #111; border-color: #444; color: #fff; }
.hero--band .tool { border: 0; }
.tool-status { max-width: 720px; margin-top: 12px; font-size: 15px; display: none; padding: 12px 16px; border-radius: 8px; background: var(--orange-soft); color: var(--ink); text-align: left; }
.hero--center .tool-status { margin-left: auto; margin-right: auto; }
.tool-status.is-on { display: block; }
.tool-hint { font-size: 14px; color: var(--muted); margin-top: 12px; }
.hero--dark .tool-hint { color: #888; }
.hero--band .tool-hint { color: #fff3ec; }

/* decorative waveform */
.wave { display: flex; align-items: center; gap: 3px; height: 64px; margin-top: 30px; opacity: .9; }
.wave i { flex: 1; max-width: 5px; min-width: 2px; background: var(--orange); border-radius: 2px; }
.hero--band .wave i { background: rgba(255,255,255,.75); }
.hero--center .wave { justify-content: center; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section--white { background: var(--card); }
.section--dark { background: var(--ink); color: #ccc; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--orange { background: var(--orange-soft); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
.section--dark .section-head p { color: #aaa; }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section--white .card { background: var(--bg); border-color: transparent; }
.section--dark .card { background: #1c1c1c; border-color: #2c2c2c; }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card .tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-dark); margin-bottom: 8px; }

.num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 12px; }

/* numbered steps (vertical) */
.steps { list-style: none; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 26px 62px; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .2em; }

/* timeline (horizontal) */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--orange); }
.timeline div { padding: 22px 18px 0 0; }
.timeline b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }
.timeline small { color: var(--orange-dark); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 4px; }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: var(--ink); }

/* checklist */
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
.crosses { list-style: none; padding: 0; }
.crosses li { padding-left: 32px; position: relative; }
.crosses li::before { content: "×"; position: absolute; left: 4px; top: -.1em; font-size: 1.6em; font-weight: 700; color: #999; line-height: 1.4; }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.stats div { padding: 24px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-size: 2rem; color: var(--orange); line-height: 1.1; margin-bottom: 6px; }
.stats span { font-size: 14.5px; color: var(--muted); }

/* callout */
.callout { border-left: 5px solid var(--orange); background: var(--card); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; }
.section--orange .callout { background: #fff; }
.callout h3 { margin-bottom: .3em; }
.callout p:last-child { margin-bottom: 0; }

/* side panel in hero */
.panel { background: var(--ink); color: #ddd; border-radius: 14px; padding: 26px; }
.panel h3 { color: #fff; }
.panel dl { margin: 0; }
.panel dt { color: var(--orange); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-top: 14px; }
.panel dd { margin: 2px 0 0; color: #ccc; font-size: 15.5px; }
.panel--light { background: var(--bg); color: var(--ink-2); }
.panel--light h3 { color: var(--ink); }
.panel--light dd { color: var(--ink-2); }
.panel--light dt { color: var(--orange-dark); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.chips li { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.section--dark .chips li { background: #1c1c1c; border-color: #333; color: #eee; }

/* faq */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 0 22px; }
.section--white .faq details { background: var(--bg); border-color: transparent; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.6rem; color: var(--orange); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; margin: 0; color: var(--ink-2); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col--wide-left { grid-template-columns: 1.4fr 1fr; }
.two-col--wide-right { grid-template-columns: 1fr 1.4fr; }

.quote { font-size: 1.35rem; line-height: 1.5; color: var(--ink); font-weight: 600; border-left: 5px solid var(--orange); padding-left: 24px; margin: 0; }
.quote small { display: block; margin-top: 10px; font-size: 14px; font-weight: 400; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #999; padding: 48px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 32px; }
.site-footer .brand { margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #aaa; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding-top: 20px; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 56px; background: var(--ink); flex-direction: column; padding: 8px 20px 18px; border-top: 1px solid #2a2a2a; margin: 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #222; }
  .nav a.is-active { border-bottom-color: var(--orange); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 40px; }
  .hero--split .wrap, .hero--split.is-flip .wrap, .two-col, .two-col--wide-left, .two-col--wide-right { grid-template-columns: 1fr; gap: 28px; }
  .hero--split.is-flip .hero-side { order: 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
  .btn { width: 100%; }
}
@media (max-width: 480px) {
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand span { display: none; }
}

/* modifiers */
.stats--2 { grid-template-columns: 1fr 1fr; }
.stats--2 div:nth-child(2) { border-right: 0; }
.stats--2 div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.chips--center { justify-content: center; margin-top: 24px; }
.section--dark .quote { color: #fff; }
.section--dark .quote small { color: #aaa; }
