/* PeekaWing website styles */

:root {
  color-scheme: light dark;
  --gutter: clamp(20px, 5vw, 48px);

  --paper: #F6F8FF;
  --surface: #FFFFFF;
  --ink: #1D2148;
  --ink-soft: #4A4F78;
  --line: #DCE1F3;
  --line-strong: #AEB6DA;
  --sky-2: #E7F0FF;

  --violet: #6E45D6;
  --violet-deep: #4A2AA8;
  --violet-ink: #FFFFFF;
  --violet-wash: #EEE8FF;
  --green: #12A383;
  --air-red: #E5484D;
  --air-blue: #2F5BD9;
  --todo-bg: #FFF09A;

  --scene-sky: #CFE4FF;
  --scene-sun: #FFD25E;
  --scene-cloud: #FFFFFF;
  --scene-hill: #A8DCC4;
  --scene-hill-2: #86CCAE;
  --scene-wall: #F1E9FF;
  --scene-wall-2: #DFE8FF;
  --scene-roof: #6E45D6;
  --scene-window: #FFF7D6;
  --scene-ledge: #BAC4EC;
  --scene-line: #1D2148;
  --scene-trail: #1D2148;
  --scene-stars: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #12142B;
    --surface: #1B1E3B;
    --ink: #EEF0FF;
    --ink-soft: #B4B9DE;
    --line: #2C3060;
    --line-strong: #4A5194;
    --sky-2: #222759;

    --violet: #A285FF;
    --violet-deep: #6A4FD0;
    --violet-ink: #14122B;
    --violet-wash: #2A2459;
    --green: #3DD3B2;
    --todo-bg: #6B5A10;

    --scene-sky: #1B2154;
    --scene-sun: #F4EDC6;
    --scene-cloud: #2D3577;
    --scene-hill: #1E5A55;
    --scene-hill-2: #174A46;
    --scene-wall: #2B3066;
    --scene-wall-2: #262C5E;
    --scene-roof: #5B3BB8;
    --scene-window: #FFD86B;
    --scene-ledge: #3B4389;
    --scene-line: #0C0E26;
    --scene-trail: #C9CEEA;
    --scene-stars: .85;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 {
  font-family: "Baloo 2", "Figtree", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.todo {
  background: var(--todo-bg);
  border-radius: 4px;
  padding: 0 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--violet); color: var(--violet-ink);
  font: 700 1.0625rem/1 "Figtree", system-ui, sans-serif;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--violet-deep);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--violet-deep); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--violet-deep); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .9375rem; box-shadow: 0 3px 0 var(--violet-deep); }

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  text-decoration-color: var(--green);
}
.text-link:hover { text-decoration-color: var(--violet); }

.link-btn {
  background: none; border: 0; padding: 6px 4px; cursor: pointer;
  font: 700 1rem "Figtree", sans-serif; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
  text-decoration-color: var(--green);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 21;
  height: env(safe-area-inset-top, 0px);
  background: var(--paper);
}
.nav { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font: 800 1.5rem/1 "Baloo 2", system-ui, sans-serif;
  letter-spacing: -0.01em;
}
.brand img { width: 38px; height: 38px; }
.brand span { padding-top: 4px; }
.site-nav { margin-left: auto; }
.nav-links { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); background: var(--sky-2); }
@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav .btn { margin-left: auto; }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2.125rem, 4.4vw, 3.25rem); }
.section-head p { color: var(--ink-soft); margin-top: 14px; max-width: 52ch; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero h1 { font-size: clamp(3rem, 6.4vw, 5rem); max-width: 11ch; line-height: .98; }
.hero-lede {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 22px 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-note { margin-top: 22px; font-size: .9375rem; color: var(--ink-soft); }

.scene-wrap { position: relative; }
.flight-scene { width: 100%; height: auto; }
.s-sky { fill: var(--scene-sky); }
.s-sun { fill: var(--scene-sun); }
.s-stars { fill: #FFFFFF; opacity: var(--scene-stars); }
.s-cloud { fill: var(--scene-cloud); }
.s-hill { fill: var(--scene-hill); }
.s-hill-2 { fill: var(--scene-hill-2); }
.s-wall, .s-wall-2, .s-roof, .s-window, .s-ledge {
  stroke: var(--scene-line); stroke-width: 3; stroke-linejoin: round;
}
.s-wall { fill: var(--scene-wall); }
.s-wall-2 { fill: var(--scene-wall-2); }
.s-roof { fill: var(--scene-roof); }
.s-window { fill: var(--scene-window); }
.s-ledge { fill: var(--scene-ledge); }
.s-frame { fill: none; stroke: var(--scene-line); stroke-width: 3; }
.s-trail {
  fill: none; stroke: var(--scene-trail); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: .1 14; opacity: .4;
}
.bird-line { stroke: var(--scene-line); stroke-width: 2.5; stroke-linejoin: round; }

.wing {
  transform-box: fill-box;
  transform-origin: 80% 88%;
  animation: flap .36s ease-in-out .78s 11, fold .45s ease-out 4.6s forwards;
}
@keyframes flap {
  0%, 100% { transform: none; }
  50% { transform: scaleY(-.55) rotate(-6deg); }
}
@keyframes fold {
  to { transform: rotate(-6deg) scale(.86, .5); }
}

.landed-note {
  position: absolute; right: 5%; bottom: -22px;
  display: flex; align-items: center; gap: 12px;
  max-width: 320px;
  padding: 12px 18px 12px 14px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  animation: note-in .55s cubic-bezier(.2, 1.4, .4, 1) 4.9s both;
}
.landed-note svg { flex: none; width: 36px; height: 36px; }
.landed-note strong { display: block; font: 700 1.0625rem/1.2 "Baloo 2", sans-serif; padding-top: 2px; }
.landed-note span { display: block; font-size: .875rem; line-height: 1.35; color: var(--ink-soft); }
@keyframes note-in {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 13ch; }
}

/* How it works */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: calc((100% - 64px) / 3 - 29px);
  border-top: 4px dotted var(--line-strong);
}
.step { position: relative; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 58px; height: 58px; margin-bottom: 22px;
  border-radius: 50%; border: 3px solid var(--ink);
  background: var(--surface);
  font: 800 1.625rem/1 "Baloo 2", sans-serif; padding-top: 4px;
}
.step:last-child .step-num { background: var(--violet); color: var(--violet-ink); }
.step h3 { font-size: 1.625rem; }
.step p { color: var(--ink-soft); margin-top: 8px; max-width: 30ch; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { top: 30px; bottom: 30px; left: 27px; right: auto; border-top: 0; border-left: 4px dotted var(--line-strong); }
  .step { padding-left: 84px; min-height: 58px; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
}

/* Perforated stamp edges */
.perf {
  --hole: 6px;
  --gap: 18px;
  --behind: var(--paper);
  --stamp-bg: var(--surface);
  background:
    radial-gradient(circle at 50% 0, var(--behind) var(--hole), transparent calc(var(--hole) + .6px)) left top / var(--gap) var(--gap) round no-repeat,
    radial-gradient(circle at 50% 100%, var(--behind) var(--hole), transparent calc(var(--hole) + .6px)) left bottom / var(--gap) var(--gap) round no-repeat,
    radial-gradient(circle at 0 50%, var(--behind) var(--hole), transparent calc(var(--hole) + .6px)) left top / var(--gap) var(--gap) no-repeat round,
    radial-gradient(circle at 100% 50%, var(--behind) var(--hole), transparent calc(var(--hole) + .6px)) right top / var(--gap) var(--gap) no-repeat round,
    var(--stamp-bg);
}

/* Postcards */
.postcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.postcard {
  display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 24px;
  padding: 30px 28px 34px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 6px 6px 0 var(--ink);
}
.postcard:first-child { transform: rotate(-1.2deg); }
.postcard:last-child { transform: rotate(1deg); }
.postcard h3 { font-size: 1.875rem; }
.postcard p { color: var(--ink-soft); margin-top: 12px; }
.postcard-side {
  display: flex; flex-direction: column; gap: 16px;
  padding-left: 22px; border-left: 2px dashed var(--line-strong);
}
.mini-stamp {
  --hole: 4px; --gap: 12px; --behind: var(--surface);
  align-self: flex-end;
  width: 76px; height: 90px; padding: 9px;
}
.mini-stamp span {
  display: grid; place-items: center; height: 100%;
  border: 2px solid var(--ink); border-radius: 2px; color: var(--ink);
}
.mini-stamp svg { width: 30px; height: 30px; }
.stamp-green { --stamp-bg: #C8F0E3; }
.stamp-violet { --stamp-bg: #E2D8FF; }
@media (prefers-color-scheme: dark) {
  .stamp-green { --stamp-bg: #1E5A55; }
  .stamp-violet { --stamp-bg: #3A2F7A; }
}
.address-line { height: 2px; border-radius: 2px; background: var(--line-strong); }
.address-line:first-of-type { margin-top: 18px; }
@media (max-width: 820px) {
  .postcards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .postcard { grid-template-columns: 1fr; }
  .postcard-side { display: none; }
}

/* Reveal */
.reveal-section { background: var(--surface); border-block: 1px solid var(--line); }
.reveal-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px); align-items: center;
}
.reveal-grid .section-head { margin-bottom: 0; }
.reveal-demo {
  display: grid; justify-items: center; gap: 18px; text-align: center;
  padding: clamp(24px, 4vw, 40px);
  background: var(--sky-2);
  border-radius: 28px;
}
.mystery-card {
  width: min(340px, 100%);
  padding: 28px 20px 24px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 4px 4px 0 var(--ink);
}
.avatar {
  position: relative; width: 96px; height: 96px; margin: 0 auto 16px;
  border-radius: 50%; border: 2px solid var(--ink); overflow: hidden;
}
.avatar-hidden, .avatar-shown {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 800 2.75rem/1 "Baloo 2", sans-serif; padding-top: 6px;
}
.avatar-hidden {
  background: repeating-conic-gradient(#C9CEEA 0 25%, #9AA3CB 0 50%) 0 0 / 18px 18px;
  color: #1D2148;
}
.avatar-shown {
  background: linear-gradient(135deg, #17B08E, #6E45D6);
  color: #FFFFFF;
}
.card-name { font: 800 1.5rem/1.15 "Baloo 2", sans-serif; }
.card-meta { color: var(--ink-soft); font-size: 1rem; margin-top: 2px; }
.consent-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.consent {
  display: inline-flex; gap: 6px; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line-strong);
  font-size: .8125rem; font-weight: 600; white-space: nowrap;
}
.consent-state { color: var(--ink-soft); font-weight: 500; }
.reveal-status { color: var(--ink-soft); font-size: 1rem; min-height: 3.2em; max-width: 36ch; }

.reveal-demo[data-state="hidden"] .shown,
.reveal-demo[data-state="waiting"] .shown,
.reveal-demo[data-state="revealed"] .hidden { display: none; }
.reveal-demo[data-state="waiting"] [data-who="you"],
.reveal-demo[data-state="revealed"] .consent { background: var(--green); border-color: var(--green); color: #0B2B24; }
.reveal-demo[data-state="waiting"] [data-who="you"] .consent-state,
.reveal-demo[data-state="revealed"] .consent-state { color: inherit; }
.reveal-demo[data-state="revealed"] .avatar-shown { animation: pop .45s cubic-bezier(.2, 1.5, .4, 1); }
.reveal-demo[data-state="waiting"] .avatar { animation: wait 1s ease-in-out infinite; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wait { 50% { transform: translateY(-4px) rotate(-3deg); } }

@media (max-width: 860px) {
  .reveal-grid { grid-template-columns: 1fr; }
}

/* Safety */
.safety-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 56px;
}
.safety-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; }
.safety-icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; background: var(--sky-2); color: var(--ink);
  font: 800 1.0625rem/1 "Baloo 2", sans-serif; padding-top: 2px;
}
.safety-icon svg { width: 24px; height: 24px; }
.safety-list h3 { font-size: 1.375rem; padding-top: 4px; }
.safety-list p { color: var(--ink-soft); margin-top: 6px; max-width: 38ch; }
@media (max-width: 700px) { .safety-list { grid-template-columns: 1fr; } }

/* Pricing stamps */
.stamps-sheet {
  width: fit-content; max-width: 100%;
  padding: clamp(20px, 4vw, 44px);
  background: var(--sky-2);
  border-radius: 28px;
}
.stamps-sheet .perf { --behind: var(--sky-2); }
.stamps { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: clamp(28px, 4vw, 48px); }
.stamp { padding: 20px; }
.stamp-free { --stamp-bg: var(--surface); }
.stamp-plus { --stamp-bg: #E2D8FF; }
@media (prefers-color-scheme: dark) { .stamp-plus { --stamp-bg: #3A2F7A; } }
.stamp-inner {
  height: 100%;
  padding: 26px 26px 30px;
  border: 2px solid var(--ink);
  border-radius: 3px;
}
.stamp-value {
  display: flex; align-items: baseline; gap: 8px;
  font: 800 clamp(3.25rem, 6.5vw, 4.5rem)/1 "Baloo 2", sans-serif;
  letter-spacing: -0.02em;
}
.stamp-value small { font: 600 1.0625rem/1 "Figtree", sans-serif; color: var(--ink-soft); letter-spacing: 0; white-space: nowrap; }
.stamp-name { font-size: 1.5rem; margin: 8px 0 18px; }
.stamp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stamp li { position: relative; padding-left: 30px; }
.stamp li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.pricing-note { margin-top: 32px; color: var(--ink-soft); font-size: 1rem; max-width: 62ch; }
@media (max-width: 760px) { .stamps { grid-template-columns: minmax(0, 420px); } }

/* About */
.about-text { max-width: 60ch; }
.about-text p { font-size: clamp(1.1875rem, 1.8vw, 1.375rem); line-height: 1.55; }
.about-text p + p { margin-top: 18px; color: var(--ink-soft); font-size: 1.125rem; }

/* Waitlist envelope */
.envelope {
  padding: 14px;
  border-radius: 22px;
  background: repeating-linear-gradient(-45deg,
    var(--air-red) 0 18px, var(--surface) 18px 30px,
    var(--air-blue) 30px 48px, var(--surface) 48px 60px);
}
.envelope-inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 60px);
  background: var(--surface);
  border-radius: 12px;
}
.envelope h2 { font-size: clamp(2.125rem, 4.2vw, 3.125rem); }
.envelope .lede { color: var(--ink-soft); margin-top: 14px; max-width: 40ch; }
@media (max-width: 820px) { .envelope-inner { grid-template-columns: 1fr; } }

/* Forms */
.form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px; padding: 0 20px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font: 500 1.0625rem "Figtree", sans-serif;
}
.form-row .input { flex: 1 1 220px; width: auto; }
.select { appearance: none; border-radius: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%234A4F78' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; padding-right: 48px; }
.textarea { border-radius: 16px; padding: 14px 20px; min-height: 160px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--ink-soft); opacity: .8; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 1rem; }
.form-stack { display: grid; gap: 20px; }
.fine { font-size: .9375rem; color: var(--ink-soft); margin-top: 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Legal pages */
.legal { padding-block: clamp(40px, 7vw, 80px) clamp(64px, 9vw, 112px); }
.legal-head { max-width: 68ch; margin-bottom: clamp(28px, 4vw, 44px); padding-bottom: 28px; border-bottom: 2px dashed var(--line-strong); }
.legal-head h1 { font-size: clamp(2.5rem, 5.4vw, 3.75rem); }
.legal-head p { color: var(--ink-soft); margin-top: 14px; max-width: 60ch; }
.legal-updated { font-size: 1rem; }
.legal-body { max-width: 68ch; }
.legal-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); margin: 48px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.3125rem; margin: 28px 0 8px; }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { padding-left: 1.3em; margin: 12px 0 0; }
.legal-body li { margin-top: 8px; }
.legal-body li::marker { color: var(--violet); }
.legal-body a { text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.callout { margin-top: 18px; padding: 20px 22px; border-radius: 16px; background: var(--sky-2); }
.callout p + p { margin-top: 6px; }
.details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; }
.details dt { font-weight: 700; }
.details dd { margin: 0; overflow-wrap: anywhere; }

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.contact-card {
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 5px 5px 0 var(--ink);
}
.contact-card h2 { font-size: 1.75rem; margin-bottom: 18px; }
.contact-card + .contact-card { margin-top: 28px; }
.contact-form h2 { font-size: 1.75rem; margin-bottom: 20px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Simple centered pages (thanks, 404) */
.center-page { padding-block: clamp(72px, 12vw, 140px); text-align: center; }
.center-page img { width: 88px; height: 88px; margin: 0 auto 28px; }
.center-page h1 { font-size: clamp(2.5rem, 6vw, 4rem); max-width: 16ch; margin-inline: auto; }
.center-page p { color: var(--ink-soft); margin: 16px auto 32px; max-width: 46ch; }

/* Footer */
.site-footer { background: var(--surface); }
.site-footer::before {
  content: ""; display: block; height: 10px;
  background: repeating-linear-gradient(-45deg,
    var(--air-red) 0 14px, var(--surface) 14px 22px,
    var(--air-blue) 22px 36px, var(--surface) 36px 44px);
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px; padding-block: 56px 36px;
}
.footer-brand p { color: var(--ink-soft); margin-top: 14px; max-width: 28ch; }
.footer-col h2 { font: 700 1rem/1.3 "Figtree", sans-serif; letter-spacing: 0; margin: 4px 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-soft); text-decoration: none; font-size: 1rem; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  padding-block: 22px 32px; border-top: 1px solid var(--line);
  font-size: .9375rem; color: var(--ink-soft);
}
.footer-bottom a { color: inherit; }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* Less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wing { animation: none; transform: rotate(-6deg) scale(.86, .5); }
  .landed-note { animation: none; }
  .btn, .btn:hover, .btn:active { transition: none; }
  .reveal-demo[data-state="revealed"] .avatar-shown,
  .reveal-demo[data-state="waiting"] .avatar { animation: none; }
}
