@font-face {
  font-family: 'DM Sans';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/dm-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/sora-600.woff2') format('woff2');
}

:root {
  --bg: #000;
  --bg-2: #0a0f11;
  --tile: #0d1316;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --accent: #4ff0da;
  --accent-2: #2fc6b3;
  --ink: #00201d;
  --display: 'Sora', 'DM Sans', system-ui, -apple-system, sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--text);
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip:focus {
  left: 12px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-in {
  max-width: 1080px;
  margin: 0 auto;
  height: 56px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font: 600 17px/1 var(--display);
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-2);
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--accent);
  padding: 7px 14px;
  border-radius: 999px;
}

.nav-cta:hover {
  text-decoration: none;
  filter: brightness(1.07);
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    margin-left: auto;
  }
}

/* ---------- Type ---------- */
.eyebrow,
.kicker {
  font: 600 17px/1.3 var(--sans);
  color: var(--accent);
  margin: 0 0 10px;
  letter-spacing: 0;
}

.display {
  font: 600 clamp(56px, 11vw, 120px) / 1 var(--display);
  letter-spacing: -0.045em;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 30%, #b9fff5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.display-2 {
  font: 600 clamp(40px, 7.5vw, 80px) / 1.05 var(--display);
  letter-spacing: -0.04em;
  margin: 0;
}

.h2 {
  font: 600 clamp(38px, 6vw, 64px) / 1.05 var(--display);
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}

.body {
  color: var(--text-2);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.narrow {
  max-width: 600px;
}

.hl {
  color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font: 600 17px/1 var(--sans);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(79, 240, 218, 0.25);
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.btn-primary:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.link-more {
  font-size: 17px;
  color: var(--accent);
}

.link-more span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.link-more:hover span {
  transform: translateX(3px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(56px, 10vw, 110px) 22px 0;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-sub {
  font: 600 clamp(22px, 3.2vw, 32px) / 1.25 var(--display);
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 18px 0 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  margin-top: 32px;
}

.hero-meta {
  color: var(--text-3);
  font-size: 14px;
  margin: 22px 0 0;
}

.hero-stage {
  position: relative;
  height: clamp(420px, 62vw, 700px);
  max-width: 980px;
  margin: 56px auto 0;
}

.glow {
  position: absolute;
  left: 50%;
  top: 18%;
  width: 90%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47, 198, 179, 0.35), rgba(11, 94, 115, 0.12) 55%, transparent 75%);
  filter: blur(20px);
}

.ph {
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.7));
}

.hero-stage .ph {
  position: absolute;
  bottom: 0;
  height: auto;
}

.ph-center {
  left: 50%;
  width: clamp(230px, 36vw, 376px);
  transform: translateX(-50%) translateY(6%);
  z-index: 3;
}

.ph-left,
.ph-right {
  width: clamp(190px, 29vw, 310px);
  z-index: 2;
  opacity: 0.9;
}

.ph-left {
  left: 50%;
  transform: translateX(-118%) translateY(16%) rotate(-7deg);
}

.ph-right {
  left: 50%;
  transform: translateX(18%) translateY(16%) rotate(7deg);
}

/* Fade the phones into the page at the bottom of the hero */
.hero-stage::after {
  content: '';
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 0;
  height: 32%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000 85%);
  z-index: 4;
}

@media (max-width: 560px) {
  .ph-left {
    transform: translateX(-105%) translateY(20%) rotate(-7deg);
  }
  .ph-right {
    transform: translateX(5%) translateY(20%) rotate(7deg);
  }
}

/* ---------- Statement ---------- */
.statement {
  padding: clamp(96px, 16vw, 180px) 22px;
}

.big-quote {
  font: 600 clamp(32px, 5.2vw, 56px) / 1.15 var(--display);
  letter-spacing: -0.035em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text);
}

/* ---------- Feature rows ---------- */
.row {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) 22px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.row.flip .row-copy {
  order: 2;
}

.row-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.row-media::before {
  content: '';
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(closest-side, rgba(47, 198, 179, 0.22), transparent 70%);
  filter: blur(10px);
}

.ph-solo {
  position: relative;
  width: min(340px, 78vw);
  height: auto;
}

.stat {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  max-width: 460px;
}

.stat-num {
  font: 600 clamp(48px, 7vw, 72px) / 1 var(--display);
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #ffd166, #ffe7a3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--text-2);
  font-size: 16px;
}

@media (max-width: 820px) {
  .row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .row.flip .row-copy {
    order: 0;
  }
  .row .body,
  .row .stat {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- Privacy ---------- */
.privacy {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) 22px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.tile {
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 30px;
}

.tile svg,
.beta-head svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile h3 {
  font: 600 24px/1.2 var(--display);
  letter-spacing: -0.02em;
  margin: 22px 0 8px;
}

.tile p {
  color: var(--text-2);
  margin: 0;
}

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

/* ---------- Beta ---------- */
.beta {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) 22px;
}

.beta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.beta-card {
  background: linear-gradient(180deg, #0f1719, #0a0f11);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px 32px 18px;
}

.beta-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.beta-head svg {
  width: 32px;
  height: 32px;
}

.beta-head h3 {
  font: 600 28px/1 var(--display);
  letter-spacing: -0.02em;
  margin: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: s;
}

.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 20px 48px;
}

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 15px/1 var(--sans);
  color: var(--ink);
  background: var(--accent);
}

.steps a {
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  line-height: 32px;
}

.steps span {
  display: block;
  color: var(--text-2);
  font-size: 15px;
}

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

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) 22px;
}

.faq-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font: 600 clamp(18px, 2vw, 21px) / 1.35 var(--sans);
  padding: 24px 44px 24px 0;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  color: var(--text-2);
  font-size: 17px;
  margin: -6px 0 24px;
  max-width: 680px;
}

/* ---------- Final CTA ---------- */
.final {
  text-align: center;
  padding: clamp(96px, 14vw, 170px) 22px;
  background: radial-gradient(50% 60% at 50% 100%, rgba(31, 181, 168, 0.18), transparent 70%);
}

/* ---------- Footer ---------- */
.foot {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 12px;
}

.foot-in {
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 22px 40px;
}

.foot-note {
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.foot-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.foot-row a {
  color: var(--text-2);
}

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .hero-stage .ph {
  transition:
    transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 1.2s ease;
}

.js .hero-stage:not(.in) .ph-left {
  transform: translateX(-80%) translateY(30%) rotate(0deg);
  opacity: 0;
}

.js .hero-stage:not(.in) .ph-right {
  transform: translateX(-20%) translateY(30%) rotate(0deg);
  opacity: 0;
}

.js .hero-stage:not(.in) .ph-center {
  transform: translateX(-50%) translateY(20%);
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal,
  .js .hero-stage .ph {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .js .hero-stage:not(.in) .ph-left,
  .js .hero-stage:not(.in) .ph-right,
  .js .hero-stage:not(.in) .ph-center {
    opacity: 1;
  }
  .js .hero-stage:not(.in) .ph-center {
    transform: translateX(-50%) translateY(6%);
  }
  .js .hero-stage:not(.in) .ph-left {
    transform: translateX(-118%) translateY(16%) rotate(-7deg);
  }
  .js .hero-stage:not(.in) .ph-right {
    transform: translateX(18%) translateY(16%) rotate(7deg);
  }
}

/* =========================================================
   Last Tin theme: underwater light, bubbles, pearl lustre
   ========================================================= */
:root {
  --sea-1: #0a3a44;
  --sea-2: #062530;
  --sea-3: #03131a;
  --pearl-a: #ffffff;
  --pearl-b: #e7dcff;
  --pearl-c: #d3fff6;
  --pearl-d: #ffe6f1;
}

/* The page gets deeper (darker) the further you scroll */
body {
  background:
    linear-gradient(180deg, var(--sea-1) 0, var(--sea-2) 520px, var(--sea-3) 1300px, #000 2400px) no-repeat,
    #000;
}

.nav {
  background: rgba(3, 19, 26, 0.55);
}

/* Pearlescent text: soft white with a slow lilac / aqua / blush shimmer */
.pearly {
  background: linear-gradient(
    110deg,
    var(--pearl-a) 0%,
    var(--pearl-c) 22%,
    var(--pearl-b) 42%,
    var(--pearl-a) 55%,
    var(--pearl-d) 72%,
    var(--pearl-c) 88%,
    var(--pearl-a) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lustre 9s ease-in-out infinite alternate;
}

@keyframes lustre {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

.display {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  padding-bottom: 90px;
  isolation: isolate;
}

.sea {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Light rays falling from the surface */
.rays {
  position: absolute;
  left: 50%;
  top: -10%;
  width: 1400px;
  height: 120%;
  transform: translateX(-50%);
  background: repeating-conic-gradient(
    from 172deg at 50% -8%,
    rgba(180, 255, 245, 0) 0deg,
    rgba(180, 255, 245, 0.07) 2deg,
    rgba(180, 255, 245, 0) 5deg,
    rgba(180, 255, 245, 0) 9deg
  );
  -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 70% at 50% 0%, #000 20%, transparent 75%);
  animation: sway 14s ease-in-out infinite alternate;
}

@keyframes sway {
  from {
    transform: translateX(-51.5%) rotate(-1.2deg);
  }
  to {
    transform: translateX(-48.5%) rotate(1.2deg);
  }
}

/* Rising bubbles */
.bubble {
  position: absolute;
  bottom: -20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(225, 255, 252, 0.35);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.35), transparent 60%);
  animation: rise linear infinite;
  opacity: 0;
}

.b1 { left: 12%; width: 8px; height: 8px; animation-duration: 13s; animation-delay: 0s; }
.b2 { left: 24%; width: 14px; height: 14px; animation-duration: 17s; animation-delay: 4s; }
.b3 { left: 36%; width: 6px; height: 6px; animation-duration: 11s; animation-delay: 2s; }
.b4 { left: 63%; width: 11px; height: 11px; animation-duration: 15s; animation-delay: 6s; }
.b5 { left: 74%; width: 7px; height: 7px; animation-duration: 12s; animation-delay: 1s; }
.b6 { left: 86%; width: 16px; height: 16px; animation-duration: 19s; animation-delay: 8s; }
.b7 { left: 48%; width: 9px; height: 9px; animation-duration: 16s; animation-delay: 10s; }
.b8 { left: 92%; width: 6px; height: 6px; animation-duration: 10s; animation-delay: 3s; }

@keyframes rise {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translate(12px, -45vh);
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translate(-8px, -95vh);
    opacity: 0;
  }
}

.oyster {
  width: clamp(200px, 30vw, 330px);
  height: auto;
  margin: -10px auto 8px;
  filter: drop-shadow(0 30px 70px rgba(79, 240, 218, 0.28));
  animation: float 6s ease-in-out infinite;
}

.oyster.small {
  width: 170px;
  margin-bottom: 28px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.js .oyster.reveal:not(.in) {
  transform: translateY(28px) scale(0.92);
}

.hero-body {
  color: var(--text-2);
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 560px;
  margin: 16px auto 0;
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  z-index: 1;
}

.wave path {
  fill: none;
  stroke: rgba(79, 240, 218, 0.35);
  stroke-width: 2;
}

.wave .w2 {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1.5;
}

/* ---------- Phones showcase ---------- */
.showcase {
  padding: clamp(80px, 12vw, 140px) 22px 0;
  overflow: hidden;
}

.showcase .big-quote {
  margin-bottom: 20px;
}

/* ---------- Grit to pearl ---------- */
.journey {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(96px, 14vw, 160px) 22px clamp(56px, 8vw, 100px);
}

.stages {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

/* The thread that links the four stages */
.stages::before {
  content: '';
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 70px;
  height: 2px;
  background: linear-gradient(90deg, rgba(79, 240, 218, 0.1), rgba(79, 240, 218, 0.6), rgba(255, 255, 255, 0.5));
}

.stage {
  text-align: center;
  position: relative;
}

.orb-wrap {
  height: 140px;
  display: grid;
  place-items: center;
}

.orb {
  display: block;
  border-radius: 50%;
  position: relative;
}

/* Grit: a small, rough grain */
.orb.grit {
  width: 26px;
  height: 22px;
  border-radius: 46% 54% 40% 60% / 55% 42% 58% 45%;
  background: radial-gradient(circle at 35% 30%, #c9b68f, #8a7a5a 55%, #4c4331 100%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

/* Forming: first milky layers over the grit */
.orb.forming {
  width: 56px;
  height: 52px;
  border-radius: 50% 50% 48% 52% / 52% 50% 50% 48%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 60% 65%, rgba(138, 122, 90, 0.35), transparent 55%),
    radial-gradient(circle at 45% 40%, #f1ece2, #cfc6b6 55%, #8f8674 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

/* Lustre and Pearl: round, iridescent, glowing */
.orb.lustre,
.orb.full {
  background:
    radial-gradient(circle at 32% 26%, #fff 0, rgba(255, 255, 255, 0.95) 8%, rgba(255, 255, 255, 0) 28%),
    conic-gradient(from 200deg at 50% 50%, #e8f7ff, #efe4ff, #ffe8f3, #dffff8, #e8f7ff),
    radial-gradient(circle at 50% 50%, #fff, #d6dde2 70%, #8e9ea7 100%);
  background-blend-mode: normal, soft-light, normal;
}

.orb.lustre {
  width: 84px;
  height: 84px;
  box-shadow:
    inset -10px -14px 24px rgba(40, 70, 80, 0.45),
    0 14px 30px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(79, 240, 218, 0.18);
}

.orb.full {
  width: 116px;
  height: 116px;
  box-shadow:
    inset -14px -18px 30px rgba(40, 70, 80, 0.45),
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(79, 240, 218, 0.35),
    0 0 120px rgba(79, 240, 218, 0.18);
}

/* A little sparkle on the finished pearl */
.orb.full::after {
  content: '';
  position: absolute;
  right: 18%;
  top: 14%;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(#fff, #fff) center / 2px 100% no-repeat,
    linear-gradient(#fff, #fff) center / 100% 2px no-repeat;
  border-radius: 2px;
  transform: rotate(45deg) scale(0.9);
  opacity: 0.9;
  animation: twinkle 3.2s ease-in-out infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: rotate(45deg) scale(0.6);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

.stage h3 {
  font: 600 24px/1.2 var(--display);
  letter-spacing: -0.02em;
  margin: 18px 0 2px;
}

.stage .when {
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 10px;
}

.stage p {
  color: var(--text-2);
  font-size: 15px;
  margin: 0 auto;
  max-width: 220px;
}

/* Stagger the stages as they come into view */
.js .stages .stage:nth-child(2) { transition-delay: 0.12s; }
.js .stages .stage:nth-child(3) { transition-delay: 0.24s; }
.js .stages .stage:nth-child(4) { transition-delay: 0.36s; }

@media (max-width: 820px) {
  .stages {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 44px;
  }
  .stages::before {
    display: none;
  }
}

/* ---------- Tiles, cards: a touch of sea glass ---------- */
.tile,
.beta-card {
  background: linear-gradient(180deg, rgba(13, 42, 48, 0.55), rgba(6, 18, 22, 0.75));
  border-color: rgba(79, 240, 218, 0.12);
}

.row-media::before {
  background: radial-gradient(closest-side, rgba(47, 198, 179, 0.28), transparent 70%);
}

.final {
  background:
    radial-gradient(50% 55% at 50% 100%, rgba(31, 181, 168, 0.2), transparent 70%);
}

.final .body {
  margin-top: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .rays,
  .bubble,
  .oyster,
  .pearly,
  .orb.full::after {
    animation: none;
  }
  .bubble {
    display: none;
  }
}

/* Fade the phone fan out with a mask so it blends into whatever depth colour is behind it */
.hero-stage::after {
  display: none;
}

.hero-stage {
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 96%);
}

/* Tall enough for the whole phone, so the mask never clips its top */
.showcase .hero-stage {
  height: calc(min(376px, 36vw) * 2.12 + 40px);
  max-height: 880px;
  margin-top: 40px;
}
@media (max-width: 560px) {
  .showcase .hero-stage {
    height: 500px;
  }
}

/* ---------- App Store badge (Apple's official artwork, never redrawn) ---------- */
.store-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 10px;
}
.store-badge:hover {
  text-decoration: none;
  filter: brightness(1.15);
}
.store-badge img {
  height: 54px;
  width: auto;
}
.hero-meta a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card-copy {
  color: var(--text-2);
  margin: 0 0 22px;
}
.card-copy a {
  font-weight: 600;
  font-size: 18px;
}
.beta-card .store-badge {
  margin-bottom: 18px;
}

/* ---------- Footer guides ---------- */
.foot-guides {
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.foot-h {
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 8px;
}
.foot-guides nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot-guides a {
  color: var(--text-2);
}

/* ---------- Guides and tools (article pages) ---------- */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 80px) 22px clamp(56px, 9vw, 96px);
}
.article .kicker {
  font-size: 15px;
}
.article h1 {
  font: 600 clamp(34px, 6.4vw, 54px) / 1.08 var(--display);
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}
.article .lede {
  color: var(--text);
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.45;
  margin: 0 0 8px;
}
.article .meta {
  color: var(--text-3);
  font-size: 14px;
  margin: 0 0 36px;
}
.article h2 {
  font: 600 clamp(25px, 3.6vw, 32px) / 1.2 var(--display);
  letter-spacing: -0.02em;
  margin: 52px 0 14px;
}
.article h3 {
  font: 600 19px/1.35 var(--sans);
  margin: 28px 0 8px;
}
.article p,
.article li {
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.65;
}
.article p {
  margin: 0 0 18px;
}
.article strong {
  color: var(--text);
  font-weight: 600;
}
.article ul,
.article ol {
  padding-left: 1.25em;
  margin: 0 0 20px;
}
.article li {
  margin: 8px 0;
}
.article a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.toc-box,
.cta-box,
.calc {
  background: linear-gradient(180deg, rgba(13, 42, 48, 0.55), rgba(6, 18, 22, 0.75));
  border: 1px solid rgba(79, 240, 218, 0.12);
  border-radius: 24px;
  padding: 24px 26px;
  margin: 32px 0;
}
.toc-box p {
  color: var(--text);
  font-weight: 600;
  margin: 0 0 8px;
}
.toc-box ol {
  margin: 0;
}
.toc-box li {
  font-size: 16px;
  margin: 4px 0;
}
.taper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0 !important;
  margin: 22px 0 24px !important;
}
.taper li {
  margin: 0;
  text-align: center;
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 8px;
  font-size: 15px;
  line-height: 1.35;
}
.taper b {
  display: block;
  color: var(--accent);
  font: 600 24px/1.2 var(--display);
}
.cta-box {
  text-align: center;
  padding: 32px 26px;
}
.cta-box h2 {
  margin: 0 0 10px;
}
.cta-box p {
  margin: 0 auto 22px;
  max-width: 480px;
}
.cta-box .store-badge img {
  margin: 0 auto;
}
.cta-box .small {
  font-size: 15px;
  margin: 16px 0 0;
}
.article .faq-list {
  margin-top: 8px;
}
.article .faq details p {
  margin: -6px 0 22px;
}
.disclaimer {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 22px;
}
.disclaimer p {
  color: var(--text-3);
  font-size: 15px;
}
.crumbs {
  font-size: 14px;
  color: var(--text-3);
  margin: 0 0 22px;
}
.crumbs a {
  color: var(--text-2);
  text-decoration: none;
}

/* ---------- Cost calculator ---------- */
.calc-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.calc label {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}
.calc .field {
  position: relative;
}
.calc input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #050b0d;
  color: var(--text);
  font: 600 20px/1 var(--sans);
}
.calc .money input {
  padding-left: 32px;
}
.calc .money::before {
  content: '£';
  position: absolute;
  left: 14px;
  bottom: 15px;
  color: var(--text-2);
  font: 600 20px/1 var(--sans);
}
.calc input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.calc-out {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 24px 0 0;
}
.calc-out div {
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}
.calc-out dt {
  color: var(--text-3);
  font-size: 14px;
}
.calc-out dd {
  margin: 4px 0 0;
  color: var(--text);
  font: 600 24px/1.2 var(--display);
  letter-spacing: -0.01em;
}
.calc-out .big {
  grid-column: 1 / -1;
}
.calc-out .big dd {
  color: var(--accent);
  font-size: clamp(36px, 7vw, 52px);
}
.calc-buys {
  color: var(--text) !important;
  font-weight: 600;
  margin: 20px 0 6px !important;
}
.calc-note {
  color: var(--text-3) !important;
  font-size: 15px !important;
  margin: 0 !important;
}
@media (max-width: 560px) {
  .calc-inputs {
    grid-template-columns: 1fr;
  }
  .taper {
    grid-template-columns: repeat(2, 1fr);
  }
  .article p,
  .article li {
    font-size: 17px;
  }
}

.faq.faq-inline {
  padding: 0;
  max-width: none;
}
