@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&display=swap');

@font-face {
    font-family: 'Space Grotesk';
    src: url('../assets/SpaceGrotesk%5Bwght%5D.ttf') format('truetype');
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

:root {
    --bg: oklch(99% 0.004 250);
    --surface: oklch(97.5% 0.012 225);
    --fg: oklch(24% 0.025 255);
    --muted: oklch(48% 0.022 255);
    --border: oklch(88% 0.014 250);
    --accent: oklch(45% 0.1 210);
    --accent-dark: oklch(35% 0.085 230);
    --success: oklch(48% 0.1 155);
    --font-display: 'Space Grotesk', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'IBM Plex Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; padding: 10px 14px; background: var(--fg); color: var(--bg); z-index: 5; }
header { border-bottom: 1px solid var(--border); background: oklch(99% 0.004 250 / .94); }
.nav { position: relative; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.wordmark img { display: block; width: 156px; max-width: 100%; height: auto; }
.wordmark:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
nav { display: flex; gap: 28px; align-items: center; font-size: 14px; color: var(--muted); }
nav a { transition: color .18s ease, border-color .18s ease, background .18s ease; }
.nav nav { flex-wrap: nowrap; }
.nav nav a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.nav nav a svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 9px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--fg); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nav-toggle:hover { border-color: var(--accent); background: var(--surface); }
nav a:hover, nav a:focus-visible { color: var(--fg); }
.nav-cta { border: 1px solid var(--border); border-radius: 6px; padding: 10px 16px; color: var(--fg); font-weight: 600; letter-spacing: .02em; }
.nav-cta:hover { border-color: var(--accent); background: var(--surface); color: var(--fg); }
.nav-console { border: 1px solid var(--accent); border-radius: 6px; padding: 10px 16px; color: var(--accent-dark); background: var(--surface); font-weight: 600; letter-spacing: .02em; }
.nav-console:hover { border-color: var(--accent-dark); background: var(--accent); color: var(--bg); }
.nav-install { color: var(--accent-dark); font-weight: 600; }
.button-primary { background: var(--accent); color: var(--bg); border: 1px solid var(--accent); border-radius: 6px; padding: 13px 20px; font-weight: 600; letter-spacing: .02em; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.button-secondary { border: 1px solid var(--border); background: var(--bg); border-radius: 6px; padding: 12px 19px; color: var(--fg); font-weight: 600; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.button-secondary:hover { border-color: var(--fg); background: var(--surface); color: var(--fg); }
.hero { padding: clamp(72px, 9vw, 116px) 0 100px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(48px, 8vw, 120px); align-items: end; transform: translate(-11px, 2px); }
.hero-aside { display: grid; gap: 28px; align-content: center; min-width: 0; }
.hero-visual { width: 100%; max-width: 460px; justify-self: end; color: var(--fg); }
.hero-visual svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-visual .line { fill: none; stroke: var(--border); stroke-width: 1.5; }
.hero-visual .line-strong { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.hero-visual .panel { fill: var(--bg); stroke: var(--border); stroke-width: 1.5; }
.hero-visual .panel-soft { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.hero-visual .accent-fill { fill: var(--accent); }
.hero-visual .accent-line { fill: none; stroke: var(--accent); stroke-width: 2; }
.hero-visual .check-line { fill: none; stroke: var(--muted); stroke-width: 1.7; }
.hero-visual .ink { fill: var(--fg); }
.hero-visual .muted-fill { fill: var(--muted); }
.hero-visual .label { fill: var(--muted); font: 500 11px/1 var(--font-body); letter-spacing: .07em; }
.eyebrow, .section-label { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--font-display); font-size: clamp(46px, 6vw, 76px); letter-spacing: -.035em; line-height: 1.02; font-weight: 600; max-width: 740px; margin: 18px 0 26px; }
.hero-copy { max-width: 570px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { border-top: 1px solid var(--border); padding-top: 20px; max-width: 360px; color: var(--muted); font-size: 14px; }
.hero-note strong { display: block; color: var(--fg); font-size: 17px; margin-bottom: 7px; }
section { padding: 92px 0; border-top: 1px solid var(--border); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .62fr); gap: clamp(28px, 6vw, 84px); align-items: center; margin-bottom: 48px; }
.section-heading-copy { min-width: 0; }
h2 { font-family: var(--font-display); font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.03em; max-width: 620px; margin: 14px 0 0; font-weight: 600; }
.section-intro { max-width: 54ch; color: var(--muted); margin: 18px 0 0; }
.section-visual { width: 100%; max-width: 350px; justify-self: end; color: var(--fg); }
.section-visual svg { display: block; width: 100%; height: auto; }
.section-visual .line { fill: none; stroke: var(--border); stroke-width: 1.5; }
.section-visual .line-strong { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.section-visual .panel { fill: var(--bg); stroke: var(--border); stroke-width: 1.5; }
.section-visual .panel-soft { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.section-visual .accent-fill { fill: var(--accent); }
.section-visual .accent-line { fill: none; stroke: var(--accent); stroke-width: 2; }
.section-visual .ink { fill: var(--fg); }
.section-visual .muted-fill { fill: var(--muted); }
.section-visual .label { fill: var(--muted); font: 500 10px/1 var(--font-body); letter-spacing: .07em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.step { background: var(--surface); min-height: 250px; padding: 28px; }
.step-number { font-family: var(--font-display); color: var(--muted); font-size: 26px; }
.step h3 { font-size: 21px; margin: 48px 0 10px; letter-spacing: -.02em; }
.step p { color: var(--muted); margin-bottom: 0; font-size: 15px; max-width: 28ch; }
.pricing { background: var(--surface); }
.pricing-action { margin-top: 24px; }
.pricing-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--border); background: var(--border); }
.pricing-plan { min-width: 0; padding: 26px; background: var(--bg); }
.pricing-plan h3 { margin: 0 0 20px; font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; }
.pricing-price { margin: 0 0 22px; color: var(--fg); font-family: var(--font-display); font-size: clamp(30px, 3vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.pricing-price span { display: block; margin-top: 7px; color: var(--muted); font-family: var(--font-body); font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: 0; }
.pricing-plan ul { display: grid; gap: 10px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--border); list-style: none; color: var(--muted); font-size: 14px; }
.pricing-plan li strong { color: var(--fg); font-weight: 600; }
.pricing-plans + .pricing-action { margin-top: 24px; }
.pricing-note { max-width: 68ch; margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.contact-form { width: min(100%, 820px); margin-inline: auto; }
.contact-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 13px; font-weight: 600; display: grid; gap: 7px; }
input, textarea, select { width: 100%; border: 1px solid var(--border); background: var(--bg); padding: 13px 14px; color: var(--fg); border-radius: 5px; outline: none; }
textarea { min-height: 128px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px oklch(45% 0.1 210 / .14); }
.form-status { min-height: 24px; font-size: 14px; color: var(--success); }
.form-status.is-error, .field-error, .validation-summary { color: #b42318; }
.field-error:empty, .validation-summary:empty { display: none; }
footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-meta { display: flex; align-items: center; gap: 24px; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a:hover { color: var(--fg); }
.legal-page { min-height: 60vh; padding: clamp(56px, 8vw, 96px) 0; }
.legal-container h1 { margin: 0 0 40px; }
.legal-actions { margin: -20px 0 32px; }
.legal-content { max-width: 78ch; color: var(--fg); line-height: 1.75; }
.legal-content h1, .legal-content h2, .legal-content h3, .legal-content h4 { max-width: none; font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
.legal-content h1 { margin: 0 0 .8em; font-size: clamp(30px, 3.5vw, 42px); letter-spacing: -.025em; }
.legal-content h2 { margin: 1.8em 0 .65em; font-size: clamp(24px, 2.7vw, 32px); letter-spacing: -.02em; }
.legal-content h3 { margin: 1.6em 0 .6em; font-size: clamp(20px, 2.2vw, 25px); letter-spacing: -.015em; }
.legal-content h4 { margin: 1.5em 0 .55em; font-size: 19px; }
.legal-content > :first-child { margin-top: 0; }
.legal-content p, .legal-content ul, .legal-content ol, .legal-content blockquote { margin: 0 0 1.2em; }
.legal-content ul, .legal-content ol { padding-left: 1.5em; }
.legal-content a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .15em; }
.legal-content blockquote { margin-left: 0; padding: 2px 0 2px 18px; border-left: 3px solid var(--border); color: var(--muted); }
.legal-content hr { margin: 2em 0; border: 0; border-top: 1px solid var(--border); }
.legal-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.legal-content th, .legal-content td { padding: 9px 12px; border: 1px solid var(--border); text-align: left; }
.legal-content th { background: var(--surface); font-weight: 600; }
.legal-content code { padding: .1em .35em; border-radius: 3px; background: var(--surface); font-size: .9em; }
.legal-content pre { max-width: 100%; overflow-x: auto; padding: 16px; background: var(--surface); }
.legal-unavailable { max-width: 70ch; color: var(--muted); }

@media (max-width: 760px) {
    .pricing-plans { grid-template-columns: 1fr; }
    .pricing-plan { padding: 22px; }
}

@media (max-width: 760px) {
    .wrap { width: min(100% - 32px, 560px); }
    .wordmark img { width: 126px; }
    .footer-legal a:not(.nav-cta) { display: inline; }
    .hero { grid-template-columns: 1fr; padding-top: 70px; gap: 48px; }
    .hero-aside { gap: 24px; }
    .hero-visual { max-width: 440px; justify-self: center; }
    .hero-note { max-width: none; }
    .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
    .section-visual { max-width: 340px; justify-self: center; }
    .section-intro { margin-top: 16px; }
    .steps { grid-template-columns: 1fr; }
    .step { min-height: auto; }
    .step h3 { margin-top: 34px; }
    .field-row { grid-template-columns: 1fr; }
    .footer-inner, .footer-meta { display: block; }
    .footer-meta { margin-top: 14px; }
    .footer-legal { margin-top: 8px; flex-wrap: wrap; }
}

@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    .nav nav { display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 10; width: min(320px, calc(100vw - 32px)); padding: 8px; flex-direction: column; align-items: stretch; gap: 2px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); box-shadow: 0 12px 32px rgb(24 34 45 / 12%); }
    .nav nav.is-open { display: flex; }
    .nav nav.is-open a { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 4px; }
    .nav nav.is-open a:hover, .nav nav.is-open a:focus-visible { background: var(--surface); }
}
