@font-face {
  font-family: "Caramel";
  src: url("assets/Caramel.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #f1f1ee;
  --paper-strong: #e5e6e2;
  --ink: #16191d;
  --ink-soft: #5b616a;
  --line: rgba(38, 43, 51, 0.12);
  --panel: rgba(255, 255, 255, 0.74);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --accent: #345b75;
  --accent-soft: #8ea8b8;
  --chalk-blue: #78a7d5;
  --chalk-gold: #d9bf78;
  --chalk-mint: #90c4b4;
  --chalk-white: #f7f5f1;
  --glow: rgba(148, 162, 173, 0.24);
  --shadow: 0 28px 90px rgba(34, 39, 46, 0.11);
  --surface: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(243,243,239,0.72));
  --surface-strong: rgba(255, 255, 255, 0.86);
  --surface-soft: rgba(250, 250, 247, 0.68);
  --surface-border: rgba(118, 126, 136, 0.18);
  --page-bg:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.88), transparent 26%),
    radial-gradient(circle at 84% 10%, rgba(180, 194, 205, 0.36), transparent 24%),
    linear-gradient(180deg, #f8f8f5 0%, #ecece7 48%, #f4f4f0 100%);
  --grid-line: rgba(33, 38, 45, 0.03);
  --header-bg: rgba(250, 250, 246, 0.8);
  --header-border: rgba(118, 126, 136, 0.14);
  --button-strong: linear-gradient(135deg, #27343f, #436177);
  --button-strong-text: #f8f8f5;
  --button-soft: rgba(255, 255, 255, 0.72);
  --button-soft-hover: rgba(255, 255, 255, 0.9);
  --button-soft-border: rgba(36, 40, 46, 0.08);
  --shot-bg:
    linear-gradient(145deg, rgba(24, 29, 34, 0.05), rgba(255,255,255,0.56)),
    rgba(241, 241, 236, 0.98);
  --shot-border: rgba(36, 40, 46, 0.09);
  --floating-card: rgba(255, 255, 255, 0.84);
  --floating-shadow: 0 12px 24px rgba(17, 29, 43, 0.08);
  --store-card-bg:
    radial-gradient(circle at top right, rgba(214, 223, 231, 0.42), transparent 28%),
    linear-gradient(135deg, rgba(251, 251, 248, 0.96), rgba(233, 236, 239, 0.94));
  --store-card-text: var(--ink);
  --store-card-muted: var(--ink-soft);
  --store-card-shadow: 0 24px 48px rgba(18, 26, 36, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1240px;
  --content-narrow: 760px;
}

body[data-color-mode="dark"] {
  --paper: #121519;
  --paper-strong: #181d22;
  --ink: #eef1f4;
  --ink-soft: #adb6c0;
  --line: rgba(230, 234, 239, 0.1);
  --panel: rgba(32, 37, 43, 0.74);
  --panel-strong: rgba(25, 29, 35, 0.9);
  --accent: #d5dde4;
  --accent-soft: #8f99a4;
  --glow: rgba(176, 188, 201, 0.14);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --surface: linear-gradient(180deg, rgba(31,34,39,0.92), rgba(21,24,29,0.88));
  --surface-strong: rgba(31, 35, 42, 0.9);
  --surface-soft: rgba(23, 27, 32, 0.78);
  --surface-border: rgba(214, 220, 227, 0.1);
  --page-bg:
    radial-gradient(circle at top left, rgba(112, 121, 132, 0.18), transparent 28%),
    radial-gradient(circle at 84% 10%, rgba(255, 255, 255, 0.04), transparent 24%),
    linear-gradient(180deg, #0f1216 0%, #14181d 48%, #101318 100%);
  --grid-line: rgba(230, 234, 239, 0.03);
  --header-bg: rgba(19, 23, 28, 0.82);
  --header-border: rgba(214, 220, 227, 0.11);
  --button-strong: linear-gradient(135deg, #ebedf0, #9aa7b3);
  --button-strong-text: #11151a;
  --button-soft: rgba(29, 34, 40, 0.82);
  --button-soft-hover: rgba(41, 47, 55, 0.94);
  --button-soft-border: rgba(214, 220, 227, 0.08);
  --shot-bg:
    linear-gradient(145deg, rgba(255,255,255,0.03), rgba(140,148,157,0.05)),
    rgba(24, 27, 33, 0.98);
  --shot-border: rgba(214, 220, 227, 0.09);
  --floating-card: rgba(37, 42, 50, 0.92);
  --floating-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  --store-card-bg:
    radial-gradient(circle at top right, rgba(214, 223, 231, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(29, 35, 42, 0.96), rgba(48, 60, 73, 0.94));
  --store-card-text: #f6f4ef;
  --store-card-muted: rgba(244, 246, 248, 0.8);
  --store-card-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  transition: background 260ms ease, color 260ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 82%);
}

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

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 20px 0 60px;
  position: relative;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--header-border);
  border-radius: 999px;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(18, 27, 42, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #29435a, #4a6f90);
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.18);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-family: "Calligraffitti", "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.brand-copy em {
  font-family: "Ephesis", cursive;
  font-size: 1.55rem;
  font-style: normal;
  color: var(--ink-soft);
  line-height: 0.82;
}

.site-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-nav {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.site-nav a:hover {
  color: var(--ink);
}

.mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: var(--button-soft);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(18, 27, 42, 0.08);
  cursor: pointer;
}

.mode-toggle:hover {
  background: var(--button-soft-hover);
}

.mode-toggle[data-mode="light"] .mode-toggle__moon,
.mode-toggle[data-mode="dark"] .mode-toggle__sun {
  opacity: 0.38;
}

.hero,
.screenshots-section,
.workflow-section,
.export-section {
  display: grid;
  gap: 38px;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  align-items: center;
  padding: 82px 0 54px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow.small {
  margin-bottom: 8px;
  letter-spacing: 0.14em;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--surface-border);
  box-shadow: var(--floating-shadow);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.launch-pill__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b68a33, #e5c981);
  box-shadow: 0 0 0 4px rgba(213, 186, 120, 0.16);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.48rem;
}

p {
  line-height: 1.72;
}

.hero-lead,
.hero-detail,
.section-heading p,
.feature-card p,
.workflow-step p,
.export-card p,
.statement-block p,
.page-card p,
.page-intro p {
  color: var(--ink-soft);
}

.hero-lead {
  font-size: 1.18rem;
  margin: 0 0 14px;
}

.hero-detail {
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button-primary {
  background: var(--button-strong);
  color: var(--button-strong-text);
  box-shadow: 0 12px 30px rgba(34, 46, 61, 0.18);
}

.button-secondary {
  background: var(--button-soft);
  border: 1px solid var(--button-soft-border);
}

.hero-points,
.site-footer__constellation,
.feature-grid,
.value-strip,
.workflow-steps,
.export-grid,
.page-grid {
  display: grid;
}

.hero-points {
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li::before {
  content: "•";
  color: var(--chalk-blue);
  margin-right: 10px;
}

.slate-preview {
  position: relative;
  min-height: 700px;
  max-width: 580px;
  margin-left: auto;
  padding: 22px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,0.2), transparent 26%),
    linear-gradient(145deg, rgba(255,255,255,0.09), rgba(0,0,0,0.07)),
    #2d3238;
  box-shadow: var(--shadow);
}

.slate-preview__caption {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  color: rgba(244, 246, 249, 0.88);
}

.slate-preview__caption span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(214, 221, 228, 0.68);
}

.slate-preview__caption strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.04;
}

.slate-preview__canvas {
  position: relative;
  min-height: 620px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(166, 189, 210, 0.08), transparent 22%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(180deg, #262a2f, #1d2024);
  background-size: auto, 34px 34px, 34px 34px, auto;
  overflow: hidden;
}

.slate-preview__rail {
  position: absolute;
  left: 5%;
  top: 21%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
  transform: translateX(-44%);
}

.rail-tab {
  width: 42px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(116, 146, 170, 0.84);
  color: #f9f8f3;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(8, 12, 16, 0.22);
}

.rail-tab--active {
  background: rgba(232, 244, 255, 0.9);
  color: #1e2730;
}

.rail-tab--plus {
  background: rgba(201, 178, 114, 0.92);
}

.chalk-stroke,
.chalk-diagram span {
  position: absolute;
  border-radius: 999px;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.08));
}

.chalk-stroke--one {
  top: 112px;
  left: 88px;
  width: 260px;
  height: 5px;
  background: linear-gradient(90deg, rgba(247,245,241,0.1), rgba(247,245,241,0.94), rgba(247,245,241,0.1));
  transform: rotate(-8deg);
}

.chalk-stroke--two {
  top: 246px;
  left: 110px;
  width: 318px;
  height: 6px;
  background: linear-gradient(90deg, rgba(120,167,213,0.08), rgba(120,167,213,0.95), rgba(120,167,213,0.08));
  transform: rotate(11deg);
}

.chalk-stroke--three {
  top: 404px;
  left: 146px;
  width: 220px;
  height: 6px;
  background: linear-gradient(90deg, rgba(217,191,120,0.08), rgba(217,191,120,0.95), rgba(217,191,120,0.08));
  transform: rotate(-15deg);
}

.chalk-diagram span:nth-child(1) {
  left: 132px;
  top: 504px;
  width: 160px;
  height: 3px;
  background: rgba(144,196,180,0.88);
}

.chalk-diagram span:nth-child(2) {
  left: 196px;
  top: 462px;
  width: 3px;
  height: 96px;
  background: rgba(144,196,180,0.88);
}

.chalk-diagram span:nth-child(3) {
  left: 286px;
  top: 488px;
  width: 84px;
  height: 3px;
  background: rgba(247,245,241,0.82);
  transform: rotate(32deg);
  transform-origin: left center;
}

.palette-preview {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(246, 246, 243, 0.16);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
}

.swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
}

.swatch--white { background: var(--chalk-white); }
.swatch--blue { background: var(--chalk-blue); }
.swatch--gold { background: var(--chalk-gold); }
.swatch--mint { background: var(--chalk-mint); }
.swatch--tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f8f8f5;
  font-weight: 700;
  background: rgba(255,255,255,0.14);
}

.value-strip,
.feature-grid,
.export-grid,
.page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screenshots-section {
  padding: 12px 0 26px;
}

.screenshots-showcase {
  display: grid;
  gap: 20px;
}

.screenshot-hero-card,
.screenshot-card {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--floating-shadow);
}

.screenshot-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
  gap: 22px;
  align-items: center;
}

.screenshot-hero-card__copy {
  max-width: 34rem;
}

.screenshot-hero-card__copy p:last-child,
.screenshot-card p {
  color: var(--ink-soft);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.screenshot-card {
  display: grid;
  gap: 16px;
}

.screenshot-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(0,0,0,0.08));
  border: 1px solid var(--shot-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.screenshot-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 18%),
    radial-gradient(circle at top left, rgba(255,255,255,0.14), transparent 24%);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-frame--hero img {
  aspect-ratio: 2064 / 2752;
  object-fit: cover;
}

.screenshot-frame--carousel::before {
  z-index: 2;
}

.screenshot-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  width: 100%;
  animation: screenshot-scroll-cycle 14s ease-in-out infinite;
  will-change: transform;
}

.screenshot-carousel-track img {
  min-width: 100%;
}

@keyframes screenshot-scroll-cycle {
  0%,
  21% {
    transform: translateX(0);
  }

  29%,
  71% {
    transform: translateX(-100%);
  }

  79%,
  100% {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .screenshot-carousel-track {
    animation: none;
  }
}

.value-strip {
  margin: 12px 0 72px;
}

.value-strip article,
.feature-card,
.workflow-step,
.export-card,
.page-card,
.page-intro,
.statement-block {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--floating-shadow);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.feature-section,
.workflow-section,
.export-section {
  padding: 34px 0 26px;
}

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

.feature-card {
  display: grid;
  gap: 16px;
}

.feature-shot {
  min-height: 136px;
  border-radius: 20px;
  background: var(--shot-bg);
  border: 1px solid var(--shot-border);
  position: relative;
  overflow: hidden;
}

.shot-board span,
.shot-guides span,
.shot-pencil span,
.shot-export span,
.shot-contrast span,
.shot-rotation span {
  position: absolute;
}

.shot-board span {
  width: 28px;
  height: 70px;
  left: 20px;
  border-radius: 14px;
  background: rgba(111, 143, 170, 0.76);
}

.shot-board span:nth-child(2) { left: 58px; top: 20px; background: rgba(244, 247, 250, 0.88); }
.shot-board span:nth-child(3) { left: 96px; top: 20px; background: rgba(217, 191, 120, 0.88); }
.shot-board span:nth-child(4) { right: 18px; top: 18px; width: 160px; height: 96px; border-radius: 24px; background: linear-gradient(180deg, #2c3137, #1f2327); }

.shot-pencil span:nth-child(1) {
  left: 32px;
  top: 72px;
  width: 240px;
  height: 5px;
  background: rgba(247,245,241,0.94);
  transform: rotate(-12deg);
  border-radius: 999px;
}

.shot-pencil span:nth-child(2) {
  right: 30px;
  top: 32px;
  width: 100px;
  height: 18px;
  background: linear-gradient(90deg, #d6c18a, #c4ad72);
  clip-path: polygon(0 22%, 84% 22%, 100% 50%, 84% 78%, 0 78%);
}

.shot-guides span {
  inset: auto 14px auto 14px;
  height: 1px;
  background: rgba(78, 96, 112, 0.28);
}

.shot-guides span:nth-child(1) { top: 42px; }
.shot-guides span:nth-child(2) { top: 68px; }
.shot-guides span:nth-child(3) { top: 94px; }

.shot-export span {
  top: 44px;
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-weight: 700;
  background: rgba(255,255,255,0.76);
}

.shot-export span:first-child { left: 34px; }
.shot-export span:last-child { left: 126px; background: rgba(120,167,213,0.22); }

.shot-contrast span,
.shot-rotation span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-weight: 700;
}

.shot-contrast span {
  top: 40px;
  width: 60px;
  height: 60px;
}

.contrast-a { left: 24px; background: #2e3238; }
.contrast-b { left: 98px; background: #6c8baa; }
.contrast-c { left: 172px; background: #d4bf7d; }

.shot-rotation span {
  top: 44px;
  width: 70px;
  height: 52px;
  background: rgba(255,255,255,0.74);
}

.shot-rotation span:nth-child(1) { left: 22px; }
.shot-rotation span:nth-child(2) { left: 102px; }
.shot-rotation span:nth-child(3) { left: 182px; }

.workflow-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.workflow-step {
  display: grid;
  gap: 12px;
}

.workflow-step__index {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(72, 103, 130, 0.12);
  color: var(--accent);
  font-weight: 700;
}

.statement-block {
  margin: 50px 0 36px;
}

.statement-block p {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-family: "Cormorant Garamond", serif;
  color: var(--ink);
}

.support-callout {
  margin: 24px 0 70px;
}

.support-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(45, 63, 77, 0.92), rgba(84, 110, 132, 0.88));
  color: #f7f5f0;
  box-shadow: 0 18px 40px rgba(26, 34, 42, 0.18);
}

.support-card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  font-size: 1.5rem;
}

.support-card-copy {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

.store-callout {
  margin: 0 0 38px;
}

.store-card {
  padding: 28px;
  border-radius: 28px;
  background: var(--store-card-bg);
  color: var(--store-card-text);
  border: 1px solid var(--surface-border);
  box-shadow: var(--store-card-shadow);
}

.store-card h2 {
  margin-bottom: 12px;
}

.store-card p:last-child {
  margin: 0;
  max-width: 54rem;
  color: var(--store-card-muted);
}

.site-footer {
  padding: 56px 0 8px;
}

.site-footer__inner {
  padding: 34px;
  border-radius: 34px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
}

.site-footer__top {
  margin-bottom: 24px;
}

.site-footer__title a {
  font-family: "Ephesis", cursive;
  font-size: clamp(2.3rem, 4vw, 3rem);
}

.site-footer__description {
  max-width: 640px;
  color: var(--ink-soft);
}

.site-footer__constellation {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-footer__nav a:hover {
  background: var(--panel);
  color: var(--ink);
}

.constellation-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 220px;
  padding: 20px;
  border-radius: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--surface-border);
}

.constellation-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
}

.constellation-card__summary,
.constellation-card__description,
.constellation-card__tagline,
.site-footer__copyright {
  color: var(--ink-soft);
}

.site-footer__copyright {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.94rem;
}

.page-intro {
  margin: 80px 0 24px;
}

.page-intro h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  margin-bottom: 12px;
}

.page-grid {
  margin-bottom: 70px;
}

.policy-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.policy-card,
.policy-note {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--floating-shadow);
}

.policy-card p,
.policy-note p {
  color: var(--ink-soft);
}

.policy-note {
  margin-bottom: 70px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--ink);
  box-shadow: var(--floating-shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 1120px) {
  .hero,
  .value-strip,
  .feature-grid,
  .screenshot-grid,
  .workflow-steps,
  .export-grid,
  .page-grid,
  .site-footer__constellation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-visual {
    max-width: 760px;
  }

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

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
    padding-top: 12px;
  }

  .site-header {
    border-radius: 30px;
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header__actions {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    gap: 12px 16px;
  }

  .site-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .value-strip,
  .feature-grid,
  .screenshot-grid,
  .workflow-steps,
  .export-grid,
  .page-grid,
  .policy-section,
  .site-footer__constellation {
    grid-template-columns: 1fr;
  }

  .site-footer__nav {
    gap: 10px;
  }

  .site-footer__nav a {
    flex: 1 1 calc(50% - 10px);
  }

  .hero {
    padding-top: 56px;
  }

  .screenshot-hero-card,
  .screenshot-card {
    padding: 20px;
  }

  .slate-preview {
    min-height: 560px;
    padding: 18px;
  }

  .slate-preview__canvas {
    min-height: 498px;
  }

  .slate-preview__rail {
    top: 72px;
    gap: 8px;
    transform: translateX(-36%);
  }

  .rail-tab {
    width: 38px;
    height: 40px;
    border-radius: 14px;
  }

  .chalk-stroke--one { top: 96px; width: 190px; left: 74px; }
  .chalk-stroke--two { top: 196px; width: 230px; left: 86px; }
  .chalk-stroke--three { top: 316px; width: 164px; left: 112px; }
  .chalk-diagram span:nth-child(1) { top: 398px; width: 120px; left: 102px; }
  .chalk-diagram span:nth-child(2) { top: 356px; left: 150px; }
  .chalk-diagram span:nth-child(3) { top: 382px; left: 224px; width: 64px; }
  .palette-preview { right: 18px; bottom: 18px; }
}

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

  .site-header {
    top: 10px;
    padding: 14px;
    border-radius: 26px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-copy strong {
    font-size: 1.6rem;
  }

  .brand-copy em {
    font-size: 1.35rem;
  }

  .site-nav {
    gap: 8px 12px;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .site-footer__nav a {
    flex-basis: 100%;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .launch-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .slate-preview {
    min-height: 470px;
    padding: 14px;
  }

  .slate-preview__canvas {
    min-height: 430px;
    border-radius: 24px;
  }

  .slate-preview__rail {
    top: 62px;
    transform: translateX(-28%);
  }

  .rail-tab {
    width: 34px;
    height: 36px;
    font-size: 0.92rem;
  }

  .chalk-stroke--one {
    top: 84px;
    left: 52px;
    width: 150px;
  }

  .chalk-stroke--two {
    top: 178px;
    left: 68px;
    width: 176px;
  }

  .chalk-stroke--three {
    top: 292px;
    left: 94px;
    width: 126px;
  }

  .chalk-diagram span:nth-child(1) {
    top: 346px;
    left: 82px;
    width: 94px;
  }

  .chalk-diagram span:nth-child(2) {
    top: 314px;
    left: 120px;
    height: 70px;
  }

  .chalk-diagram span:nth-child(3) {
    top: 334px;
    left: 176px;
    width: 50px;
  }

  .palette-preview {
    right: 14px;
    bottom: 14px;
    gap: 8px;
    padding: 10px 12px;
  }

  .swatch {
    width: 22px;
    height: 22px;
  }

  .support-card {
    align-items: flex-start;
  }

  .store-card {
    padding: 22px;
  }

  .site-footer__inner,
  .screenshot-hero-card,
  .screenshot-card,
  .value-strip article,
  .feature-card,
  .workflow-step,
  .export-card,
  .page-card,
  .page-intro,
  .statement-block,
  .policy-card,
  .policy-note {
    padding: 20px;
  }
}
