:root {
  --blue: #0B63CE;
  --blue-dark: #084C9E;
  --teal: #14B8D4;
  --ink: #14202E;
  --body: #3A4757;
  --muted: #6B7785;
  --line: #E2E7EE;
  --soft: #F4F7FB;
  --white: #FFFFFF;
  --radius: 12px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(150%) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--body); padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); background: var(--soft); }
.nav a.btn { color: var(--white); margin-left: 6px; }
.nav a.btn:hover { color: var(--white); background: var(--blue-dark); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; color: var(--ink); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; background: var(--blue); color: var(--white);
  text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 10px;
  border: 2px solid var(--blue); transition: background .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--soft); color: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--soft), var(--white)); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--body); max-width: 36em; }
.hero-figure { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: 0 12px 32px rgba(20,32,46,.08); }
.hero-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; }
.card p:last-child { margin-bottom: 0; }
.card.product { display: flex; flex-direction: column; }
.card.product .btn-row { margin-top: auto; padding-top: 16px; }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--blue); background: var(--soft); padding: 3px 10px; border-radius: 99px; margin-bottom: 12px; }

ul.check { list-style: none; padding: 0; margin: 0 0 1em; }
ul.check li { position: relative; padding-left: 28px; margin-bottom: 8px; }
ul.check li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-weight: 700; margin-bottom: 14px;
}
.steps h3 { font-size: 1.05rem; }
.steps p { margin: 0; font-size: .95rem; }

/* Formula / spec */
.formula { font-family: "Cambria Math", "Times New Roman", serif; font-size: 1.15rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; color: var(--ink); overflow-x: auto; }
table.spec { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.spec th, table.spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { width: 32%; color: var(--ink); font-weight: 600; background: var(--soft); }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }

/* CTA band */
.cta { background: var(--blue); color: #DCE9FA; border-radius: 16px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin-bottom: 8px; }
.cta p { margin: 0; }
.cta .btn { background: var(--white); color: var(--blue); border-color: var(--white); }
.cta .btn:hover { background: #E8F0FB; }

/* Page header */
.page-head { padding: 56px 0 40px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head p { font-size: 1.1rem; max-width: 40em; margin: 0; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

.note { font-size: .9rem; color: var(--muted); }

.lang-tip { margin-top: 20px; background: var(--soft); border-left: 4px solid var(--teal); border-radius: 8px; padding: 14px 16px; font-size: .92rem; }
.lang-tip ol { margin: 8px 0 0; padding-left: 1.2em; }
.lang-tip li { margin-bottom: 4px; }

/* Forms */
label.field { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 14px; }
label.field input { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; font-weight: 400; color: var(--ink); border: 1px solid #C9D2DD; border-radius: 8px; background: var(--white); }
label.field input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.opt { font-weight: 400; color: var(--muted); }
label.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--body); margin: 4px 0 12px; }
label.consent input { margin-top: 4px; flex: none; width: 16px; height: 16px; }
label.field textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; font-weight: 400; color: var(--ink); border: 1px solid #C9D2DD; border-radius: 8px; resize: vertical; }
label.field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.wrap.narrow { max-width: 760px; }
fieldset.form-section { margin: 0 0 24px; min-width: 0; }
fieldset.form-section legend { font-size: 1.2rem; font-weight: 700; color: var(--ink); padding: 0 8px; margin-left: -8px; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.req { color: #C2410C; }
.choice-group { margin-bottom: 18px; }
.group-title { font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 8px; }
label.choice { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .95rem; cursor: pointer; flex-wrap: wrap; }
label.choice input[type=radio], label.choice input[type=checkbox] { width: 17px; height: 17px; flex: none; margin: 0; }
.other-text { flex: 1; min-width: 160px; padding: 7px 10px; font: inherit; border: 1px solid #C9D2DD; border-radius: 8px; }
.form-notice { background: var(--soft); border-radius: 8px; padding: 14px 16px; font-size: .88rem; margin-bottom: 16px; }
.form-notice p { margin: 6px 0 0; }
.invalid, .invalid input, .invalid textarea { border-color: #C2410C !important; }
.choice-group.invalid { outline: 2px solid #C2410C; outline-offset: 6px; border-radius: 4px; }
.form-error { background: #FFF1EB; color: #9A3412; border-radius: 8px; padding: 12px 14px; font-weight: 600; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
button.btn:disabled { opacity: .7; cursor: default; }

/* Footer */
.site-footer { background: var(--ink); color: #AEB8C4; padding: 48px 0 32px; font-size: .92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: var(--white); font-size: 1rem; }
.site-footer a { color: #D5DEE8; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid #2A3646; padding-top: 20px; margin-top: 8px; color: #8693A2; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .grid.two, .grid.three { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .cta { padding: 32px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 16px; }
  .nav.open { display: flex; }
  .nav a.btn { margin: 8px 0 0; text-align: center; }
  .wrap { padding: 0 16px; }
  section { padding: 56px 0; }
  .hero { padding: 48px 0; }
  .steps { grid-template-columns: 1fr; }
  table.spec th { width: 40%; }
}
