:root {
  --bg: #f3efe5;
  --surface: rgba(255, 252, 247, 0.84);
  --surface-strong: #fffaf1;
  --ink: #10231f;
  --muted: #526762;
  --line: rgba(16, 35, 31, 0.12);
  --accent: #126c5a;
  --accent-strong: #0b4c40;
  --accent-soft: #d8efe8;
  --signal: #ff8f3c;
  --shadow: 0 28px 80px rgba(16, 35, 31, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --sans: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", "Menlo", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(255, 143, 60, 0.24), transparent 32%),
    radial-gradient(circle at top right, rgba(18, 108, 90, 0.18), transparent 28%),
    linear-gradient(180deg, #f9f5eb 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(243, 239, 229, 0.78);
  border-bottom: 1px solid rgba(16, 35, 31, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
  justify-content: flex-start;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(16, 35, 31, 0.16);
}

.brand-copy small,
.eyebrow,
.pill,
.meta,
.terminal-caption,
.tutorial-step code,
.kbd {
  font-family: var(--mono);
}

.brand-copy span {
  display: block;
  font-size: 1rem;
}

.brand-copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(16, 35, 31, 0.06);
  color: var(--ink);
}

.header-download {
  flex: 0 0 auto;
  margin-left: 12px;
  white-space: nowrap;
}

.cta-row,
.button-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 34px rgba(18, 108, 90, 0.25);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--line);
}

.button.ghost {
  background: transparent;
  border-color: var(--line);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  padding: 58px 0 42px;
}

.hero-grid,
.story-grid,
.pricing-grid,
.content-grid,
.screenshot-gallery,
.tutorial-player,
.feature-callout,
.footer-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero-copy p,
.page-hero p,
.lead {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(18, 108, 90, 0.16);
  background: rgba(216, 239, 232, 0.62);
  color: var(--accent-strong);
  font-size: 0.9rem;
}

.phone-stage,
.surface-card,
.feature-card,
.story-card,
.pricing-card,
.screenshot-card,
.tutorial-card,
.article-card,
.faq-card,
.signal-card,
.contact-card,
.checklist-card {
  border: 1px solid rgba(16, 35, 31, 0.08);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.phone-stage {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 143, 60, 0.16), transparent 22%),
    radial-gradient(circle at bottom left, rgba(18, 108, 90, 0.18), transparent 28%);
}

.phone-frame {
  position: relative;
  width: min(100%, 380px);
  margin: 0 auto;
  padding: 18px 16px 20px;
  border-radius: 34px;
  background: linear-gradient(180deg, #0f1917 0%, #182927 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 72px rgba(16, 35, 31, 0.35);
}

.phone-notch {
  width: 36%;
  height: 26px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.44);
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 39, 33, 0.96) 0%, rgba(8, 22, 20, 0.96) 100%);
  color: #ecfbf3;
  min-height: 640px;
}

.terminal-top,
.terminal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px;
}

.terminal-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-tag,
.status-dot,
.comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.terminal-tag {
  padding: 8px 12px;
  border-radius: 999px;
  color: #96f6d8;
  background: rgba(150, 246, 216, 0.12);
  font-size: 0.85rem;
}

.terminal-body {
  padding: 14px 18px 6px;
}

.terminal-bubble {
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.terminal-bubble.outgoing {
  margin-left: auto;
  width: min(88%, 250px);
  background: rgba(255, 143, 60, 0.14);
}

.terminal-bubble pre {
  margin: 0;
  overflow: auto;
  color: #dafbeb;
  font-size: 0.9rem;
  line-height: 1.65;
}

.terminal-lines span {
  display: block;
  opacity: 0;
  transform: translateY(6px);
  animation: terminalLine 5.8s ease infinite;
}

.terminal-lines span:nth-child(2) { animation-delay: 0.7s; }
.terminal-lines span:nth-child(3) { animation-delay: 1.4s; }
.terminal-lines span:nth-child(4) { animation-delay: 2.1s; }
.terminal-lines span:nth-child(5) { animation-delay: 2.8s; }
.terminal-lines span:nth-child(6) { animation-delay: 3.5s; }

@keyframes terminalLine {
  0%, 18% { opacity: 0; transform: translateY(6px); }
  24%, 86% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}

.terminal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.input-chip {
  flex: 1;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(236, 251, 243, 0.72);
}

.send-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--signal), #fb6f1a);
  color: #fff;
  font-weight: 700;
}

.section {
  padding: 36px 0 20px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2,
.section-head h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
}

.section-head p {
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.7;
}

.story-grid,
.pricing-grid,
.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screenshot-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.surface-card,
.feature-card,
.story-card,
.pricing-card,
.screenshot-card,
.tutorial-card,
.article-card,
.faq-card,
.signal-card,
.contact-card,
.checklist-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature-card h3,
.story-card h3,
.pricing-card h3,
.tutorial-card h3,
.article-card h3,
.signal-card h3,
.contact-card h3,
.faq-card h3,
.checklist-card h3 {
  margin: 0 0 12px;
  font-size: 1.38rem;
  letter-spacing: -0.04em;
}

.feature-card p,
.story-card p,
.pricing-card p,
.tutorial-card p,
.article-card p,
.signal-card p,
.contact-card p,
.faq-card p,
.checklist-card p,
.surface-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.screenshot-card {
  overflow: hidden;
  padding: 0;
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(16, 35, 31, 0.04), rgba(16, 35, 31, 0.08));
  border-bottom: 1px solid rgba(16, 35, 31, 0.08);
}

.screenshot-card--iphone img {
  aspect-ratio: 1206 / 2622;
}

.screenshot-card--ipad img {
  aspect-ratio: 2064 / 2752;
}

.screenshot-copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.device-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18, 108, 90, 0.1);
  color: var(--accent-strong);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.screenshot-copy strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.screenshot-copy span {
  color: var(--muted);
  line-height: 1.55;
}

.list,
.feature-list,
.checklist,
.compare-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li,
.feature-list li,
.checklist li,
.compare-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  line-height: 1.58;
}

.list li::before,
.feature-list li::before,
.checklist li::before,
.compare-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--signal);
}

.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(18, 108, 90, 0.14), rgba(255, 250, 241, 0.94));
}

.price {
  margin: 14px 0 6px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: -0.07em;
  line-height: 1;
}

.price small {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
}

.comparison-column {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  padding: 20px;
}

.comparison-column h3 {
  margin: 0 0 8px;
}

.comparison-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.comparison-column li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(16, 35, 31, 0.08);
}

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

.page-hero {
  padding: 52px 0 24px;
}

.page-hero .surface-card,
.wide-card {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 22px;
}

.article-content {
  display: grid;
  gap: 18px;
}

.article-content section,
.sidebar-stack {
  display: grid;
  gap: 18px;
}

.article-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.05em;
}

.article-card h3 {
  margin-top: 0;
}

.article-card p + p,
.article-card ul + p,
.article-card ol + p {
  margin-top: 12px;
}

.article-card ul,
.article-card ol {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--ink);
  line-height: 1.7;
}

.article-card code,
.tutorial-step code,
.callout code,
.code-block code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(16, 35, 31, 0.08);
  font-family: var(--mono);
  font-size: 0.92em;
}

.code-block {
  padding: 18px;
  border-radius: var(--radius-md);
  background: #0d1614;
  color: #e9f7ee;
  overflow: auto;
}

.code-block pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.92rem;
  line-height: 1.65;
}

.callout {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 143, 60, 0.12);
  color: var(--ink);
}

.tutorial-player {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.46fr);
  align-items: start;
}

.tutorial-flow {
  display: grid;
  gap: 18px;
}

.tutorial-step {
  display: none;
  gap: 16px;
}

.tutorial-step.is-active {
  display: grid;
}

.tutorial-step h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  letter-spacing: -0.05em;
}

.context-row,
.context-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.context-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(16, 35, 31, 0.08);
}

.context-chip.browser {
  background: rgba(255, 143, 60, 0.14);
  color: #8b4c0d;
}

.context-chip.app {
  background: rgba(18, 108, 90, 0.12);
  color: var(--accent-strong);
}

.context-chip.server {
  background: rgba(77, 163, 255, 0.14);
  color: #225b93;
}

.context-chip.desktop {
  background: rgba(124, 92, 255, 0.12);
  color: #5840aa;
}

.step-stack {
  display: grid;
  gap: 14px;
}

.step-panel {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 35, 31, 0.08);
  background: rgba(255, 255, 255, 0.54);
}

.step-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.step-panel p {
  margin: 0;
}

.step-panel .code-block,
.step-panel .callout {
  margin-top: 12px;
}

.tutorial-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.progress-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(16, 35, 31, 0.08);
  overflow: hidden;
}

.progress-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--signal));
}

.progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--muted);
}

.step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list button {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(16, 35, 31, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  padding: 14px;
  color: var(--ink);
}

.step-list button.is-active {
  border-color: rgba(18, 108, 90, 0.34);
  background: rgba(216, 239, 232, 0.78);
}

.step-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 35, 31, 0.06);
  color: var(--muted);
  width: fit-content;
}

.step-status.done {
  background: rgba(18, 108, 90, 0.12);
  color: var(--accent-strong);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 20px;
}

.contact-grid--centered {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
}

.contact-card--wide {
  width: 100%;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(16, 35, 31, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.form-grid textarea {
  min-height: 132px;
  resize: vertical;
}

.form-grid button[disabled] {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.form-feedback[data-state="success"] {
  color: var(--accent-strong);
}

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

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.meta-card {
  min-width: 0;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(16, 35, 31, 0.08);
}

.meta-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.meta-card span {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(18, 108, 90, 0.14), rgba(255, 143, 60, 0.14));
  border: 1px solid rgba(16, 35, 31, 0.08);
}

.social-card {
  display: grid;
  gap: 14px;
}

.copy-box {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 35, 31, 0.08);
}

.copy-box p {
  margin: 0 0 10px;
  color: var(--muted);
}

.copy-box pre {
  margin: 0 0 12px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer {
  padding: 52px 0 72px;
}

.site-footer .container {
  max-width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  align-items: start;
  justify-items: start;
  width: 100%;
}

.footer-grid > * {
  min-width: 0;
}

.footer-nav {
  display: grid;
  gap: 10px;
  justify-self: start;
}

.footer-nav a {
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-footer .brand {
  max-width: 100%;
}

.site-footer .brand-copy {
  min-width: 0;
}

.site-footer .brand-copy small,
.site-footer .brand-copy span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-note {
  color: var(--muted);
  line-height: 1.7;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
}

.cookie-banner__panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(16, 35, 31, 0.1);
  background: rgba(255, 250, 241, 0.96);
  box-shadow: 0 20px 48px rgba(16, 35, 31, 0.18);
  backdrop-filter: blur(18px);
}

.cookie-banner__copy {
  display: grid;
  gap: 8px;
}

.cookie-banner__copy strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.cookie-banner__copy p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: end;
}

.cookie-settings-button {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 80;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 35, 31, 0.1);
  background: rgba(255, 250, 241, 0.94);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(16, 35, 31, 0.12);
}

.mobile-only {
  display: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-callout,
  .comparison-grid,
  .article-layout,
  .tutorial-player,
  .contact-grid,
  .footer-grid,
  .story-grid,
  .pricing-grid,
  .content-grid,
  .screenshot-gallery,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .site-header .container {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    order: 3;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(16, 35, 31, 0.08);
    background: rgba(255, 250, 241, 0.96);
    box-shadow: var(--shadow);
  }

  .header-download {
    order: 2;
    margin-left: 0;
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.95rem;
  }

  .nav-links.is-open {
    display: grid;
  }

  .mobile-only {
    display: inline-flex;
  }

  .desktop-only {
    display: none;
  }

  .cookie-banner__panel {
    align-items: start;
    flex-direction: column;
  }

  .cookie-banner__actions {
    justify-content: start;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 30px;
  }

  .container {
    width: min(var(--max), calc(100vw - 24px));
  }

  .surface-card,
  .feature-card,
  .story-card,
  .pricing-card,
  .screenshot-card,
  .tutorial-card,
  .article-card,
  .faq-card,
  .signal-card,
  .contact-card,
  .checklist-card,
  .page-hero .surface-card,
  .wide-card {
    padding: 20px;
  }

  .screenshot-card {
    padding: 0;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.2rem, 11vw, 4rem);
  }

  .hero-copy p,
  .page-hero p,
  .lead,
  .article-card p,
  .tutorial-step {
    font-size: 1rem;
  }

  .phone-frame {
    width: 100%;
  }

  .phone-screen {
    min-height: 560px;
  }

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