@font-face {
  font-family: Outfit;
  src: url(/fonts/outfit.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark light;
  --wall: #10261e;
  --wall-deep: #0b1c16;
  --ink: #eef1ea;
  --soft: #b9c6bd;
  --accent: #e0ad4b;
  --on-accent: #1a1406;
  --line: rgb(238 241 234 / 0.16);
  --shadow: rgb(3 12 9 / 0.65);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --wall: #dfe6df;
    --wall-deep: #d2dbd3;
    --ink: #12231b;
    --soft: #3e5046;
    --accent: #7c5410;
    --on-accent: #fff8e8;
    --line: rgb(18 35 27 / 0.18);
    --shadow: rgb(30 50 40 / 0.35);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --wall: #dfe6df;
  --wall-deep: #d2dbd3;
  --ink: #12231b;
  --soft: #3e5046;
  --accent: #7c5410;
  --on-accent: #fff8e8;
  --line: rgb(18 35 27 / 0.18);
  --shadow: rgb(30 50 40 / 0.35);
}

:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--wall);
  color: var(--ink);
  font: 400 1.0625rem/1.6 Outfit, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

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

header { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }

.brand { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.brand span { color: var(--accent); }

.tools { display: flex; align-items: center; gap: 1.25rem; }

#theme {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}
#theme[hidden] { display: none; }
#theme:hover { color: var(--accent); }
#theme svg { display: none; width: 1.4rem; height: 1.4rem; fill: currentColor; }
#theme[data-next="light"] .sun, #theme[data-next="dark"] .moon { display: block; }

.langs { display: flex; gap: 0.85rem; font-size: 0.95rem; }
.langs a { color: var(--soft); text-decoration: none; }
.langs a[aria-current] { color: var(--ink); font-weight: 600; }

h1, h2 { font-weight: 500; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }

.lead { color: var(--soft); font-size: 1.2rem; max-width: 34ch; margin-top: 1.25rem; }
.body { color: var(--soft); max-width: 46ch; margin-top: 1rem; }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.98); }

.quiet { color: var(--soft); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3.5rem;
  align-items: center;
  padding-block: 2.5rem 5rem;
}

.hung { box-shadow: 0 2.2rem 3.5rem -1.2rem var(--shadow); }

section { padding-block: 5.5rem; }

.corners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem; }
.corners figcaption { color: var(--soft); margin-top: 0.6rem; }

.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3.5rem; align-items: center; }
.split.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

.band { position: relative; padding-block: 9rem; overflow: hidden; color: #f4f6f1; isolation: isolate; }
.band img { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(8 14 12 / 0.62); }
.band p { color: #e6ebe4; max-width: 44ch; margin-top: 1rem; font-size: 1.15rem; }

.steps { display: grid; grid-template-columns: 2fr 3fr 2fr; gap: 2.5rem; margin-top: 3rem; padding: 0; list-style: none; }
.steps strong { display: block; font-size: 1.7rem; font-weight: 500; }
.steps span { color: var(--soft); }

.private { background: var(--wall-deep); }
.private h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); max-width: 16ch; }

.faq { max-width: 46rem; }
.faq details { padding-block: 1.1rem; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 1.2rem; font-weight: 500; }
.faq p { color: var(--soft); margin-top: 0.6rem; }
.faq h2 { margin-bottom: 1.5rem; }

.close { text-align: center; }
.close .actions { justify-content: center; margin-top: 1.75rem; }

footer { border-top: 1px solid var(--line); color: var(--soft); padding-block: 2rem; font-size: 0.95rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

.legal { max-width: 46rem; padding-block: 2rem 4rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2.25rem; letter-spacing: -0.01em; }
.legal p, .legal ul { color: var(--soft); margin-top: 0.75rem; }
.legal .updated { font-size: 0.95rem; }

@media (max-width: 767px) {
  body { font-size: 1rem; }
  header { height: 4rem; }
  .brand { font-size: 1.2rem; }
  .tools { gap: 0.35rem; }
  .langs { gap: 0.6rem; font-size: 0.9rem; }
  .hero { padding-block: 1.25rem 2.5rem; }
  .hero, .split, .split.flip, .steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .split > img { order: 2; }
  h1 { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .lead { font-size: 1.1rem; max-width: none; }
  .body { max-width: none; }
  .actions { flex-direction: column; align-items: stretch; gap: 1.1rem; text-align: center; }
  .button { padding-block: 1rem; }
  .corners { grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.75rem; }
  .corners figure:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.375rem); }
  section { padding-block: 3rem; }
  .band { padding-block: 5rem; }
  .steps { margin-top: 1.75rem; }
  .private h2 { font-size: 2.3rem; }
  .faq summary { font-size: 1.1rem; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero > :last-child { animation-delay: 0.12s; }
  @supports (animation-timeline: view()) {
    .reveal { animation: slide linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* Movement only: the text keeps its full contrast while it scrolls in. */
@keyframes slide {
  from { transform: translateY(1.25rem); }
  to { transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: none; }
}
