/*
 * wagemap.co.uk. Editorial and restrained: ink surfaces, hairline rules, one typeface family for
 * headings (Manrope, as in the app), mono for labels and figures. Mint is only ever money; the
 * shift colours are the app's own (Halo brand sheet, docs/design/halo).
 */
:root {
  --ink: #08090c;
  --ink-2: #0d0f14;
  --ink-3: #12151c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef0f4;
  --text-2: #9aa3b5;
  --text-3: #5f687a;
  --paper: #f3f5f7;
  --paper-ink: #0c1218;
  --paper-2: #5c6773;
  --paper-line: #d5dbe2;
  --mint: #34e0a1;
  --mint-ink: #087a54;
  --cobalt: #7b93ff;
  --amber-hi: #ffbe2e;
  --night: #2a3a5e;
  --sky: #4cc3ff;
  --warn: #ffb547;
  --display: Manrope, Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --max: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Film grain over everything: keeps large dark areas from looking flat. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(123, 147, 255, 0.35);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.label b {
  color: var(--text-2);
  font-weight: 500;
}

.nowrap {
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 200;
  background: var(--paper);
  color: var(--paper-ink);
  padding: 8px 14px;
  border-radius: 8px;
}

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

/* ---------------------------------------------------------------- Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(8, 9, 12, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand svg {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}

.nav a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--text);
}

/* ---------------------------------------------------------------- Buttons and status */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s,
    border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--paper);
  color: var(--paper-ink);
}

.btn-primary:hover {
  background: #ffffff;
}

.btn-quiet {
  border: 1px solid var(--line-2);
  color: var(--text);
}

.btn-quiet:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}

.status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(52, 224, 161, 0.6);
  animation: beacon 2.4s ease-out infinite;
}

@keyframes beacon {
  70% {
    box-shadow: 0 0 0 9px rgba(52, 224, 161, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 224, 161, 0);
  }
}

.shift {
  display: inline-grid;
  place-items: center;
  font-family: var(--body);
  font-weight: 700;
}

.shift.d {
  background: var(--amber-hi);
  color: #1a1200;
}

.shift.n {
  background: var(--night);
  color: #ffffff;
}

.shift.ot {
  background: var(--mint);
  color: #04140e;
}

.shift.h {
  background: var(--sky);
  color: #04121a;
}

.shift.o {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-3);
}

/* ---------------------------------------------------------------- Hero */

.hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 120px;
}

.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -72px 0 0;
  background:
    radial-gradient(60% 55% at 78% 22%, rgba(29, 40, 80, 0.75), transparent 70%),
    radial-gradient(40% 40% at 70% 60%, rgba(58, 91, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(46px, 6.6vw, 92px);
  font-weight: 700;
  letter-spacing: -0.048em;
  line-height: 0.96;
  margin-top: 28px;
}

.hero h1 .soft {
  color: var(--text-3);
}

.hero .lede {
  margin-top: 28px;
  max-width: 30em;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-2);
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 40px;
}

/* ---------------------------------------------------------------- Phone (dark Today screen) */

.device {
  position: relative;
  justify-self: center;
  width: 330px;
}

.device::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 8%;
  right: 8%;
  bottom: -40px;
  height: 120px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(58, 91, 255, 0.35), transparent 70%);
  filter: blur(20px);
}

.phone {
  position: relative;
  border-radius: 58px;
  padding: 11px;
  background: linear-gradient(145deg, #3b4150 0%, #1a1d24 30%, #0f1116 60%, #2b303b 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 2px 0 0 rgba(255, 255, 255, 0.08) inset,
    0 50px 100px -20px rgba(0, 0, 0, 0.8),
    0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.screen {
  position: relative;
  height: 680px;
  overflow: hidden;
  border-radius: 48px;
  background: #050608;
  padding: 0 16px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
}

.screen::after {
  /* content fades out under the floating tab bar */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #050608 70%);
  pointer-events: none;
}

.island {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 104px;
  height: 31px;
  margin-left: -52px;
  border-radius: 20px;
  background: #000000;
}

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
  padding: 4px 14px 0 20px;
  font-weight: 600;
  font-size: 14px;
}

.statusbar svg {
  height: 11px;
  width: auto;
}

.statusbar .icons {
  display: flex;
  gap: 5px;
  align-items: center;
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 14px 2px 14px;
}

.app-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-2);
}

.app-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 31px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.app-round {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #12151c;
  display: grid;
  place-items: center;
}

.app-round svg {
  width: 17px;
  height: 17px;
}

.tile {
  background: #0f1217;
  border-radius: 22px;
  padding: 15px 15px 14px;
  margin-bottom: 10px;
}

.tile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 11px 4px 4px;
  font-weight: 700;
  font-size: 13px;
  background: var(--amber-hi);
  color: #1a1200;
}

.chip i {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 9px;
  background: rgba(0, 0, 0, 0.14);
}

.muted {
  color: var(--text-2);
}

.earned {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-2);
}

.earned::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.big-money {
  font-family: var(--display);
  font-weight: 800;
  font-size: 46px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

.progress {
  height: 8px;
  border-radius: 4px;
  background: #1f242d;
  margin: 10px 0 9px;
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  width: 51.7%;
  border-radius: 4px;
  background: var(--amber-hi);
  transform-origin: left;
}

.small {
  font-size: 11.5px;
}

.week-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.week-total {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  color: var(--mint);
}

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 10px;
  text-align: center;
  font-size: 10.5px;
  color: var(--text-2);
}

.week .shift {
  width: 100%;
  aspect-ratio: 0.86;
  border-radius: 9px;
  margin: 4px 0;
  font-size: 11px;
}

.week .today {
  color: var(--text);
  font-weight: 700;
}

.week .today .shift {
  box-shadow:
    0 0 0 2px #0f1217,
    0 0 0 3.5px #ffffff;
}

.forecast-figure {
  font-family: var(--display);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.forecast-figure span {
  font-family: var(--body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--text-2);
}

.split {
  display: flex;
  gap: 3px;
  height: 7px;
  margin-top: 9px;
}

.split i {
  display: block;
  border-radius: 3px;
  transform-origin: left;
}

.tabbar {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tabs {
  flex: 1;
  display: flex;
  justify-content: space-around;
  background: rgba(22, 25, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  padding: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-2);
}

.tabs span {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 6px 14px;
  border-radius: 24px;
}

.tabs span:first-child {
  background: #262b35;
  color: var(--text);
}

.tabs svg {
  width: 18px;
  height: 18px;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cobalt);
  color: #0b1020;
  box-shadow: 0 10px 30px rgba(123, 147, 255, 0.45);
}

.fab svg {
  width: 20px;
  height: 20px;
}

/* ---------------------------------------------------------------- Facts strip */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact {
  padding: 30px 28px 32px;
  border-left: 1px solid var(--line);
}

.fact:first-child {
  border-left: 0;
  padding-left: 0;
}

.fact strong {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.fact span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ---------------------------------------------------------------- Sections */

.section {
  padding-top: 150px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}

.section-head h2 {
  margin-top: 22px;
  font-size: clamp(36px, 4.6vw, 62px);
  letter-spacing: -0.042em;
}

.section-head p:not(.label) {
  color: var(--text-2);
  font-size: 18px;
  max-width: 30em;
}

/* Example payslip, on paper */
.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.points {
  border-top: 1px solid var(--line);
}

.point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.point .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  padding-top: 5px;
}

.point h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.point p {
  grid-column: 2;
  color: var(--text-2);
  font-size: 15.5px;
}

.slip {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 6px;
  padding: 34px 36px 30px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 40px 80px -30px rgba(0, 0, 0, 0.85);
  font-size: 14px;
}

.slip-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--paper-ink);
}

.slip-head h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.slip-head .sub {
  margin-top: 4px;
  color: var(--paper-2);
  font-size: 13px;
}

.slip-head .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-2);
  text-align: right;
  line-height: 1.7;
}

.slip-group {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-2);
  margin: 22px 0 6px;
}

.slip-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed var(--paper-line);
}

.slip-line small {
  display: block;
  color: var(--paper-2);
  font-size: 12px;
  margin-top: 1px;
}

.slip-line .fig {
  font-family: var(--mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.slip-line.total {
  border-bottom: 0;
  border-top: 1px solid var(--paper-ink);
  margin-top: 6px;
  padding-top: 14px;
  font-weight: 600;
}

.slip-net {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 6px;
  background: #e2f6ed;
}

.slip-net span {
  font-weight: 600;
}

.slip-net strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--mint-ink);
  font-variant-numeric: tabular-nums;
}

.slip-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--paper-2);
}

/* Rota ribbon */
.ribbon,
.ribbon-days,
.ribbon-runs {
  display: grid;
  grid-template-columns: repeat(28, minmax(0, 1fr));
  gap: 6px;
}

.ribbon .shift {
  aspect-ratio: 0.72;
  border-radius: 8px;
  font-size: 12px;
}

.ribbon .shift.o {
  font-weight: 500;
}

.ribbon-days {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-3);
  text-align: center;
}

.ribbon-runs {
  margin-top: 14px;
}

.ribbon-runs span {
  border-top: 1px solid var(--line-2);
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}

.ribbon-caption {
  display: none;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--text-2);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend .shift {
  font-style: normal;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 9.5px;
}

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

.trio > div {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.trio h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.trio p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15.5px;
}

/* Pay rules table */
.rules {
  border-top: 1px solid var(--line-2);
}

.rule {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 140px;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.rule .what {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.rule .when {
  color: var(--text-2);
  font-size: 15px;
}

.rule .rate {
  justify-self: end;
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.rule-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 36px;
  padding: 26px 30px;
  border-radius: 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.rule-result p {
  color: var(--text-2);
}

.rule-result p strong {
  color: var(--text);
  font-weight: 600;
}

.rule-result .fig {
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.03em;
  color: var(--mint);
}

/* Payslip check and the message to payroll */
.check-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.panel {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.panel h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.check-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.check-line small {
  display: block;
  color: var(--text-3);
  font-size: 12.5px;
}

.check-line .fig {
  font-family: var(--mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.check-line svg {
  width: 18px;
  height: 18px;
  color: var(--mint);
}

.check-line.flagged .fig,
.check-line.flagged svg {
  color: var(--warn);
}

.label.warn {
  color: var(--warn);
}

.flag-note {
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 181, 71, 0.09);
  border: 1px solid rgba(255, 181, 71, 0.22);
  color: #ffd391;
  font-size: 14px;
}

.mail {
  font-size: 15px;
}

.mail-meta {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px 0;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.mail-meta dt {
  color: var(--text-3);
}

.mail-meta dd {
  margin: 0;
}

.mail-body {
  padding-top: 16px;
  color: #cfd5e1;
  display: grid;
  gap: 12px;
}

.mail-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.mail-actions span {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
}

.mail-actions span:first-child {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #0b1020;
}

/* Privacy: three zeros */
.privacy-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 120px 0;
  margin-top: 150px;
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(52, 224, 161, 0.06), transparent 70%), var(--ink);
}

.privacy-band h2 {
  font-size: clamp(40px, 5.6vw, 80px);
  letter-spacing: -0.048em;
  max-width: 12em;
  margin-top: 22px;
}

.privacy-band .intro {
  margin-top: 24px;
  max-width: 36em;
  color: var(--text-2);
  font-size: 18px;
}

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

.zero strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(88px, 11vw, 150px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--mint);
}

.zero h3 {
  margin-top: 24px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.zero p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15.5px;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  overflow: hidden;
}

.plan {
  padding: 44px 44px 48px;
}

.plan + .plan {
  border-left: 1px solid var(--line-2);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(123, 147, 255, 0.1), transparent 70%), var(--ink-2);
}

.plan-name {
  min-height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.plan-name h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cobalt);
  border: 1px solid rgba(123, 147, 255, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.price {
  margin-top: 28px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -0.05em;
  line-height: 1;
}

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

.plan .alt {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 14.5px;
  min-height: 1.6em;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
}

.plan li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

.plan li svg {
  flex: none;
  width: 15px;
  height: 15px;
  color: var(--mint);
  transform: translateY(2px);
}

.fine {
  margin-top: 20px;
  color: var(--text-3);
  font-size: 13.5px;
}

/* Questions */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}

.faq-grid h2 {
  margin-top: 22px;
  font-size: clamp(36px, 4.6vw, 62px);
  letter-spacing: -0.042em;
}

.faq-grid .aside {
  margin-top: 20px;
  color: var(--text-2);
}

.faq-grid .aside a {
  color: var(--text);
  text-underline-offset: 3px;
}

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

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

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
}

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

.faq summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  color: var(--text-2);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 48px 26px 0;
  color: var(--text-2);
}

.faq details a {
  color: var(--text);
  text-underline-offset: 3px;
}

/* Closing call */
.closing {
  padding: 170px 0 150px;
  text-align: center;
}

.closing .mark {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  margin: 0 auto;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 60px -20px rgba(58, 91, 255, 0.45);
}

.closing h2 {
  margin-top: 36px;
  font-size: clamp(40px, 5.6vw, 80px);
  letter-spacing: -0.048em;
}

.closing p {
  margin: 22px auto 0;
  max-width: 30em;
  color: var(--text-2);
  font-size: 18px;
}

.closing .actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 40px;
}

/* ---------------------------------------------------------------- Footer */

.site-footer .brand {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 48px;
  font-size: 14px;
  color: var(--text-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}

.footer-grid .about {
  margin-top: 16px;
  max-width: 22em;
}

.footer-grid h4 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-grid a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-grid a:hover {
  color: var(--text);
}

.legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.7;
}

/* ---------------------------------------------------------------- Documents (privacy, terms, support) */

.doc-hero {
  padding-top: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.doc-hero h1 {
  margin-top: 22px;
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: -0.048em;
}

.doc-hero p:not(.label) {
  margin-top: 22px;
  max-width: 34em;
  font-size: 19px;
  color: var(--text-2);
}

.doc-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  gap: 96px;
  padding-top: 56px;
  padding-bottom: 120px;
}

.toc {
  position: sticky;
  top: 104px;
  align-self: start;
  font-size: 14px;
}

.toc ol {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  display: grid;
  grid-template-columns: 28px 1fr;
}

.toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  padding-top: 3px;
}

.toc a {
  color: var(--text-2);
  text-decoration: none;
}

.toc a:hover {
  color: var(--text);
}

.toc .meta {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.7;
}

.prose {
  counter-reset: sec;
}

.prose .summary {
  padding: 26px 28px;
  border-radius: 16px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}

.prose h2 {
  counter-increment: sec;
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 56px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.prose h2::before {
  content: counter(sec, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-3);
  min-width: 22px;
}

.prose p,
.prose li {
  color: #c9d0dc;
}

.prose p + p {
  margin-top: 14px;
}

.prose ul {
  margin: 14px 0 0;
  padding-left: 1.1em;
  display: grid;
  gap: 10px;
}

.prose ul + p {
  margin-top: 14px;
}

.prose li::marker {
  color: var(--text-3);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a {
  color: var(--text);
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: currentColor;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 32px;
  align-items: center;
  padding: 32px;
  border-radius: 20px;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.contact-card h2 {
  font-size: 26px;
  letter-spacing: -0.025em;
}

.contact-card p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15.5px;
}

.support-body {
  max-width: 880px;
  padding-top: 56px;
  padding-bottom: 120px;
}

.doc-faq {
  margin-top: 72px;
}

.doc-faq > h2 {
  font-size: 26px;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.lost {
  min-height: 70vh;
  display: grid;
  align-content: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.lost h1 {
  margin-top: 22px;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.05em;
}

.lost p:not(.label) {
  margin-top: 22px;
  color: var(--text-2);
  font-size: 19px;
}

.lost .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ---------------------------------------------------------------- Motion (only when JS runs) */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}

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

.js .ribbon .shift {
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
  transition-delay: calc(var(--i, 0) * 28ms);
}

.js .ribbon.in .shift {
  opacity: 1;
  transform: none;
}

.js .rise {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 110ms + 100ms);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.js .device.rise {
  animation-duration: 1.4s;
}

.js .progress i {
  animation: fill 1.6s var(--ease) 1.1s both;
}

.js .split i {
  animation: fill 1.2s var(--ease) both;
  animation-delay: calc(1.5s + var(--i, 0) * 120ms);
}

@keyframes fill {
  from {
    transform: scaleX(0);
  }
}

/* ---------------------------------------------------------------- Responsive */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 40px;
  }

  .rule {
    grid-template-columns: minmax(0, 1fr) 110px;
    row-gap: 4px;
  }

  .rule .when {
    grid-row: 2;
    grid-column: 1;
  }

  .rule .rate {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 24px;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 88px;
  }

  .hero-grid,
  .section-head,
  .statement-grid,
  .faq-grid,
  .check-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid {
    gap: 72px;
  }

  .section-head {
    gap: 22px;
    margin-bottom: 44px;
  }

  .statement-grid,
  .faq-grid {
    gap: 48px;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .fact:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section {
    padding-top: 110px;
  }

  .ribbon,
  .ribbon-days {
    grid-template-columns: repeat(14, minmax(0, 1fr));
  }

  .ribbon-runs {
    display: none;
  }

  .ribbon-caption {
    display: block;
  }

  .trio {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 56px;
  }

  .trio > div {
    padding-bottom: 26px;
  }

  .zeros {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    margin-top: 60px;
  }

  .privacy-band {
    padding: 96px 0;
    margin-top: 110px;
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan + .plan {
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .doc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .toc {
    position: static;
  }

  .toc ol {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .closing {
    padding: 120px 0 110px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 16px;
  }

  .nav {
    gap: 20px;
  }

  .nav .hide-sm {
    display: none;
  }

  .hero h1 {
    font-size: clamp(42px, 12.4vw, 60px);
  }

  .hero .lede {
    font-size: 17px;
  }

  .device {
    width: 300px;
  }

  .screen {
    height: 620px;
  }

  .fact {
    padding: 22px 14px 24px;
  }

  .fact strong {
    font-size: 21px;
  }

  .ribbon,
  .ribbon-days {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
  }

  .ribbon .shift {
    aspect-ratio: 1;
  }

  .ribbon-days {
    display: none;
  }

  .slip {
    padding: 26px 20px 22px;
    font-size: 13.5px;
  }

  .slip-head {
    flex-direction: column;
  }

  .slip-head .meta {
    text-align: left;
  }

  .slip-net strong {
    font-size: 26px;
  }

  .rule {
    grid-template-columns: minmax(0, 1fr) 80px;
    column-gap: 16px;
  }

  .rule .what {
    font-size: 18px;
  }

  .rule .rate {
    font-size: 24px;
  }

  .rule-result {
    padding: 22px;
  }

  .panel {
    padding: 22px 18px;
  }

  .plan {
    padding: 32px 24px 36px;
  }

  .price strong {
    font-size: 52px;
  }

  .faq summary {
    font-size: 17px;
  }

  .faq details p {
    padding-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }

  .toc ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal,
  .js .rise,
  .js .ribbon .shift {
    opacity: 1;
    transform: none;
  }
}
