:root {
  --bg: #F3F1EA;
  --surface: #E9E6DC;
  --fg: #1B211C;
  --muted: #5A6158;
  --border: #D7D3C6;
  --accent: #2E5D4B;
  --accent-on: #F5F3EC;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Onest", sans-serif;
  --radius: 6px;
  --space-section: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 16px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.kicker {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  cursor: pointer;
}
.btn:active { transform: scale(.99); }
.btn-solid { background: var(--accent); color: var(--accent-on); }
.btn-solid:hover { background: #24493B; }
.btn-outline { border-color: var(--fg); color: var(--fg); background: transparent; }
.btn-outline:hover { background: var(--fg); color: var(--bg); }
.btn-quiet { color: var(--fg); border-bottom: 1px solid var(--fg); border-radius: 0; padding-inline: 0; min-height: 44px; }
.btn-quiet:hover { color: var(--accent); border-color: var(--accent); }
.btn-wide { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 241, 234, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.logo-light { color: var(--bg); }
.logo-light span { color: #8FB8A6; }
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: 16px;
  color: var(--fg);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.burger {
  display: none;
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav a {
  text-decoration: none;
  padding: 12px 0;
  font-size: 17px;
}
.mobile-nav .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(20,26,22,.86) 0%, rgba(20,26,22,.72) 42%, rgba(20,26,22,.34) 72%, rgba(20,26,22,.22) 100%);
}
.hero-inner { padding-block: 84px 96px; }
.hero-card { max-width: 620px; color: #F2F0E9; }
.hero-card .kicker { color: #9CC7B2; }
.hero-card h1 { font-size: clamp(34px, 5.4vw, 62px); }
.hero-card .lead {
  margin-top: 22px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: #E3E0D6;
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 34px;
  align-items: center;
}
.hero-card .btn-solid { background: #F1EFE7; color: #1B211C; }
.hero-card .btn-solid:hover { background: #FFFFFF; }
.hero-card .btn-quiet { color: #F2F0E9; border-color: #9AA39B; }
.hero-card .btn-quiet:hover { color: #FFFFFF; border-color: #FFFFFF; }
.hero-facts {
  list-style: none;
  margin: 52px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(242,240,233,.26);
  display: grid;
  gap: 22px;
}
.hero-facts li { display: flex; flex-direction: column; gap: 4px; }
.hero-facts b { font-size: 17px; font-weight: 600; }
.hero-facts span { font-size: 15px; color: #C9C6BC; }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.sec-sub { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 60ch; }

/* ---------- Tech ---------- */
.tech { background: var(--surface); }
.tech-list { display: grid; gap: 64px; }
.tech-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.tech-row-flip .tech-text { order: 2; }
.tech-row-flip .tech-figure { order: 1; }
.tech-text h3 { font-size: clamp(24px, 2.8vw, 34px); }
.tech-text > p { margin-top: 16px; color: var(--muted); max-width: 52ch; }
.ticks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  padding-left: 26px;
  position: relative;
  font-size: 16px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 2px;
  background: var(--accent);
}
.tech-figure { margin: 0; }
.tech-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.tech-row-plain {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  border-top: 1px solid var(--border);
  padding-top: 56px;
}
.tech-note {
  font-size: 17px;
  color: var(--fg);
  border-left: 2px solid var(--accent);
  padding-left: 22px;
  max-width: 34ch;
}

/* ---------- Process ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.steps li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  padding-top: 6px;
}
.steps h3 { font-size: 22px; font-weight: 700; }
.steps p { margin-top: 10px; color: var(--muted); max-width: 68ch; }

/* ---------- Included ---------- */
.included-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}
.included-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.included-head p { margin-top: 18px; color: var(--muted); max-width: 44ch; }
.included-head .btn { margin-top: 28px; }
.included-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-top: 1px solid var(--border);
}
.included-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.included-list b { font-size: 17px; font-weight: 600; }
.included-list span { font-size: 15px; color: var(--muted); }

/* ---------- Request ---------- */
.request { background: var(--fg); color: var(--bg); }
.request .kicker { color: #8FB8A6; }
.request-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.request-text h2 { font-size: clamp(26px, 3.4vw, 40px); color: var(--bg); }
.request-text p { margin-top: 18px; color: #C6C8BF; max-width: 46ch; }
.request-meta { font-size: 15px; color: #A3A79C; }
.card-form {
  background: var(--bg);
  color: var(--fg);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg);
  background: #FBFAF6;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px;
  min-height: 48px;
  width: 100%;
  transition: border-color .2s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9B4A4; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(46,93,75,.25);
  outline-offset: 1px;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-status { grid-column: 1 / -1; font-size: 15px; color: var(--accent); min-height: 20px; }
.form-status.error { color: #A23A2B; }
.card-form .btn-wide { margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #141A15;
  color: #C9C8BF;
  padding-block: 64px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201,200,191,.18);
}
.footer-text { margin-top: 16px; max-width: 42ch; font-size: 16px; }
.footer-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8FB8A6;
  margin-bottom: 14px;
}
.footer-line { font-size: 16px; margin-bottom: 8px; }
.footer-line a { color: #F1EFE7; text-decoration: none; border-bottom: 1px solid rgba(241,239,231,.35); }
.footer-line a:hover { border-bottom-color: #F1EFE7; }
.legal a { color: var(--accent); }
.ph { color: #8E8F86; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { text-decoration: none; font-size: 16px; }
.footer-links a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 14px;
  color: #8E8F86;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #FFFFFF; }

/* ---------- Reveal ---------- */
/* Entrance: content is always painted, only a slight shift is animated */
.rise { animation: rise .45s ease; }
@keyframes rise {
  from { transform: translateY(10px); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none !important; }
  * { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --space-section: 72px; }
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }
  .mobile-nav[hidden] { display: none; }
  .tech-row, .tech-row-flip, .tech-row-plain, .included-grid, .request-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .tech-row-flip .tech-text { order: 1; }
  .tech-row-flip .tech-figure { order: 2; }
  .included-list { grid-template-columns: minmax(0, 1fr); }
  .card-form { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { padding-block: 64px 72px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { margin-top: 40px; }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .card-form { padding: 22px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
