/* Narrow single column, one grotesk, hairlines, one soft colour panel */
:root {
  --bg: #ffffff;
  --ink: #0b0b0c;
  --muted: #7a7c80;
  --line: #ececea;
  --stage: #e1e8e3;
  --accent: #2f5bd3;
  --bad: #9a3b22;

  --sans: "Geist", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
p, h1, h2, h3, dl, dd { margin: 0; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 13px; }

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 0;
  /* A light band sits just off the left edge; on hover it sweeps across while the colour turns blue */
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%) 100% 0 / 250% 100% no-repeat var(--ink);
  transition: background-color 0.35s ease, background-position 0.7s ease;
}
.btn:hover { background-color: var(--accent); background-position: 0 0; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
}
.mark { display: block; color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: "Bricolage Grotesque", var(--sans); font-size: 22px; font-weight: 700; letter-spacing: -0.035em; text-decoration: none; }

.hero { padding: 88px 0 56px; }
h1 {
  font-size: clamp(36px, 7vw, 52px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.shimmer {
  --shimmer-spread: calc(3ch + 40px);
  --shimmer-color: color-mix(in oklch, var(--accent) 35%, white);
  white-space: nowrap;
  color: var(--accent);
  background:
    linear-gradient(110deg,
      transparent calc(50% - var(--shimmer-spread)),
      var(--shimmer-color) 50%,
      transparent calc(50% + var(--shimmer-spread))) 0 0 / 300% 100% no-repeat,
    linear-gradient(var(--accent), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  from { background-position: 100% 0, 0 0; }
  67%, 100% { background-position: 0% 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shimmer { animation: none; }
}
.hero p { margin-top: 24px; color: var(--muted); font-size: 17px; max-width: 46ch; }

/* Stage: night-to-sky blue gradient, light grain, text sits on it */
.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 24px;
  border-radius: 0;
  padding: 32px 32px 0;
  display: grid;
  justify-items: center;
  align-items: end;
  text-align: center;
  color: #fff;
  /* Earlier gradient: dark navy at the top, fading to soft light blue at the bottom, with drifting glows */
  --globe-y: 118%;
  --globe-r: 300px;
  background:
    radial-gradient(70% 55% at 50% 104%, #c9dde6 0%, transparent 70%),
    radial-gradient(45% 50% at 0% 80%, #6d93e6 0%, transparent 70%),
    radial-gradient(45% 50% at 100% 66%, #5f86e0 0%, transparent 70%),
    radial-gradient(90% 70% at 50% 76%, #8db2dc 0%, transparent 80%),
    linear-gradient(180deg, #05060b 0%, #0a1230 14%, #16285c 30%, #284890 46%, #4b74c0 62%, #7ea3d8 80%, #b9d0e4 100%);
}
.stage::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(30% 22% at 30% 60%, rgba(150, 190, 240, 0.55), transparent 70%),
    radial-gradient(28% 20% at 70% 70%, rgba(110, 150, 230, 0.5), transparent 70%),
    radial-gradient(35% 18% at 50% 85%, rgba(210, 230, 240, 0.5), transparent 70%);
  filter: blur(24px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate(-4%, 1%) scale(1); }
  50%  { transform: translate(3%, -2%) scale(1.06); }
  100% { transform: translate(-2%, 2%) scale(1.02); }
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.stage { height: clamp(260px, 40vw, 380px); padding: 0; display: block; }
.globe { display: block; position: absolute; top: 0; left: 0; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 0.6s ease; }
.globe.ready { opacity: 1; }
.globe.dragging { cursor: grabbing; }
.stage-status { position: absolute; top: 28px; left: 0; right: 0; z-index: 1; display: grid; justify-items: center; gap: 6px; pointer-events: none; color: #fff; }
.flip { display: inline-flex; align-items: center; gap: 8px; height: 22px; overflow: hidden; font-size: 15px; font-weight: 500; color: #fff; letter-spacing: 0.005em; }
.flip i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; flex: none; transition: background 0.3s, box-shadow 0.3s; }
.flip[data-state="down"] i { background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }
.flip .msg {
  display: block; line-height: 22px; white-space: nowrap;
  transition: transform 0.25s ease, opacity 0.25s ease;
  /* Same shimmer as before, now on the status line */
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.65) 40%, #fff 50%, rgba(255, 255, 255, 0.65) 60%) 0 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer-l 3s linear infinite;
}
@keyframes shimmer-l { from { background-position: 100% 0; } 67%, 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .flip .msg { animation: none; } }
.flip .msg.out { transform: translateY(-100%); opacity: 0; }
.flip .msg.below { transform: translateY(100%); opacity: 0; transition: none; }
@keyframes pulse { 50% { opacity: 0.3; } }

section { padding: 56px 0 0; }
h2 { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 16px; }
.lead { font-size: 20px; line-height: 1.45; letter-spacing: -0.015em; }

.rows { display: grid; gap: 20px; }
.rows div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 0;
}
.rows dt { font-weight: 500; }
.rows dt span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.rows dd { color: var(--muted); text-align: right; }
.rows .main { color: var(--accent); }
.price { color: var(--ink) !important; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rows.stack div { display: block; }
.rows.stack dd { text-align: left; margin-top: 4px; max-width: 54ch; }
/* Pricing: same rows as before, with larger prices and the billing period underneath */
.rows.pricing { gap: 20px; }
.rows.pricing > div { align-items: baseline; gap: 24px; }
.rows.pricing dt span { margin-top: 4px; color: #6b6e73; }
.rows.pricing .price { font-size: 24px; line-height: 1.1; letter-spacing: -0.03em; white-space: nowrap; }
.rows.pricing .price small { display: block; margin-top: 0; line-height: 1.3; font-size: 13px; font-weight: 400; letter-spacing: 0; color: #6b6e73; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }

.closing { padding: 112px 0 88px; }
.closing h3 {
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  max-width: 22ch;
  text-wrap: balance;
}

.foot {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 40px;
  font-size: 13px;
  color: var(--muted);
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 520px) {
  .page { padding: 0 20px; }
  .hero { padding: 56px 0 40px; }
  .stage { padding: 40px 20px 0; }
  .rows div { flex-direction: column; gap: 2px; }
  .rows dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .stage::before { animation: none; }
}
