@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fcfbf8;
  --paper-deep: #f3f0e9;
  --ink: #11100e;
  --muted: #6b6862;
  --line: #d9d5cd;
  --line-dark: #bcb6aa;
  --ember: #ce4b0f;
  --ember-dark: #aa3605;
  --blue: #0b79b7;
  --violet: #7655b7;
  --white: #ffffff;
  --shell: 1240px;
  --display: "Space Grotesk", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--white);
  background: var(--ember);
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(3.7rem, 6.8vw, 6.8rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

p {
  color: var(--muted);
}

section[id] {
  scroll-margin-top: 1rem;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.eyebrow,
.chapter-number,
.guide-card-kicker {
  margin-bottom: 0.85rem;
  color: var(--ember);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-inverse {
  color: #ffd0ba;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(252, 251, 248, 0.96);
}

.nav-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.brand img,
.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.desktop-nav,
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.desktop-nav a,
.site-nav a {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a:hover,
.site-nav a:hover,
.desktop-nav a:focus-visible,
.site-nav a:focus-visible {
  color: var(--ember);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--ember);
  border-radius: 3px;
  color: var(--white);
  background: var(--ember);
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  border-color: var(--ember-dark);
  background: var(--ember-dark);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 42px;
  padding-inline: 1.2rem;
  font-size: 0.82rem;
}

.nav-row > .button-small {
  min-height: 48px;
  padding-inline: 1.65rem;
}

.button-primary {
  color: var(--white);
  background: var(--ember);
}

.button-inverse {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.button-inverse:hover {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.mobile-nav {
  display: none;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-product {
  align-self: end;
  margin: 24px 0 -28px;
  text-align: center;
}

.phone-frame {
  overflow: hidden;
  margin-inline: auto;
  border: 6px solid var(--ink);
  border-radius: 48px;
  background: var(--ink);
  box-shadow:
    0 28px 70px rgba(17, 16, 14, 0.2),
    0 6px 18px rgba(17, 16, 14, 0.12);
}

.phone-frame img {
  width: 100%;
  border-radius: 39px;
}

.phone-frame-hero {
  width: min(100%, 305px);
  transform: rotate(-1.7deg);
  transform-origin: center bottom;
}

.hero-product figcaption,
.chapter-visual figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.hero-copy {
  align-self: center;
  padding: 28px 0;
}

.hero-mascot {
  width: 76px;
  margin-bottom: 0.4rem;
}

.hero h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(3.5rem, 4.5vw, 4.6rem);
}

.hero h1 span {
  color: var(--ember);
}

.hero-kicker {
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-summary {
  max-width: 610px;
  margin-bottom: 0.85rem;
  font-size: 0.96rem;
  line-height: 1.55;
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.3rem;
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
}

.proof-line li {
  position: relative;
  padding-left: 0.9rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.proof-line li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--ember);
  content: "";
}

.waitlist-card {
  max-width: 580px;
  padding: 1rem;
  border: 1px solid var(--line-dark);
  background: var(--paper);
}

.form-heading {
  display: grid;
  margin-bottom: 0.75rem;
}

.form-heading strong {
  font-family: var(--mono);
  font-size: 1rem;
}

.form-heading span {
  color: var(--muted);
  font-size: 0.8rem;
}

.form-row {
  display: flex;
  gap: 0.6rem;
}

.form-row input {
  min-width: 0;
  min-height: 48px;
  flex: 1;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  color: var(--ink);
  background: var(--white);
}

.form-row input::placeholder {
  color: #8d8982;
}

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
}

.form-note-inverse {
  color: #ffd9c7;
}

.form-note-success {
  color: #16733e;
  font-weight: 600;
}

.form-note-error {
  color: #a3261a;
  font-weight: 600;
}

.form-note-inverse.form-note-success,
.form-note-inverse.form-note-error,
.cta-band .form-note-success,
.cta-band .form-note-error {
  color: var(--white);
}

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

.honeypot {
  position: absolute;
  left: -10000px;
}

.chapter {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.chapter-grid {
  position: relative;
  min-height: 470px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chapter-grid::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
  content: "";
}

.chapter-copy {
  align-self: center;
  max-width: 500px;
  padding: 4rem 5rem 4rem 0;
}

.chapter-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(3.3rem, 5vw, 5rem);
  text-transform: uppercase;
}

.chapter-kicker {
  margin-bottom: 1.35rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.35;
}

.chapter-copy > p:not(.chapter-number):not(.chapter-kicker) {
  max-width: 450px;
}

.chapter-number {
  color: var(--ember);
  font-size: 1rem;
}

.text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 2px;
}

.text-link::after {
  margin-left: 0.45rem;
  color: var(--ember);
  content: "→";
}

.chapter-visual {
  width: 100%;
  height: 470px;
  margin: 0;
  padding: 1.8rem 0 0 clamp(3rem, 8vw, 8rem);
  overflow: hidden;
}

.chapter-visual img {
  width: 292px;
  border: 1px solid var(--line-dark);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 18px 42px rgba(17, 16, 14, 0.12);
}

.chapter-visual figcaption {
  width: 292px;
  text-align: center;
}

.download-section {
  padding: 4rem 0 3rem;
}

.download-strip {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.6rem;
  color: var(--white);
  background: var(--ember);
}

.download-strip h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.download-strip p {
  margin-bottom: 0;
  color: #ffe0d1;
}

.screenshots-section {
  padding: 2rem 0 5rem;
  overflow: hidden;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2.6rem;
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
}

.centered-heading {
  text-align: center;
}

.centered-heading > p:last-child {
  margin-inline: auto;
}

.screenshot-rail {
  width: min(100%, 1440px);
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem max(24px, calc((100vw - var(--shell)) / 2));
  margin-inline: auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--ember) var(--paper-deep);
}

.screenshot-rail figure {
  width: 240px;
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
}

.screenshot-rail figure:nth-child(3n + 1) {
  transform: rotate(-1.2deg);
}

.screenshot-rail figure:nth-child(3n + 2) {
  transform: translateY(10px) rotate(0.7deg);
}

.screenshot-rail img {
  width: 100%;
  border: 4px solid var(--ink);
  border-radius: 30px;
  box-shadow: 0 16px 35px rgba(17, 16, 14, 0.14);
}

.screenshot-rail figcaption {
  margin-top: 0.85rem;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-align: center;
}

.rail-hint {
  margin: 1.5rem 0 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-align: center;
  text-transform: uppercase;
}

.how-section,
.guides-section,
.faq-section {
  padding: 6rem 0;
  border-top: 1px solid var(--line);
}

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

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 2.25rem;
  border-right: 1px solid var(--line);
}

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

.step-number {
  color: var(--ember);
  font-family: var(--mono);
  font-size: 1.45rem;
}

.steps h3 {
  font-size: 1.45rem;
}

.steps p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.section-heading-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.editorial-guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 4rem;
  border-top: 1px solid var(--line-dark);
}

.editorial-guides > a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.editorial-guides > a::after {
  color: var(--ember);
  content: "→";
}

.editorial-guides span {
  color: var(--ember);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.editorial-guides strong {
  font-family: var(--display);
  font-size: 1.05rem;
}

.editorial-guides small {
  grid-column: 2;
  color: var(--muted);
}

.editorial-guides > a:hover strong {
  color: var(--ember);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.faq-intro {
  max-width: 420px;
}

.faq-intro h2 {
  font-size: clamp(2.8rem, 4vw, 4.25rem);
}

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

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

.faq-list summary {
  position: relative;
  padding: 1.45rem 3rem 1.45rem 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 1.35rem;
  right: 0.25rem;
  color: var(--ember);
  font-family: var(--mono);
  font-size: 1.4rem;
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details > div {
  max-width: 680px;
  padding: 0 2rem 1.5rem 0;
}

.faq-list details > div p {
  margin-bottom: 0.6rem;
}

.faq-list details > div a {
  font-weight: 600;
  text-decoration-color: var(--ember);
}

.final-cta {
  color: var(--white);
  background: var(--ember);
}

.final-cta-grid {
  min-height: 270px;
  display: grid;
  grid-template-columns: 160px minmax(280px, 0.8fr) minmax(400px, 1fr);
  align-items: center;
  gap: 2.5rem;
  padding-block: 3rem;
}

.final-cta-grid > img {
  width: 150px;
}

.final-cta h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(2.4rem, 3.5vw, 3.8rem);
}

.final-cta p {
  margin-bottom: 0;
  color: #ffe0d1;
}

.footer-form .form-row input {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
  background: transparent;
}

.footer-form .form-row input::placeholder {
  color: #ffdece;
}

.site-footer {
  padding: 4rem 0 1.25rem;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
}

.footer-grid > div,
.footer-grid > nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-grid strong,
.footer-grid h2 {
  margin: 0 0 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}

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

.footer-grid p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* Guide hub and individual guide pages */

.guide-hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 3rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.breadcrumbs a {
  color: var(--ink);
}

.guide-hero h1 {
  max-width: 980px;
  margin-bottom: 1.5rem;
}

.guide-hero-copy,
.guide-lede {
  max-width: 760px;
  font-size: 1.15rem;
}

.guide-lede {
  color: var(--ink);
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
  list-style: none;
  text-transform: uppercase;
}

.section {
  padding: 6rem 0;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3.25rem;
  border-top: 1px solid var(--line-dark);
}

.guide-card {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
}

.guide-card h3 {
  font-size: 1.65rem;
}

.guide-card h3 a {
  text-decoration: none;
}

.guide-card h3 a:hover {
  color: var(--ember);
}

.guide-card p {
  margin-bottom: 1rem;
}

.guide-article {
  padding: 5rem 0 7rem;
}

.guide-width {
  width: min(calc(100% - 48px), 820px);
  margin-inline: auto;
}

.guide-article h2 {
  padding-top: 2rem;
  margin: 2.5rem 0 1.2rem;
  border-top: 1px solid var(--line);
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.guide-article h3 {
  margin-top: 2.2rem;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.guide-article p,
.guide-article li {
  font-size: 1.02rem;
}

.guide-article ul,
.guide-article ol {
  padding-left: 1.4rem;
}

.guide-article li {
  margin-bottom: 0.7rem;
}

.answer-block,
.product-callout,
.note,
.guide-cta {
  padding: 1.5rem 1.65rem;
  margin: 2rem 0;
  border-left: 4px solid var(--ember);
  background: var(--paper-deep);
}

.answer-block > :last-child,
.product-callout > :last-child,
.note > :last-child,
.guide-cta > :last-child {
  margin-bottom: 0;
}

.answer-block strong,
.product-callout strong,
.note strong {
  color: var(--ink);
}

.note {
  border-left-color: var(--blue);
}

.guide-product:not(figure) {
  margin: 3rem 0;
  padding: 2.25rem;
  border: 1px solid var(--line-dark);
}

.product-figure {
  margin: 2.5rem auto;
  text-align: center;
}

.guide-screenshot {
  width: min(100%, 330px);
  margin: 2.5rem auto;
  text-align: center;
}

.guide-screenshot img {
  width: 100%;
  border: 4px solid var(--ink);
  border-radius: 34px;
  box-shadow: 0 18px 42px rgba(17, 16, 14, 0.14);
}

.product-figure figcaption,
.guide-screenshot figcaption {
  max-width: 560px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.table-wrap {
  margin: 2rem 0;
  overflow-x: auto;
}

.decision-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.decision-table th,
.decision-table td {
  padding: 0.9rem 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.decision-table th {
  color: var(--ink);
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.related-guides {
  padding: 2.5rem 0 0;
  margin-top: 4rem;
  border-top: 1px solid var(--line-dark);
}

.related-guide-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 2rem;
}

.related-guide-links a {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-decoration-color: var(--ember);
}

.source-list {
  color: var(--muted);
  font-size: 0.82rem;
  word-break: break-word;
}

.source-list a {
  color: var(--ink);
}

.steps-list {
  padding: 0;
  margin: 2rem 0;
  counter-reset: guide-steps;
  list-style: none;
}

.steps-list > li {
  position: relative;
  padding: 0 0 1.4rem 3.5rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  counter-increment: guide-steps;
}

.steps-list > li::before {
  position: absolute;
  top: -0.15rem;
  left: 0;
  color: var(--ember);
  font-family: var(--mono);
  font-size: 1.05rem;
  content: "0" counter(guide-steps);
}

.cta-band {
  padding: 5rem 0;
  color: var(--white);
  background: var(--ember);
}

.cta-band .shell {
  max-width: 860px;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 1rem;
}

.cta-band p {
  max-width: 670px;
  margin: 0 auto 1.5rem;
  color: #ffe0d1;
}

.cta-band .eyebrow {
  color: #ffd0ba;
}

.cta-band .button {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.cta-band .button:hover {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.guide-cta {
  padding: 3.25rem 2rem;
  margin-top: 4rem;
  border-left: 0;
  text-align: center;
}

.guide-waitlist-form {
  max-width: 580px;
  margin: 0 auto;
}

.cta-band .guide-waitlist-form .form-note {
  margin: 0.75rem auto 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-row nav {
  display: flex;
  gap: 1.25rem;
}

.footer-row p {
  margin: 0;
}

@media (max-width: 1080px) {
  .desktop-nav,
  .site-nav {
    gap: 1rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
    gap: 2.5rem;
  }

  .phone-frame-hero {
    width: 295px;
  }

  .chapter-copy {
    padding-right: 3rem;
  }

  .chapter-visual {
    padding-left: 4rem;
  }

  .final-cta-grid {
    grid-template-columns: 120px minmax(240px, 0.8fr) minmax(340px, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .desktop-nav,
  .site-nav,
  .nav-row > .button {
    display: none;
  }

  .guide-page .nav-cta {
    min-height: 42px;
    display: inline-flex;
    padding-inline: 1rem;
    margin-left: auto;
  }

  .nav-row {
    justify-content: space-between;
  }

  .mobile-nav {
    position: relative;
    display: block;
    margin-left: auto;
  }

  .mobile-nav summary {
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--ink);
    font-family: var(--mono);
    font-size: 0.72rem;
    list-style: none;
    text-transform: uppercase;
    cursor: pointer;
  }

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

  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    width: min(270px, calc(100vw - 36px));
    display: grid;
    padding: 0.75rem;
    border: 1px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 12px 30px rgba(17, 16, 14, 0.14);
  }

  .mobile-nav nav a {
    padding: 0.75rem;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
  }

  .mobile-nav nav a:last-child {
    border-bottom: 0;
    color: var(--white);
    background: var(--ember);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
  }

  .hero-product {
    margin-bottom: -30px;
  }

  .phone-frame-hero {
    width: 310px;
    border-radius: 36px;
  }

  .phone-frame img {
    border-radius: 28px;
  }

  .hero-copy {
    padding-block: 4rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 8vw, 5.2rem);
  }

  .hero-mascot {
    width: 90px;
  }

  .chapter-visual {
    padding-left: 2.5rem;
  }

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

  .steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .final-cta-grid {
    grid-template-columns: 110px 1fr;
  }

  .footer-form {
    grid-column: 1 / -1;
  }

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

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .shell,
  .guide-width {
    width: min(calc(100% - 28px), var(--shell));
  }

  .nav-row {
    min-height: 66px;
  }

  .brand img,
  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 0;
  }

  .hero-copy {
    width: 100%;
    padding: 2.75rem 0 2rem;
  }

  .hero-mascot {
    width: 76px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }

  .hero-summary {
    font-size: 0.98rem;
  }

  .hero-product {
    width: 100%;
    margin: 0 auto -36px;
  }

  .phone-frame-hero {
    width: min(86vw, 350px);
    transform: rotate(-1deg);
  }

  .hero-product figcaption {
    margin-bottom: 1.2rem;
  }

  .waitlist-card {
    padding: 1rem;
  }

  .form-row {
    flex-direction: column;
  }

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

  .chapter-grid {
    min-height: auto;
    display: block;
  }

  .chapter-grid::after {
    display: none;
  }

  .chapter-copy {
    padding: 4rem 0 2.25rem;
  }

  .chapter-copy h2 {
    font-size: clamp(3.4rem, 14vw, 4.5rem);
  }

  .chapter-visual {
    height: 405px;
    padding: 0;
  }

  .chapter-visual img {
    width: min(78vw, 292px);
    margin-inline: auto;
  }

  .chapter-visual figcaption {
    width: 100%;
  }

  .download-section {
    padding: 2.5rem 0;
  }

  .download-strip {
    display: grid;
    padding: 1.5rem;
  }

  .download-strip .button {
    justify-self: start;
  }

  .screenshots-section,
  .how-section,
  .guides-section,
  .faq-section,
  .section {
    padding: 4.25rem 0;
  }

  .screenshot-rail {
    padding-inline: 28px;
  }

  .screenshot-rail figure {
    width: 210px;
  }

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

  .editorial-guides,
  .guide-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .editorial-guides > a {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .editorial-guides small {
    font-size: 0.72rem;
  }

  .faq-list summary {
    font-size: 1.08rem;
  }

  .final-cta-grid {
    display: block;
    padding-block: 3.5rem;
  }

  .final-cta-grid > img {
    width: 110px;
    margin-bottom: 1rem;
  }

  .footer-form {
    margin-top: 1.5rem;
  }

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

  .footer-bottom {
    display: grid;
  }

  .guide-hero {
    padding: 3.5rem 0;
  }

  .breadcrumbs {
    margin-bottom: 2rem;
  }

  .guide-hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .guide-article {
    padding: 2.5rem 0 4rem;
  }

  .guide-product:not(figure) {
    padding: 1.25rem;
  }

  .footer-row,
  .footer-row nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .related-guide-links {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 4rem 0;
  }
}

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

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