@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --bg: #080b10;
  --bg-alt: #0c1118;
  --bg-card: #111822;
  --bg-input: #0a0e14;
  --line: rgba(127, 238, 255, 0.14);
  --line-strong: rgba(127, 238, 255, 0.4);
  --text: #eef6f8;
  --text-soft: #b4c2cc;
  --text-muted: #8b9aa6;
  --cyan: #7feeff;
  --cyan-deep: #4ab8c8;
  --amber: #f2a65a;
  --gold: #e0b25a;
  --gold-bright: #f3c86d;
  --ink: #170f06;
  --danger: #ef7a7a;
  --ok: #7dce9a;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4rem;
  --radius: 14px;
  --ease: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 40% at 85% -5%, rgba(242, 166, 90, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 35% at 10% 0%, rgba(127, 238, 255, 0.07), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* subtle print-layer texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 6px);
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

img, svg { max-width: 100%; display: block; }

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(127, 238, 255, 0.4);
}
a:hover { color: var(--gold-bright); text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--amber); color: var(--ink);
  padding: 0.6rem 1rem; font-weight: 600; border-radius: 0 0 8px 8px; text-decoration: none;
}
.skip-link:focus { top: 0; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.85rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
h2 { font-size: clamp(1.7rem, 5vw, 2.35rem); max-width: 20ch; }
h3 { font-size: 1.12rem; letter-spacing: 0; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.75rem 1.35rem;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn-primary { background: linear-gradient(135deg, var(--amber), var(--gold-bright)); color: var(--ink); }
.btn-primary:hover { color: var(--ink); filter: brightness(1.07); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-sm { min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 11, 16, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; letter-spacing: 0.01em; }
.brand-name b { font-weight: 600; color: var(--amber); }
.brand-sub { font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; }

.nav-toggle {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: transparent; display: grid; place-items: center; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; content: "";
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(8, 11, 16, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1.25rem 1.25rem;
}
.nav.is-open { display: block; }
.nav-links { list-style: none; margin: 0 0 0.75rem; padding: 0; }
.nav-links a { display: block; padding: 0.7rem 0; color: var(--text-soft); text-decoration: none; font-family: var(--font-display); border-bottom: 1px solid var(--line); }
.nav-links a:hover { color: var(--cyan); }
.nav .btn { width: 100%; }

/* Hero */
.hero { padding: 2.5rem 0 3rem; }
.hero-grid { display: grid; gap: 1.5rem; }
.hero h1 { font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.05; max-width: 15ch; margin-bottom: 1.1rem; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--amber), var(--gold-bright) 45%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { color: var(--text-soft); font-size: 1.1rem; max-width: 38rem; }
.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0 1.25rem; }
.hero-note { color: var(--text-muted); font-size: 0.95rem; }
.hero-art { max-width: 300px; width: 100%; margin-inline: auto; }
.print-scene { width: 100%; height: auto; }
.layers ellipse { animation: rise 3.2s ease-in-out infinite alternate; transform-origin: 210px 300px; }
.layers ellipse:nth-child(n+6) { animation-delay: .3s; }
.nozzle { animation: sweep 4s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: translateX(-26px); } to { transform: translateX(10px); } }
@keyframes rise { from { opacity: .55; } to { opacity: 1; } }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: linear-gradient(180deg, rgba(12, 17, 24, 0.9), rgba(12, 17, 24, 0.6)); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 2rem; }
.section-head p:not(.eyebrow) { color: var(--text-soft); max-width: 40rem; margin-top: 0.9rem; }

.card-grid { display: grid; gap: 1rem; }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem; position: relative; overflow: hidden;
  transition: border-color var(--ease), transform var(--ease);
}
.card::after {
  content: ""; position: absolute; left: 1.35rem; right: 1.35rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--amber), var(--cyan)); opacity: 0.55;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(242, 166, 90, 0.1); border: 1px solid rgba(242, 166, 90, 0.3); margin-bottom: 1rem; }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-soft); font-size: 1rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
.step { padding: 1.3rem 1.3rem 1.4rem; border-left: 2px solid var(--line-strong); background: rgba(17, 24, 34, 0.55); border-radius: 0 var(--radius) var(--radius) 0; }
.step-num { display: block; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.18em; color: var(--cyan); margin-bottom: 0.5rem; }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--text-soft); font-size: 1rem; }

/* No file */
.nofile { display: grid; gap: 2rem; align-items: center; }
.nofile-art { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.nofile-art svg { width: 100%; height: auto; }
.nofile-copy h2 { margin-bottom: 1rem; }
.nofile-copy p { color: var(--text-soft); }
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.6rem; }
.checklist li { position: relative; padding-left: 1.75rem; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 6px;
  border-top: 3px solid var(--amber); border-bottom: 3px solid var(--cyan); border-radius: 2px; opacity: 0.85;
}

/* Form */
.quote-grid { display: grid; gap: 2rem; }
.quote-intro h2 { margin-bottom: 1rem; }
.quote-intro p { color: var(--text-soft); }
.form { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-family: var(--font-display); font-size: 0.95rem; color: var(--text); }
.req { color: var(--amber); }
.hint { color: var(--text-muted); font-size: 0.88rem; font-weight: 400; margin: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-input); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.75rem 0.85rem; min-height: 48px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6a7884; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(127, 238, 255, 0.15); }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem;
}
.field input[type="date"] { color-scheme: dark; }
.field input[type="file"] { padding: 0.6rem; }
.field input[type="file"]::file-selector-button {
  font: inherit; font-size: 0.92rem; margin-right: 0.8rem; padding: 0.45rem 0.9rem;
  border-radius: 8px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile-wrap { min-height: 65px; }
.form-actions .btn { width: 100%; }
.form-status { display: none; padding: 0.85rem 1rem; border-radius: 10px; font-size: 0.98rem; }
.form-status.is-visible { display: block; }
.form-status.is-ok { background: rgba(125, 206, 154, 0.1); border: 1px solid rgba(125, 206, 154, 0.4); color: var(--ok); }
.form-status.is-error { background: rgba(239, 122, 122, 0.1); border: 1px solid rgba(239, 122, 122, 0.4); color: var(--danger); }
.file-list { list-style: none; margin: 0.4rem 0 0; padding: 0; color: var(--text-soft); font-size: 0.92rem; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; max-width: 50rem; }
.faq details { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.15rem; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative;
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--amber); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-soft); padding-bottom: 1.1rem; margin: 0; }

/* CTA band */
.cta-band { padding: 3rem 0; border-top: 1px solid var(--line); background: linear-gradient(90deg, rgba(242, 166, 90, 0.08), rgba(127, 238, 255, 0.06)); }
.cta-inner { display: grid; gap: 1.25rem; justify-items: start; }
.cta-inner p { font-family: var(--font-display); font-size: clamp(1.3rem, 4vw, 1.75rem); line-height: 1.25; margin: 0; max-width: 26ch; }

/* Footer */
.site-footer { padding: 2.5rem 0 2rem; border-top: 1px solid var(--line); background: #06080c; }
.footer-inner { display: grid; gap: 1.5rem; font-size: 0.95rem; }
.footer-name { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 0.25rem; }
.footer-sub { color: var(--text-muted); margin: 0; }
.footer-meta { display: grid; gap: 0.4rem; }
.footer-copy { color: var(--text-muted); margin: 0; }

.page-simple { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.page-simple h1 { font-size: 2.2rem; margin-bottom: 1rem; }

/* Larger screens */
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form { padding: 1.75rem; }
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .form-row-3 { grid-template-columns: repeat(3, 1fr); }
  .field-full { grid-column: 1 / -1; }
  .form-actions .btn { width: auto; }
  .cta-inner { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 960px) {
  :root { --header-h: 4.5rem; }
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 1.75rem; position: static; background: none; border: 0; padding: 0; }
  .nav-links { display: flex; gap: 1.6rem; margin: 0; }
  .nav-links a { border: 0; padding: 0.25rem 0; font-size: 0.98rem; }
  .nav .btn { width: auto; }
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 3rem; }
  .hero-art { order: 0; max-width: 460px; }
  .section { padding: 5rem 0; }
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .nofile { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
  .quote-grid { grid-template-columns: 0.75fr 1.25fr; gap: 3.5rem; align-items: start; }
  .quote-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
  .faq-wrap { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 3.5rem; }
  .footer-inner { grid-template-columns: 1.2fr 1fr auto; align-items: end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
