@font-face {
  font-family: "Bebas Neue";
  src: url("/assets/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --black: #070707;
  --ink: #0d0d0d;
  --panel: #111212;
  --panel-soft: #161717;
  --line: rgba(236, 230, 220, 0.14);
  --paper: #e9e3d9;
  --muted: #989690;
  --red: #f23832;
  --red-dark: #9f1817;
  --green: #82ad3e;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.035), transparent 25%),
    var(--black);
  color: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.13;
  background:
    repeating-linear-gradient(113deg, transparent 0 3px, rgba(255, 255, 255, 0.045) 3px 4px),
    repeating-linear-gradient(17deg, transparent 0 7px, rgba(0, 0, 0, 0.18) 7px 8px);
  background-size: 41px 37px, 53px 47px;
  mix-blend-mode: soft-light;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

::selection {
  background: var(--red);
  color: #fff;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--black);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 30;
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  height: 94px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 32px/1 var(--display);
  letter-spacing: 0.035em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.primary-nav a {
  position: relative;
  color: #bbb7b1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--red);
  transition: transform 180ms ease;
}

.primary-nav > a:hover::after,
.primary-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(233, 227, 217, 0.25);
}

.nav-cta span {
  color: var(--red);
  font-size: 9px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 920px;
  padding: 170px max(24px, calc((100vw - var(--max)) / 2)) 90px;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.2), rgba(7, 7, 7, 0.7)),
    radial-gradient(circle at 75% 45%, rgba(242, 56, 50, 0.16), transparent 27%),
    linear-gradient(135deg, #0d0e0e, #050505 62%);
}

.hero::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 1px;
  content: "";
  background: linear-gradient(transparent 8%, var(--line) 20%, var(--line) 80%, transparent 92%);
}

.hero-grain {
  position: absolute;
  inset: auto -12vw -32vw auto;
  z-index: -2;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  box-shadow:
    0 0 0 12vw rgba(255, 255, 255, 0.008),
    0 0 0 24vw rgba(255, 255, 255, 0.006);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding-right: 30px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: var(--red);
}

.hero h1,
.section h2,
.download-section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(92px, 8.8vw, 154px);
  line-height: 0.81;
}

.hero h1 span,
.section h2 span,
.download-section h2 span {
  color: var(--red);
}

.hero-lead {
  max-width: 560px;
  margin: 38px 0 0;
  color: #b9b5ae;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  background: var(--red);
  box-shadow: 0 12px 34px rgba(242, 56, 50, 0.18);
  color: white;
  transition: transform 180ms ease, background 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background: #ff4942;
}

.button-quiet {
  border: 1px solid var(--line);
  color: #bcb8b1;
}

.apple-mark,
.store-apple {
  display: inline-grid;
  place-items: center;
  color: var(--paper);
  font-size: 19px;
}

.hero-proof {
  display: flex;
  margin-top: 44px;
  align-items: center;
  gap: 9px;
  color: #ded8d0;
  font: 20px/1 var(--display);
  letter-spacing: 0.06em;
}

.hero-proof i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
}

.hero-proof small {
  margin-left: 6px;
  color: #77756f;
  font: 9px/1 var(--body);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  height: 690px;
  min-width: 560px;
}

.hero-visual::before {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(233, 227, 217, 0.13);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 40px rgba(255, 255, 255, 0.012),
    0 0 0 80px rgba(255, 255, 255, 0.008);
}

.red-orbit {
  position: absolute;
  top: 4%;
  right: -18%;
  width: 560px;
  height: 560px;
  border: 80px solid rgba(242, 56, 50, 0.08);
  border-radius: 50%;
  filter: blur(1px);
}

.hero-number {
  position: absolute;
  top: 9%;
  left: 1%;
  color: rgba(233, 227, 217, 0.035);
  font: 390px/1 var(--display);
  letter-spacing: -0.05em;
}

.phone {
  position: absolute;
  z-index: 2;
  height: auto;
  filter: drop-shadow(0 32px 36px rgba(0, 0, 0, 0.65));
}

.phone-front {
  top: 15px;
  left: 28%;
  width: 266px;
  transform: rotate(-2.5deg);
}

.phone-back {
  top: 86px;
  right: 1%;
  z-index: 1;
  width: 231px;
  transform: rotate(5deg);
  opacity: 0.72;
}

.streak-card,
.complete-card {
  position: absolute;
  z-index: 4;
  min-width: 142px;
  padding: 14px 17px;
  border: 1px solid rgba(233, 227, 217, 0.13);
  background: rgba(20, 20, 20, 0.88);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  text-transform: uppercase;
}

.streak-card {
  top: 24%;
  left: 7%;
}

.complete-card {
  right: -2%;
  bottom: 18%;
}

.streak-card b {
  display: block;
  color: var(--red);
  font: 40px/0.9 var(--display);
}

.streak-card span,
.complete-card span,
.complete-card b {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.complete-card b {
  color: var(--green);
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%) rotate(-90deg) translateX(50%);
  transform-origin: center;
  color: #65635f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 44px;
  height: 1px;
  background: #5b5955;
}

.manifesto {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 65px);
  padding: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0b0b0b;
}

.manifesto p {
  margin: 0;
  font: clamp(31px, 3vw, 52px)/1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.manifesto span {
  color: var(--red);
  font-size: 9px;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 140px 0;
}

.section-heading {
  display: grid;
  margin-bottom: 70px;
  grid-template-columns: 1.5fr 0.7fr;
  align-items: end;
  gap: 80px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -42px;
}

.section h2,
.download-section h2 {
  font-size: clamp(65px, 7vw, 108px);
  line-height: 0.86;
}

.section-heading > p:last-child,
.tour-copy > p,
.board-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.method-card {
  position: relative;
  min-height: 430px;
  padding: 42px 38px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.method-card + .method-card {
  border-left: 0;
}

.method-card.featured {
  background:
    linear-gradient(180deg, rgba(242, 56, 50, 0.1), transparent 68%),
    var(--panel);
}

.card-number {
  position: absolute;
  top: 28px;
  right: 30px;
  color: #55534f;
  font: 22px/1 var(--display);
}

.method-icon {
  display: grid;
  width: 78px;
  height: 78px;
  margin: 28px 0 75px;
  place-items: center;
  border: 1px solid rgba(233, 227, 217, 0.18);
  border-radius: 50%;
  color: var(--red);
  font: 42px/1 var(--display);
}

.target-icon {
  position: relative;
  border-color: var(--red);
}

.target-icon::before,
.target-icon::after,
.target-icon i {
  position: absolute;
  border: 1px solid var(--red);
  border-radius: 50%;
  content: "";
}

.target-icon::before {
  inset: 16px;
}

.target-icon::after {
  inset: 30px;
  background: var(--red);
}

.target-icon i {
  top: -7px;
  right: 36px;
  bottom: -7px;
  left: 36px;
  border-width: 0 1px;
  border-radius: 0;
}

.method-card h3,
.feature h3 {
  margin: 0 0 16px;
  font: 42px/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.method-card p,
.feature > p,
.feature-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.app-tour {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  align-items: center;
  gap: 90px;
}

.tour-copy h2,
.board-copy h2 {
  margin-bottom: 28px;
}

.tour-description {
  max-width: 500px;
  min-height: 82px;
}

.tour-tabs {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.tour-tab {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #77746f;
  font: 29px/1 var(--display);
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, padding 180ms ease;
}

.tour-tab span {
  color: #514f4c;
  font: 11px/1 var(--body);
  font-weight: 800;
}

.tour-tab:hover,
.tour-tab:focus-visible,
.tour-tab.active {
  padding-left: 12px;
  color: var(--paper);
}

.tour-tab.active::after {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  content: "";
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(242, 56, 50, 0.12);
}

.tour-stage {
  position: relative;
  display: grid;
  min-height: 760px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(242, 56, 50, 0.13), transparent 36%),
    #0c0d0d;
  background-size: 45px 45px, 45px 45px, auto, auto;
}

.tour-stage::before {
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(242, 56, 50, 0.32);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 70px rgba(242, 56, 50, 0.025),
    0 0 0 140px rgba(242, 56, 50, 0.014);
}

.tour-stage img {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 56%;
  max-height: 680px;
  filter: drop-shadow(0 34px 45px rgba(0, 0, 0, 0.72));
  transition: opacity 160ms ease, transform 220ms ease;
}

.tour-stage img.switching {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
}

.tour-word {
  position: absolute;
  color: rgba(233, 227, 217, 0.035);
  font: clamp(130px, 14vw, 220px)/0.8 var(--display);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: rotate(-90deg);
}

.tour-stage-line {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 28px;
  width: 1px;
  background: linear-gradient(var(--red) 0 10%, var(--line) 10% 100%);
}

.tour-badge {
  position: absolute;
  z-index: 3;
  min-width: 150px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.9);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.38);
  text-transform: uppercase;
}

.tour-badge small,
.tour-badge b {
  display: block;
}

.tour-badge small {
  margin-bottom: 5px;
  color: #6e6c67;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.tour-badge b {
  font: 25px/1 var(--display);
}

.tour-badge-top {
  top: 19%;
  left: 8%;
}

.tour-badge-bottom {
  right: 7%;
  bottom: 18%;
}

.tour-badge-bottom b {
  color: var(--green);
}

.board-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 100px;
}

.board-visual {
  position: relative;
  display: grid;
  min-height: 860px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 45%),
    #0b0b0b;
}

.board-visual::before,
.board-visual::after {
  position: absolute;
  content: "";
}

.board-visual::before {
  inset: 24px;
  border: 1px solid var(--line);
}

.board-visual::after {
  top: 9%;
  right: 7%;
  width: 110px;
  height: 3px;
  background: var(--red);
}

.board-frame {
  position: relative;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(233, 227, 217, 0.2);
  background: #050505;
  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.62);
}

.board-frame img {
  width: 272px;
}

.board-progress {
  position: absolute;
  right: 7%;
  bottom: 8%;
  left: 7%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: #77746e;
  font: 17px/1 var(--display);
}

.board-progress div {
  height: 2px;
  background: #2a2a2a;
}

.board-progress i {
  display: block;
  width: 16%;
  height: 100%;
  background: var(--red);
}

.board-copy {
  max-width: 480px;
}

.board-list {
  margin: 45px 0 0;
  padding: 0;
  list-style: none;
}

.board-list li {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
  color: #c8c3bb;
  font-size: 14px;
}

.board-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.board-list span {
  color: var(--red);
  font: 18px/1 var(--display);
}

.section-heading.compact {
  display: block;
}

.section-heading.compact .eyebrow {
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.feature {
  position: relative;
  min-height: 390px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.feature-index {
  margin-bottom: 75px !important;
  color: #686660 !important;
  font-size: 9px !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature h3 {
  font-size: clamp(38px, 4vw, 58px);
}

.feature-large {
  display: grid;
  min-height: 640px;
  grid-column: span 8;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  background:
    radial-gradient(circle at 80% 70%, rgba(242, 56, 50, 0.12), transparent 30%),
    var(--panel);
}

.feature-large .feature-copy {
  align-self: start;
}

.feature-large img {
  position: absolute;
  right: 5%;
  bottom: -14%;
  width: 255px;
  filter: drop-shadow(0 30px 40px #000);
}

.feature-grid > .feature:nth-child(2) {
  grid-column: span 4;
  border-left: 0;
}

.notification-card {
  position: absolute;
  right: 22px;
  bottom: 35px;
  left: 22px;
  display: grid;
  min-height: 82px;
  padding: 14px;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(36, 36, 36, 0.88);
  box-shadow: 0 24px 35px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.notification-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  background: var(--red);
  font: 23px/1 var(--display);
}

.notification-card b,
.notification-card span {
  display: block;
  font-size: 11px;
}

.notification-card span {
  margin-top: 5px;
  color: #aaa7a1;
  line-height: 1.35;
}

.notification-card small {
  color: #777;
  font-size: 9px;
}

.feature-red {
  grid-column: span 4;
  border-top: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 48%),
    var(--red-dark);
}

.feature-red .feature-index,
.feature-red p {
  color: rgba(255, 255, 255, 0.66) !important;
}

.reset-mark {
  position: absolute;
  top: 55px;
  right: 25px;
  color: rgba(0, 0, 0, 0.18);
  font: 230px/1 var(--display);
}

.feature-share {
  display: grid;
  min-height: 580px;
  grid-column: span 5;
  grid-template-columns: 1fr 0.85fr;
  border-top: 0;
  border-left: 0;
  align-items: end;
}

.feature-share .feature-copy {
  align-self: start;
}

.feature-share img {
  position: absolute;
  right: -3%;
  bottom: -16%;
  width: 230px;
  transform: rotate(2.5deg);
  filter: drop-shadow(0 24px 34px #000);
}

.feature-stats {
  min-height: 580px;
  grid-column: span 3;
  border-top: 0;
  border-left: 0;
  background:
    radial-gradient(circle at 50% 85%, rgba(242, 56, 50, 0.16), transparent 42%),
    #0b0b0b;
}

.stat-row {
  position: absolute;
  right: 25px;
  bottom: 35px;
  left: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-row div {
  padding: 14px 7px;
  border: 1px solid var(--line);
  text-align: center;
}

.stat-row div + div {
  border-left: 0;
}

.stat-row b,
.stat-row span {
  display: block;
}

.stat-row b {
  font: 33px/1 var(--display);
}

.stat-row span {
  margin-top: 5px;
  color: #74716c;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.download-section {
  position: relative;
  display: flex;
  min-height: 850px;
  padding: 120px 24px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 58%, rgba(242, 56, 50, 0.12), transparent 26%),
    linear-gradient(180deg, #080808, #050505);
  text-align: center;
}

.download-section::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 680px;
  height: 680px;
  border: 1px solid rgba(233, 227, 217, 0.08);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 100px rgba(255, 255, 255, 0.01),
    0 0 0 200px rgba(255, 255, 255, 0.006);
}

.download-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 240px;
  height: 850px;
  transform: translateX(-50%);
  background: linear-gradient(rgba(242, 56, 50, 0.12), transparent);
  filter: blur(60px);
}

.download-logo {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 26px;
  border-radius: 25px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.download-section .eyebrow {
  position: relative;
}

.download-section h2 {
  position: relative;
  font-size: clamp(74px, 8.5vw, 138px);
}

.download-section > p:not(.eyebrow) {
  position: relative;
  margin: 28px 0;
  color: var(--muted);
}

.store-button {
  position: relative;
  display: inline-flex;
  min-width: 240px;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(233, 227, 217, 0.3);
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
}

.store-button small,
.store-button b {
  display: block;
}

.store-button small {
  color: #96938d;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.store-button b {
  margin-top: 2px;
  font-size: 22px;
}

.store-apple {
  font-size: 26px;
}

.download-note {
  position: relative;
  margin-top: 20px;
  color: #56544f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  min-height: 150px;
  padding: 40px max(24px, calc((100vw - var(--max)) / 2));
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-brand {
  font-size: 27px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.site-footer > p {
  color: #605e59;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer nav a {
  color: #aaa6a0;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer > small {
  grid-column: 1 / -1;
  color: #4c4a46;
  font-size: 9px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal and support pages */
.subpage {
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 8%, rgba(242, 56, 50, 0.1), transparent 25%),
    var(--black);
}

.subpage .site-header {
  position: relative;
}

.subpage-main {
  width: min(calc(100% - 48px), 900px);
  margin: 0 auto;
  padding: 105px 0 140px;
}

.subpage-hero {
  padding-bottom: 65px;
  border-bottom: 1px solid var(--line);
}

.subpage-hero h1 {
  margin: 0;
  font: clamp(72px, 10vw, 128px)/0.9 var(--display);
  text-transform: uppercase;
}

.subpage-hero p:last-child {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.legal-content {
  display: grid;
  gap: 46px;
  padding-top: 70px;
}

.legal-content section {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 40px;
}

.legal-content h2 {
  margin: 0;
  color: var(--paper);
  font: 29px/1 var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.legal-content p,
.legal-content li {
  color: #aaa7a1;
  font-size: 15px;
  line-height: 1.75;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 0;
  padding-left: 20px;
}

.legal-content a {
  color: var(--paper);
}

.support-grid {
  display: grid;
  margin-top: 70px;
  grid-template-columns: repeat(2, 1fr);
}

.support-card {
  min-height: 230px;
  padding: 34px;
  border: 1px solid var(--line);
}

.support-card:nth-child(even) {
  border-left: 0;
}

.support-card:nth-child(n + 3) {
  border-top: 0;
}

.support-card span {
  color: var(--red);
  font: 20px/1 var(--display);
}

.support-card h2 {
  margin: 42px 0 12px;
  font: 32px/1 var(--display);
  text-transform: uppercase;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.support-cta {
  margin-top: 60px;
  padding: 45px;
  border-left: 3px solid var(--red);
  background: var(--panel);
}

.support-cta h2 {
  margin: 0 0 12px;
  font: 38px/1 var(--display);
  text-transform: uppercase;
}

.support-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 94px);
  place-items: center;
  padding: 70px 24px;
  text-align: center;
}

.not-found b {
  color: rgba(233, 227, 217, 0.06);
  font: min(42vw, 400px)/0.65 var(--display);
}

.not-found h1 {
  margin: -20px 0 12px;
  font: clamp(55px, 8vw, 100px)/1 var(--display);
  text-transform: uppercase;
}

.not-found p {
  margin: 0 0 30px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .hero h1 {
    font-size: clamp(82px, 10vw, 120px);
  }

  .hero-visual {
    min-width: 470px;
    transform: scale(0.9);
  }

  .app-tour,
  .board-section {
    gap: 55px;
  }

  .feature-large {
    grid-column: span 7;
  }

  .feature-grid > .feature:nth-child(2) {
    grid-column: span 5;
  }

  .feature-red {
    grid-column: span 5;
  }

  .feature-share {
    grid-column: span 7;
  }

  .feature-stats {
    grid-column: span 12;
    min-height: 360px;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .site-header {
    width: calc(100% - 36px);
    height: 78px;
  }

  .menu-toggle {
    position: relative;
    z-index: 32;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    background: #0b0b0b;
  }

  .menu-toggle span {
    display: block;
    width: 19px;
    height: 1px;
    background: var(--paper);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 31;
    display: flex;
    padding: 110px 32px 50px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: rgba(7, 7, 7, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    font: 42px/1 var(--display);
    color: var(--paper);
  }

  .nav-cta {
    min-height: 60px;
    font-size: 31px !important;
  }

  .hero {
    min-height: 1220px;
    padding-top: 135px;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    max-width: none;
    padding-right: 0;
  }

  .hero h1 {
    font-size: clamp(88px, 20vw, 142px);
  }

  .hero-visual {
    width: 100%;
    min-width: 0;
    margin-top: 45px;
    transform: none;
  }

  .phone-front {
    left: 24%;
  }

  .phone-back {
    right: 5%;
  }

  .manifesto {
    gap: 17px;
  }

  .manifesto p {
    font-size: 29px;
  }

  .section {
    padding: 105px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 20px;
  }

  .section-heading > p:last-child {
    max-width: 550px;
    margin-top: 30px;
  }

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

  .method-card {
    min-height: 340px;
  }

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

  .method-icon {
    margin-bottom: 45px;
  }

  .app-tour,
  .board-section {
    grid-template-columns: 1fr;
  }

  .tour-stage {
    min-height: 720px;
    grid-row: 1;
  }

  .board-visual {
    min-height: 760px;
  }

  .feature-large,
  .feature-grid > .feature:nth-child(2),
  .feature-red,
  .feature-share,
  .feature-stats {
    grid-column: span 12;
  }

  .feature-grid > .feature:nth-child(2),
  .feature-share,
  .feature-stats {
    border-left: 1px solid var(--line);
  }

  .feature-grid > .feature:nth-child(2) {
    border-top: 0;
  }

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

  .site-footer > p {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header,
  .section {
    width: calc(100% - 28px);
  }

  .brand {
    font-size: 27px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 1080px;
    padding: 122px 14px 60px;
  }

  .hero h1 {
    font-size: clamp(78px, 24vw, 112px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    flex-wrap: wrap;
  }

  .hero-proof small {
    flex-basis: 100%;
    margin: 6px 0 0;
  }

  .hero-visual {
    height: 530px;
  }

  .hero-visual::before {
    width: 340px;
    height: 340px;
  }

  .hero-number {
    top: 8%;
    left: -6%;
    font-size: 270px;
  }

  .phone-front {
    top: 8px;
    left: 18%;
    width: 205px;
  }

  .phone-back {
    top: 68px;
    right: -8%;
    width: 178px;
  }

  .streak-card {
    top: 27%;
    left: 0;
    min-width: 105px;
  }

  .complete-card {
    right: 0;
    bottom: 9%;
    min-width: 125px;
  }

  .manifesto {
    min-height: 100px;
    gap: 10px;
  }

  .manifesto p {
    font-size: 20px;
  }

  .manifesto span {
    font-size: 6px;
  }

  .section {
    padding: 90px 0;
  }

  .section h2,
  .download-section h2 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .method-card {
    padding: 30px 26px;
  }

  .tour-stage {
    min-height: 610px;
  }

  .tour-stage img {
    max-width: 61%;
    max-height: 560px;
  }

  .tour-badge {
    min-width: 120px;
    padding: 12px;
  }

  .tour-badge-top {
    top: 14%;
    left: 3%;
  }

  .tour-badge-bottom {
    right: 2%;
    bottom: 13%;
  }

  .tour-badge b {
    font-size: 20px;
  }

  .board-section {
    gap: 55px;
  }

  .board-visual {
    min-height: 650px;
  }

  .board-frame img {
    width: 220px;
  }

  .feature {
    min-height: 350px;
    padding: 28px;
  }

  .feature-large {
    min-height: 650px;
    display: block;
  }

  .feature-large img {
    right: 50%;
    width: 220px;
    transform: translateX(50%);
  }

  .feature-share {
    min-height: 570px;
  }

  .feature-share img {
    width: 205px;
  }

  .download-section {
    min-height: 760px;
  }

  .download-logo {
    width: 105px;
    height: 105px;
  }

  .site-footer {
    padding: 42px 20px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .subpage-main {
    width: calc(100% - 28px);
    padding-top: 75px;
  }

  .legal-content section {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .support-card:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .support-card:nth-child(n + 2) {
    border-top: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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