:root {
  color-scheme: light;
  --bg: #f3f5f8; --surface: #fff; --sunk: #edf0f5;
  --ink: #0f1a28; --ink-2: #465366; --ink-3: #657184;
  --line: #dce2ea; --line-2: #c8d0db;
  --accent: #1747a6; --accent-2: #0f3784; --accent-soft: #e3eaf8; --on-accent: #fff;
  --good: #1c7444; --good-soft: #dff1e6; --warn: #8c5300; --warn-soft: #faedd6; --crit: #b3261e; --crit-soft: #fbe3e0;
  /* The studio's "happy" palette, used for highlights and accents. */
  --sky: #4da8da; --mint: #80d8c3; --sun: #ffd66b; --coral: #e14434; --lilac: #bdb2ff;
  --shadow: 0 1px 2px rgb(15 26 40 / .05), 0 12px 32px -18px rgb(23 71 166 / .28);
  --shadow-lg: 0 2px 4px rgb(15 26 40 / .04), 0 28px 60px -28px rgb(23 71 166 / .42);
  --display: "Geologica", "Onest", system-ui, sans-serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.symbols { position: absolute; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.ic { width: 18px; height: 18px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: block; margin-bottom: 10px; color: var(--accent); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* Buttons */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 500; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.button:hover { filter: brightness(1.05); }
.button.primary { border-color: var(--accent); color: var(--on-accent); background: var(--accent); box-shadow: 0 10px 24px -12px rgb(23 71 166 / .7); }
.button.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgb(23 71 166 / .75); }
.button.ghost { background: transparent; }
.button.ghost:hover { background: var(--surface); }
.button.light { border-color: #fff; color: var(--accent); background: #fff; }
.button.small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.button.large { min-height: 52px; padding: 0 24px; font-size: 16px; }
.button .ic { transition: transform .15s ease; }
.button:hover .ic { transform: translateX(2px); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); transition: border-color .2s ease; }
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.brand > svg { width: 30px; height: 30px; color: var(--accent); }
.brand > svg .sun { fill: var(--sun); stroke: none; }
.brand small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 400; line-height: 1.2; }
.top-nav { display: flex; gap: 4px; }
.top-nav a { padding: 7px 12px; border-radius: 999px; color: var(--ink-2); font-size: 14px; text-decoration: none; }
.top-nav a:hover { color: var(--ink); background: var(--sunk); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.language select { height: 36px; border: 1px solid var(--line); border-radius: 999px; padding: 0 28px 0 12px; background: var(--surface); font-size: 13px; font-weight: 500; }

/* Hero */
.hero { position: relative; padding: 64px 0 88px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -68px 0 0; z-index: -1; background:
  radial-gradient(520px 340px at 88% 18%, rgb(77 168 218 / .22), transparent 70%),
  radial-gradient(420px 300px at 70% 92%, rgb(128 216 195 / .26), transparent 70%),
  radial-gradient(360px 260px at 4% 6%, rgb(255 214 107 / .22), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 500; box-shadow: var(--shadow); }
.sun-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgb(255 214 107 / .35); }
.hero h1 { margin-top: 22px; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 72%, rgb(255 214 107 / .7) 72%, rgb(255 214 107 / .7) 92%, transparent 92%); }
.lead { margin-top: 22px; max-width: 54ch; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--ink-2); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .ic, .points .ic { width: 16px; height: 16px; padding: 3px; border-radius: 50%; color: var(--good); background: var(--good-soft); box-sizing: content-box; }

/* Sample finding */
.sample { position: relative; padding: 18px 10px 30px; }
.sample-card { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-lg); transform: rotate(-1.2deg); animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.sample-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.sample-id { font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.sample-where { color: var(--ink-3); font-size: 13px; }
.tag { margin-left: auto; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.tag.coral { color: var(--crit); background: var(--crit-soft); }
.sample-block { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--sunk); }
.sample-block.after { background: rgb(128 216 195 / .22); }
.side-lbl { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sw { width: 9px; height: 9px; border-radius: 3px; background: var(--coral); }
.sw.fixed { background: #2ea486; }
.kz { margin-top: 6px; font: 500 17px/1.5 var(--display); letter-spacing: -.01em; }
.kz mark { padding: 1px 3px; border-radius: 4px; color: inherit; background: linear-gradient(rgb(255 214 107 / .65), rgb(255 214 107 / .65)); box-shadow: inset 0 -2px 0 var(--coral); }
.source { margin-top: 8px; color: var(--ink-3); font-size: 13px; line-height: 1.45; }
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.scores dt { color: var(--ink-3); font-size: 12px; }
.scores dd { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.scores b { font: 500 20px/1 var(--display); }
.meter { position: relative; flex: 1; height: 6px; border-radius: 99px; background: var(--sunk); overflow: hidden; }
.meter::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--good); animation: fill 1s .4s cubic-bezier(.2, .8, .2, 1) both; transform-origin: left; }
.meter.warn::after { background: #e0a020; }
.sticker { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.sticker .ic { width: 15px; height: 15px; }
.sticker.mint { right: -6px; top: 0; background: var(--mint); color: #0d4a3c; transform: rotate(3deg); animation-delay: .6s; }
.sticker.sun { left: -10px; bottom: 6px; background: var(--sun); color: #5a3d00; transform: rotate(-3deg); animation-delay: .8s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) rotate(-1.2deg); } }
@keyframes fill { from { transform: scaleX(0); } }
@keyframes pop { from { opacity: 0; scale: .6; } }

/* Sections */
.block { padding: 80px 0 0; }
.section-head { display: grid; grid-template-columns: 1fr minmax(240px, 420px); gap: 30px; align-items: end; margin-bottom: 32px; }
.section-head h2, .deliverables h2, .request h2, .faq-grid h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; }
.section-head p { color: var(--ink-2); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.why-grid .num { display: inline-block; margin-bottom: 18px; color: var(--accent); font: 500 14px/1 var(--display); padding: 6px 10px; border-radius: 999px; background: var(--accent-soft); }
.why-grid h3 { font-size: 21px; }
.why-grid p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.channel { --tone: var(--sky); position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.channel::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--tone); opacity: .16; }
.channel.sun { --tone: var(--sun); } .channel.mint { --tone: var(--mint); } .channel.lilac { --tone: var(--lilac); } .channel.coral { --tone: var(--coral); }
.channel .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; color: var(--ink); background: color-mix(in srgb, var(--tone) 32%, white); box-sizing: border-box; }
.channel h3 { margin-top: 18px; font-size: 19px; }
.channel p { margin-top: 4px; color: var(--ink-2); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.steps li { position: relative; padding: 26px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -14px; width: 14px; border-top: 2px dashed var(--line-2); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--on-accent); background: var(--accent); font: 500 17px/1 var(--display); }
.steps h3 { margin-top: 18px; font-size: 19px; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

.deliverables { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; padding: 48px; border-radius: 24px; color: #f4f7fd; background: var(--accent); position: relative; overflow: hidden; isolation: isolate; }
.deliverables::before { content: ""; position: absolute; z-index: -1; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgb(77 168 218 / .55), transparent 70%); }
.deliverables .eyebrow { color: var(--sun); }
.deliverables-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 32px; }
.deliverables-grid div { padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .2); }
.deliverables-grid h3 { font-size: 18px; }
.deliverables-grid p { margin-top: 4px; color: #c9d6f0; font-size: 15px; }

/* Request form */
.request-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.request-copy { position: sticky; top: 100px; }
.request-copy > p { margin-top: 14px; color: var(--ink-2); font-size: 17px; max-width: 42ch; }
.points { display: grid; gap: 12px; margin-top: 26px; color: var(--ink-2); }
.points li { display: flex; align-items: center; gap: 10px; }
.form-card { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-lg); }
.form-card form { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.field small, legend small { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); font-weight: 400; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: 0; box-shadow: 0 0 0 4px var(--accent-soft); }
.field input[aria-invalid="true"] { border-color: var(--crit); box-shadow: 0 0 0 4px var(--crit-soft); }
.phone-input { position: relative; display: block; }
.phone-prefix { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-weight: 400; pointer-events: none; }
.field .phone-input input { padding-left: 38px; font-variant-numeric: tabular-nums; }
.hint { margin-top: -10px; color: var(--ink-3); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.chips legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 500; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.chips label:hover span { border-color: var(--accent); }
.chips input:checked + span { border-color: var(--accent); color: var(--on-accent); background: var(--accent); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.segmented { gap: 6px; }
.segmented span { min-width: 54px; justify-content: center; padding: 0 12px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 11px 14px; border-radius: 10px; color: var(--crit); background: var(--crit-soft); font-size: 14px; }
.submit { width: 100%; }
.submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.privacy { color: var(--ink-3); font-size: 13px; text-align: center; }
.success { display: grid; justify-items: center; gap: 12px; padding: 40px 10px; text-align: center; }
.success-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #0d4a3c; background: var(--mint); animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.success-mark .ic { width: 28px; height: 28px; }
.success h3 { font-size: 28px; outline: 0; }
.success p { max-width: 44ch; color: var(--ink-2); }
.success .button { margin-top: 8px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font: 500 18px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 20px; height: 20px; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; color: var(--ink-2); }

/* Closing */
.closing { margin-top: 88px; padding: 56px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border-radius: 24px; color: #f4f7fd; background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%); position: relative; overflow: hidden; isolation: isolate; }
.closing::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgb(255 214 107 / .4), transparent 70%); }
.closing h2 { max-width: 22ch; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; }
.footer { margin: 40px auto 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--ink-3); font-size: 13px; }

/* Hidden until the visitor's language is applied; shows anyway if the script never runs. */
.i18n-pending body { opacity: 0; animation: appear 0s 1.2s forwards; }
@keyframes appear { to { opacity: 1; } }

/* Reveal on scroll (only when JS has enabled it). */
.reveal-on .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal-on .reveal.shown { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .top-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .sample { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .deliverables, .request-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .request-copy { position: static; }
}
@media (max-width: 720px) {
  .wrap { width: min(100% - 32px, 1160px); }
  .brand small { display: none; }
  .top-actions .button { display: none; }
  .hero { padding: 36px 0 56px; }
  .lead { font-size: 17px; }
  .hero-actions .button { flex: 1 1 100%; }
  .sample { padding: 22px 0 30px; }
  .sample-card { padding: 18px; transform: none; animation-name: fade; }
  .sticker.mint { right: 6px; }
  .sticker.sun { left: 6px; }
  .block { padding-top: 64px; }
  .section-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .why-grid, .channels, .steps, .deliverables-grid, .row { grid-template-columns: 1fr; }
  .deliverables { padding: 32px 24px; }
  .form-card { padding: 24px 18px; border-radius: 18px; }
  .closing { margin-top: 64px; padding: 36px 24px; }
  .closing .button { width: 100%; }
  .footer { flex-direction: column; gap: 6px; }
}
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
  .i18n-pending body { opacity: 1; }
}
