/* 04 split — one flat blue, one white, a hard vertical cut. */

:root {
  --blue: #0047ff;
  --ink: #121212;
  --muted: #5c5a56;
  --line: #e4e3e0;
  --bg: #fefefe;
  --wrap: 1120px;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

::selection { background: var(--blue); color: #fff; }

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

.wrap {
  width: min(100% - 3rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--blue);
  color: #fff;
  padding: 0.65rem 0.85rem;
  z-index: 80;
  text-decoration: none;
}
.skip-link:focus { transform: none; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  flex: 0 0 auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.wordmark:hover { text-decoration: none; }
.wordmark-live {
  gap: 0.22em;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.24em;
  line-height: 1;
}
.wordmark-live .wm { display: inline-block; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  min-width: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.header-nav a {
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--muted);
}
.header-nav a:hover { color: var(--ink); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}
.lang-switch button.is-active {
  background: var(--blue);
  color: #fff;
}
.lang-switch button:focus-visible { outline-offset: -2px; }

/* Header plus the split fill the first screen. Later sections follow. */

.first-screen {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 0;
}

.hero-blue,
.hero-white {
  min-width: 0;
}

.hero-blue {
  background: var(--blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vh, 3rem);
  padding: clamp(2rem, 4.5vw, 4.25rem) clamp(1.5rem, 4vw, 4rem);
}
.hero-blue :focus-visible { outline-color: #fff; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.hero-title {
  margin: 0;
  max-width: 11em;
  font-size: clamp(2.35rem, 3.55vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-face {
  align-self: flex-start;
  width: 168px;
  height: 168px;
}

.hero-white {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.hero-lead {
  margin: 0;
  max-width: 16em;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: balance;
}

.hero-actions { margin: 0; }

.how-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.how-link::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  transition: width 0.25s var(--ease);
}
.how-link:hover::after { width: 2.6rem; }

/* Face — geometry from the live hero. Colors only, so it sits on the blue. */

.face-stage {
  position: relative;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  overflow: visible;
}
.face-rig {
  width: 132px;
  height: 132px;
  transform-origin: 50% 60%;
  z-index: 1;
}
.face-orb {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%,
    #ffffff 0%,
    #f3f6ff 12%,
    #d5def3 40%,
    #b4c2df 68%,
    #96a8c8 100%);
  box-shadow:
    0 16px 34px rgba(0, 24, 90, 0.28),
    inset 0 0 16px rgba(255, 255, 255, 0.7),
    inset 8px 10px 14px rgba(255, 255, 255, 0.9),
    inset -10px -14px 18px rgba(18, 42, 96, 0.32);
  transform-origin: 50% 62%;
  cursor: pointer;
}
.face-orb::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 16%;
  width: 38%;
  height: 20%;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.1) 70%, transparent);
  pointer-events: none;
}
.face-eyes {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 58px;
  height: 28px;
  margin-left: -29px;
  margin-top: -14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.face-eye {
  width: 11px;
  height: 26px;
  border-radius: 999px;
  background: #071226;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
}
.face-shadow {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 78px;
  height: 12px;
  margin-left: -39px;
  border-radius: 50%;
  background: rgba(0, 16, 64, 0.38);
  filter: blur(2px);
  z-index: 0;
}
.face-line {
  margin: 0.35rem 0 0;
  max-width: 16rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  min-height: 1.5em;
}
.face-spray {
  position: absolute;
  left: 50%;
  top: 68%;
  width: 0;
  height: 0;
  z-index: 3;
  pointer-events: none;
}
.face-drop {
  position: absolute;
  width: 5px;
  height: 8px;
  margin: -4px 0 0 -2px;
  border-radius: 40%;
  background: rgba(255, 255, 255, 0.92);
  animation: face-drop 620ms cubic-bezier(0.12, 0.7, 0.2, 1) forwards;
}
@keyframes face-drop {
  0% { opacity: 0; transform: translate(0, 0) scale(0.35); }
  18% { opacity: 0.95; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.25); }
}

[data-hero] {
  animation: hero-in 0.7s var(--ease) both;
}
[data-hero="1"] { animation-delay: 0.04s; }
[data-hero="2"] { animation-delay: 0.12s; }
[data-hero="3"] { animation-delay: 0.2s; }
[data-hero="4"] { animation-delay: 0.28s; }

@keyframes hero-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Later sections */

.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }

.section-head { max-width: 34rem; }
.section-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}
.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.75rem);
}
.step {
  margin: 0;
  padding-top: 1.15rem;
  border-top: 2px solid var(--blue);
}
.step-num {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-included { background: #f4f6fb; }

.include-grid {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.include-card {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  gap: 1.25rem 2rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.include-card h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.include-card p {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

.section-cta {
  background: var(--blue);
  color: #fff;
  padding: clamp(4.25rem, 9vw, 6.5rem) 0;
}
.cta-inner { max-width: 40rem; }
.section-cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}
.section-cta p {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: 1.12rem;
  color: #fff;
}
.cta-mail {
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  padding-bottom: 0.12rem;
}
.cta-mail:hover { border-bottom-color: transparent; }
.section-cta :focus-visible { outline-color: #fff; }

/* Footer */

.site-footer {
  background: #fff;
  padding: 3.25rem 0 2.25rem;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem 3rem;
}
.footer-wordmark { margin-bottom: 0.85rem; }
.footer-tag {
  margin: 0;
  color: var(--muted);
}
.footer-name {
  margin: 1.15rem 0 0.2rem;
  font-size: 0.98rem;
}
.footer-address {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-content: start;
}
.footer-label {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-cols p { margin: 0; }
.footer-cols a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-copy {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .include-card { grid-template-columns: 1fr; gap: 0.35rem; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 2rem, var(--wrap)); }

  .header-inner {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "mark lang"
      "nav nav";
    align-items: center;
    gap: 0.55rem 0.75rem;
    padding: 0.75rem 0;
  }
  .wordmark { grid-area: mark; }
  .wordmark-live {
    font-size: 13px;
    letter-spacing: 0.14em;
    gap: 0.16em;
  }
  .header-tools {
    display: contents;
  }
  .lang-switch { grid-area: lang; justify-self: end; }
  .header-nav {
    grid-area: nav;
    gap: 0.85rem 1rem;
    flex-wrap: wrap;
  }
  .header-nav a { font-size: 0.86rem; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.32fr) minmax(0, 0.68fr);
  }

  .hero-blue {
    padding: 1.15rem 1.15rem 1rem;
    gap: 0.75rem;
  }
  .eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    letter-spacing: 0.11em;
  }
  .hero-title {
    font-size: clamp(1.55rem, 7.2vw, 1.95rem);
    line-height: 1.02;
  }
  .hero-face {
    zoom: 0.62;
  }

  .hero-white {
    justify-content: center;
    padding: 1.15rem 1.15rem 1.25rem;
    gap: 0.9rem;
  }
  .hero-lead {
    font-size: 1.02rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }
  .how-link { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-hero] { opacity: 1 !important; }
}
