/* ── Reset & tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bone: #F4EFE5;
  --bone-rgb: 244, 239, 229;
  --sand: #E8DCCB;
  --clay: #BE9B7B;
  --ink: #1B1916;
  --ink-rgb: 27, 25, 22;
  --ink-70: #4B4640;
  --ink-40: #8C857B;
  --signal: #2B38D4;
  --signal-rgb: 43, 56, 212;
  --signal-deep: #222BA8;
  --accent: #2B38D4;
  --accent-rgb: 43, 56, 212;
  --accent-deep: #222BA8;
  --mist: #A7B0AC;
  --line: rgba(var(--ink-rgb), 0.14);
  --line-on-dark: rgba(var(--bone-rgb), 0.16);
  --surface: #FFFFFF;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'Space Mono', monospace;
  --nav-height: 74px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

[id] { scroll-margin-top: 92px; }

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

body.nav-open {
  overflow: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.hidden { display: none !important; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: 120px 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.03;
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  color: var(--ink-40);
}

.eyebrow .dotmk {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-70);
}

/* ── Mark & wordmark ── */
.mk { display: block; }
.mk .ring { fill: none; stroke: currentColor; stroke-width: 5; }
.mk .dot { fill: var(--accent); }

.wordmark {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
  font-size: 25px;
  color: var(--ink);
}

.idot { position: relative; display: inline-block; }
.idot .tit {
  position: absolute;
  left: calc(50% - 0.11em);
  top: 0.13em;
  transform: translateX(-50%);
  width: 0.142em;
  height: 0.142em;
  background: var(--accent);
  border-radius: 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .breathe .r1 { transform-origin: center; animation: breathe 6s ease-in-out infinite; }
  .breathe .r2 { transform-origin: center; animation: breathe 6s ease-in-out infinite 0.35s; }
  @keyframes breathe {
    0%, 100% { transform: scale(0.93); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; }
  }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--signal-deep); }
.btn-light { background: var(--bone); color: var(--signal); border-color: transparent; }
.btn-light:hover { background: #fff; color: var(--signal-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.22s ease;
}

.btn-arrow:hover svg {
  transform: translateX(4px);
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.1) blur(6px);
  background: rgba(var(--bone-rgb), 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.nav.scrolled { border-color: var(--line); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  transition: opacity 0.2s ease;
}

.brand .wordmark,
.brand .mk {
  transition: color 0.22s ease, opacity 0.22s ease;
}

.brand:hover .wordmark {
  color: var(--signal);
}

.brand:hover .mk {
  color: var(--signal);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  position: relative;
  font-size: 15px;
  color: var(--ink-70);
  transition: color 0.15s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--signal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  background: var(--sand);
  border-radius: 100px;
  padding: 4px;
}

.lang-btn {
  padding: 6px 11px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--ink-40);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(var(--ink-rgb), 0.06);
}

.lang-btn:hover:not(.active) { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ── Breath lines motif (light-brown sections only) ── */
.breath-lines {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.breath-lines::before {
  content: '';
  position: absolute;
  inset: -8% -12%;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 900' fill='none'%3E%3Cpath d='M-100 380 Q 280 180 620 320 T 1500 240' stroke='%232B38D4' stroke-width='1.5' stroke-opacity='0.13'/%3E%3Cpath d='M-60 560 Q 400 720 780 480 T 1520 620' stroke='%232B38D4' stroke-width='1' stroke-opacity='0.09'/%3E%3Cpath d='M280 -80 Q 520 220 460 480' stroke='%232B38D4' stroke-width='1.2' stroke-opacity='0.07'/%3E%3Cpath d='M1000 100 Q 1180 350 1050 580' stroke='%232B38D4' stroke-width='1' stroke-opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 115% auto;
  background-position: center 72%;
}

.breath-lines::after {
  content: '';
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 18%;
  height: 80px;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 80' preserveAspectRatio='none' fill='none'%3E%3Cpath d='M0 42 C350 28 700 56 1050 38 C1200 30 1320 48 1400 40' stroke='%23BE9B7B' stroke-width='1.2' stroke-opacity='0.38'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.breath-lines > .hero,
.breath-lines > .benefits,
.breath-lines > .wrap {
  position: relative;
  z-index: 1;
}

.contact.breath-lines::before {
  background-position: center 40%;
  transform: scaleX(-1);
}

.contact.breath-lines::after {
  bottom: 22%;
}

/* ── Intro (hero + benefits) ── */
.intro {
  background: var(--bone);
}

/* ── Hero ── */
.hero {
  padding: 100px 0 56px;
  text-align: center;
  background: transparent;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
  margin: 0 auto;
  container-type: inline-size;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 13px;
  color: var(--ink-40);
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(36px, 8vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-top: 20px;
  width: 100%;
  min-width: 0;
  text-align: center;
  text-wrap: balance;
}

.hero h1 .hero-line {
  display: block;
}

@container (max-width: 1100px) {
  .hero h1 {
    font-size: clamp(32px, 7cqi, 72px);
  }
}

@container (max-width: 860px) {
  .hero h1 {
    font-size: clamp(28px, 7.5cqi, 56px);
  }
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  font-size: clamp(16px, 4vw, 21px);
  max-width: 58ch;
  margin: 28px auto 0;
  color: var(--ink-70);
  line-height: 1.65;
  padding: 0 4px;
}

.hero-subline {
  display: block;
}

@media (min-width: 768px) {
  .hero-subline {
    white-space: nowrap;
  }
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-self: center;
}

.hero-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--bone);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 14px 40px rgba(var(--ink-rgb), 0.16);
}

.hero-badge .txt {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
}

.hero-badge .txt span:last-child {
  color: var(--ink-40);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Section head ── */
.sec-head { max-width: 64ch; }
.sec-head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  margin-top: 22px;
}
.sec-head .lead { margin-top: 22px; max-width: 54ch; }

.sec-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.sec-head-row .sec-head {
  max-width: none;
}

.sec-head-row .sec-head .lead {
  max-width: 54ch;
}

.photo-stack {
  position: relative;
  width: 100%;
  max-width: 320px;
  min-height: 240px;
  margin-left: auto;
}

.photo-stack-item {
  position: absolute;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--sand);
  transition: transform 0.3s ease;
}

.photo-stack-item--back {
  top: 6%;
  left: 0;
  width: 68%;
  aspect-ratio: 4 / 3;
  z-index: 1;
}

.photo-stack-item--front {
  bottom: 0;
  right: 0;
  width: 62%;
  aspect-ratio: 4 / 3;
  z-index: 2;
}

.photo-stack:hover .photo-stack-item--back {
  transform: translate(-3px, -3px);
}

.photo-stack:hover .photo-stack-item--front {
  transform: translate(3px, 3px);
}

.photo-stack-badge {
  position: absolute;
  bottom: 16%;
  left: 2%;
  z-index: 3;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(var(--bone-rgb), 0.94);
  border: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-70);
  white-space: nowrap;
}

/* ── Benefits ── */
.benefits {
  background: transparent;
  padding-top: 16px;
  padding-bottom: 120px;
}

.ben-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 60px;
}

.ben {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 230px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ben:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(var(--ink-rgb), 0.09);
  border-color: rgba(var(--ink-rgb), 0.2);
}

.ben .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--signal);
  letter-spacing: 0.1em;
}

.ben h3 { font-size: 25px; letter-spacing: -0.02em; }
.ben p { color: var(--ink-70); font-size: 16px; }

.ben .tail {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-40);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Data ── */
.data {
  background: var(--surface);
}

.data-band {
  position: relative;
  margin-top: 56px;
  padding: 52px 44px 48px;
  border-radius: 28px;
  background: var(--bone);
  border: 1px solid var(--line);
}

.data-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.data-stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 32px;
}

.data-stat:not(:last-child) {
  border-right: 1px solid rgba(var(--ink-rgb), 0.1);
}

.data-num {
  font-family: var(--display);
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  white-space: nowrap;
}

.data-stat p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 26ch;
}

.data-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
  font-style: normal;
  margin-top: auto;
}

.data-source::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .data-band {
    padding: 40px 28px 36px;
    border-radius: 22px;
  }

  .data-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 0;
  }

  .data-stat {
    padding: 0 20px;
  }

  .data-stat:nth-child(odd) {
    border-right: 1px solid rgba(var(--ink-rgb), 0.1);
  }

  .data-stat:nth-child(even) {
    border-right: none;
  }

  .data-stat:nth-child(1),
  .data-stat:nth-child(2) {
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(var(--ink-rgb), 0.1);
  }
}

@media (max-width: 520px) {
  .data-band {
    padding: 36px 24px 32px;
  }

  .data-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .data-stat {
    padding: 0;
    border-right: none !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .data-stat:not(:last-child) {
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(var(--ink-rgb), 0.1);
  }

  .data-stat p {
    max-width: none;
  }
}

/* ── Offering (white, not dark) ── */
.offering {
  background: var(--surface);
  color: var(--ink);
}

.offering .sec-head h2 { color: var(--ink); }
.offering .lead { color: var(--ink-70); }
.offering .eyebrow { color: var(--ink-40); }

.off-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 60px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.off {
  background: var(--surface);
  padding: 42px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}

.off:hover { background: var(--bone); }

.off .ic {
  width: 46px;
  height: 46px;
  color: var(--ink);
  transition: transform 0.28s ease;
}

.off:hover .ic {
  transform: scale(1.1);
}

.off h3 {
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.off p {
  color: var(--ink-70);
  font-size: 16px;
}

.off .fmt {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
}

/* ── How it works (white) ── */
.how {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding-top: 54px;
}

.how .hl {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 34px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step .sn {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: var(--accent);
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h4 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 14.5px;
  color: var(--ink-70);
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
}

.about-copy h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 20px;
}

.about-copy p {
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-70);
  max-width: 52ch;
}

.about-copy p .hl {
  color: var(--ink);
  font-weight: 500;
}

.about-meta {
  display: flex;
  gap: 48px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.about-meta .m .k {
  font-family: var(--display);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.about-meta .m .v {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-top: 4px;
}

/* ── Contact ── */
.contact {
  position: relative;
  background: var(--sand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.contact h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  margin-top: 20px;
}

.contact .lead {
  margin-top: 22px;
  max-width: 38ch;
}

.contact-info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ci-item .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 6px;
}

.ci-item .v {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.ci-item .v a:hover { color: var(--signal); }

form.card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px;
}

.field { margin-bottom: 20px; }

.field.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 0;
}

label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-bottom: 9px;
}

input, select, textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-40);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(var(--signal-rgb), 0.14);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238C857B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-error {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #b42318;
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-70);
}

.field-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--signal);
  cursor: pointer;
}

.form-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}

.btn-submit { font-size: 16px; padding: 15px 30px; }

.form-done {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 20px;
  text-align: center;
  grid-column: 2;
}

.form-done .mk { margin: 0 auto 22px; }
.form-done h3 { font-size: 28px; margin-bottom: 12px; }
.form-done p { color: var(--ink-70); max-width: 34ch; margin: 0 auto; }

form.card.hide { display: none; }

/* ── Newsletter ── */
.newsletter {
  padding: 80px 0;
  background: var(--signal);
  color: var(--bone);
}

.newsletter-band {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.newsletter .eyebrow {
  color: rgba(var(--bone-rgb), 0.72);
}

.newsletter .eyebrow .dotmk {
  background: var(--bone);
}

.newsletter-copy h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-top: 18px;
  color: var(--bone);
}

.newsletter-copy p {
  margin-top: 14px;
  color: rgba(var(--bone-rgb), 0.82);
  max-width: 42ch;
  line-height: 1.55;
}

.newsletter-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.newsletter-row input {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ink);
}

.newsletter-row input::placeholder {
  color: var(--ink-40);
}

.newsletter-row input:focus {
  border-color: var(--bone);
  box-shadow: 0 0 0 3px rgba(var(--bone-rgb), 0.28);
}

.newsletter-row .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.newsletter-error {
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: #ffc9c9;
}

.newsletter-done {
  margin: 12px 0 0;
  font-size: 15px;
  color: rgba(var(--bone-rgb), 0.9);
  line-height: 1.5;
}

.newsletter-form.is-done .newsletter-row {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Exit popup ── */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.exit-popup[hidden] {
  display: none;
}

.exit-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--ink-rgb), 0.52);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.exit-popup.is-open .exit-popup-backdrop {
  opacity: 1;
}

.exit-popup-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 580px);
  padding: 0;
  border-radius: 28px;
  background: var(--signal);
  border: none;
  color: var(--bone);
  box-shadow: 0 24px 64px rgba(var(--ink-rgb), 0.32);
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.exit-popup.is-open .exit-popup-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.exit-popup-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 85% 15%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 10% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.exit-popup-pattern::before,
.exit-popup-pattern::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.exit-popup-pattern::before {
  width: 420px;
  height: 280px;
  top: -80px;
  right: -120px;
  transform: rotate(-18deg);
}

.exit-popup-pattern::after {
  width: 360px;
  height: 240px;
  bottom: -100px;
  left: -80px;
  transform: rotate(22deg);
}

.exit-popup-content {
  position: relative;
  z-index: 1;
  padding: 48px 44px 36px;
}

.exit-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  color: rgba(var(--bone-rgb), 0.9);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.exit-popup-close:hover {
  color: var(--bone);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.exit-popup-close svg {
  width: 14px;
  height: 14px;
}

.exit-popup-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(var(--bone-rgb), 0.92);
}

.exit-popup-eyebrow .mk {
  flex-shrink: 0;
  color: var(--bone);
}

.exit-popup-eyebrow .mk .dot {
  fill: var(--bone);
}

.exit-popup-panel h2 {
  font-size: clamp(28px, 4.6vw, 38px);
  margin-top: 20px;
  padding-right: 48px;
  color: var(--bone);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.exit-popup-desc {
  margin-top: 16px;
  color: rgba(var(--bone-rgb), 0.9);
  line-height: 1.55;
  max-width: 46ch;
}

.exit-popup-form {
  margin-top: 28px;
}

.exit-popup-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.exit-popup-row input {
  flex: 1.2;
  min-width: 0;
  border: none;
  border-radius: 999px;
  padding: 15px 22px;
  background: #fff;
  color: var(--ink);
}

.exit-popup-row input:focus {
  box-shadow: 0 0 0 3px rgba(var(--bone-rgb), 0.28);
}

.exit-popup-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  padding: 15px 22px;
  background: var(--bone);
  color: var(--signal);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}

.exit-popup-submit:hover {
  background: #fff;
}

.exit-popup-submit svg {
  width: 15px;
  height: 15px;
}

.exit-popup-error {
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: #ffc9c9;
}

.exit-popup-done {
  margin: 12px 0 0;
  font-size: 15px;
  color: rgba(var(--bone-rgb), 0.9);
  line-height: 1.5;
}

.exit-popup-form.is-done .exit-popup-row {
  display: none;
}

.exit-popup-form.is-done + .exit-popup-disclaimer,
.exit-popup-form.is-done ~ .exit-popup-dismiss {
  display: none;
}

.exit-popup-disclaimer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(var(--bone-rgb), 0.62);
}

.exit-popup-disclaimer svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
}

.exit-popup-dismiss {
  display: block;
  width: 100%;
  margin: 22px auto 0;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: rgba(var(--bone-rgb), 0.58);
  cursor: pointer;
  transition: color 0.15s;
}

.exit-popup-dismiss u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.exit-popup-dismiss:hover {
  color: rgba(var(--bone-rgb), 0.88);
}

body.exit-popup-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  .exit-popup {
    padding: 16px;
    align-items: flex-end;
  }

  .exit-popup-panel {
    border-radius: 22px;
  }

  .exit-popup-content {
    padding: 36px 24px 28px;
  }

  .exit-popup-row {
    flex-direction: column;
  }

  .exit-popup-submit {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exit-popup-backdrop,
  .exit-popup-panel {
    transition: none;
  }
}

/* ── Footer ── */
footer {
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0 40px;
}

.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line-on-dark);
}

.foot-brand .wordmark { font-size: 30px; color: var(--bone); }

.foot-brand p {
  color: rgba(var(--bone-rgb), 0.6);
  margin-top: 18px;
  max-width: 34ch;
  font-size: 15px;
}

.foot-cols {
  display: flex;
  gap: 72px;
  flex-wrap: wrap;
}

.foot-col .h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--bone-rgb), 0.45);
  margin-bottom: 16px;
}

.foot-col a {
  display: block;
  color: rgba(var(--bone-rgb), 0.78);
  font-size: 15px;
  padding: 6px 0;
  transition: color 0.15s;
}

.foot-col a:hover { color: var(--bone); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  color: rgba(var(--bone-rgb), 0.45);
}

.foot-bottom .mono { font-size: 11px; }

/* ── Responsive ── */

/* Tablet */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .about-meta {
    gap: 32px 40px;
  }
}

@media (max-width: 960px) {
  .sec-head-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .photo-stack {
    margin: 0 auto;
    max-width: 300px;
  }
}

@media (max-width: 920px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-copy p {
    max-width: none;
  }

  .form-done {
    grid-column: 1;
  }

  .foot-top {
    flex-direction: column;
    gap: 48px;
  }

  .foot-cols {
    gap: 40px 56px;
  }

  .newsletter-band {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Mobile nav */
@media (max-width: 860px) {
  :root {
    --nav-height: 64px;
  }

  [id] {
    scroll-margin-top: 80px;
  }

  /* backdrop-filter on .nav traps position:fixed children inside the header bar */
  .nav {
    backdrop-filter: none;
    background: rgba(var(--bone-rgb), 0.96);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 32px;
    padding: 24px 28px 32px;
    background: var(--bone);
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .nav-links a {
    font-size: 1.25rem;
    font-weight: 500;
    padding: 12px 20px;
    text-align: center;
    width: 100%;
    max-width: 280px;
    border-radius: 12px;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: var(--sand);
    color: var(--ink);
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .nav-cta .btn {
    justify-content: center;
    width: 100%;
  }

  .lang-switcher {
    justify-content: center;
  }

  .lang-btn {
    padding: 10px 16px;
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  .wrap {
    padding: 0 20px;
  }

  section {
    padding: 72px 0;
  }

  .benefits {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .data-band {
    margin-top: 40px;
  }

  .ben-grid,
  .off-grid {
    grid-template-columns: 1fr;
  }

  .ben-grid {
    margin-top: 40px;
    gap: 16px;
  }

  .ben {
    padding: 28px 24px;
    min-height: auto;
  }

  .ben h3 {
    font-size: 22px;
  }

  .off-grid {
    margin-top: 40px;
    border-radius: 16px;
  }

  .off {
    padding: 28px 24px;
  }

  .off h3 {
    font-size: 22px;
  }

  .how {
    margin-top: 56px;
    padding-top: 40px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-image {
    height: min(420px, 70vw);
  }

  .about-meta .m .k {
    font-size: 24px;
  }

  .hero-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 14px 16px;
    gap: 12px;
  }

  .hero-badge .txt {
    font-size: 14px;
  }

  .field.row2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  form.card {
    padding: 24px 20px;
  }

  .form-foot {
    justify-content: stretch;
  }

  .form-foot .btn-submit {
    width: 100%;
    justify-content: center;
  }

  footer {
    padding: 56px 0 32px;
  }

  .foot-cols {
    flex-direction: column;
    gap: 32px;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    margin-top: 32px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .sec-head h2,
  .contact h2,
  .about-copy h2 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .lead {
    font-size: 17px;
  }

  .btn {
    font-size: 14px;
    padding: 13px 20px;
  }

  .wordmark {
    font-size: 22px;
  }

  .brand .mk {
    width: 28px;
    height: 28px;
  }

  .about-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .about-meta .m .k {
    font-size: 20px;
  }

  .about-meta .m .v {
    font-size: 10px;
  }

  input, select {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .newsletter {
    padding: 56px 0;
  }

  .newsletter-row {
    flex-direction: column;
  }

  .newsletter-row .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .lang-btn {
    padding: 8px 12px;
  }
}

/* ── Scroll reveals ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending {
    opacity: 0;
    transform: translateY(32px);
    transition:
      opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  .reveal-pending.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ben:hover,
  .off:hover .ic,
  .btn-arrow:hover svg {
    transform: none;
  }

  .breath-lines::before,
  .breath-lines::after {
    display: none;
  }
}

@media print {
  .reveal-pending,
  .reveal-pending.is-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .breath-lines::before,
  .breath-lines::after {
    display: none !important;
  }
}
