@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic-900.woff2") format("woff2");
  font-display: swap;
  font-style: italic;
  font-weight: 900;
}

:root {
  --ink: #17130f;
  --ink-2: #2a2119;
  --paper: #fffaf0;
  --cream: #f7f0df;
  --white: #fffefa;
  --tomato: #ff5c48;
  --tomato-dark: #d9382d;
  --pink: #ff5da2;
  --blue: #6977e8;
  --blue-dark: #263187;
  --yellow: #ffd84d;
  --aqua: #66d7d1;
  --green: #2f7d50;
  --muted: #74675b;
  --line: rgba(23, 19, 15, 0.2);
  --border: 2px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --shadow-small: 4px 4px 0 var(--ink);
  --display: "Space Grotesk", "Avenir Next", "Helvetica Neue", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --radius: 24px;
  color-scheme: light;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 19, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 15, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 26px 26px;
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--paper);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 7px 20px;
  color: var(--paper);
  background: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.announcement i {
  color: var(--yellow);
  font-style: normal;
}

.announcement-mobile {
  display: none;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 4vw, 64px);
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(12px);
}

.wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  color: var(--tomato);
  font-family: var(--serif);
  font-size: 34px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
}

.wordmark-z {
  display: inline-block;
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.1em;
  transform: skewX(-13deg);
}

.wordmark-spark {
  position: absolute;
  top: -10px;
  right: -18px;
  color: var(--blue);
  font-family: var(--display);
  font-size: 13px;
  font-style: normal;
  transform: rotate(15deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
}

.site-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--tomato);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 18px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--pink);
  transition:
    transform 140ms ease,
    box-shadow 140ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  box-shadow: 5px 5px 0 var(--pink);
  transform: translate(-2px, -2px);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: min(850px, calc(100vh - 108px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: stretch;
  border-bottom: 2px solid var(--ink);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(72px, 8vw, 132px) clamp(28px, 5.6vw, 92px);
  background:
    radial-gradient(
      circle at 9px 9px,
      rgba(23, 19, 15, 0.12) 2px,
      transparent 2.4px
    ),
    var(--yellow);
  background-size: 28px 28px;
  border-right: 2px solid var(--ink);
}

.hero-copy::after {
  position: absolute;
  right: -26px;
  bottom: 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  content: "✦";
  color: var(--paper);
  background: var(--blue);
  border: var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-small);
  font-size: 22px;
  transform: rotate(12deg);
}

.kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker {
  margin-bottom: 24px;
  padding: 8px 12px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(23, 19, 15, 0.18);
}

.kicker-dot {
  width: 8px;
  height: 8px;
  background: var(--tomato);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

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

.hero h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(62px, 7.25vw, 124px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.headline-pop {
  display: block;
  width: fit-content;
  margin-top: 10px;
  padding: 0.05em 0.14em 0.1em;
  color: var(--paper);
  background: var(--tomato);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(-1.5deg);
}

.hero h1 em {
  display: block;
  margin-top: 0.22em;
  font-family: var(--serif);
  font-size: 0.52em;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-lede {
  max-width: 54ch;
  margin-bottom: 30px;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 500;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 54px;
  padding: 13px 22px;
  border: var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-small);
  transition:
    transform 140ms ease,
    box-shadow 140ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.button:active {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(23, 19, 15, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.trust-row li::before {
  margin-right: 7px;
  content: "✓";
  color: var(--green);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  padding: clamp(44px, 6vw, 92px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 50%, transparent 50%),
    var(--pink);
  background-size: 54px 100%;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: 0;
  content: "";
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.hero-visual::before {
  top: -120px;
  right: -110px;
  width: 360px;
  height: 360px;
  background: var(--blue);
}

.hero-visual::after {
  bottom: -90px;
  left: -70px;
  width: 240px;
  height: 240px;
  background: var(--tomato);
}

.photo-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 770px);
  aspect-ratio: 3 / 2;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(1.5deg);
}

.photo-frame picture,
.photo-frame img {
  width: 100%;
  height: 100%;
}

.photo-frame img {
  object-fit: cover;
}

.photo-label {
  position: absolute;
  right: 24px;
  bottom: 20px;
  padding: 8px 13px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: rotate(-3deg);
}

.tape {
  position: absolute;
  z-index: 5;
  width: 102px;
  height: 31px;
  background: rgba(255, 244, 194, 0.84);
  border-right: 1px solid rgba(23, 19, 15, 0.2);
  border-left: 1px solid rgba(23, 19, 15, 0.2);
  transform: rotate(-10deg);
}

.pattern-ticker {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--blue-dark);
  border-bottom: 2px solid var(--ink);
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 15px 0;
  animation: ticker 28s linear infinite;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker-track b {
  color: var(--yellow);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  border-bottom: 2px solid var(--ink);
}

.number-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(24px, 3.5vw, 54px);
  border-right: 2px solid var(--ink);
}

.number-card:last-child {
  border-right: 0;
}

.number-card strong {
  font-size: clamp(54px, 5.5vw, 90px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.number-card span {
  max-width: 15ch;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.number-pink {
  background: var(--pink);
}

.number-yellow {
  background: var(--yellow);
}

.number-blue {
  color: var(--paper);
  background: var(--blue);
}

.number-cream {
  background: var(--cream);
}

.app-proof-section {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 150px) clamp(22px, 5vw, 80px);
  background:
    radial-gradient(
      circle at 10px 10px,
      rgba(23, 19, 15, 0.12) 2px,
      transparent 2.4px
    ),
    var(--yellow);
  background-size: 31px 31px;
  border-bottom: 2px solid var(--ink);
}

.app-proof-heading {
  position: relative;
  z-index: 2;
}

.app-proof-heading > p {
  color: rgba(23, 19, 15, 0.76);
}

.app-proof-heading h2 em {
  color: var(--blue-dark);
}

.app-screen-grid {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  margin: 0 auto;
}

.app-screen-card {
  min-width: 0;
  margin: 0;
}

.app-screen-patterns {
  margin-top: clamp(34px, 5vw, 70px);
}

.app-screen-frame {
  overflow: hidden;
  background: var(--cream);
  border: 6px solid var(--ink);
  border-radius: clamp(28px, 3vw, 44px);
  box-shadow: 10px 12px 0 var(--ink);
}

.app-screen-frame img {
  width: 100%;
  height: auto;
}

.app-screen-card figcaption {
  display: grid;
  gap: 2px;
  margin-top: 22px;
  padding-left: 8px;
}

.app-screen-card figcaption strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.app-screen-card figcaption span {
  color: rgba(23, 19, 15, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.builder-section,
.how-section,
.pattern-library,
.own-design-section,
.faq-section {
  padding: clamp(80px, 10vw, 160px) clamp(22px, 5vw, 80px);
}

.builder-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10px 10px,
      rgba(23, 19, 15, 0.13) 2px,
      transparent 2.4px
    ),
    var(--tomato);
  background-size: 31px 31px;
  border-bottom: 2px solid var(--ink);
}

.builder-section::after {
  position: absolute;
  top: 48px;
  right: -28px;
  width: 150px;
  height: 68px;
  display: grid;
  place-items: center;
  content: "✦ LIVE DEMO";
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow-small);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(8deg);
}

.section-heading {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(44px, 6vw, 82px);
}

.section-heading h2,
.own-design-copy h2,
.privacy-banner h2,
.download-section h2 {
  margin: 14px 0 20px;
  font-size: clamp(46px, 6.5vw, 96px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.section-heading h2 em,
.own-design-copy h2 em,
.privacy-banner h2 em,
.download-section h2 em {
  color: var(--tomato-dark);
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
}

.on-dark h2 em,
.privacy-banner h2 em,
.download-section h2 em {
  color: var(--yellow);
}

.builder-heading h2 em {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.08em;
}

.keep-together {
  white-space: nowrap;
}

.section-heading > p,
.section-heading > div + p {
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
}

.builder-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 48px;
  padding-right: 100px;
}

.builder-heading h2 {
  max-width: 12ch;
}

.builder-heading > p {
  color: rgba(23, 19, 15, 0.78);
}

.builder {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  display: grid;
  grid-template-columns: minmax(360px, 0.7fr) minmax(500px, 1.3fr);
  gap: clamp(26px, 4vw, 62px);
  align-items: stretch;
  margin: 0 auto;
}

.pattern-drawer {
  align-self: center;
  padding: 22px;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(-1deg);
}

.drawer-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.drawer-title span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.drawer-title small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.drawer-pattern {
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  text-align: left;
  transition:
    transform 130ms ease,
    box-shadow 130ms ease,
    background 130ms ease;
}

.drawer-pattern:hover,
.drawer-pattern:focus-visible {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.drawer-pattern.is-active {
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.drawer-pattern canvas {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
  border-bottom: 1.5px solid var(--ink);
}

.drawer-pattern > span {
  display: block;
  padding: 9px 10px 10px;
}

.drawer-pattern strong,
.drawer-pattern small {
  display: block;
}

.drawer-pattern strong {
  font-size: 12px;
}

.drawer-pattern small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 9px;
}

.drawer-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 13px 0 2px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.builder-stage {
  position: relative;
  min-height: 830px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 4vw, 54px);
  background:
    linear-gradient(rgba(23, 19, 15, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 15, 0.07) 1px, transparent 1px),
    var(--pink);
  background-size: 28px 28px;
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(0.6deg);
}

.builder-controls {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding: 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-small);
}

.control-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  background: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.segmented button {
  padding: 8px 13px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.segmented button.is-active {
  color: var(--paper);
  background: var(--tomato);
}

.stone-pick {
  min-width: 84px;
  text-align: right;
}

.stone-pick strong {
  font-size: 20px;
}

.builder-phone {
  position: relative;
  width: min(100%, 420px);
  padding: 29px 12px 14px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 52px;
  box-shadow: 8px 9px 0 rgba(23, 19, 15, 0.45);
}

.phone-speaker {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 72px;
  height: 8px;
  background: var(--ink);
  border-radius: 999px;
  transform: translateX(-50%);
}

.phone-ui-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 2px 6px 9px;
}

.phone-ui-bar strong {
  font-size: 15px;
}

.phone-ui-bar span:last-child {
  text-align: right;
}

.phone-ui-bar button {
  padding: 5px;
  color: var(--tomato);
  background: none;
  border: 0;
  font-size: 11px;
  font-weight: 700;
}

.phone-ui-bar button:first-child {
  justify-self: start;
  font-size: 20px;
}

.phone-ui-bar button:last-child {
  justify-self: end;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 4px;
  background: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.phone-tabs span {
  padding: 6px 3px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  text-align: center;
}

.phone-tabs .is-active {
  color: var(--paper);
  background: var(--tomato);
}

.canvas-wrap {
  margin: 10px 0;
  overflow: hidden;
  background: #efe6d5;
  border: 1px solid var(--ink);
  border-radius: 25px;
}

#builder-canvas {
  width: 100%;
  aspect-ratio: 0.826 / 1;
}

.builder-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px 2px;
}

.builder-meta strong,
.builder-meta span {
  display: block;
}

.builder-meta strong {
  font-size: 12px;
}

.builder-meta span {
  color: var(--muted);
  font-size: 8px;
}

.stone-total {
  text-align: right;
}

.stone-total strong {
  font-size: 18px;
}

.stage-note {
  position: absolute;
  right: -34px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-small);
  font-size: 10px;
  font-weight: 700;
  transform: rotate(5deg);
}

.stage-note span {
  color: var(--blue);
}

.how-section {
  background:
    linear-gradient(rgba(23, 19, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 15, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 26px 26px;
  border-bottom: 2px solid var(--ink);
}

.centered {
  max-width: 1050px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.centered .section-label {
  justify-content: center;
}

.centered h2 {
  margin-right: auto;
  margin-left: auto;
}

.centered > p {
  margin-right: auto;
  margin-left: auto;
}

.flow-grid {
  max-width: 1440px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 0 auto;
}

.flow-card {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(220px, 0.7fr);
  gap: clamp(24px, 3vw, 50px);
  align-items: center;
  padding: clamp(26px, 4vw, 50px);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
}

.flow-card:nth-child(even) {
  transform: translateY(34px);
}

.flow-card-camera {
  background: var(--pink);
}

.flow-card-size {
  background: var(--aqua);
}

.flow-card-pattern {
  background: var(--yellow);
}

.flow-card-result {
  background: var(--blue);
}

.flow-number {
  position: absolute;
  top: 16px;
  right: 20px;
  color: rgba(23, 19, 15, 0.18);
  font-size: 70px;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.screen-demo {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 420px;
  padding: 18px 14px;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 32px;
  box-shadow: 6px 7px 0 rgba(23, 19, 15, 0.45);
}

.demo-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 16px;
  color: var(--tomato);
  font-size: 8px;
  font-weight: 700;
}

.demo-top strong {
  color: var(--ink);
  font-size: 10px;
  text-align: center;
}

.demo-top span:last-child {
  justify-self: end;
}

.measure-photo {
  position: relative;
  height: 300px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    #e76272;
  background-size: 22px 22px;
  border-radius: 17px;
}

.measure-object {
  position: absolute;
  top: 41px;
  left: 50%;
  width: 128px;
  height: 218px;
  background:
    radial-gradient(circle at 18px 18px, #ff7cae 0 10px, transparent 11px),
    radial-gradient(circle at 44px 42px, #ffd84d 0 9px, transparent 10px),
    radial-gradient(circle at 70px 17px, #6977e8 0 9px, transparent 10px),
    #fff3da;
  background-size: 74px 66px;
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: 5px 5px 0 rgba(23, 19, 15, 0.25);
  transform: translateX(-50%) rotate(4deg);
}

.measure-object::after {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 38px;
  height: 38px;
  content: "";
  background: var(--ink);
  border-radius: 11px;
}

.measure-card-ref {
  position: absolute;
  right: 13px;
  bottom: 17px;
  width: 96px;
  height: 61px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: linear-gradient(135deg, var(--tomato), var(--blue));
  border: 2px solid var(--yellow);
  border-radius: 8px;
  font-size: 7px;
  font-weight: 700;
  transform: rotate(-8deg);
}

.measure-card-ref i {
  position: absolute;
  inset: -6px;
  border: 2px dashed var(--paper);
  border-radius: 11px;
}

.measure-line {
  position: absolute;
  right: 52px;
  bottom: 99px;
  left: 52px;
  height: 2px;
  background: var(--yellow);
  transform: rotate(4deg);
}

.measure-line b {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--tomato);
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--ink);
  transform: translate(-50%, -50%);
}

.measure-line b:last-child {
  right: 0;
  transform: translate(50%, -50%);
}

.demo-button {
  margin-top: 12px;
  padding: 10px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.size-demo > p {
  margin: 12px 0 28px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.true-size-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  min-height: 210px;
}

.true-size-row > div {
  min-width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 5px 10px;
  border: 1.5px solid transparent;
  border-radius: 14px;
}

.true-size-row > div.selected {
  background: #fbddcf;
  border-color: var(--tomato);
}

.true-size-row small {
  font-size: 8px;
  font-weight: 700;
}

.css-gem {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0 17%, transparent 18%),
    conic-gradient(from 20deg, #ff8b7d, #bd291f, #ff7564, #cf362b, #ff8b7d);
  border: 2px solid #8f211a;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.22em rgba(255, 255, 255, 0.14);
}

.gem-xs {
  width: 16px;
  height: 16px;
}

.gem-sm {
  width: 26px;
  height: 26px;
}

.gem-md {
  width: 38px;
  height: 38px;
}

.gem-lg {
  width: 51px;
  height: 51px;
}

.gem-xl {
  width: 66px;
  height: 66px;
}

.size-tip {
  margin-top: 24px;
  padding: 11px;
  color: var(--muted);
  background: var(--cream);
  border-radius: 12px;
  font-size: 8px;
  text-align: center;
}

.pick-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 8px 2px 12px;
  font-size: 9px;
  font-weight: 700;
}

.pick-section-title small {
  color: var(--muted);
  font-size: 7px;
}

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

.pick-grid > div {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 9px;
}

.pick-grid > div:nth-child(3) {
  box-shadow: 3px 3px 0 var(--tomato);
  transform: translate(-1px, -1px);
}

.pick-grid canvas {
  width: 100%;
  aspect-ratio: 1.36 / 1;
  border-bottom: 1px solid var(--ink);
}

.pick-grid span {
  display: block;
  padding: 6px;
  font-size: 7px;
  font-weight: 700;
}

.result-demo-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-bottom: 20px;
  padding: 3px;
  background: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.result-demo-tabs span {
  padding: 6px 1px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 700;
  text-align: center;
}

.result-demo-tabs .is-active {
  color: var(--paper);
  background: var(--tomato);
}

.shop-demo {
  padding: 16px 14px;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 15px;
  box-shadow: 3px 3px 0 var(--ink);
}

.shop-demo > strong,
.shop-demo > small {
  display: block;
}

.shop-demo > strong {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.shop-demo > small {
  margin: 2px 0 15px;
  color: var(--muted);
  font-size: 7px;
}

.shop-demo > div,
.shopping-mini > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 9px;
}

.shop-demo i,
.shopping-mini i {
  width: 15px;
  height: 15px;
  background: var(--swatch);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.flow-copy {
  position: relative;
  z-index: 2;
}

.flow-kicker,
.card-index {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.flow-copy h3 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.flow-copy p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.55;
}

.flow-card-result .flow-copy {
  color: var(--paper);
}

.pattern-library {
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}

.split-heading {
  max-width: 1400px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  align-items: end;
  gap: 60px;
  margin-right: auto;
  margin-left: auto;
}

.pattern-card-grid {
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
  margin: 0 auto;
}

.pattern-card {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  text-align: left;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.pattern-card:hover,
.pattern-card:focus-visible {
  z-index: 2;
  box-shadow: 9px 9px 0 var(--ink);
  transform: translate(-3px, -3px) rotate(-0.5deg);
}

.pattern-card canvas {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  border-bottom: 2px solid var(--ink);
}

.pattern-card-tall {
  grid-row: span 2;
}

.pattern-card-tall canvas {
  aspect-ratio: 0.92 / 1;
}

.pattern-card-wide {
  grid-column: span 2;
}

.pattern-card-wide canvas {
  aspect-ratio: 2.23 / 1;
}

.pattern-card > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
}

.pattern-card b {
  font-size: 14px;
}

.pattern-card small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-note {
  max-width: 900px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.library-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
  padding: 12px 18px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-small);
  font-size: 13px;
  font-weight: 700;
}

.library-toggle[aria-expanded="true"] [aria-hidden="true"] {
  transform: rotate(180deg);
}

.blueprint-section {
  padding: clamp(90px, 10vw, 160px) clamp(22px, 5vw, 80px);
  color: var(--paper);
  background:
    radial-gradient(
      circle at 12px 12px,
      rgba(255, 255, 255, 0.075) 1.6px,
      transparent 1.8px
    ),
    var(--ink);
  background-size: 30px 30px;
  border-bottom: 2px solid var(--ink);
}

.on-dark > p {
  color: rgba(255, 250, 240, 0.68);
}

.blueprint-grid {
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 auto;
}

.blueprint-card {
  position: relative;
  min-height: 610px;
  padding: clamp(28px, 4vw, 54px);
  overflow: hidden;
  color: var(--ink);
  border: 3px solid var(--paper);
  box-shadow: 8px 8px 0 rgba(255, 250, 240, 0.18);
}

.blueprint-mockup {
  background: var(--pink);
}

.blueprint-chart {
  background: var(--aqua);
  transform: translateY(28px);
}

.blueprint-shop {
  background: var(--yellow);
}

.blueprint-follow {
  background: var(--blue);
  transform: translateY(28px);
}

.blueprint-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: var(--shadow-small);
  font-size: 25px;
  font-weight: 700;
}

.chart-icon,
.bag-icon,
.follow-icon {
  border-radius: 12px;
  transform: rotate(-4deg);
}

.blueprint-card h3 {
  max-width: 14ch;
  margin: 12px 0 14px;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.blueprint-card > p {
  max-width: 50ch;
  margin-bottom: 28px;
  font-size: 14px;
}

.mockup-mini {
  width: min(90%, 430px);
  margin: auto;
  padding: 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow-small);
  transform: rotate(-2deg);
}

.mockup-mini canvas {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  background: var(--cream);
  border-radius: 15px;
}

.chart-mini {
  width: min(100%, 460px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  margin: 30px auto 14px;
  padding: 15px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-small);
  transform: rotate(1.5deg);
}

.chart-mini i {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--cell);
  border: 1px solid rgba(23, 19, 15, 0.35);
  border-radius: 50%;
  font-size: 6px;
  font-style: normal;
  font-weight: 700;
}

.chart-key {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 8px;
  font-weight: 700;
}

.shopping-mini {
  width: min(100%, 450px);
  margin: 30px auto 0;
  padding: 17px 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 17px;
  box-shadow: var(--shadow-small);
  transform: rotate(-1.5deg);
}

.shopping-mini > div {
  padding: 12px 0;
  font-size: 11px;
}

.shopping-mini i {
  width: 20px;
  height: 20px;
}

.swatch-red {
  --swatch: #d32f2f;
}

.swatch-pink {
  --swatch: #ff6fa5;
}

.swatch-blue {
  --swatch: #7583e3;
}

.swatch-yellow {
  --swatch: #f7c948;
}

.shopping-mini footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  font-size: 10px;
}

.follow-mini {
  width: min(100%, 460px);
  margin: 30px auto 0;
  padding: 22px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow-small);
  transform: rotate(1.5deg);
}

.follow-progress {
  height: 8px;
  margin-bottom: 18px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.follow-progress span {
  width: 42%;
  height: 100%;
  display: block;
  background: var(--pink);
  transition: width 220ms ease;
}

.follow-mini small,
.follow-mini strong {
  display: block;
}

.follow-mini small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.follow-mini strong {
  margin-top: 7px;
  font-size: 13px;
}

.follow-row {
  display: flex;
  gap: 9px;
  margin: 24px 0;
}

.follow-row i {
  width: 29px;
  height: 29px;
  background: var(--cream);
  border: 2px dashed var(--muted);
  border-radius: 50%;
}

.follow-row i.done {
  background: var(--tomato);
  border: 2px solid var(--ink);
}

.follow-row i.current {
  background: var(--yellow);
  border: 3px solid var(--ink);
  transform: scale(1.15);
}

.follow-mini button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 15px;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.own-design-section {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(340px, 0.78fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.own-design-demo {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: 0.65fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: clamp(30px, 5vw, 70px);
  background:
    linear-gradient(rgba(23, 19, 15, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 15, 0.08) 1px, transparent 1px),
    var(--blue);
  background-size: 30px 30px;
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(-1deg);
}

.own-demo-note {
  position: absolute;
  top: 21px;
  left: 24px;
  padding: 8px 11px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(-2deg);
}

.source-card,
.stone-card {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-small);
}

.source-card {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 20px;
  transform: rotate(-5deg);
}

.source-apple {
  position: relative;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  color: var(--tomato);
  font-size: 150px;
  line-height: 0.5;
  text-shadow: -16px 4px 0 var(--tomato);
}

.source-apple::before {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 13px;
  height: 34px;
  content: "";
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 80% 0;
  transform: rotate(40deg);
}

.source-card small,
.stone-card small {
  position: absolute;
  bottom: 8px;
  left: 50%;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.own-arrow {
  color: var(--yellow);
  font-size: 38px;
  font-weight: 700;
}

.stone-card {
  padding: 12px 12px 28px;
  transform: rotate(3deg);
}

.stone-card canvas {
  width: 100%;
  background: var(--ink);
}

.palette-dots {
  position: absolute;
  right: 25px;
  bottom: 22px;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

.palette-dots i {
  width: 18px;
  height: 18px;
  background: var(--dot);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.palette-red {
  --dot: #d32f2f;
}

.palette-green {
  --dot: #1b7a3d;
}

.palette-cream {
  --dot: #f7edbd;
}

.own-design-copy {
  max-width: 680px;
}

.own-design-copy > p {
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
}

.spark-list {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
}

.spark-list li::before {
  width: 24px;
  display: inline-block;
  margin-right: 10px;
  content: "✦";
  color: var(--tomato);
  font-size: 16px;
}

.privacy-banner {
  display: grid;
  grid-template-columns: auto minmax(300px, 1.1fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  padding: clamp(70px, 8vw, 130px) clamp(24px, 6vw, 100px);
  color: var(--paper);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.04) 0 12px,
      transparent 12px 24px
    ),
    var(--blue-dark);
  border-bottom: 2px solid var(--ink);
}

.privacy-stamp {
  width: clamp(130px, 14vw, 210px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--yellow);
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 9px 9px 0 var(--tomato);
  color: var(--ink);
  transform: rotate(-8deg);
}

.privacy-stamp span {
  font-size: clamp(66px, 8vw, 112px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.privacy-stamp small {
  margin-top: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.privacy-banner h2 {
  margin-bottom: 0;
  font-size: clamp(44px, 5.5vw, 84px);
}

.privacy-copy p {
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(16px, 1.35vw, 20px);
}

.privacy-copy a {
  display: inline-flex;
  gap: 10px;
  margin-top: 12px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(420px, 1fr);
  gap: clamp(50px, 9vw, 150px);
  background: var(--yellow);
  border-bottom: 2px solid var(--ink);
}

.faq-heading {
  position: sticky;
  top: 128px;
  align-self: start;
}

.faq-heading h2 {
  font-size: clamp(48px, 5.5vw, 82px);
}

.faq-list {
  border-top: 2px solid var(--ink);
}

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

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 27px 4px;
  cursor: pointer;
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 700;
  letter-spacing: -0.025em;
  list-style: none;
}

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

.faq-list summary span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.faq-list details[open] summary span {
  background: var(--pink);
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 66ch;
  margin: -6px 60px 28px 4px;
  color: rgba(23, 19, 15, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.download-section {
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(
      circle at 10px 10px,
      rgba(255, 255, 255, 0.09) 2px,
      transparent 2.3px
    ),
    var(--tomato);
  background-size: 30px 30px;
  border-bottom: 2px solid var(--ink);
  text-align: center;
}

.download-section::before,
.download-section::after {
  position: absolute;
  content: "";
  border: 3px solid var(--ink);
}

.download-section::before {
  top: -110px;
  left: -80px;
  width: 310px;
  height: 310px;
  background: var(--pink);
  border-radius: 50%;
}

.download-section::after {
  right: -70px;
  bottom: -90px;
  width: 270px;
  height: 270px;
  background: var(--yellow);
  transform: rotate(20deg);
}

.download-section > * {
  position: relative;
  z-index: 2;
}

.download-section h2 {
  margin: 18px 0 22px;
  font-size: clamp(64px, 9vw, 142px);
}

.download-section > p {
  margin-bottom: 34px;
  font-size: 17px;
}

.download-gems {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
}

.download-gems .css-gem:nth-child(2) {
  filter: hue-rotate(240deg);
}

.download-gems .css-gem:nth-child(3) {
  filter: hue-rotate(50deg);
}

.download-gems .css-gem:nth-child(4) {
  filter: hue-rotate(170deg);
}

.prelaunch-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 2px solid var(--paper);
  box-shadow: 6px 6px 0 var(--blue-dark);
}

.prelaunch-cta:hover,
.prelaunch-cta:focus-visible {
  box-shadow: 9px 9px 0 var(--blue-dark);
}

.official-store-link {
  display: inline-flex;
  border-radius: 10px;
  transition: transform 150ms ease;
}

.official-store-link:hover,
.official-store-link:focus-visible {
  transform: translateY(-3px);
}

.official-store-link img {
  width: 180px;
  height: auto;
}

.download-note {
  margin-top: 16px;
  color: rgba(255, 250, 240, 0.7);
  font-size: 10px;
  font-weight: 600;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 45px clamp(24px, 5vw, 80px);
  color: var(--paper);
  background: var(--ink);
}

.footer-wordmark {
  color: var(--tomato);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 250, 240, 0.62);
  font-family: var(--serif);
  font-style: italic;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer nav a {
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

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

.site-footer > small {
  grid-column: 1 / -1;
  padding-top: 22px;
  color: rgba(255, 250, 240, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 10px;
}

.site-footer > .apple-legal {
  margin-top: -18px;
  padding-top: 0;
  border-top: 0;
  line-height: 1.5;
}

/* ---------- privacy + 404 ---------- */
.legal-body {
  background:
    linear-gradient(rgba(23, 19, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 15, 0.045) 1px, transparent 1px),
    var(--cream);
  background-size: 26px 26px;
}

.legal-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px clamp(20px, 5vw, 76px);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.legal-back {
  font-size: 12px;
  font-weight: 700;
  text-underline-offset: 5px;
}

.legal-main {
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) clamp(18px, 5vw, 72px)
    clamp(90px, 10vw, 150px);
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: center;
  margin-bottom: clamp(55px, 8vw, 110px);
}

.legal-hero h1,
.error-card h1 {
  margin: 16px 0 16px;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.legal-hero h1 em,
.error-card h1 em {
  color: var(--tomato);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
}

.legal-hero p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-zero {
  width: clamp(190px, 22vw, 310px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 10px 10px 0 var(--blue);
  transform: rotate(7deg);
}

.legal-zero strong {
  font-size: clamp(88px, 11vw, 150px);
  letter-spacing: -0.09em;
  line-height: 0.76;
}

.legal-zero span {
  margin-top: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.legal-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 50px);
  align-items: start;
  margin-bottom: 38px;
  padding: clamp(28px, 4vw, 52px);
  color: var(--paper);
  background: var(--blue-dark);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
}

.legal-intro p {
  max-width: 68ch;
  margin-bottom: 0;
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.6;
}

.legal-intro strong {
  color: var(--yellow);
}

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

.legal-card {
  min-height: 330px;
  padding: clamp(28px, 4vw, 50px);
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
}

.legal-card-yellow {
  background: var(--yellow);
  transform: translateY(24px);
}

.legal-card-pink {
  background: var(--pink);
}

.legal-card-blue {
  color: var(--paper);
  background: var(--blue);
  transform: translateY(24px);
}

.legal-index {
  display: block;
  margin-bottom: 38px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.legal-card h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.4vw, 50px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.legal-card p {
  max-width: 58ch;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
}

.legal-card .legal-big {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 42px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
}

.legal-card a {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 5px;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 76px);
  color: var(--paper);
  background: var(--ink);
  font-size: 11px;
}

.legal-footer a {
  color: var(--yellow);
  font-weight: 700;
  text-underline-offset: 5px;
}

.error-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(
      circle at 11px 11px,
      rgba(23, 19, 15, 0.13) 2px,
      transparent 2.3px
    ),
    var(--yellow);
  background-size: 30px 30px;
}

.error-card {
  width: min(100%, 860px);
  padding: clamp(42px, 8vw, 90px);
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 13px 13px 0 var(--ink);
  text-align: center;
  transform: rotate(-1deg);
}

.error-card h1 {
  font-size: clamp(58px, 9vw, 108px);
}

.error-card p {
  max-width: 48ch;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 17px;
}

.error-card .button {
  width: auto;
}

.error-gem {
  position: relative;
  width: 90px;
  margin: 0 auto 24px;
}

.error-gem .css-gem {
  width: 88px;
  height: 88px;
}

.error-gem i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
}

.noscript-note {
  position: fixed;
  z-index: 999;
  right: 16px;
  bottom: 16px;
  max-width: 360px;
  padding: 14px 18px;
  background: var(--yellow);
  border: var(--border);
  box-shadow: var(--shadow-small);
  font-size: 12px;
  font-weight: 700;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .flow-card:nth-child(even)[data-reveal] {
  transform: translateY(60px);
}

.js .flow-card:nth-child(even)[data-reveal].is-visible {
  transform: translateY(34px);
}

.js .blueprint-chart[data-reveal],
.js .blueprint-follow[data-reveal] {
  transform: translateY(56px);
}

.js .blueprint-chart[data-reveal].is-visible,
.js .blueprint-follow[data-reveal].is-visible {
  transform: translateY(28px);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  }

  .hero-copy {
    padding-right: 48px;
    padding-left: 48px;
  }

  .flow-card {
    grid-template-columns: 1fr;
  }

  .flow-copy {
    align-self: end;
  }

  .screen-demo {
    width: min(100%, 370px);
    justify-self: center;
  }

  .pattern-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .own-design-section {
    grid-template-columns: 1fr;
  }

  .own-design-demo {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
  }

  .own-design-copy {
    max-width: 850px;
    margin: 0 auto;
  }

  .privacy-banner {
    grid-template-columns: auto 1fr;
  }

  .privacy-copy {
    grid-column: 2;
  }
}

@media (max-width: 960px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    width: 46px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 7px;
    padding: 0;
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: 50%;
  }

  .menu-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    display: block;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 90px 36px;
    visibility: hidden;
    opacity: 0;
    background:
      radial-gradient(
        circle at 10px 10px,
        rgba(23, 19, 15, 0.13) 2px,
        transparent 2.5px
      ),
      var(--yellow);
    background-size: 29px 29px;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    font-size: clamp(28px, 7vw, 52px);
    font-weight: 700;
    letter-spacing: -0.05em;
  }

  .site-nav .nav-cta {
    margin-top: 12px;
    padding: 14px 22px;
    color: var(--paper);
    font-size: 17px;
    letter-spacing: 0;
  }

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

  .hero-copy {
    min-height: 720px;
    padding: 90px clamp(24px, 8vw, 70px);
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .hero-copy::after {
    right: 30px;
    bottom: -28px;
  }

  .hero-visual {
    min-height: 650px;
  }

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

  .number-card:nth-child(2) {
    border-right: 0;
  }

  .number-card:nth-child(-n + 2) {
    border-bottom: 2px solid var(--ink);
  }

  .builder-heading,
  .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-right: 0;
  }

  .builder {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .pattern-drawer {
    max-width: 680px;
    width: 100%;
    min-width: 0;
    justify-self: center;
  }

  .builder-stage {
    max-width: 760px;
    width: 100%;
    min-width: 0;
    justify-self: center;
  }

  .flow-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .flow-card {
    grid-template-columns: minmax(250px, 0.9fr) minmax(230px, 0.7fr);
    min-height: 580px;
  }

  .flow-card:nth-child(even),
  .js .flow-card:nth-child(even)[data-reveal],
  .js .flow-card:nth-child(even)[data-reveal].is-visible {
    transform: none;
  }

  .blueprint-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .blueprint-chart,
  .blueprint-follow,
  .js .blueprint-chart[data-reveal],
  .js .blueprint-follow[data-reveal],
  .js .blueprint-chart[data-reveal].is-visible,
  .js .blueprint-follow[data-reveal].is-visible {
    transform: none;
  }

  .pattern-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .privacy-stamp {
    margin: 0 auto;
  }

  .privacy-copy {
    grid-column: auto;
    max-width: 700px;
    margin: 0 auto;
  }

  .faq-section {
    grid-template-columns: 1fr;
  }

  .faq-heading {
    position: static;
  }

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

  .legal-zero {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 78px;
  }

  .announcement {
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
  }

  .announcement-mobile {
    display: inline;
  }

  .announcement-desktop,
  .announcement > i,
  .announcement span:not(.announcement-mobile) {
    display: none;
  }

  .site-header {
    padding: 10px 18px;
  }

  .wordmark {
    font-size: 30px;
  }

  .hero-copy {
    min-height: 650px;
    padding-top: 70px;
    padding-bottom: 75px;
  }

  .hero h1 {
    font-size: clamp(58px, 17vw, 86px);
  }

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

  .hero-visual {
    min-height: 590px;
    padding: 46px 24px;
  }

  .photo-frame {
    aspect-ratio: 4 / 5;
  }

  .photo-frame img {
    object-position: 65% center;
  }

  .photo-label {
    right: 64px;
  }

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

  .number-card {
    min-height: 125px;
    border-bottom: 2px solid var(--ink);
  }

  .number-card:nth-child(odd) {
    border-right: 2px solid var(--ink);
  }

  .number-card:nth-child(2) {
    border-right: 0;
  }

  .number-card:nth-child(n + 3) {
    border-bottom: 0;
  }

  .number-card:last-child {
    border-bottom: 0;
  }

  .number-card strong {
    font-size: 52px;
  }

  .app-proof-section {
    padding-right: 0;
    padding-left: 0;
  }

  .app-proof-heading {
    padding-right: 24px;
    padding-left: 24px;
  }

  .app-screen-grid {
    display: flex;
    gap: 22px;
    padding: 8px 24px 18px;
    overflow-x: auto;
    scroll-padding-left: 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .app-screen-grid::-webkit-scrollbar {
    display: none;
  }

  .app-screen-card {
    width: min(76vw, 330px);
    flex: 0 0 min(76vw, 330px);
    scroll-snap-align: start;
  }

  .app-screen-patterns {
    margin-top: 0;
  }

  .app-screen-frame {
    border-width: 5px;
    box-shadow: 8px 9px 0 var(--ink);
  }

  .builder-section::after {
    top: 28px;
    right: -36px;
    width: 130px;
    height: 48px;
    font-size: 10px;
  }

  .section-heading h2,
  .own-design-copy h2,
  .privacy-banner h2,
  .download-section h2 {
    font-size: clamp(44px, 10vw, 58px);
  }

  .builder-heading {
    margin-bottom: 38px;
  }

  .drawer-grid {
    display: flex;
    gap: 8px;
    margin-right: -14px;
    margin-left: -14px;
    padding: 0 14px 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .drawer-pattern {
    flex: 0 0 148px;
    scroll-snap-align: start;
  }

  .pattern-drawer {
    padding: 14px;
    transform: none;
  }

  .builder-stage {
    min-height: 700px;
    padding: 18px 12px 44px;
    box-shadow: 7px 7px 0 var(--ink);
    transform: none;
  }

  .builder-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    flex: 1;
  }

  .stone-pick {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    text-align: left;
  }

  .stone-pick .control-label {
    margin-bottom: 0;
  }

  .builder-phone {
    width: min(100%, 365px);
    border-radius: 44px;
  }

  .stage-note {
    right: -12px;
    bottom: 18px;
  }

  .flow-card {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 26px 20px 32px;
  }

  .screen-demo {
    min-height: 385px;
  }

  .flow-copy h3 {
    font-size: 34px;
  }

  .pattern-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .js .pattern-card-grid:not(.is-expanded) .pattern-card:nth-child(n + 5) {
    display: none;
  }

  .pattern-card-tall,
  .pattern-card-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .pattern-card-tall canvas,
  .pattern-card-wide canvas {
    aspect-ratio: 1.4 / 1;
  }

  .pattern-card > span {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    min-height: 64px;
    padding: 10px;
  }

  .library-toggle {
    display: inline-flex;
  }

  .library-note {
    margin-top: 22px;
  }

  .blueprint-card {
    min-height: 560px;
    padding: 28px 20px;
  }

  .blueprint-card h3 {
    font-size: 38px;
  }

  .follow-row {
    gap: 5px;
  }

  .follow-row i {
    width: 25px;
    height: 25px;
  }

  .own-design-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .own-design-demo {
    min-height: 560px;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 62px 36px 34px;
    transform: none;
  }

  .source-card {
    min-height: 160px;
  }

  .source-apple {
    transform: scale(0.75);
  }

  .own-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .stone-card {
    width: min(100%, 290px);
    justify-self: center;
  }

  .palette-dots {
    right: 9px;
    bottom: 9px;
  }

  .faq-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .faq-list summary {
    gap: 14px;
    padding: 22px 2px;
    font-size: 18px;
  }

  .faq-list details p {
    margin-right: 15px;
  }

  .download-section {
    min-height: 650px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-wordmark {
    justify-self: center;
  }

  .site-footer nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .legal-header {
    padding-right: 18px;
    padding-left: 18px;
  }

  .legal-back {
    font-size: 10px;
  }

  .legal-hero {
    text-align: center;
  }

  .legal-hero h1 {
    font-size: 62px;
  }

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

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

  .legal-card-yellow,
  .legal-card-blue {
    transform: none;
  }

  .legal-footer {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .error-card {
    padding-right: 20px;
    padding-left: 20px;
    box-shadow: 8px 8px 0 var(--ink);
  }
}

@media (max-width: 430px) {
  .hero-copy {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1 {
    font-size: 57px;
  }

  .headline-pop {
    border-width: 2px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .hero-lede {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 535px;
  }

  .builder-section,
  .how-section,
  .pattern-library,
  .own-design-section,
  .faq-section,
  .blueprint-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-heading h2,
  .own-design-copy h2,
  .privacy-banner h2 {
    font-size: 43px;
  }

  .drawer-pattern strong {
    font-size: 10px;
  }

  .drawer-pattern small {
    display: none;
  }

  .builder-phone {
    border-radius: 36px;
  }

  .flow-card {
    padding-right: 14px;
    padding-left: 14px;
  }

  .screen-demo {
    min-height: 370px;
  }

  .true-size-row {
    gap: 2px;
  }

  .true-size-row > div {
    min-width: 40px;
    padding-right: 2px;
    padding-left: 2px;
  }

  .blueprint-card {
    padding-right: 16px;
    padding-left: 16px;
  }

  .privacy-banner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .download-section h2 {
    font-size: 48px;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
