/* CORSIO website — monochrome, system fonts (no external requests, no cookies). */
:root {
  --ink: #111111;
  --ink-2: #1c1c1c;
  --paper: #f3f2ef;
  --white: #ffffff;
  --card: #fafaf8;
  --line: #dedcd7;
  --line-dark: #2e2e2e;
  --body: #474747;
  --muted: #6b6b6b;
  --on-dark: #f3f2ef;
  --on-dark-muted: #a3a3a3;
  --radius: 14px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Inter, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 17px/1.6 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Typography */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(38px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.25; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--body); max-width: 680px; }
.dark .lead, .dark p, .hero .lead { color: var(--on-dark-muted); }
.hero .lead { color: #c4c4c4; }
.dark .eyebrow { color: var(--on-dark-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); color: var(--ink); border-bottom: 1px solid rgba(0,0,0,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.site-header .logo img { height: 18px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav .btn { height: 40px; padding: 0 18px; font-size: 15px; background: var(--ink); color: var(--white); }
.nav .btn:hover { color: var(--white); }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { background: var(--ink); color: var(--on-dark); padding: clamp(64px, 10vw, 120px) 0 0; overflow: hidden; position: relative; }
.hero .wrap { position: relative; }
.hero h1 { max-width: 900px; margin: 20px 0 24px; }
.hero .lead { max-width: 640px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .audience { margin-top: 28px; font-size: 15px; color: var(--on-dark-muted); }
.hero-shot { margin-top: clamp(48px, 7vw, 80px); border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 -10px 80px rgba(255, 255, 255, 0.06), 0 0 0 1px var(--line-dark); }
.hero-mark { position: absolute; right: calc(var(--gutter) * -1); top: -40px; width: min(46vw, 560px); opacity: 0.05; pointer-events: none; }
@media (max-width: 700px) { .hero-mark { display: none; } }

/* Sections */
section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 780px; }
.dark { background: var(--ink); color: var(--on-dark); }
.white { background: var(--white); }

/* Problem */
.problems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.problem { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); padding: 28px 24px; }
.problem .no { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; margin-bottom: 18px; }
.problem p { color: var(--body); margin-top: 8px; font-size: 16px; }
.quote { margin-top: 48px; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; max-width: 900px; letter-spacing: -0.01em; }
@media (max-width: 960px) { .problems { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .problems { grid-template-columns: 1fr; } }

/* Flow */
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.flow span { padding: 12px 20px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line-dark); font-weight: 600; font-size: 16px; }
.flow span:last-child { background: var(--white); color: var(--ink); }
.flow i { font-style: normal; color: var(--on-dark-muted); }
.flow-note { margin-top: 32px; max-width: 760px; }

/* Features */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 120px); }
.feature.reverse { grid-template-columns: 7fr 5fr; }
.feature.reverse .feature-text { order: 2; }
.feature-text h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.15; margin: 14px 0 16px; }
.feature-text p { color: var(--body); }
.feature-text ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.feature-text li { position: relative; padding-left: 26px; color: var(--body); }
.feature-text li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 3px; background: var(--ink); transform: skewX(-40deg); }
.shot { border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(17, 17, 17, 0.28), 0 0 0 1px var(--line); background: var(--white); }
.phones { display: flex; gap: 16px; justify-content: center; }
.phones img { width: 31%; max-width: 230px; border-radius: 26px; box-shadow: 0 24px 50px -18px rgba(17, 17, 17, 0.35), 0 0 0 6px var(--ink); }
@media (max-width: 900px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-text { order: 0; }
}

/* More features */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tile p { color: var(--body); margin-top: 8px; font-size: 16px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }

/* Audience */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 18px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--on-dark); font-size: 16px; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why div { border-top: 2px solid var(--ink); padding-top: 22px; }
.why b { display: block; font-family: var(--font-display); font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
.why p { color: var(--body); font-size: 16px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

.price { margin-top: clamp(48px, 7vw, 72px); display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 32px; align-items: center; background: var(--ink); color: var(--on-dark); border-radius: 20px; padding: clamp(28px, 4vw, 48px); }
.price h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.15; }
.price p { color: var(--on-dark-muted); }
@media (max-width: 900px) { .price { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--body); padding: 0 40px 24px 0; }

/* CTA */
.cta { text-align: left; }
.cta h2 { font-size: clamp(36px, 5.5vw, 64px); max-width: 900px; }
.cta .lead { margin-top: 20px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.contact-line { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--on-dark-muted); }
.contact-line b { color: var(--on-dark); }
.contact-line a { text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--paper); color: var(--muted); border-top: 1px solid var(--line); padding: 36px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.site-footer img { height: 14px; width: auto; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Legal pages */
.legal { padding: clamp(56px, 8vw, 96px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 32px; }
.legal h2 { font-size: 22px; letter-spacing: -0.01em; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--body); margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal .todo { background: #ececea; outline: 1px dashed #8a8a8a; padding: 0 4px; border-radius: 3px; color: var(--ink); }

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
