@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("poppins-700.woff2") format("woff2"); }

:root {
  --bg: #0e1418;
  --surface: #1c242c;
  --surface-2: #283038;
  --band: #1b4e50;
  --text: #d4dde2;
  --muted: #a0b0b8;
  --line: #2c3840;
  --teal: #4dd8d8;
  --on-teal: #002020;
  --del-bg: #2f1f21;
  --del-mark: #7a2e2e;
  --add-bg: #17281f;
  --add-mark: #2d6a3e;
  --display: "Poppins", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Roboto Mono", Menlo, monospace;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-head { background: var(--band); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #e6fbfb; text-decoration: none; font: 700 19px/1 var(--display); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 22px; font: 500 15px/1 var(--display); }
.site-nav a { color: #cfeeee; text-decoration: none; padding: 8px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: var(--on-teal);
  font: 700 16px/1 var(--display);
  padding: 15px 22px; border-radius: 999px; text-decoration: none;
}
.btn:hover { background: #7ae5e5; text-decoration: none; }
.btn svg { width: 20px; height: 20px; }
.note { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 {
  font: 700 clamp(40px, 6vw, 64px)/1.05 var(--display);
  letter-spacing: -0.02em; margin: 0 0 20px; color: #f1f6f8;
}
.hero p.lede { font-size: 19px; color: var(--text); max-width: 34em; margin: 0 0 28px; }

/* The diff: the page's one memorable element, styled like the app's Changes tab */
.diff-demo { position: relative; padding-top: 64px; }
.diff {
  background: #0f1519; border: 1px solid var(--line); border-radius: 16px;
  font: 16px/1.25 var(--mono); padding: 18px 0; overflow: hidden;
}
.diff .title { font: 500 14px/1 var(--display); color: var(--muted); padding: 0 20px 14px; }
.diff .ln { display: flex; gap: 14px; padding: 6px 20px; white-space: nowrap; }
.diff .ln::before { content: " "; width: 1ch; color: var(--muted); flex: none; }
.diff .del { background: var(--del-bg); }
.diff .del::before { content: "\2212"; }
.diff .add { background: var(--add-bg); }
.diff .add::before { content: "+"; }
.diff mark { color: inherit; border-radius: 3px; padding: 0 2px; }
.diff .del mark { background: var(--del-mark); }
.diff .add mark { background: var(--add-mark); }

.toast {
  position: absolute; top: 0; right: 0; left: 18%;
  display: flex; gap: 12px; align-items: center;
  background: #e9eef1; color: #1a2228; border-radius: 16px;
  padding: 12px 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  font-size: 14px; line-height: 1.35;
}
.toast img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.toast b { display: block; font: 700 14px/1.3 var(--display); }

@media (prefers-reduced-motion: no-preference) {
  .diff .del, .diff .add, .toast { animation: rise .5s ease-out both; }
  .diff .del { animation-delay: .5s; }
  .diff .add { animation-delay: 1.1s; }
  .diff .add + .add { animation-delay: 1.25s; }
  .diff .add + .add + .add { animation-delay: 1.4s; }
  .toast { animation-delay: 2s; animation-duration: .6s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* Sections */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { font: 700 clamp(28px, 3.6vw, 38px)/1.15 var(--display); letter-spacing: -0.01em; margin: 0 0 14px; color: #f1f6f8; }
h3 { font: 700 19px/1.3 var(--display); margin: 0 0 6px; color: #f1f6f8; }
.section-lede { color: var(--muted); max-width: 40em; margin: 0 0 40px; }

/* Uses: what people watch, each with the change they wait for */
.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 48px; }
.uses p { margin: 0 0 10px; color: var(--muted); }
.change { font: 15px/1.4 var(--mono); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.change s, .change ins { text-decoration: none; padding: 3px 8px; border-radius: 6px; }
.change s { background: var(--del-mark); color: #f3d9d9; }
.change ins { background: var(--add-mark); color: #dcf3e3; }
.change span { color: var(--muted); }

/* Steps: a real sequence, so they're numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; }
.steps .phone { margin-top: auto; }
.steps h3::before { content: counter(step) ". "; color: var(--teal); }
.steps p { color: var(--muted); margin: 0 0 20px; }
.phone { border: 6px solid #283038; border-radius: 28px; overflow: hidden; background: #0e1418; max-width: 280px; }
.phone img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }

/* Private */
.private { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { padding-top: 0; }
.facts b { color: #f1f6f8; font-weight: 600; }

/* Plans */
.plans { width: 100%; border-collapse: collapse; max-width: 760px; }
.plans th, .plans td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plans thead th { font: 700 18px/1.2 var(--display); color: #f1f6f8; }
.plans thead th:last-child { color: var(--teal); }
.plans tbody th { font-weight: 500; color: var(--muted); width: 34%; }
.plans-cta { margin-top: 32px; }

/* Text pages (privacy, terms, support) */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font: 700 clamp(32px, 5vw, 44px)/1.1 var(--display); margin: 0 0 8px; color: #f1f6f8; }
.doc .updated { color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc li { margin-bottom: 8px; }
.doc code { font: 14px var(--mono); background: var(--surface); padding: 2px 6px; border-radius: 4px; }
.doc .callout { background: var(--surface); border-left: 4px solid var(--teal); padding: 16px 20px; border-radius: 0 10px 10px 0; }
.doc dt { font: 700 17px/1.4 var(--display); color: #f1f6f8; margin-top: 24px; }
.doc dd { margin: 6px 0 0; color: var(--text); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero .wrap, .private { grid-template-columns: 1fr; gap: 40px; }
  .uses, .steps { grid-template-columns: 1fr; }
  .steps .phone { max-width: 240px; }
  .toast { left: 8%; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .site-nav { gap: 16px; font-size: 14px; }
  .diff { font-size: 14px; }
  .plans th, .plans td { padding: 12px 8px; }
}
