/*
  Swingset — the Mining Humans page, turned to the light: paper white, near-black
  words, and the logo's teal. Same layout and the same motion; only the surfaces
  and colours change.

  The logo's teal (#2BB3A3) is too pale to read as text on white, so it is kept
  for the things that are decoration — glows, the rule, switches, the swing
  strip — and a deeper teal from the same family does the words and buttons.
*/

:root {
  --paper: #f7f7f5;
  --white: #ffffff;
  --ink: #0f1114;
  --muted: rgba(15, 17, 20, 0.64);
  --line: rgba(15, 17, 20, 0.09);
  --teal: #2bb3a3;         /* the logo's teal: decoration only */
  --teal-light: #8ed9cf;   /* the logo's off-swing days */
  --teal-deep: #0e7468;    /* words and buttons: 5:1 on paper */
  --teal-deeper: #0a5c53;
  --mint: #047857;
  --amber: #b45309;
  --red: #b91c1c;
  --shadow-sm: 0 1px 2px rgba(15, 17, 20, 0.04), 0 10px 28px rgba(15, 17, 20, 0.06);
  --shadow-lg: 0 2px 6px rgba(15, 17, 20, 0.05), 0 40px 90px rgba(15, 17, 20, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
em { font-style: normal; color: var(--ink); }
.accent { color: var(--teal-deep); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--teal-deep); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { left: 16px; }

h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(48px, 7vw, 104px); font-weight: 800; }
h2 { font-size: clamp(38px, 5vw, 72px); font-weight: 700; }
h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; }
.sub { color: var(--muted); font-size: clamp(18px, 1.6vw, 22px); max-width: 620px; margin: 22px 0 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: var(--teal-deep); color: #fff; border: 0;
  font: 600 17px/1 Inter, sans-serif; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 30px rgba(14, 116, 104, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(14, 116, 104, 0.36); background: var(--teal-deeper); }
.btn:focus-visible, .nav-links a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--white); border-color: rgba(14, 116, 104, 0.4); box-shadow: var(--shadow-sm); }
.btn-small { padding: 11px 20px; font-size: 15px; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 16px var(--gutter);
  background: rgba(247, 247, 245, 0.82);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav-links { display: none; } .nav .btn-small { margin-left: auto; } }

/* ---------------------------------------------------------------- devices */
/* The app itself is dark, so its devices stay dark: they read as hardware
   sitting on a light desk, the way product pages show them. */
.tablet, .phone {
  margin: 0;
  background: linear-gradient(160deg, #3a3a44 0%, #16161c 45%, #24242d 100%);
  box-shadow: 0 0 0 1px rgba(15, 17, 20, 0.14), 0 0 0 1px #000 inset,
    0 40px 90px rgba(15, 17, 20, 0.24), 0 0 120px rgba(43, 179, 163, 0.16);
}
.tablet { padding: 2.6%; border-radius: 6% / 4.5%; width: 100%; max-width: 560px; }
.tablet img { border-radius: 3.5% / 2.6%; width: 100%; height: auto; }
.phone { padding: 3.2%; border-radius: 13% / 6.2%; width: 100%; max-width: 280px; }
.phone img { border-radius: 10.5% / 4.9%; width: 100%; height: auto; }
.browser {
  margin: 0; border-radius: 16px; overflow: hidden; background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #eeeeeb; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(15, 17, 20, 0.16); }
.browser-bar i:nth-child(1) { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 14px; font-size: 13px; color: var(--muted); background: var(--white); padding: 4px 14px; border-radius: 8px; }

/* Devices tilt up into place the first time they scroll into view. */
.tilt-in {
  opacity: 0;
  transform: perspective(1600px) rotateX(18deg) rotateY(-8deg) translateY(70px) scale(0.94);
  transition: opacity 0.9s var(--ease) var(--delay, 0s), transform 1.2s var(--ease) var(--delay, 0s);
}
.flip .tilt-in { transform: perspective(1600px) rotateX(18deg) rotateY(8deg) translateY(70px) scale(0.94); }
.tilt-in.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- words */
/* Headlines rise in word by word (script.js wraps each word). */
.rise .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.rise .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.rise.in .w > span { transform: none; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.rule { display: block; width: 0; height: 6px; border-radius: 3px; background: var(--teal); margin-bottom: 30px; transition: width 0.8s var(--ease) 0.1s; }
.in .rule, .reveal.in .rule { width: 72px; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: calc(100vh - 70px);
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px;
  padding: 60px var(--gutter) 80px; max-width: 1440px; margin: 0 auto;
}
.hero-glow { position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(43, 179, 163, 0.26), rgba(43, 179, 163, 0) 70%); }
.hero-copy { position: relative; z-index: 2; }

/* A week of a swing, like the logo: four days on, three off. The on days
   light up one after another when the page opens. */
.swing-strip { display: flex; gap: 7px; margin: 0 0 24px; }
.swing-strip i { width: 22px; height: 22px; border-radius: 6px; background: var(--teal-light); opacity: 0.55; }
.swing-strip i:nth-child(-n + 4) { animation: day-on 0.5s var(--ease) both; animation-delay: calc(var(--n) * 0.12s + 0.3s); }
.swing-strip i:nth-child(1) { --n: 0; }
.swing-strip i:nth-child(2) { --n: 1; }
.swing-strip i:nth-child(3) { --n: 2; }
.swing-strip i:nth-child(4) { --n: 3; }
@keyframes day-on { from { transform: scale(0.6); } to { background: var(--teal); opacity: 1; transform: none; } }

.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 14px; font-weight: 700; color: var(--teal-deep); margin: 0 0 22px; }
.cycle { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin: 26px 0 0; display: flex; gap: 0.3em; }
.cycle-words { position: relative; display: inline-block; height: 1.2em; overflow: hidden; min-width: 11ch; }
.cycle-words span { position: absolute; left: 0; top: 0; color: var(--teal-deep); opacity: 0; transform: translateY(80%); filter: blur(6px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), filter 0.5s; }
.cycle-words span.on { opacity: 1; transform: none; filter: none; }
.cycle-words span.off { opacity: 0; transform: translateY(-80%); filter: blur(6px); }
.lede { color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); max-width: 560px; margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-device { position: relative; z-index: 2; justify-self: center; width: min(100%, 520px); }
.float-chip {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 16px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(15, 17, 20, 0.14); font-weight: 600; font-size: 16px;
  opacity: 0; transform: translateX(60px) scale(0.92);
  animation: chip-in 0.9s var(--ease) forwards, bob 6s ease-in-out infinite;
  animation-delay: var(--d), calc(var(--d) + 0.9s);
}
.float-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.chip-amber { color: var(--amber); }
.chip-red { color: var(--red); }
.chip-mint { color: var(--mint); }
@keyframes chip-in { to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -8px; } }

/* Floating paperwork behind the hero, as in the ad's opening. */
.papers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.paper {
  position: absolute; display: flex; gap: 14px; align-items: center;
  width: 250px; padding: 16px 18px; border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(15, 17, 20, 0.1);
  animation: drift var(--t) ease-in-out infinite alternate;
}
.paper i { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(43, 179, 163, 0.14); color: var(--teal-deep); }
.paper i svg { width: 24px; height: 24px; }
.paper b { display: block; font-size: 16px; white-space: nowrap; }
.paper small { color: var(--muted); font-size: 13px; }
@keyframes drift { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r2)); } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; text-align: left; }
  .hero-device { width: min(100%, 420px); }
  .float-chip { font-size: 14px; padding: 10px 14px; left: auto; right: 62%; }
}
@media (max-width: 520px) { .float-chip { display: none; } }

/* ---------------------------------------------------------------- problem */
.problem { max-width: 1000px; margin: 0 auto; padding: 120px var(--gutter); text-align: center; }
.big-line { font-size: clamp(36px, 4.6vw, 66px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
.problem .sub { margin: 30px auto 0; max-width: 700px; }

/* ---------------------------------------------------------------- features */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 110px);
  max-width: var(--max); margin: 0 auto; padding: 110px var(--gutter);
}
.feature > figure, .feature > .device-pair { justify-self: center; }
.feature.flip .feature-copy { order: 2; }
.points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; max-width: 560px; }
.points li { position: relative; padding-left: 38px; color: var(--muted); }
.points li b { color: var(--ink); font-weight: 600; }
.points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(43, 179, 163, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7468' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.device-pair { position: relative; width: 100%; max-width: 560px; }
.device-pair .phone { position: absolute; right: -6%; bottom: -8%; width: 38%; }
.feature-onsite .device-pair .tablet { width: 86%; }

.sort-demo { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.sort-files { display: flex; flex-wrap: wrap; gap: 8px; max-width: 280px; }
.sort-files span { font-size: 13px; padding: 7px 11px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.in .sort-files span { animation: file-out 2.4s var(--ease) both; animation-delay: calc(var(--i) * 0.12s + 0.4s); }
.sort-arrow { font-size: 28px; color: var(--teal-deep); }
.sort-people { display: grid; gap: 8px; }
.sort-people span { font-size: 14px; padding: 10px 14px; border-radius: 12px; background: var(--white); border: 1px solid rgba(4, 120, 87, 0.28); color: var(--mint); display: flex; gap: 14px; justify-content: space-between; min-width: 260px; box-shadow: var(--shadow-sm); }
.sort-people b { color: var(--ink); font-weight: 600; }
.in .sort-people span { animation: person-in 0.7s var(--ease) both; animation-delay: calc(var(--i) * 0.15s + 1.4s); }
@keyframes file-out { 0% { opacity: 0; transform: translateY(14px) scale(0.9); } 30% { opacity: 1; transform: none; } 100% { opacity: 1; } }
@keyframes person-in { from { opacity: 0; transform: translateX(-24px); } }

@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; padding: 80px var(--gutter); }
  .feature.flip .feature-copy { order: 0; }
  .feature > figure.tablet { max-width: 440px; }
}

/* ---------------------------------------------------------------- stats */
.stats { max-width: var(--max); margin: 0 auto; padding: 100px var(--gutter); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 54px 0 60px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px 30px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: clamp(48px, 5vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat b.mint { color: var(--mint); }
.stat b.amber { color: var(--amber); }
.stat span { display: block; color: var(--muted); margin-top: 10px; font-size: 16px; }
@media (max-width: 860px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- everything */
.everything { max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter); position: relative; }
.everything::before { content: ""; position: absolute; inset: 10% 0; z-index: -1;
  background: radial-gradient(closest-side, rgba(43, 179, 163, 0.16), rgba(43, 179, 163, 0)); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; perspective: 1400px; }
.tile {
  min-height: 160px; padding: 24px; border-radius: 24px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  font-size: 22px; font-weight: 650; line-height: 1.2;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  opacity: 0; transform: rotateX(70deg) translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), border-color 0.4s, box-shadow 0.4s;
  transition-delay: var(--delay, 0s);
}
.tiles.in .tile { opacity: 1; transform: none; }
.tile:hover { border-color: rgba(43, 179, 163, 0.7); box-shadow: var(--shadow-sm), 0 0 0 4px rgba(43, 179, 163, 0.14); }
.tile i, .careful-card i, .toggle-row i { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: rgba(43, 179, 163, 0.15); color: var(--teal-deep); }
.tile i svg, .careful-card i svg, .toggle-row i svg { width: 30px; height: 30px; }
.all-in { font-size: clamp(56px, 8vw, 120px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 90px 0 0; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tile { font-size: 18px; min-height: 140px; } }

/* ---------------------------------------------------------------- yours */
.yours { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter); }
.yours-title { font-size: clamp(48px, 6vw, 92px); font-weight: 800; letter-spacing: -0.04em; display: flex; gap: 0.25em; flex-wrap: wrap; }
.yours-word { position: relative; display: inline-block; min-width: 4.2em; height: 1.1em; overflow: hidden; }
.yours-word span { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(70%); filter: blur(8px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), filter 0.5s; }
.yours-word span.on { opacity: 1; transform: none; filter: none; }
.yours-word span.off { transform: translateY(-70%); }
.toggles { display: grid; gap: 12px; margin-top: 36px; }
.toggle-row { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--delay, 0s); }
.toggle-row i { width: 46px; height: 46px; flex: 0 0 46px; }
.toggle-row div { flex: 1; min-width: 0; }
.toggle-row b { display: block; font-size: 18px; }
.toggle-row span { display: block; font-size: 15px; color: var(--muted); }
.switch { flex: 0 0 60px; height: 34px; border-radius: 17px; background: rgba(15, 17, 20, 0.14); position: relative; transition: background 0.3s; transition-delay: calc(var(--delay, 0s) + 0.35s); }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(15, 17, 20, 0.25); transition: left 0.35s var(--ease); transition-delay: calc(var(--delay, 0s) + 0.35s); }
.in .toggle-row { opacity: 1; transform: none; }
.in .switch { background: var(--teal); }
.in .switch::after { left: 30px; }
.yours-devices { min-height: 560px; }
.yours-devices .tablet { position: relative; z-index: 2; width: 78%; }
.yours-devices .tablet.back { position: absolute; z-index: 1; right: 0; top: 12%; width: 70%; filter: brightness(0.92) saturate(0.9); }
@media (max-width: 960px) {
  .yours { grid-template-columns: 1fr; }
  .yours-devices { min-height: 0; max-width: 460px; justify-self: center; }
}

/* ---------------------------------------------------------------- crew / office */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 60px var(--gutter) 100px; }
.two-card { background: var(--white); border: 1px solid var(--line); border-radius: 32px; padding: 40px; display: grid; gap: 36px; align-content: start; overflow: hidden; box-shadow: var(--shadow-sm); }
.two-card figure { justify-self: center; }
.two-card .phone { max-width: 230px; }
.two-card p { color: var(--muted); margin: 16px 0 0; }
@media (max-width: 860px) { .two-up { grid-template-columns: 1fr; } .two-card { padding: 28px; } }

/* ---------------------------------------------------------------- careful */
.careful { max-width: var(--max); margin: 0 auto; padding: 100px var(--gutter); }
.careful .sub { margin-top: 18px; }
.careful-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }
.careful-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-sm); }
.careful-card h3 { font-size: 22px; margin-top: 22px; }
.careful-card p { color: var(--muted); font-size: 16px; margin: 10px 0 0; }
.careful-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.careful-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.careful-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
@media (max-width: 960px) { .careful-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .careful-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- contact */
.contact { position: relative; padding: 140px var(--gutter) 120px; text-align: center; overflow: hidden; }
.contact-glow { position: absolute; left: 50%; top: -40px; width: 1100px; height: 800px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(43, 179, 163, 0.28), rgba(43, 179, 163, 0)); }
.contact > :not(.contact-glow) { position: relative; }
.contact-logo { width: 200px; height: auto; margin: 0 auto 50px; }
.contact .sub { margin: 20px auto 0; }

/* The enquiry form goes in #contact-form-slot. These give it the site's look. */
.form-card { max-width: 640px; margin: 50px auto 0; text-align: left; }
.form-card:not(:empty) { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-card label { display: block; font-size: 15px; font-weight: 600; margin: 18px 0 8px; }
.form-card .field, .form-card input:not([type="hidden"]):not([type="checkbox"]), .form-card textarea, .form-card select {
  width: 100%; padding: 14px 16px; border-radius: 14px; font: 16px Inter, sans-serif; color: var(--ink);
  background: var(--paper); border: 1px solid rgba(15, 17, 20, 0.14); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-card input::placeholder, .form-card textarea::placeholder { color: rgba(15, 17, 20, 0.4); }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { outline: none; background: var(--white); border-color: var(--teal-deep); box-shadow: 0 0 0 4px rgba(43, 179, 163, 0.22); }
.form-card textarea { min-height: 140px; resize: vertical; }
.form-card button[type="submit"], .form-card .btn { margin-top: 24px; }

/* ---------------------------------------------------------------- footer */
.footer { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 40px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; background: var(--white); }
.footer img { height: 28px; width: auto; }
.footer p { margin: 0; }
.footer .muted { margin-left: auto; }

/* ---------------------------------------------------------------- tour */
/* Unused until the Swingset ad exists; kept so it can drop straight back in. */
.tour { position: fixed; inset: 0; z-index: 100; background: rgba(15, 17, 20, 0.72); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 16px; }
.tour[hidden] { display: none; }
.tour-inner { position: relative; width: min(1200px, 100%); }
.tour video { width: 100%; border-radius: 18px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5); background: #000; }
.tour-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); font-size: 26px; cursor: pointer; }

/* ---------------------------------------------------------------- calm */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tilt-in, .reveal, .tile, .toggle-row, .float-chip { opacity: 1 !important; transform: none !important; }
  .rise .w > span { transform: none !important; }
  .swing-strip i:nth-child(-n + 4) { background: var(--teal); opacity: 1; }
  .paper { display: none; }
}
