:root {
  color-scheme: light dark;
  --paper: #f5efe1;
  --paper-raised: #fffaf0;
  --ink: #17150f;
  --accent-ink: #17150f;
  --muted-ink: #625e53;
  --rule: #17150f;
  --lime: #bdf45b;
  --pink: #ff85b5;
  --blue: #77baff;
  --soft-blue: #dbeafa;
  --focus: #6546d7;
  --hard-shadow: 6px 6px 0 var(--ink);
  --page-width: 1180px;
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow-x: clip;
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 18% 12%, rgb(255 255 255 / 55%) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 72%, rgb(23 21 15 / 8%) 0 0.8px, transparent 1.3px);
  background-size: 17px 19px, 23px 29px;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 2px;
}

a:hover {
  text-decoration-color: var(--pink);
}

:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: var(--lime);
  color: var(--accent-ink);
  font-weight: 800;
  transform: translateY(-180%);
}

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

.site-shell {
  width: min(100% - 40px, var(--page-width));
  margin-inline: auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  padding-block: 24px 16px;
  border-bottom: 2px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 46px;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 780;
}

.site-nav a[aria-current="page"] {
  text-decoration-color: var(--pink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(38px, 7vw, 96px);
  min-height: calc(100dvh - 172px);
  padding-block: clamp(36px, 6vw, 72px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.edition-mark,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  color: var(--accent-ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.edition-mark::before {
  width: 9px;
  height: 9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

h1,
h2 {
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  font-weight: 950;
}

.hero-deck {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted-ink);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 600;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  box-shadow: var(--hard-shadow);
  color: var(--paper-raised);
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.app-store-link::before {
  margin-right: 11px;
  content: "";
  font-family: system-ui, sans-serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.app-store-link:hover {
  box-shadow: 3px 3px 0 var(--pink);
  transform: translate(3px, 3px);
}

.quiet-note {
  color: var(--muted-ink);
  font-size: 0.88rem;
  font-weight: 720;
}

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-strip li {
  padding: 7px 10px;
  border: 2px solid var(--ink);
  background: var(--paper-raised);
  font-size: 0.78rem;
  font-weight: 850;
}

.feature-strip li:nth-child(2) {
  background: var(--pink);
  color: var(--accent-ink);
}

.feature-strip li:nth-child(3) {
  background: var(--blue);
  color: var(--accent-ink);
}

.phone-stage {
  position: relative;
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 18px;
}

.phone-stage::before,
.phone-stage::after {
  position: absolute;
  z-index: -1;
  border: 2px solid var(--ink);
  content: "";
}

.phone-stage::before {
  inset: 3% -7% 12% 9%;
  background: var(--blue);
  box-shadow: var(--hard-shadow);
  transform: rotate(3deg);
}

.phone-stage::after {
  width: 76px;
  height: 76px;
  right: -6%;
  bottom: 2%;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 4px 4px 0 var(--ink);
}

.phone-shot {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 42px;
  background: white;
  box-shadow: var(--hard-shadow);
  transform: rotate(-1.2deg);
}

.phone-shot img {
  width: 100%;
  height: auto;
}

.site-footer {
  min-height: 76px;
  padding-block: 18px;
  border-top: 2px solid var(--rule);
  color: var(--muted-ink);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

.legal-main {
  padding-block: clamp(40px, 7vw, 80px);
}

.legal-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 38px;
}

.legal-heading h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.legal-heading p:not(.eyebrow) {
  max-width: 29ch;
  margin: 0;
  color: var(--muted-ink);
  font-weight: 700;
}

.prose-card {
  max-width: 820px;
  padding: clamp(24px, 5vw, 54px);
  border: 2px solid var(--ink);
  background: var(--paper-raised);
  box-shadow: var(--hard-shadow);
}

.prose-card section + section {
  margin-top: 34px;
  padding-top: 32px;
  border-top: 2px solid var(--ink);
}

.prose-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.prose-card p,
.prose-card ul {
  max-width: 70ch;
  margin-block: 0 12px;
}

.prose-card li + li {
  margin-top: 8px;
}

.prose-card section:nth-child(3n + 1) h2::after,
.prose-card section:nth-child(3n + 2) h2::after,
.prose-card section:nth-child(3n) h2::after {
  display: inline-block;
  width: 0.72em;
  height: 0.3em;
  margin-left: 10px;
  border: 2px solid var(--ink);
  background: var(--lime);
  content: "";
  transform: rotate(-4deg);
}

.prose-card section:nth-child(3n + 2) h2::after {
  background: var(--pink);
  transform: rotate(3deg);
}

.prose-card section:nth-child(3n) h2::after {
  background: var(--blue);
}

@media (max-width: 700px) {
  .site-shell {
    width: min(100% - 28px, var(--page-width));
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
  }

  .site-nav {
    gap: 13px;
    font-size: 0.8rem;
  }

  .brand span {
    max-width: 9ch;
    line-height: 1.05;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 38px 56px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .phone-stage {
    width: min(92%, 360px);
  }

  .legal-heading {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

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

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181712;
    --paper-raised: #24221b;
    --ink: #f8f1df;
    --muted-ink: #c9c2b2;
    --rule: #f8f1df;
    --lime: #9ed83e;
    --pink: #e66f9e;
    --blue: #5799db;
    --soft-blue: #23384c;
    --focus: #c7b7ff;
  }

  body {
    background-image:
      radial-gradient(circle at 18% 12%, rgb(255 255 255 / 7%) 0 1px, transparent 1.5px),
      radial-gradient(circle at 78% 72%, rgb(0 0 0 / 30%) 0 0.8px, transparent 1.3px);
  }

  .app-store-link {
    background: var(--paper-raised);
    color: var(--ink);
  }
}

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

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