:root {
  --ink: #2b1d15;
  --muted: #776556;
  --blue: #f1e2cf;
  --blue-deep: #d49658;
  --line: #d9c6b3;
  --paper: #fffdf8;
  --warm: #e9b86b;
  --navy: #241710;
  --page: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #faf5ed;
  color: var(--ink);
  font-family: "Bahnschrift", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
.page-width { width: min(calc(100% - 48px), var(--page)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 20; background: white; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header {
  width: min(calc(100% - 48px), var(--page));
  height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(16, 36, 58, .12);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 720; }
.brand img { border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { text-decoration: underline; }
.site-nav .download-link { border-bottom: 2px solid var(--ink); padding-bottom: 3px; }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); padding: 8px 0; }

.hero { min-height: 690px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 64px; padding-block: 70px; }
.hero-copy { padding-bottom: 18px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(3.15rem, 6vw, 5.65rem); line-height: .98; letter-spacing: -.055em; font-weight: 720; }
.hero-copy > p { max-width: 510px; color: #695446; font-size: 21px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.primary-button { display: inline-flex; align-items: center; min-height: 48px; padding: 11px 18px; border: 1px solid var(--navy); border-radius: 5px; background: var(--navy); color: white; text-decoration: none; font-size: 15px; font-weight: 650; box-shadow: 4px 4px 0 var(--blue-deep); }
.primary-button:hover, .primary-button:focus-visible { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--blue-deep); }
.quiet-link { font-size: 15px; font-weight: 650; text-decoration-thickness: 1px; }
.hero-copy .small-note { margin-top: 22px; color: var(--muted); font-size: 14px; }
.hero-visual { position: relative; min-height: 570px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: #eddcc6; border: 1px solid #d8b995; }
.hero-visual > img { position: relative; width: 300px; aspect-ratio: 430 / 932; object-fit: contain; background: var(--paper); border: 1px solid #9f8069; border-radius: 28px; box-shadow: 14px 18px 0 rgba(72, 43, 25, .11); }

.steps { padding-block: 110px; border-top: 1px solid var(--line); }
.steps h2, .section-intro h2, .privacy-callout h2, .download-section h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.04em; }
.steps h2 { max-width: 500px; margin-bottom: 52px; }
.steps ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-top: 1px solid var(--ink); }
.steps li { padding: 25px 30px 10px 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 30px; }
.steps li:last-child { border-right: 0; }
.steps li > span { display: block; margin-bottom: 46px; color: #9a6f4b; font-size: 14px; }
.steps strong { display: block; margin-bottom: 4px; font-size: 19px; }
.steps p { color: var(--muted); font-size: 15px; }

.demo-section { padding-block: 110px 130px; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 50px; }
.section-intro h2 { margin-bottom: 0; }
.section-intro p { max-width: 350px; margin-bottom: 4px; color: var(--muted); }
.demo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.demo-row img { width: 100%; aspect-ratio: 430 / 932; object-fit: contain; background: var(--paper); border: 1px solid #b99b82; border-radius: 20px; box-shadow: 8px 10px 0 #eadcca; }
.demo-row img:nth-child(2) { margin-top: 35px; }

.privacy-callout { background: var(--blue); border-block: 1px solid #d5b994; }
.privacy-inner { min-height: 370px; display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.privacy-inner > div { max-width: 670px; }
.privacy-callout h2 { margin-bottom: 16px; }
.privacy-callout p { max-width: 640px; margin-bottom: 0; color: #684f3d; font-size: 19px; }
.privacy-callout .quiet-link { flex: 0 0 auto; }

.download-section { min-height: 310px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.download-section > img { border-radius: 18px; }
.download-section h2 { margin-bottom: 4px; font-size: 2.35rem; }
.download-section p { margin-bottom: 0; color: var(--muted); }

.site-footer { min-height: 150px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); font-size: 16px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 18px; }

/* Legal and support pages */
.plain-main { padding-block: 70px 120px; }
.plain-intro { max-width: 760px; margin-bottom: 70px; }
.plain-intro h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.plain-intro p { color: var(--muted); font-size: 19px; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0, 720px); gap: 70px; align-items: start; }
.legal-toc { position: sticky; top: 30px; padding-top: 8px; }
.legal-toc a { display: block; margin-bottom: 10px; color: var(--muted); font-size: 13px; text-decoration: none; }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; }
.legal-copy section { scroll-margin-top: 30px; padding: 0 0 38px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.legal-copy section:last-child { border-bottom: 0; }
.legal-copy h2 { margin-bottom: 14px; font-size: 1.55rem; letter-spacing: -.02em; }
.legal-copy h3 { margin-top: 24px; margin-bottom: 8px; font-size: 1rem; }
.legal-copy p, .legal-copy li { color: #3e5366; }
.legal-copy ul { padding-left: 20px; }
.legal-copy li + li { margin-top: 8px; }
.effective { color: var(--muted); font-size: 14px; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.support-item { min-height: 205px; padding: 28px; background: #fffaf3; }
.support-item h2 { font-size: 1.2rem; }
.support-item p { color: var(--muted); font-size: 15px; }
.support-contact { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 60px; padding: 40px; background: var(--blue); border: 1px solid #d5b994; }
.support-contact h2 { margin-bottom: 8px; }
.support-contact p { margin: 0; color: var(--muted); }

@media (max-width: 820px) {
  .page-width, .site-header { width: min(calc(100% - 32px), var(--page)); }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; z-index: 10; top: 68px; left: 16px; right: 16px; padding: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: 5px 6px 0 #eadcca; }
  .site-nav.is-open { display: grid; gap: 16px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 34px; padding-block: 64px 75px; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-copy > p { font-size: 18px; }
  .hero-visual { min-height: 500px; overflow: hidden; }
  .hero-visual::before { width: 430px; }
  .hero-visual > img { width: 250px; }
  .steps, .demo-section { padding-block: 80px; }
  .steps ol { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li > span { margin-bottom: 18px; }
  .section-intro, .privacy-inner { align-items: flex-start; flex-direction: column; }
  .demo-row { gap: 12px; overflow-x: auto; grid-template-columns: repeat(3, minmax(230px, 72vw)); padding-bottom: 20px; }
  .privacy-inner { min-height: 400px; justify-content: center; gap: 28px; }
  .download-section { grid-template-columns: auto 1fr; padding-block: 60px; }
  .download-section .primary-button { grid-column: 1 / -1; justify-self: start; }
  .site-footer { grid-template-columns: 1fr auto; padding-block: 35px; }
  .site-footer > p:first-of-type { display: none; }
  .site-footer nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
  .legal-layout { grid-template-columns: 1fr; gap: 35px; }
  .legal-toc { position: static; columns: 2; }
  .support-grid { grid-template-columns: 1fr; }
  .support-contact { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
