/* Schaduwvanger landing page
   Palette: charcoal #1C1C1E, offwhite #F5F5F7, amber #FFB300
   Dark-first, minimal, contemplative
*/

:root {
  --charcoal: #1C1C1E;
  --charcoal-2: #232325;
  --charcoal-3: #2A2A2C;
  --line: #38383A;
  --offwhite: #F5F5F7;
  --offwhite-dim: #E8E8EB;
  --muted: #B0B0B5;
  --muted-2: #8E8E93;
  --muted-dark: #4B4B4F;
  --amber: #FFB300;
  --amber-hover: #FFC233;
  --amber-deep: #C98C00;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --content-w: 1120px;

  --font-sans: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--charcoal);
  color: var(--offwhite);
  font-family: var(--font-sans);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--amber);
  color: var(--charcoal);
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding-block: 120px;
  border-top: 1px solid var(--line);
}
section:first-of-type { border-top: none; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in oklab, var(--charcoal) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
  object-fit: cover;
  flex: 0 0 28px;
}

.tag-beta {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid color-mix(in oklab, var(--amber) 50%, transparent);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a:hover { color: var(--offwhite); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--amber);
  color: var(--charcoal);
}
.btn-primary:hover { background: var(--amber-hover); }

.btn-ghost {
  background: transparent;
  color: var(--offwhite);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--offwhite-dim); }

.btn .arrow {
  width: 14px;
  height: 14px;
  transition: transform .15s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  padding-top: 80px;
  padding-bottom: 140px;
  border-top: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero h1 .accent {
  color: var(--amber);
  font-style: normal;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-meta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-dark);
}
.hero-meta .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--muted-2);
}

/* Shadow card: the paper on which today's silhouette lives */
.shadow-card {
  position: relative;
  background: var(--offwhite);
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 460px;
  margin-inline-start: auto;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 60px -20px rgba(0,0,0,0.55),
    0 8px 24px -8px rgba(0,0,0,0.5);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 22px 22px 24px;
  color: var(--charcoal);
  user-select: none;
}

.shadow-card .chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-dark);
}
.shadow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--charcoal);
  color: var(--offwhite);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.shadow-chip .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--amber) 60%, transparent);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--amber) 60%, transparent); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.shadow-stage {
  display: grid;
  place-items: center;
  position: relative;
}
.shadow-stage > * {
  opacity: 0;
  transition: opacity .5s ease-out;
}
.shadow-stage > *.is-loaded {
  opacity: 1;
}
.shadow-stage svg {
  width: 62%;
  height: auto;
  fill: var(--charcoal);
  transition: opacity .35s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.shadow-stage svg.is-out { opacity: 0; transform: scale(.94); }
.shadow-stage img.live-shadow {
  width: 62%;
  height: auto;
  object-fit: contain;
}

.shadow-footnote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted-dark);
}
.shadow-footnote .switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--charcoal) 12%, transparent);
  color: var(--muted-2);
  padding: 5px 10px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.shadow-footnote .switcher:hover { color: var(--charcoal); border-color: var(--charcoal); }

/* ---------- "Zo werkt het" ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.step {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 36px;
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.step .time {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 20px;
}
.step .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--charcoal);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--offwhite);
}
.step .icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.step h3 {
  font-size: 19px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.step .num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}

.section-head {
  max-width: 640px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-head p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Voorbeeld-koppel ---------- */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
  align-items: stretch;
}
.pair-card {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  grid-template-rows: 1fr auto;
}
.pair-card.silhouette {
  background: var(--offwhite);
  border-color: var(--offwhite);
}
.pair-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pair-card.silhouette .pair-stage {
  display: grid;
  place-items: center;
}
.pair-card.silhouette svg {
  width: 54%;
  fill: var(--charcoal);
}

/* Photo placeholder: striped, monospace */
.photo-placeholder {
  position: relative;
  background-image:
    repeating-linear-gradient(
      135deg,
      var(--charcoal-3) 0 12px,
      var(--charcoal-2) 12px 24px
    );
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 24px;
}
.photo-placeholder .ph-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.photo-placeholder .ph-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px dashed var(--muted-2);
  display: grid;
  place-items: center;
  color: var(--muted-dark);
}
.photo-placeholder .ph-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.pair-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--charcoal);
}
.pair-card.silhouette .pair-foot {
  background: var(--offwhite-dim);
  border-top-color: color-mix(in oklab, var(--charcoal) 8%, transparent);
  color: var(--muted-dark);
}
.pair-score {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.pair-score .num {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--amber);
}
.pair-score .label {
  font-size: 13px;
  color: var(--muted);
}

.pair-caption {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted-2);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  text-align: center;
}

/* ---------- Waarom rustig ---------- */
.calm {
  text-align: left;
}
.calm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}
.calm-text p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--offwhite-dim);
  margin: 0 0 22px;
}
.calm-text p:last-child { margin-bottom: 0; }

.calm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.calm-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--offwhite);
}
.calm-list li:last-child { border-bottom: 1px solid var(--line); }
.calm-list li .no {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  flex: 0 0 56px;
}
.calm-list li .what {
  color: var(--offwhite);
}

/* ---------- Signup ---------- */
.signup {
  text-align: center;
}
.signup-inner {
  max-width: 560px;
  margin-inline: auto;
}
.signup h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.signup p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 36px;
  line-height: 1.5;
}

.signup-form {
  display: flex;
  gap: 8px;
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 999px;
  transition: border-color .15s ease;
}
.signup-form:focus-within {
  border-color: var(--amber);
}
.signup-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--offwhite);
  font-family: inherit;
  font-size: 15px;
  padding: 0 20px;
  min-width: 0;
}
.signup-form input::placeholder { color: var(--muted-2); }
.signup-form button {
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--charcoal);
  font-family: inherit;
  font-weight: 500;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: background-color .15s ease;
  white-space: nowrap;
}
.signup-form button:hover { background: var(--amber-hover); }
.signup-form button:disabled { opacity: .55; cursor: progress; }

.signup-fineprint {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.5;
}
.signup-status {
  margin-top: 24px;
  font-size: 14px;
  min-height: 22px;
  color: var(--muted);
  transition: color .2s ease;
}
.signup-status.is-error { color: #FF7A6E; }
.signup-status.is-ok {
  color: var(--amber);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-dark);
}
.foot-links {
  display: flex;
  gap: 28px;
}
.foot-links a:hover { color: var(--offwhite); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section { padding-block: 88px; }
  .hero { padding-top: 56px; padding-bottom: 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .shadow-card { margin-inline: auto; max-width: 420px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { min-height: 0; }
  .pair { grid-template-columns: 1fr; }
  .calm-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .wrap { padding-inline: 20px; }
  section { padding-block: 72px; }
  .hero { padding-bottom: 72px; }
  .hero h1 { font-size: 40px; }
  .signup-form {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 8px;
    gap: 6px;
  }
  .signup-form input {
    padding: 14px 12px;
    text-align: center;
  }
  .signup-form button { width: 100%; height: 48px; }
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}
