/*
 * feltsmith.co.uk. Editorial and restrained, like the app: near-black chrome with hairline rules,
 * Space Grotesk for headings and numbers, mono for labels. The felt is the only rich surface.
 * Emerald means act or correct, gold is only for things you earn, red means wrong. Card faces are
 * white with the two-colour deck, the app's default.
 */
:root {
  --ink: #060c0a;
  --ink-2: #0b1411;
  --ink-3: #111c18;
  --line: rgba(200, 255, 230, 0.08);
  --line-2: rgba(200, 255, 230, 0.14);
  --text: #eef5f1;
  --text-2: #93a59d;
  --text-3: #5b6d65;
  --emerald: #2ee59d;
  --on-emerald: #04100b;
  --gold: #f5c451;
  --red: #ff5a64;
  --felt-centre: #15895a;
  --felt-mid: #0c6440;
  --felt-edge: #063b26;
  --rim: #0b1411;
  --card-black: #0b0b0b;
  --card-red: #d92d3a;
  --display: 'Space Grotesk', 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);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 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(46, 229, 157, 0.3);
}

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;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--emerald);
  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(6, 12, 10, 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 img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.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: 14px;
  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(--emerald);
  color: var(--on-emerald);
}

.btn-primary:hover {
  background: #4bf0ae;
}

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

.btn-quiet:hover {
  border-color: rgba(200, 255, 230, 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(--emerald);
  box-shadow: 0 0 0 0 rgba(46, 229, 157, 0.6);
  animation: beacon 2.4s ease-out infinite;
}

@keyframes beacon {
  70% {
    box-shadow: 0 0 0 9px rgba(46, 229, 157, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 229, 157, 0);
  }
}

/* ---------------------------------------------------------------- Playing cards */

.pc {
  position: relative;
  display: inline-block;
  flex: none;
  width: 40px;
  height: 56px;
  border-radius: 7px;
  background: #ffffff;
  color: var(--card-black);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  font-family: var(--display);
  line-height: 1;
}

.pc.red {
  color: var(--card-red);
}

.pc b {
  position: absolute;
  left: 5px;
  top: 4px;
  font-size: 19px;
  font-weight: 700;
}

.pc i {
  position: absolute;
  right: 4px;
  bottom: 4px;
  font-style: normal;
  font-size: 15px;
}

.pc.lg {
  width: 54px;
  height: 76px;
  border-radius: 9px;
}

.pc.lg b {
  left: 7px;
  top: 6px;
  font-size: 26px;
}

.pc.lg i {
  right: 6px;
  bottom: 5px;
  font-size: 20px;
}

.pc.xs {
  width: 24px;
  height: 33px;
  border-radius: 5px;
  box-shadow: none;
}

.pc.xs b {
  left: 3px;
  top: 3px;
  font-size: 12px;
}

.pc.xs i {
  right: 2px;
  bottom: 2px;
  font-size: 10px;
}

.pc.back {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 6px),
    var(--felt-mid);
  box-shadow:
    inset 0 0 0 2px #ffffff,
    0 6px 14px rgba(0, 0, 0, 0.35);
}

.felt {
  background: radial-gradient(
    ellipse at 50% 42%,
    var(--felt-centre) 0%,
    var(--felt-mid) 52%,
    var(--felt-edge) 100%
  );
  color: var(--text);
}

/* ---------------------------------------------------------------- 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% 24%, rgba(12, 100, 64, 0.42), transparent 70%),
    radial-gradient(40% 40% at 70% 64%, rgba(46, 229, 157, 0.05), 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);
  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 Home 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(21, 137, 90, 0.4), transparent 70%);
  filter: blur(20px);
}

.phone {
  position: relative;
  border-radius: 58px;
  padding: 11px;
  background: linear-gradient(145deg, #34403b 0%, #161d1a 30%, #0c110f 60%, #29332f 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: #040806;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1.35;
}

.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: 12px 4px 14px;
}

.app-greet {
  font-size: 12.5px;
  color: var(--text-2);
}

.app-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 29px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.app-right {
  display: flex;
  gap: 7px;
  align-items: center;
}

.credits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px 0 6px;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.13);
  color: var(--gold);
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.credits i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 45%, #d99a1e 46% 58%, var(--gold) 59%);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.credits b {
  font-weight: 600;
}

.app-round {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink-3);
  display: grid;
  place-items: center;
}

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

.tile {
  background: #0c1512;
  border-radius: 22px;
  padding: 14px;
  margin-bottom: 9px;
}

.level {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.ring circle {
  fill: none;
  stroke: rgba(140, 175, 160, 0.16);
  stroke-width: 6;
}

.ring .arc {
  stroke: var(--emerald);
  stroke-linecap: round;
  stroke-dasharray: 163.4;
  stroke-dashoffset: 49;
  transform: rotate(-90deg);
  transform-origin: 32px 32px;
}

.ring text {
  fill: var(--text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
}

.level-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.level .muted {
  font-size: 12px;
}

.streak {
  text-align: right;
  font-size: 11px;
  color: var(--text-2);
}

.streak b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
}

.felt-tile {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  background: radial-gradient(
    ellipse at 30% 30%,
    var(--felt-centre),
    var(--felt-mid) 55%,
    var(--felt-edge)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.mini-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(238, 245, 241, 0.72);
}

.felt-title {
  margin-top: 2px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.felt-tile p {
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(238, 245, 241, 0.78);
}

.sit {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--emerald);
  color: var(--on-emerald);
  font-weight: 700;
  font-size: 13px;
}

.felt-tile .pc {
  position: absolute;
  width: 46px;
  height: 64px;
}

.felt-tile .tilt-a {
  right: 46px;
  top: 22px;
  transform: rotate(-9deg);
}

.felt-tile .tilt-k {
  right: 16px;
  top: 16px;
  transform: rotate(7deg);
}

.felt-tile .pc b {
  font-size: 21px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.mode-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mode-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(46, 229, 157, 0.12);
  color: var(--emerald);
}

.mode-icon svg {
  width: 18px;
  height: 18px;
}

.xp {
  font-family: var(--display);
  font-weight: 600;
  color: var(--gold);
}

.mode-name {
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.mode .muted {
  font-size: 11.5px;
}

.tabbar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  display: flex;
  justify-content: space-around;
  padding: 5px;
  border-radius: 30px;
  background: rgba(16, 28, 23, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-2);
}

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

.tabbar .on {
  background: #1d2c26;
  color: var(--text);
}

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

.resume {
  display: flex;
  align-items: center;
  gap: 12px;
}

.resume .mini-felt {
  flex: none;
  width: 44px;
  height: 30px;
  border-radius: 15px;
  background: radial-gradient(ellipse at 50% 42%, var(--felt-centre), var(--felt-edge));
  box-shadow: 0 0 0 3px var(--rim);
}

.resume b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
}

.resume .muted {
  font-size: 11.5px;
}

.resume .go {
  margin-left: auto;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--emerald);
}

/* ---------------------------------------------------------------- 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: 24px;
  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;
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 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;
}

/* Drill question */
.drill {
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
}

.drill-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 18px 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
}

.drill-head .label {
  font-size: 11px;
}

.drill .felt {
  padding: 18px 20px 20px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span,
.bubble,
.pot,
.act {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.board {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 18px;
}

.hand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
}

.hand .bubble {
  margin-left: auto;
}

.drill-body {
  padding: 22px;
}

.drill-body h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 14px 0 8px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: var(--ink-3);
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 500;
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    opacity 0.4s var(--ease);
}

.opt b {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(140, 175, 160, 0.12);
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease);
}

.opt .mark {
  margin-left: auto;
  font-weight: 700;
  transition: opacity 0.4s var(--ease);
}

.opt.right {
  border-color: var(--emerald);
  background: rgba(46, 229, 157, 0.07);
}

.opt.right b {
  background: var(--emerald);
  color: var(--on-emerald);
}

.opt.right .mark {
  color: var(--emerald);
}

.opt.wrong {
  border-color: var(--red);
  background: rgba(255, 90, 100, 0.08);
}

.opt.wrong b {
  background: var(--red);
  color: #1a0507;
}

.opt.wrong .mark {
  color: var(--red);
}

.opt.dim {
  opacity: 0.42;
}

.why {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--ink-3);
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.why strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--display);
  font-size: 17px;
}

.again {
  display: table;
  margin-top: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.12);
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 600;
}

/* Play Mode table, seen from above */
.table-scene {
  padding: 46px 64px 0;
}

.table {
  position: relative;
  max-width: 880px;
  aspect-ratio: 2.1;
  margin: 0 auto;
}

.rail {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at 50% 42%,
    var(--felt-centre) 0%,
    var(--felt-mid) 52%,
    var(--felt-edge) 100%
  );
  box-shadow:
    0 0 0 10px var(--rim),
    0 0 0 11px var(--line-2),
    0 50px 90px -30px rgba(0, 0, 0, 0.9);
}

.rail::after {
  content: 'FELTSMITH';
  position: absolute;
  left: 50%;
  top: 17%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.07);
}

.centre {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
}

.centre .board {
  margin: 12px 0 0;
}

.slot {
  width: 40px;
  height: 56px;
  border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
}

.seat {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 112px;
  padding: 8px 14px;
  border-radius: 16px;
  background: #0d1713;
  border: 1px solid var(--line-2);
  text-align: center;
  z-index: 1;
}

.seat .who {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
}

.seat .stack {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  white-space: nowrap;
}

.seat.out {
  opacity: 0.45;
}

.seat .cards,
.seat .backs {
  position: absolute;
  bottom: calc(100% - 8px);
  display: flex;
  gap: 4px;
}

.seat .backs .pc {
  width: 30px;
  height: 42px;
}

.seat .act {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
}

.s-you {
  left: 50%;
  top: 100%;
  border-color: var(--emerald);
}

.s-sb {
  left: 9%;
  top: 84%;
}

.s-bb {
  left: 9%;
  top: 16%;
}

.s-utg {
  left: 50%;
  top: 0%;
}

.s-hj {
  left: 91%;
  top: 16%;
}

.s-co {
  left: 91%;
  top: 84%;
}

.s-bb .backs {
  bottom: auto;
  top: calc(100% - 6px);
}

.actionbar {
  max-width: 520px;
  margin: 82px auto 0;
}

.sizes {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.sizes span {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.sizes .on {
  background: var(--text);
  color: var(--ink);
}

.buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.buttons span {
  display: grid;
  place-items: center;
  height: 52px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 15px;
}

.buttons .fold {
  background: var(--ink-3);
  color: var(--red);
}

.buttons .check {
  background: #1d2c26;
}

.buttons .bet {
  background: var(--emerald);
  color: var(--on-emerald);
  box-shadow: 0 12px 30px -8px rgba(46, 229, 157, 0.5);
}

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

.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;
}

/* Hand review */
.streets {
  border-top: 1px solid var(--line-2);
}

.street {
  display: grid;
  grid-template-columns: 110px 130px minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.street .st {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.cards-inline {
  display: flex;
  gap: 4px;
}

.street .did {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.verdict {
  justify-self: end;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.verdict em {
  font-style: normal;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
}

.verdict.best {
  color: var(--emerald);
}

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

.verdict.miss {
  color: var(--red);
}

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

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

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

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

/* Progress */
.progress-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: 22px;
  padding: 30px;
}

.level-big {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
}

.ring.big {
  width: 104px;
  height: 104px;
  flex: none;
}

.level-big h3 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.level-big .muted {
  margin-top: 6px;
}

.ladder {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
}

.ladder span {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--text-3);
}

.ladder .here {
  border-color: var(--emerald);
  color: var(--text);
}

.streak-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15px;
}

.streak-row b {
  font-family: var(--display);
  font-size: 20px;
  color: var(--gold);
}

.stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  margin-top: 22px;
  font-size: 15px;
}

.stat .fig {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.stat i {
  grid-column: 1 / -1;
  display: block;
  height: 6px;
  border-radius: 3px;
  background:
    linear-gradient(var(--emerald), var(--emerald)) 0 0 / var(--w) 100% no-repeat,
    rgba(140, 175, 160, 0.12);
}

.title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.title-chip {
  flex: none;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(245, 196, 81, 0.13);
  color: var(--gold);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}

.title-row p {
  color: var(--text-2);
  font-size: 15px;
}

/* Offline and fair: 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(21, 137, 90, 0.12), 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(--emerald);
}

.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(21, 137, 90, 0.16), 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(--emerald);
  border: 1px solid rgba(46, 229, 157, 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(--emerald);
  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 30px 60px -20px rgba(21, 137, 90, 0.6);
}

.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;
}

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

/* ---------------------------------------------------------------- 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: #c7d4cd;
}

.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;
}

.lost .cards-lost {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

/* ---------------------------------------------------------------- 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 .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;
}

/* The XP ring fills on arrival */
.js .hero .ring .arc {
  animation: ring 1.6s var(--ease) 1s both;
}

.js .reveal .ring .arc {
  stroke-dashoffset: 163.4;
  transition: stroke-dashoffset 1.6s var(--ease) 0.4s;
}

.js .reveal.in .ring .arc {
  stroke-dashoffset: 49;
}

@keyframes ring {
  from {
    stroke-dashoffset: 163.4;
  }
}

/* Hero cards land on the felt */
.js .felt-tile .pc {
  animation: land 0.78s var(--spring) both;
}

.js .felt-tile .tilt-a {
  animation-delay: 1.2s;
  --r: -9deg;
}

.js .felt-tile .tilt-k {
  animation-delay: 1.32s;
  --r: 7deg;
}

@keyframes land {
  from {
    opacity: 0;
    transform: translateY(-55px) rotate(90deg) scale(0.65);
  }
  to {
    opacity: 1;
    transform: rotate(var(--r, 0deg));
  }
}

/* The drill answer is marked a moment after the question scrolls in */
.js .drill:not(.in) .opt {
  opacity: 1;
  border-color: transparent;
  background: var(--ink-3);
}

.js .drill:not(.in) .opt b {
  background: rgba(140, 175, 160, 0.12);
  color: var(--text-2);
}

.js .drill:not(.in) .opt .mark {
  opacity: 0;
}

.js .drill:not(.in) .why {
  opacity: 0;
  transform: translateY(12px);
}

.js .drill.in .opt,
.js .drill.in .opt b,
.js .drill.in .opt .mark {
  transition-delay: 1.3s;
}

.js .drill.in .why {
  transition-delay: 1.8s;
}

/* Flop dealt: a 90 ms stagger, as in the app */
.js .table-scene .deal {
  opacity: 0;
  transform: translateY(-55px) rotate(90deg) scale(0.65);
  transition:
    opacity 0.4s var(--ease),
    transform 0.78s var(--spring);
  transition-delay: calc(0.6s + var(--d, 0) * 90ms);
}

.js .table-scene.in .deal {
  opacity: 1;
  transform: none;
}

.js .stat i {
  background-size:
    0 100%,
    auto;
  transition: background-size 1.2s var(--ease) 0.5s;
}

.js .reveal.in .stat i {
  background-size:
    var(--w) 100%,
    auto;
}

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

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

  .street {
    grid-template-columns: 90px minmax(0, 1fr) auto;
    row-gap: 8px;
  }

  .street .cards-inline {
    grid-row: 2;
    grid-column: 2;
  }

  .street .did {
    grid-row: 1;
    grid-column: 2;
  }

  .street .verdict {
    grid-row: 1 / span 2;
    grid-column: 3;
  }
}

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

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

  .hero-grid,
  .section-head,
  .statement-grid,
  .faq-grid,
  .progress-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;
  }

  .table-scene {
    padding: 40px 20px 0;
  }

  .seat {
    min-width: 0;
    padding: 6px 10px;
  }

  .seat .stack {
    font-size: 10px;
  }

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

  .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: 640px;
    padding: 0 11px;
  }

  .resume {
    display: none;
  }

  .felt-tile .tilt-a {
    right: 38px;
  }

  .felt-tile .tilt-k {
    right: 10px;
  }

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

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

  .drill-head,
  .drill-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .drill .felt {
    padding: 16px;
  }

  .pc.lg {
    width: 46px;
    height: 64px;
  }

  .pc.lg b {
    font-size: 22px;
  }

  /* The table stands upright on a phone */
  .table-scene {
    padding: 34px 0 0;
  }

  .table {
    aspect-ratio: 0.82;
    max-width: 340px;
  }

  .rail {
    border-radius: 170px;
  }

  .rail::after {
    top: 30%;
    font-size: 12px;
  }

  .centre .pc,
  .centre .slot {
    width: 34px;
    height: 48px;
  }

  .centre .pc b {
    font-size: 16px;
  }

  .centre .pc i {
    font-size: 12px;
  }

  .centre .board {
    gap: 5px;
  }

  .s-sb,
  .s-bb {
    left: 12%;
  }

  .s-hj,
  .s-co {
    left: 88%;
  }

  .s-sb,
  .s-co {
    top: 78%;
  }

  .s-bb,
  .s-hj {
    top: 22%;
  }

  .seat .who {
    font-size: 12px;
  }

  .seat .act {
    left: 50%;
    top: auto;
    bottom: calc(100% + 54px);
    transform: translateX(-50%);
  }

  .s-bb .backs {
    top: auto;
    bottom: calc(100% - 6px);
  }

  .s-bb .act {
    bottom: calc(100% + 44px);
  }

  .actionbar {
    margin-top: 70px;
  }

  .sizes {
    gap: 5px;
  }

  .sizes span {
    padding: 6px 10px;
    font-size: 12px;
  }

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

  .street .st {
    grid-row: 1;
    grid-column: 1;
  }

  .street .did {
    grid-row: 2;
    grid-column: 1;
    font-size: 17px;
  }

  .street .cards-inline {
    grid-row: 3;
    grid-column: 1;
  }

  .street .verdict {
    grid-row: 1 / span 3;
    grid-column: 2;
    font-size: 18px;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }

  .result {
    padding: 22px;
  }

  .panel {
    padding: 22px 18px;
  }

  .level-big {
    gap: 16px;
  }

  .ring.big {
    width: 80px;
    height: 80px;
  }

  .level-big h3 {
    font-size: 21px;
  }

  .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 .table-scene .deal {
    opacity: 1;
    transform: none;
  }

  .js .felt-tile .tilt-a {
    transform: rotate(-9deg);
  }

  .js .felt-tile .tilt-k {
    transform: rotate(7deg);
  }
}
