/* ==========================================================================
   TechSprint Solutions, site styles
   Tokens come from the approved design (design system panel, "2c").
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL licences in /assets/fonts) ---------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Colour */
  --c-cream: #F6F3EE;        /* background */
  --c-cream-2: #F1EEE7;      /* pricing background */
  --c-ink: #1F2A24;          /* text, 13:1 on cream */
  --c-ink-soft: #3a463f;     /* body copy */
  --c-ink-green: #2c3832;    /* copy on sage tone */
  --c-sage: #3F5C4B;         /* buttons, accent, 6.7:1 on cream */
  --c-sage-dark: #2F4A3B;    /* hover */
  --c-muted: #55605A;        /* secondary text, 5.9:1 on cream */
  --c-sage-tone: #E7EBE3;    /* surfaces, hover */
  --c-line: #D9D3C7;         /* borders */
  --c-line-soft: #E3DED3;
  --c-white: #FFFFFF;
  --c-field-border: #8c9690; /* form borders, >3:1 on white */
  --c-error: #A12622;        /* 7:1 on white */
  --c-error-bg: #FBEDEC;
  --c-focus-ring: rgba(63, 92, 75, .35);

  /* Type */
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Spacing and layout */
  --gutter: 80px;
  --section-y: 96px;
  --max: 1280px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --ease: .2s ease;
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font: 400 18px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--c-sage); text-decoration: none; }
a:hover { color: var(--c-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--c-sage);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--c-ink); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Serif headings */
h1, h2, h3 { font-family: var(--f-serif); font-weight: 400; }
h1 { font-size: 82px; line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: 52px; line-height: 1.08; }

.eyebrow {
  font: 500 12px/1.4 var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-sage);
  margin-bottom: 16px;
}
.eyebrow--dark { color: var(--c-sage-dark); }

section[id] { scroll-margin-top: var(--header-h); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn--primary { background: var(--c-sage); color: #fff; padding: 16px 30px; }
.btn--primary:hover { background: var(--c-sage-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(47, 74, 59, .6); }
.btn--secondary { color: var(--c-ink); border-color: var(--c-ink); padding: 15px 26px; }
.btn--secondary:hover { background: var(--c-sage-tone); color: var(--c-ink); }
.btn--outline { border-color: var(--c-sage); color: var(--c-sage); background: transparent; padding: 14px; }
.btn--outline:hover { background: var(--c-sage-tone); color: var(--c-sage-dark); transform: translateY(-1px); }
.btn--solid { border-color: var(--c-sage); color: #fff; background: var(--c-sage); padding: 14px; }
.btn--solid:hover { background: var(--c-sage-dark); border-color: var(--c-sage-dark); color: #fff; transform: translateY(-1px); }
.btn--light { background: var(--c-cream); color: var(--c-ink); padding: 18px 34px; white-space: nowrap; }
.btn--light:hover { background: #fff; color: var(--c-ink); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 238, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line-soft);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  padding-block: 18px;
  row-gap: 0;
  min-height: var(--header-h);
}
.brand { font: 400 28px/1.2 var(--f-serif); letter-spacing: -.01em; color: var(--c-ink); display: inline-flex; align-items: baseline; }
.brand:hover { color: var(--c-ink); }
.brand .dot { color: var(--c-sage); }
.brand .sub {
  font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  margin-left: 10px; color: var(--c-muted);
}
.header-end { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; gap: 32px; align-items: center; font-size: 15px; font-weight: 500; }
.nav-list a {
  display: inline-block; color: var(--c-ink); padding: 4px 0;
  border-bottom: 1.5px solid transparent; transition: border-color var(--ease);
}
.nav-list a:hover { border-bottom-color: var(--c-sage); color: var(--c-ink); }
.nav-list .menu-cta { display: none; }
.menu-foot { display: none; }

.lang {
  display: flex; background: #fff; border: 1px solid var(--c-line); border-radius: 99px;
  padding: 3px; font-size: 13px; font-weight: 600;
}
.lang a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 13px; border-radius: 99px; color: var(--c-muted); transition: background-color var(--ease), color var(--ease);
}
.lang a:hover { color: var(--c-ink); }
.lang a[aria-current="true"] { background: var(--c-sage); color: #fff; }

.nav-cta { padding: 11px 22px; font-size: 15px; }
.nav-cta:hover { transform: translateY(-1px); }

.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--c-line); background: #fff;
  border-radius: 10px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; padding: 0;
}
.menu-btn i { display: block; width: 18px; height: 2px; background: var(--c-ink); transition: transform var(--ease); }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-block: 96px 112px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 520px; gap: 72px; align-items: center; }
.hero-meta {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-sage); margin-bottom: 30px;
}
.hero-meta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-sage); flex: none; }
.hero p.lead { font-size: 20px; line-height: 1.6; color: var(--c-ink-soft); max-width: 540px; margin: 32px 0 42px; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* decorative hero composition */
.hv { position: relative; width: 520px; height: 440px; }
.hv-grid {
  position: absolute; inset: 0; border-radius: 28px; background-color: var(--c-sage-tone);
  background-image: linear-gradient(rgba(63, 92, 75, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 92, 75, .13) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hv-browser {
  position: absolute; left: 36px; top: 52px; width: 380px; height: 332px; background: #fff;
  border: 1px solid var(--c-line); border-radius: 14px; box-shadow: 0 30px 60px -34px rgba(31, 42, 36, .45); overflow: hidden;
}
.hv-chrome { height: 38px; border-bottom: 1px solid var(--c-line-soft); display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.hv-chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--c-line); }
.hv-chrome span { margin-left: 12px; font: 400 11px var(--f-mono); color: var(--c-muted); background: var(--c-cream); border-radius: 99px; padding: 3px 14px; }
.hv-page { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.hv-line1 { height: 16px; width: 62%; background: var(--c-ink); border-radius: 8px; }
.hv-line2 { height: 9px; width: 44%; background: var(--c-line); border-radius: 5px; }
.hv-banner { height: 86px; border-radius: 10px; background: var(--c-sage); padding: 16px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.hv-banner i:first-child { display: block; height: 10px; width: 55%; background: var(--c-cream); border-radius: 5px; }
.hv-banner i:last-child { display: block; height: 22px; width: 84px; background: var(--c-cream); border-radius: 6px; }
.hv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hv-tiles i { display: block; height: 54px; background: var(--c-cream); border-radius: 8px; }
.hv-phone {
  position: absolute; right: 30px; bottom: 34px; width: 132px; height: 250px; background: var(--c-ink);
  border-radius: 26px; padding: 7px; box-shadow: 0 30px 50px -26px rgba(31, 42, 36, .6);
}
.hv-screen { height: 100%; background: var(--c-cream); border-radius: 20px; padding: 20px 12px; display: flex; flex-direction: column; gap: 9px; }
.hv-screen i { display: block; border-radius: 6px; }
.hv-screen .a { height: 11px; width: 70%; background: var(--c-ink); }
.hv-screen .b { height: 7px; width: 50%; background: var(--c-line); border-radius: 4px; }
.hv-screen .c { height: 70px; background: var(--c-sage); border-radius: 10px; margin-top: 6px; }
.hv-screen .d { height: 7px; width: 90%; background: var(--c-line); border-radius: 4px; }
.hv-screen .e { height: 7px; width: 60%; background: var(--c-line); border-radius: 4px; }
.hv-screen .f { height: 26px; background: var(--c-sage); border-radius: 8px; margin-top: auto; }
.hv-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--c-line);
  border-radius: 99px; padding: 6px 14px 6px 10px; font: 500 12px/1.4 var(--f-mono); white-space: nowrap;
}
.hv-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-sage); }
.hv-chip--1 { right: 48px; top: 22px; }
.hv-chip--2 { left: 18px; bottom: 46px; }
.hv-chip--3 { left: 150px; bottom: 100px; }

/* Booking link (shown by main.js only when BOOKING_URL is set) */
.booking { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.booking[hidden] { display: none; }
.booking-link { font-weight: 600; color: var(--c-sage); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.booking-link:hover { color: var(--c-ink); }
.booking-sub { font-size: 14px; color: var(--c-muted); }
.booking--hero { margin-top: 22px; }
.booking--contact { margin: -16px 0 28px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); border-top: 1px solid var(--c-line); }
.section h2 { margin-bottom: 48px; }

/* Services */
.svc-feature {
  display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 44px; margin-bottom: 20px;
  color: var(--c-ink); transition: border-color .25s, transform .25s, box-shadow .25s;
}
.svc-no { font: 500 12px/1.4 var(--f-mono); color: var(--c-sage); margin-bottom: 14px; }
.svc-feature h3 { font-size: 44px; line-height: 1.1; margin-bottom: 14px; }
.svc-feature p { max-width: 460px; color: var(--c-ink-soft); margin-bottom: 24px; }
.svc-feature .more { font-weight: 600; color: var(--c-sage); }
.svc-mock { background: var(--c-cream); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.svc-mock .a { height: 12px; width: 55%; background: var(--c-ink); border-radius: 6px; }
.svc-mock .b { height: 70px; background: var(--c-sage); border-radius: 8px; }
.svc-mock .c { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.svc-mock .c i { display: block; height: 36px; background: var(--c-sage-tone); border-radius: 6px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 32px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.svc-card .svc-no { margin-bottom: 36px; }
.svc-card h3 { font-size: 30px; line-height: 1.12; margin-bottom: 12px; }
.svc-card p { color: var(--c-ink-soft); font-size: 16px; }
.svc-feature:hover, .svc-card:hover {
  border-color: var(--c-sage); transform: translateY(-3px); box-shadow: 0 24px 44px -28px rgba(31, 42, 36, .4);
}
.svc-feature:hover { color: var(--c-ink); }

/* Pricing */
.pricing { background: var(--c-cream-2); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  padding: 36px 32px; border-radius: var(--radius-lg); display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line);
}
.plan--rec { border: 2px solid var(--c-sage); box-shadow: 0 30px 56px -34px rgba(31, 42, 36, .5); }
.plan-head { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.plan-name { font: 500 13px/1.4 var(--f-mono); letter-spacing: .14em; }
.badge { font-size: 13px; background: var(--c-sage); color: #fff; padding: 4px 14px; border-radius: 99px; font-weight: 600; }
.price-row { margin-top: 20px; }
.price-row .from { display: block; font-size: 20px; color: var(--c-muted); }
.price-row .amount { font: 400 54px/1.05 var(--f-serif); }
.price-row .cur { font-size: 20px; }
.plan-price { display: block; margin: 2px 0 14px; }
.plan-tag { font-weight: 600; margin-bottom: 6px; min-height: 58px; line-height: 1.4; }
.plan-who { color: var(--c-muted); font-size: 15px; margin-bottom: 22px; }
.feats {
  margin-bottom: 30px; padding-top: 22px; border-top: 1px solid var(--c-line);
  display: flex; flex-direction: column; gap: 10px; font-size: 16px; flex: 1;
}
.feats li { display: flex; gap: 10px; }
.feats li::before { content: "\2713"; color: var(--c-sage); font-weight: 700; flex: none; }
.addon {
  margin-top: 32px; padding: 24px 30px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  display: flex; justify-content: space-between; gap: 24px; font-size: 17px;
}
.addon span { color: var(--c-ink-soft); }
.price-note { font-size: 15px; color: var(--c-muted); margin-top: 18px; max-width: 800px; }

/* Process */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: none; }
.steps::before {
  content: ""; position: absolute; left: 26px; right: 26px; top: 26px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--c-sage) 0 6px, transparent 6px 12px);
}
.step { position: relative; }
.step-no {
  position: relative; width: 54px; height: 54px; border-radius: 50%; background: var(--c-cream); border: 1.5px solid var(--c-sage);
  display: flex; align-items: center; justify-content: center; font: 500 15px/1 var(--f-mono); color: var(--c-sage);
  margin-bottom: 24px; transition: background-color .25s, color .25s;
}
.step:hover .step-no { background: var(--c-sage); color: #fff; }
.step h3 { font-size: 28px; line-height: 1.15; margin-bottom: 10px; }
.step p { color: var(--c-ink-soft); font-size: 16px; }
#prosess h2 { margin-bottom: 64px; }

/* About */
.about { background: var(--c-sage-tone); }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about h2 { margin-bottom: 24px; }
.about p { color: var(--c-ink-green); margin-bottom: 14px; }
.about .wrap > div:first-child p:last-child { margin-bottom: 0; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: center; }
.principle { background: #fff; border-radius: var(--radius); padding: 26px; transition: transform .25s, box-shadow .25s; }
.principle:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -26px rgba(31, 42, 36, .5); }
.principle h3 { font-size: 24px; line-height: 1.15; margin-bottom: 8px; }
.principle p { font-size: 15px; color: var(--c-ink-soft); margin: 0; }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: 360px 1fr; gap: 80px; }
.faq h2 { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--c-line); }
.faq-list details { border-bottom: 1px solid var(--c-line); }
.faq-list summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; cursor: pointer; font-weight: 600; font-size: 19px; line-height: 1.35; color: var(--c-ink);
  transition: color var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--c-sage); }
.faq-list summary::after { content: "+"; font: 400 28px/1 var(--f-serif); color: var(--c-sage); flex: none; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary:focus-visible { outline-offset: 2px; }
.faq-list details p { margin: 0 0 26px; max-width: 640px; color: var(--c-ink-soft); }

/* Final CTA */
.final-cta .card {
  padding: 72px 64px; background: var(--c-sage); color: #fff; border-radius: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 48px;
}
.final-cta h2 { font-size: 48px; margin-bottom: 12px; }
.final-cta p { font-size: 19px; max-width: 520px; }
.final-cta a:focus-visible { outline-color: var(--c-cream); }

/* Contact */
.contact { padding-block: 104px 96px; }
.contact .wrap { display: grid; grid-template-columns: 1fr 580px; gap: 80px; }
.contact h2 { font-size: 60px; line-height: 1.05; margin-bottom: 20px; }
.contact .intro { font-size: 20px; margin-bottom: 36px; max-width: 420px; color: var(--c-ink-soft); }
.contact-list { display: flex; flex-direction: column; gap: 6px; color: var(--c-ink-soft); }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; }
.todo { background: #FFF3C4; color: #5b4500; padding: 0 6px; border-radius: 4px; font-family: var(--f-mono); font-size: .85em; }

.form-card { background: #fff; border: 1px solid var(--c-line); padding: 38px; border-radius: var(--radius-lg); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.field .req { color: var(--c-sage); }
.field input, .field select, .field textarea {
  font: 400 17px var(--f-sans); padding: 13px 14px; min-height: 48px; border: 1px solid var(--c-field-border);
  border-radius: var(--radius-sm); background: #fff; color: var(--c-ink); width: 100%;
  transition: border-color .15s, outline-color .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder { color: #6b746e; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-sage); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--c-focus-ring); outline-offset: 0; border-color: var(--c-sage);
}
.field [aria-invalid="true"] { border-color: var(--c-error); border-width: 2px; padding: 12px 13px; }
.field [aria-invalid="true"]:focus { outline-color: rgba(161, 38, 34, .3); border-color: var(--c-error); }
.field-error { color: var(--c-error); font-size: 14px; font-weight: 500; }
.field-error::before { content: "! "; font-weight: 700; }
.field[hidden] { display: none; }
.req-note { font-size: 14px; color: var(--c-muted); }
.hp { display: none !important; }
.captcha-slot { min-height: 78px; }
.captcha-slot[hidden] { display: none; }

.btn--submit {
  font: 600 17px var(--f-sans); background: var(--c-sage); color: #fff; border: 0; min-height: 52px; padding: 16px;
  border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background-color var(--ease), transform var(--ease);
}
.btn--submit:hover:not(:disabled) { background: var(--c-sage-dark); transform: translateY(-1px); }
.btn--submit:disabled { opacity: .65; cursor: not-allowed; }
.spinner {
  width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.privacy-note { font-size: 14px; color: var(--c-muted); }
.privacy-note a { text-decoration: underline; }

.form-status:empty { display: none; }
.form-notice {
  padding: 14px 16px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; margin-bottom: 16px;
  background: var(--c-sage-tone); color: var(--c-ink);
}
.form-notice--warn { background: #FFF3C4; color: #4a3a00; }
.form-notice--error { background: var(--c-error-bg); color: var(--c-error); }
.form-alert:empty { display: none; }
.form-alert { margin-bottom: 16px; }
.form-success { padding: 48px 0; text-align: center; }
.form-success .tick {
  width: 56px; height: 56px; border-radius: 50%; background: var(--c-sage); color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.form-success h3 { font-size: 32px; margin-bottom: 8px; }
.form-success p { color: var(--c-muted); font-size: 15px; margin-bottom: 20px; }
.form-success button { background: none; border: 0; color: var(--c-sage); font-weight: 600; text-decoration: underline; padding: 8px; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--c-line); font-size: 15px; color: var(--c-muted); }
.site-footer .wrap { padding-block: 36px; display: flex; justify-content: space-between; gap: 24px; }
.site-footer .links { display: flex; gap: 24px; flex: none; }
.site-footer a { color: var(--c-muted); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--c-ink); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Prose pages (privacy, 404) ---------- */
.prose-page { padding-block: 72px 96px; }
.prose { max-width: 760px; }
.prose h1 { font-size: 64px; margin-bottom: 12px; }
.prose h2 { font-size: 34px; margin: 48px 0 12px; line-height: 1.15; }
.prose p, .prose li { color: var(--c-ink-soft); font-size: 17px; }
.prose p { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .meta { font: 500 12px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 32px; }
.prose code { font-family: var(--f-mono); font-size: .9em; }
.review { background: #FFF3C4; color: #5b4500; padding: 1px 6px; border-radius: 4px; font-size: .88em; font-weight: 600; }
.nf { min-height: 60vh; display: flex; align-items: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet and below: hamburger navigation, single-column hero and pricing */
@media (max-width: 1023px) {
  :root { --gutter: 40px; --section-y: 72px; }
  h1 { font-size: 64px; }
  h2 { font-size: 44px; }

  .site-header .bar { padding-block: 12px; column-gap: 10px; }
  .header-end { display: contents; }
  .brand { margin-right: auto; }
  .brand { font-size: 25px; }
  .brand .sub { display: none; }
  .nav-cta { display: none; }
  .menu-btn { display: flex; }
  .header-end > .lang { display: none; }
  .lang a { min-width: 44px; min-height: 36px; }
  .lang { padding: 2px; }
  .menu-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px;
    font-size: 13px; color: var(--c-muted);
  }

  .nav {
    order: 10; flex-basis: 100%;
    padding: 8px 0 20px; border-top: 1px solid var(--c-line-soft); margin-top: 12px;
    max-height: calc(100vh - 90px); overflow-y: auto;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; font-size: inherit; font-weight: 400; }
  .nav-list a { display: block; font: 400 26px/1.3 var(--f-serif); padding: 12px 0; border-bottom: 1px solid var(--c-line-soft); }
  .nav-list a:hover { border-bottom-color: var(--c-line-soft); color: var(--c-sage); }
  .nav-list .menu-cta { display: block; }
  .nav-list .menu-cta a {
    margin-top: 16px; text-align: center; background: var(--c-sage); color: #fff; padding: 15px; border: 0;
    border-radius: var(--radius-sm); font: 600 16px/1.4 var(--f-sans);
  }
  .nav-list .menu-cta a:hover { background: var(--c-sage-dark); color: #fff; }

  .hero { padding-block: 64px 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hv { margin-inline: auto; max-width: 100%; }

  .plans { grid-template-columns: 1fr; max-width: 640px; }
  .plan-tag { min-height: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .steps::before { display: none; }
  .about .wrap { grid-template-columns: 1fr; gap: 48px; }
  .faq .wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact .wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact h2 { font-size: 48px; }
  .final-cta .card { padding: 56px 40px; }
}

/* Menu is collapsed only when scripting is available, so it stays reachable without JS */
@media (max-width: 1023px) and (scripting: enabled) {
  .nav:not(.is-open) { display: none; }

  /* Full-screen overlay. The header drops its backdrop-filter while open, because a filter would trap the fixed overlay inside the header. */
  .site-header.menu-open { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand, .menu-btn { position: relative; z-index: 2; }
  .nav.is-open {
    position: fixed; inset: 0; z-index: 1; margin: 0; border: 0;
    display: flex; flex-direction: column;
    padding: calc(var(--header-h) + 8px) var(--gutter) max(24px, env(safe-area-inset-bottom));
    background: var(--c-cream);
    overflow-y: auto; overscroll-behavior: contain; max-height: none;
  }
  .nav.is-open .nav-list { border-top: 1px solid var(--c-line-soft); }
  .nav.is-open .menu-foot { margin-top: auto; padding-top: 28px; }
  html.menu-lock { overflow: hidden; }
  html.menu-lock .sticky-cta { display: none; }
}
@media (scripting: none) {
  .menu-btn { display: none !important; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --gutter: 20px; --section-y: 56px; }
  body { font-size: 16px; }
  h1 { font-size: 46px; line-height: 1.05; }
  h2 { font-size: 38px; line-height: 1.1; }
  .section h2 { margin-bottom: 28px; }
  #prosess h2 { margin-bottom: 32px; }
  .eyebrow { font-size: 11px; margin-bottom: 12px; }

  .hero { padding-block: 44px 56px; }
  .hero-meta { font-size: 11px; letter-spacing: .08em; gap: 8px; margin-bottom: 22px; }
  .hero-meta::before { width: 7px; height: 7px; }
  .hero h1 { margin-bottom: 20px; }
  .hero p.lead { font-size: 17px; margin: 0 0 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { display: block; }
  .hero-actions .btn--secondary { padding: 14px; }
  .hero .wrap { gap: 36px; }

  .hv { width: 100%; height: 290px; border-radius: 20px; overflow: hidden; }
  .hv-grid { border-radius: 20px; background-size: 24px 24px; }
  .hv-browser { left: 18px; top: 30px; width: 240px; height: 214px; border-radius: 10px; box-shadow: none; }
  .hv-chrome { height: 26px; padding: 0 10px; gap: 4px; }
  .hv-chrome i { width: 6px; height: 6px; }
  .hv-chrome span { display: none; }
  .hv-page { padding: 14px; gap: 8px; }
  .hv-line1 { height: 11px; width: 60%; }
  .hv-line2 { display: none; }
  .hv-banner { height: 60px; padding: 0; border-radius: 7px; }
  .hv-banner i { display: none !important; }
  .hv-tiles { gap: 6px; }
  .hv-tiles i { height: 34px; border-radius: 6px; }
  .hv-phone { right: 18px; bottom: 22px; width: 96px; height: 190px; border-radius: 20px; padding: 5px; box-shadow: none; }
  .hv-screen { border-radius: 15px; padding: 14px 9px; gap: 7px; }
  .hv-screen .a { height: 8px; }
  .hv-screen .b, .hv-screen .e, .hv-screen .f + * { display: none; }
  .hv-screen .c { height: 50px; border-radius: 8px; margin-top: 0; }
  .hv-screen .d { height: 6px; width: 100%; }
  .hv-screen .f { height: 20px; border-radius: 6px; }
  .hv-chip { font-size: 11px; gap: 6px; padding: 5px 12px 5px 8px; }
  .hv-chip::before { width: 7px; height: 7px; }
  .hv-chip--1 { right: auto; top: auto; left: 18px; bottom: 16px; }
  .hv-chip--2, .hv-chip--3 { display: none; }

  .svc-feature { display: block; border: 1.5px solid var(--c-sage); border-radius: 14px; padding: 26px; margin-bottom: 14px; }
  .svc-feature h3 { font-size: 34px; margin-bottom: 10px; }
  .svc-feature p { margin-bottom: 16px; }
  .svc-mock { display: none; }
  .svc-no { font-size: 11px; }
  .svc-feature .svc-no { margin-bottom: 16px; }
  .svc-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc-card { padding: 24px; border-radius: 14px; }
  .svc-card .svc-no { margin-bottom: 14px; }
  .svc-card h3 { font-size: 27px; margin-bottom: 8px; }
  .svc-card p { font-size: 15px; }

  .plans { gap: 18px; }
  .plan { padding: 28px 24px; }
  .plan-name { font-size: 12px; }
  .badge { font-size: 12px; padding: 3px 12px; }
  .price-row { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 10px; }
  .price-row .from { display: inline; font-size: inherit; }
  .price-row .amount { font-size: 48px; line-height: 1; }
  .price-row .cur { font-size: 18px; }
  .plan-price { display: inline; margin: 0; }
  .plan-tag { margin-bottom: 4px; }
  .plan-who { font-size: 14px; margin-bottom: 18px; }
  .feats { font-size: 15px; gap: 9px; padding-top: 18px; margin-bottom: 22px; }
  .plan .btn { display: block; padding: 15px; }
  .addon { flex-direction: column; gap: 4px; margin-top: 22px; padding: 20px; font-size: 15px; }
  .price-note { font-size: 14px; margin-top: 16px; }

  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before {
    display: block; left: 22px; right: auto; top: 20px; bottom: 20px; width: 1.5px; height: auto;
    background: repeating-linear-gradient(var(--c-sage) 0 6px, transparent 6px 12px);
  }
  .step { display: flex; gap: 18px; }
  .step-no { flex: none; width: 46px; height: 46px; font-size: 13px; margin-bottom: 0; }
  .step h3 { font-size: 25px; margin: 6px 0 6px; }
  .step p { font-size: 15px; }

  .about .wrap { gap: 28px; }
  .principles { grid-template-columns: 1fr; gap: 12px; }
  .principle { padding: 20px; }
  .principle h3 { font-size: 22px; margin-bottom: 6px; }
  .about h2 { margin-bottom: 20px; }

  .faq-list summary { min-height: 56px; padding: 14px 0; font-size: 17px; }
  .faq-list details p { font-size: 15px; margin-bottom: 20px; }

  .final-cta .wrap { padding-inline: 20px; }
  .final-cta .card { display: block; padding: 40px 24px; border-radius: 20px; }
  .final-cta h2 { font-size: 34px; }
  .final-cta p { font-size: inherit; margin-bottom: 24px; }
  .final-cta .btn { display: block; padding: 16px; }

  .contact { padding-block: 56px 130px; }
  .contact h2 { font-size: 42px; line-height: 1.05; margin-bottom: 14px; }
  .contact .intro { font-size: inherit; margin-bottom: 24px; }
  .contact .wrap { display: flex; flex-direction: column; gap: 0; }
  .contact-info { display: contents; }
  .contact .intro { margin-bottom: 24px; }
  .form-card { order: 2; }
  .contact-list { order: 3; margin-top: 22px; font-size: 15px; }
  .form-card { padding: 24px 20px; }
  .contact-form { gap: 14px; }
  .privacy-note { font-size: 13px; }
  .site-footer { font-size: 14px; }
  .site-footer .wrap { flex-direction: column; gap: 12px; padding-block: 28px 100px; }
  .site-footer .links { gap: 20px; }

  .sticky-cta {
    display: block; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 12px 16px;
    background: rgba(246, 243, 238, .96); border-top: 1px solid var(--c-line-soft);
    transition: transform .2s, opacity .2s, visibility .2s;
  }
  .sticky-cta .btn { display: block; padding: 15px; }
  .sticky-cta.is-hidden { transform: translateY(100%); opacity: 0; visibility: hidden; }

  .prose-page { padding-block: 44px 72px; }
  .prose h1 { font-size: 44px; }
  .prose h2 { font-size: 28px; margin-top: 36px; }
  .prose p, .prose li { font-size: 16px; }
  html { scroll-padding-bottom: 96px; }
}

@media (max-width: 767px) and (scripting: none) {
  .sticky-cta { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .spinner { animation: none; border-top-color: rgba(255, 255, 255, .45); border-right-color: #fff; }
  .btn--primary:hover, .btn--light:hover, .btn--outline:hover, .btn--solid:hover, .btn--submit:hover:not(:disabled),
  .svc-feature:hover, .svc-card:hover, .principle:hover, .nav-cta:hover { transform: none; }
}

/* 404 */
.nf-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.prose .btn { text-decoration: none; }
.prose .btn--primary, .prose .btn--primary:hover { color: #fff; }
.prose .btn--secondary { color: var(--c-ink); }
