:root {
  --paper: #f3f8ff;
  --ink: #0f172a;
  --navy: #1e3a8a;
  --blue: #2563eb;
  --sky: #3b82f6;
  --mist: #dbeafe;
  --muted: #475569;
  --card: #ffffff;
  --ice: #e0f2fe;
  --serif: Fraunces, "Iowan Old Style", Palatino, Georgia, serif;
  --sans: Outfit, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 78% 8%, rgba(56, 189, 248, 0.28), transparent 60%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }

a { color: var(--navy); }

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  background: rgba(243, 248, 255, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img { height: 42px; width: auto; }

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 380px;
  column-gap: 56px;
  align-items: center;
  padding: 36px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; }

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.96;
}

.lede {
  max-width: 38rem;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: 19px;
}

.tag {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.phone {
  grid-column: 2;
  grid-row: 1 / span 4;
  background: #f0f7ff;
  border: 1px solid #cfe3fb;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(30, 64, 175, 0.12);
  padding: 22px 20px 18px;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-top img { height: 40px; width: auto; }

.phone-name,
.phone-sub,
.conf-label,
.conf-text,
.stat-num,
.stat-label,
.orb-hint {
  margin: 0;
}

.phone-name {
  color: var(--navy);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.phone-sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.conf {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--mist);
  border-radius: 14px;
}

.conf-ice {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f9ff;
  border: 1px solid #bfdbfe;
}

.conf-label {
  color: var(--sky);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conf-text {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.stats div {
  background: var(--card);
  border: 1px solid var(--mist);
  border-radius: 14px;
  padding: 10px 8px 8px;
  text-align: center;
}

.stat-num {
  color: #1e40af;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.stat-label {
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}

.stage {
  position: relative;
  height: 300px;
  margin-top: 8px;
}

.bears {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 18px;
  width: 168px;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.stage.is-frozen .bears { opacity: 0; }

.orb {
  position: absolute;
  left: 50%;
  top: 78px;
  width: 196px;
  height: 196px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
  cursor: pointer;
}

.orb:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 6px;
  border-radius: 50%;
}

.orb-face {
  position: relative;
  display: grid;
  place-items: center;
  width: 196px;
  height: 196px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid #60a5fa;
  background: #3b82f6;
  box-shadow: 0 16px 32px rgba(59, 130, 246, 0.28);
  transition: background 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease;
}

.wave {
  position: absolute;
  left: -40%;
  width: 180%;
  height: 180%;
  border-radius: 42%;
  background: rgba(147, 197, 253, 0.55);
}

.wave-a { top: -18%; animation: slosh 7s linear infinite; }
.wave-b {
  top: -6%;
  background: rgba(224, 242, 254, 0.35);
  animation: slosh 11s linear infinite reverse;
}

.shine {
  position: absolute;
  top: 16px;
  left: 22px;
  width: 92px;
  height: 42px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(-18deg);
}

.frost {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.2), transparent 46%),
    #ffffff;
  opacity: 0;
}

.stage.is-freezing .frost { animation: frost-in 1.5s ease forwards; }
.stage.is-frozen .orb-face {
  background: #ffffff;
  border-color: #e0f2fe;
  border-width: 4px;
  box-shadow: 0 0 0 6px rgba(224, 242, 254, 0.7);
}
.stage.is-frozen .frost { opacity: 1; }
.stage.is-frozen .wave,
.stage.is-frozen .shine { opacity: 0; }

.orb-label {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  text-transform: uppercase;
}

.orb-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.orb-word {
  display: block;
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: none;
}

.stage.is-frozen .orb-label { color: var(--navy); }

.drips, .icicles {
  position: absolute;
  left: 50%;
  top: 268px;
  width: 196px;
  height: 36px;
  transform: translateX(-50%);
  pointer-events: none;
}

.drip, .icicle { position: absolute; top: 0; }

.drip {
  width: 9px;
  height: 14px;
  background: #7dd3fc;
  border-radius: 50% 50% 50% 50% / 35% 35% 65% 65%;
  animation: fall 1.35s ease-in infinite;
}

.drip-a { left: 54px; animation-delay: 0s; }
.drip-b { left: 94px; width: 11px; height: 16px; animation-delay: 0.35s; animation-duration: 1.15s; }
.drip-c { left: 132px; animation-delay: 0.7s; animation-duration: 1.5s; }

.stage.is-freezing .drip {
  background: #e0f2fe;
  animation-duration: 2.2s;
}

.stage.is-frozen .drips { opacity: 0; }

.icicle {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 22px solid #e0f2fe;
  opacity: 0;
  filter: drop-shadow(0 6px 6px rgba(125, 211, 252, 0.45));
}

.icicle-a { left: 52px; border-top-width: 18px; }
.icicle-b { left: 92px; border-left-width: 7px; border-right-width: 7px; border-top-width: 30px; }
.icicle-c { left: 130px; border-top-width: 24px; }

.stage.is-frozen .icicle { opacity: 1; }

.orb-hint {
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.story, .loop, .pocket { padding: 28px 0 72px; }

h2 {
  margin: 0;
  max-width: 18em;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.points article {
  padding: 22px 22px 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d7e7fb;
  border-radius: 22px;
}

.num {
  margin: 0;
  color: var(--sky);
  font-family: var(--serif);
  font-size: 28px;
}

.points h3, .tools h3 {
  margin: 8px 0;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.15;
}

.points p:last-child, .tools p, .loop-copy p:last-child {
  color: var(--muted);
}

.loop {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: end;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 8px 12px;
  background: #f0f9ff;
  border: 1.5px solid var(--mist);
  border-radius: 999px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.tools {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #cfe0f5;
}

.tools li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #cfe0f5;
}

.tools h3 { margin: 0; }
.tools p { margin: 4px 0 0; max-width: 40rem; }

.site-footer {
  display: grid;
  gap: 10px;
  padding: 12px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.footer-name {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 22px;
}

.site-footer p { margin: 0; }

.contact a,
.helpline a { font-weight: 700; }

.fine { color: #64748b; }

.legal {
  max-width: 40rem;
  padding: 36px 0 72px;
}

.legal h1 { font-size: clamp(42px, 6vw, 64px); }

.legal h2 {
  margin: 36px 0 8px;
  font-size: 28px;
  line-height: 1.15;
}

.legal p,
.legal li { color: var(--ink); }

.legal ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.legal li + li { margin-top: 6px; }

.legal .updated {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

@keyframes slosh {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fall {
  0% { transform: translateY(-4px); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translateY(28px); opacity: 0; }
}

@keyframes frost-in {
  from { opacity: 0; }
  to { opacity: 0.92; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave, .drip { animation: none; }
  .drip { opacity: 0.85; transform: translateY(10px); }
  .stage.is-freezing .frost { animation: none; opacity: 0.7; }
  .bears { display: none; }
}

@media (max-width: 860px) {
  .hero, .loop, .points, .tools li {
    grid-template-columns: 1fr;
  }

  .phone {
    grid-column: 1;
    grid-row: auto;
    margin-top: 28px;
  }

  nav { gap: 12px; }
  h1 { font-size: 46px; }
}

@media (max-width: 560px) {
  .site-header, main, .site-footer { width: min(1120px, calc(100% - 28px)); }
  .site-header { align-items: flex-start; flex-direction: column; }
  nav a { font-size: 14px; }
}
