:root {
  color-scheme: light dark;
  --paper: #f5f0e5;
  --paper-deep: #e9e0cf;
  --ink: #14272d;
  --ink-soft: #40545a;
  --night: #102229;
  --night-raised: #173139;
  --lime: #c7ee7c;
  --orange: #ad3f1c;
  --orange-bright: #e96c3b;
  --line: rgba(20, 39, 45, 0.2);
  --white: #fffdf8;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(29, 43, 44, 0.13);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--night);
  font-weight: 800;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.03em;
}

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

.brand-mark svg {
  width: 22px;
  fill: var(--lime);
}

nav {
  display: flex;
  gap: 28px;
}

nav a,
.footer-links a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 750;
}

nav a:hover,
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 850;
  box-shadow: 5px 5px 0 var(--orange-bright);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--orange-bright);
}

.button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.button-small {
  min-height: 42px;
  padding: 8px 15px;
  font-size: 0.78rem;
  box-shadow: none;
}

.hero {
  max-width: var(--max);
  min-height: 670px;
  margin: 0 auto;
  padding: 70px 26px 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(370px, 0.82fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 29px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.origin-lead {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 6.2vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h1 em {
  color: var(--orange);
  font-weight: 400;
}

.hero-deck {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-actions p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-proof {
  margin: 58px 0 0;
  padding: 23px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.hero-proof div {
  display: flex;
  flex-direction: column;
}

.hero-proof dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-proof dd {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-visual {
  min-height: 500px;
  padding: 42px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  background-color: var(--paper-deep);
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  box-shadow: 18px 18px 0 var(--ink);
}

.hero-visual::before {
  content: "THE LOOP";
  position: absolute;
  top: 17px;
  right: 20px;
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.loop-card {
  width: 82%;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1.5deg);
}

.loop-card-earn {
  margin-left: auto;
  background: var(--lime);
  color: #102229;
  transform: rotate(1.5deg);
}

.loop-card-run {
  width: 90%;
  background: var(--night);
  color: var(--white);
  transform: rotate(-0.5deg);
}

.loop-card-run .loop-number {
  color: #f07b4f;
}

.loop-number {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.loop-card div {
  display: flex;
  flex-direction: column;
}

.loop-card strong {
  font-size: 0.92rem;
}

.loop-card div span {
  font-size: 0.71rem;
  opacity: 0.75;
}

.loop-arrow {
  align-self: center;
  margin: -8px 12% -8px 0;
  font-size: 1.8rem;
  line-height: 1;
}

.loop-arrow-left {
  margin-right: 0;
  margin-left: 12%;
}

.visual-note {
  position: absolute;
  right: 18px;
  bottom: 13px;
  margin: 0;
  padding: 5px 8px;
  background: var(--paper-deep);
  font-size: 0.64rem;
  font-weight: 750;
}

.origin {
  padding: 58px max(26px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.35fr 1.65fr;
  gap: 40px;
  background: var(--orange-bright);
  color: var(--night);
}

.section-number {
  margin: 8px 0 0;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.origin > div {
  max-width: 780px;
}

.origin-lead {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.origin div p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  font-weight: 650;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 124px 26px;
}

.section-heading,
.pricing-heading,
.faq-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  column-gap: 70px;
  align-items: end;
}

.section-heading .eyebrow,
.pricing-heading .eyebrow,
.faq-heading .eyebrow {
  grid-column: 1 / -1;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.pricing-heading > p:last-child,
.faq-heading > p:last-child {
  max-width: 510px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.steps {
  margin: 75px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  min-height: 320px;
  padding: 28px 34px 28px 0;
  position: relative;
  border-right: 1px solid var(--line);
}

.steps li + li {
  padding-left: 34px;
}

.steps li:last-child {
  border-right: 0;
}

.step-number {
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.step-icon {
  width: 58px;
  height: 58px;
  margin: 48px 0 24px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.3;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.manifesto {
  padding: 112px max(26px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(70px, 10vw, 150px);
  background: var(--night);
  color: var(--white);
}

.eyebrow.light {
  color: var(--lime);
}

.manifesto-title {
  position: sticky;
  top: 40px;
  align-self: start;
}

.manifesto-title h2 {
  max-width: 440px;
}

.beliefs article {
  padding: 0 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.beliefs article + article {
  padding-top: 50px;
}

.beliefs article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.beliefs article > span {
  color: #f07b4f;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.beliefs h3 {
  margin: 17px 0 15px;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.27;
}

.beliefs p {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.95rem;
}

.town {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(60px, 9vw, 120px);
}

.town-copy h2 {
  margin-bottom: 28px;
}

.town-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.plain-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 800;
}

.plain-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.screenshot-grid figure {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.screenshot-grid figure:first-child:last-child,
.screenshot-grid figure:nth-child(3) {
  grid-column: 1 / -1;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-grid figcaption {
  padding: 8px 4px 2px;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.media-placeholder {
  min-height: 450px;
  padding: 50px;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(20, 39, 45, 0.35);
  background: var(--paper-deep);
  text-align: center;
}

.media-placeholder svg {
  width: 70px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
}

.media-placeholder strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 1.45rem;
}

.media-placeholder p {
  max-width: 340px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.dashboard {
  padding: 112px max(26px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(60px, 9vw, 120px);
  background: var(--night-raised);
  color: var(--white);
}

.dashboard-panel {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--night);
  box-shadow: 14px 14px 0 var(--lime);
}

.dashboard-topline {
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--lime);
}

.dashboard-grid {
  margin: 36px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.dashboard-grid div {
  display: flex;
  flex-direction: column;
}

.dashboard-grid span {
  color: rgba(255, 253, 248, 0.55);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-grid strong {
  font-family: Georgia, serif;
  font-size: 1.3rem;
}

.dashboard-bars {
  height: 108px;
  padding-top: 8px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.dashboard-bars span {
  width: 20%;
  height: var(--bar);
  background: var(--orange-bright);
  opacity: 0.78;
}

.dashboard-disclaimer {
  margin: 12px 0 0;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.65rem;
}

.dashboard-copy h2 {
  margin-bottom: 28px;
}

.dashboard-copy > p:last-child {
  margin: 0;
  color: rgba(255, 253, 248, 0.72);
}

.testimonials {
  padding: 112px max(26px, calc((100vw - var(--max)) / 2));
  background: var(--night);
  color: var(--white);
}

.testimonials-heading {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 50px;
}

.testimonials-heading .eyebrow {
  grid-column: 1 / -1;
}

.testimonials-heading > p:last-child {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 253, 248, 0.7);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  min-height: 330px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--night-raised);
  box-shadow: 7px 7px 0 var(--lime);
}

.testimonial-card:nth-child(2n) {
  box-shadow: 7px 7px 0 var(--orange-bright);
}

.pixel-avatar {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 2px solid var(--white);
  background: var(--avatar-bg);
}

.pixel-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pixel-avatar .avatar-bg {
  fill: var(--avatar-bg);
}

.pixel-avatar .avatar-hair {
  fill: var(--avatar-hair);
}

.pixel-avatar .avatar-skin {
  fill: var(--avatar-skin);
}

.pixel-avatar .avatar-eye {
  fill: #14272d;
}

.pixel-avatar .avatar-shirt {
  fill: var(--avatar-shirt);
}

.avatar-mina {
  --avatar-bg: #bce4e1;
  --avatar-hair: #17262c;
  --avatar-skin: #efc39f;
  --avatar-shirt: #e96c3b;
}

.avatar-amani {
  --avatar-bg: #e8b7de;
  --avatar-hair: #2b1a16;
  --avatar-skin: #8d573a;
  --avatar-shirt: #c7ee7c;
}

.avatar-rafael {
  --avatar-bg: #f2d28a;
  --avatar-hair: #3b251c;
  --avatar-skin: #c9855c;
  --avatar-shirt: #70a8cf;
}

.avatar-priya {
  --avatar-bg: #c7ee7c;
  --avatar-hair: #251713;
  --avatar-skin: #b8734e;
  --avatar-shirt: #c16aa0;
}

.placeholder-badge {
  margin: 0;
  align-self: start;
  justify-self: end;
  padding: 5px 8px;
  border: 1px solid var(--orange-bright);
  color: #f59a77;
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: right;
}

.testimonial-card blockquote {
  grid-column: 1 / -1;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.27;
  letter-spacing: -0.02em;
}

.testimonial-card blockquote p {
  margin: 0;
}

.testimonial-person {
  grid-column: 1 / -1;
  padding-top: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.testimonial-person strong {
  font-size: 0.82rem;
}

.testimonial-person span {
  color: rgba(255, 253, 248, 0.64);
  font-size: 0.72rem;
  text-align: right;
}

.pricing-section {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: clamp(70px, 12vw, 160px);
}

.pricing-heading {
  display: block;
}

.pricing-heading h2 {
  margin-bottom: 28px;
}

.price-card {
  padding: 44px;
  position: relative;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--orange-bright);
}

.price-card::before {
  content: "EARLY BIRD";
  position: absolute;
  top: -14px;
  right: 20px;
  padding: 5px 10px;
  background: var(--lime);
  color: var(--night);
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.price-label {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: Georgia, serif;
}

.price strong {
  font-size: 5rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.price span:first-child {
  font-size: 1.5rem;
  font-weight: 800;
}

.price span:last-child {
  color: var(--ink-soft);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 750;
}

.price-family {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.price-card ul {
  margin: 28px 0 32px;
  padding: 24px 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-card li {
  padding: 6px 0 6px 23px;
  position: relative;
  font-size: 0.86rem;
  font-weight: 750;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.button-wide {
  width: 100%;
}

.price-note {
  margin: 18px 0 0;
  color: var(--ink-soft);
  text-align: center;
  font-size: 0.68rem;
}

.faq {
  padding-top: 40px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(60px, 10vw, 130px);
}

.faq-heading {
  display: block;
  align-self: start;
}

.faq-heading h2 {
  margin-bottom: 22px;
}

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

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

summary {
  padding: 23px 40px 23px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-weight: 850;
}

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

summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 640px;
  padding: 0 34px 24px 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.waitlist {
  padding: 96px max(26px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(60px, 10vw, 130px);
  background: var(--orange-bright);
  color: var(--night);
}

.waitlist .eyebrow {
  color: var(--night);
}

.waitlist h2 {
  margin-bottom: 25px;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.waitlist > div > p:last-child {
  max-width: 490px;
  margin: 0;
  font-weight: 650;
}

.waitlist-form {
  padding: 34px;
  border: 2px solid var(--night);
  background: var(--paper);
  box-shadow: 10px 10px 0 var(--night);
}

.waitlist-form > label {
  display: block;
  margin-bottom: 8px;
  color: var(--night);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.form-row input {
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  border: 2px solid var(--night);
  border-right: 0;
  border-radius: 0;
  background: var(--white);
  color: var(--night);
}

.form-row button {
  min-height: 54px;
  padding: 0 20px;
  border: 2px solid var(--night);
  border-radius: 0;
  background: var(--night);
  color: var(--white);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
}

.form-row button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.form-status {
  min-height: 1.5em;
  margin: 13px 0 0;
  color: var(--night);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-status[data-state="error"] {
  color: #a72c22;
}

.form-status[data-state="success"] {
  color: #205c33;
}

.privacy-note {
  margin: 3px 0 0;
  color: #536368;
  font-size: 0.66rem;
  line-height: 1.5;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 26px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 430px;
    width: min(92%, 520px);
    justify-self: center;
  }

  .section-heading,
  .town,
  .dashboard,
  .testimonials-heading,
  .pricing-section,
  .faq,
  .waitlist {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    row-gap: 24px;
  }

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

  .manifesto-title {
    position: static;
  }

  .dashboard-copy {
    grid-row: 1;
  }

  .testimonials-heading {
    row-gap: 24px;
  }

  .pricing-section,
  .faq,
  .waitlist {
    gap: 56px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 18px 18px;
  }

  .site-header .button-small {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 58px 20px 84px;
  }

  h1 {
    font-size: clamp(3rem, 14.5vw, 4.1rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-proof {
    gap: 10px;
  }

  .hero-proof dt {
    font-size: 1.25rem;
  }

  .hero-visual {
    min-height: 400px;
    width: calc(100% - 10px);
    padding: 42px 20px;
    box-shadow: 10px 10px 0 var(--ink);
  }

  .loop-card {
    width: 90%;
  }

  .loop-card-run {
    width: 96%;
  }

  .origin {
    padding: 50px 20px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section,
  .manifesto,
  .dashboard,
  .testimonials,
  .waitlist {
    padding: 88px 20px;
  }

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

  .steps li,
  .steps li + li {
    min-height: 0;
    padding: 26px 0 38px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps li:last-child {
    border-bottom: 0;
  }

  .step-icon {
    margin: 28px 0 20px;
  }

  .media-placeholder {
    min-height: 340px;
    padding: 32px;
  }

  .dashboard-panel {
    box-shadow: 8px 8px 0 var(--lime);
  }

  .dashboard-grid {
    gap: 22px 16px;
  }

  .dashboard-grid strong {
    font-size: 1.05rem;
  }

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

  .testimonial-card {
    min-height: 0;
    padding: 24px 20px;
    box-shadow: 6px 6px 0 var(--lime);
  }

  .testimonial-card:nth-child(2n) {
    box-shadow: 6px 6px 0 var(--orange-bright);
  }

  .placeholder-badge {
    max-width: 140px;
  }

  .testimonial-person {
    align-items: start;
    flex-direction: column;
    gap: 3px;
  }

  .testimonial-person span {
    text-align: left;
  }

  .price-card {
    padding: 34px 26px;
    box-shadow: 8px 8px 0 var(--orange-bright);
  }

  .faq {
    padding-top: 20px;
  }

  .waitlist-form {
    padding: 25px 20px;
    box-shadow: 7px 7px 0 var(--night);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row input {
    border-right: 2px solid var(--night);
  }

  .form-row button {
    width: 100%;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101d23;
    --paper-deep: #182b31;
    --ink: #f3eddf;
    --ink-soft: #bac5c4;
    --night: #0a171c;
    --night-raised: #132a31;
    --line: rgba(245, 240, 229, 0.2);
    --white: #1a2c32;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  }

  .button {
    color: #102229;
  }

  .button,
  .brand-mark {
    background: var(--lime);
  }

  .brand-mark svg {
    fill: #102229;
  }

  .loop-card-run,
  .price-card {
    color: var(--ink);
  }

  h1 em,
  .eyebrow:not(.light),
  .loop-number,
  .step-number,
  .step-icon,
  .plain-list li::before,
  .media-placeholder svg,
  .price-card li::before,
  summary::after {
    color: #f07b4f;
  }

  .loop-card-earn,
  .loop-card-earn .loop-number {
    color: #102229;
  }

  .origin,
  .waitlist,
  .waitlist .eyebrow {
    color: #102229;
  }

  .waitlist-form {
    background: #f5f0e5;
    color: #102229;
  }

  .form-row input {
    background: #fffdf8;
    color: #102229;
  }

  .form-row button {
    color: #f5f0e5;
  }

  .price-card::before {
    color: #102229;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
