:root {
  --page-bg: #000000;
  --surface: #fbf3ea;
  --surface-quiet: #f8ede2;
  --ink: #4a2c2c;
  --ink-muted: #7f6a62;
  --accent: #e97818;
  --border-soft: rgba(74, 44, 44, 0.14);
  --accent-soft: rgba(233, 120, 24, 0.18);
  --radius-page: 8px;
  --font-serif: "Cormorant Garamond", "Didot", "Bodoni 72", serif;
  --font-mono: "IBM Plex Mono", "Space Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: var(--surface);
}

body {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
}

body.legal-page {
  overflow: auto;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

.stage {
  position: relative;
  width: 100vw;
  min-height: 100svh;
  height: 100svh;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-page);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, var(--surface), var(--surface-quiet));
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.16);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 64px;
  right: 26px;
  left: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-link {
  position: relative;
  display: inline-block;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(74, 44, 44, 0.78);
  cursor: pointer;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.42em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 220ms ease, opacity 220ms ease;
  text-decoration: none;
}

.nav-link::after {
  position: absolute;
  right: 0.42em;
  bottom: -12px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: center;
  transition: opacity 220ms ease, transform 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.screen-shell {
  position: absolute;
  inset: 0;
}

.screen {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 150px 72px 120px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.screen.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.screen:not(.screen-product) {
  grid-template-columns: minmax(0, 760px);
}

.screen-company {
  display: flex;
  align-items: center;
  grid-template-columns: minmax(0, 1180px);
  justify-content: center;
  justify-items: center;
}

.company-content {
  width: min(1180px, calc(100vw - 144px));
  margin-inline: auto;
  text-align: center;
}

.screen-company .hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
  text-align: center;
  white-space: nowrap;
}

.screen-support {
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-content {
  width: min(860px, calc(100vw - 144px));
  margin-inline: auto;
  text-align: center;
}

.screen-support .lede {
  margin-inline: auto;
}

.screen-support .disclaimer {
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.46em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(62px, 6.1vw, 104px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.84;
  text-transform: uppercase;
}

.lede {
  max-width: 560px;
  margin: 28px auto 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.32em;
  line-height: 1.8;
  text-transform: uppercase;
}

.screen-product {
  align-items: center;
  grid-template-columns: minmax(0, 590px) minmax(220px, 330px);
  gap: clamp(34px, 6vw, 92px);
  justify-content: center;
  padding: clamp(110px, 12svh, 140px) clamp(52px, 6vw, 86px) clamp(96px, 10svh, 118px);
  text-align: left;
}

.screen-product .hero-title {
  font-size: clamp(54px, 5vw, 82px);
}

.screen-product .lede {
  margin-right: 0;
  margin-left: 0;
}

.product-copy {
  position: relative;
  align-self: center;
}

.product-copy::before {
  position: absolute;
  top: -20px;
  left: -18px;
  width: 4px;
  height: 4px;
  background: var(--accent);
  content: "";
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  max-width: 520px;
  margin-top: 32px;
}

.feature-list span {
  border: 1px solid var(--border-soft);
  padding: 9px 12px;
  color: rgba(74, 44, 44, 0.78);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.availability {
  margin: 26px 0 0;
  color: var(--accent);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.product-store-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  border: 1px solid rgba(74, 44, 44, 0.16);
  padding: 12px 18px;
  color: var(--ink);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-store-link::after {
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  content: "";
  transform: rotate(45deg) scale(0.45) translateY(1px);
  transform-origin: center;
}

.product-store-link:hover,
.product-store-link:focus-visible {
  border-color: rgba(233, 120, 24, 0.72);
  background: rgba(255, 255, 255, 0.46);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(74, 44, 44, 0.08);
}

.product-archive {
  margin: 16px 0 0;
  color: rgba(74, 44, 44, 0.5);
  font-size: 8px;
  letter-spacing: 0.2em;
  line-height: 1.7;
  text-transform: uppercase;
}

.product-preview-copy {
  max-width: 440px;
  margin: 10px 0 0;
  color: rgba(74, 44, 44, 0.56);
  font-size: 10px;
  line-height: 1.7;
}

.product-visual {
  position: relative;
  align-self: center;
  width: clamp(210px, 18vw, 280px);
  min-width: 0;
  margin: 0;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.22)),
    rgba(255, 248, 241, 0.84);
  box-shadow: 0 18px 40px rgba(95, 53, 26, 0.12);
  transition: background 280ms ease, box-shadow 280ms ease, transform 280ms ease;
}

.product-visual::before {
  position: absolute;
  inset: -16px;
  border: 1px solid var(--accent-soft);
  content: "";
  transition: border-color 280ms ease, inset 280ms ease;
}

.product-visual::after {
  position: absolute;
  right: 18px;
  bottom: 52px;
  width: 56px;
  height: 1px;
  background: rgba(74, 44, 44, 0.28);
  content: "";
  transition: width 280ms ease, background 280ms ease;
}

.product-visual img {
  display: block;
  width: 100%;
  height: clamp(300px, 52svh, 460px);
  aspect-ratio: 3 / 4;
  object-fit: contain;
  filter: none;
  transition: transform 280ms ease, filter 280ms ease;
}

.product-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: var(--ink-muted);
  font-size: 8px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.screen-product[data-product-theme="color-for"] .product-copy::before {
  width: 48px;
  height: 1px;
  top: -14px;
  left: -28px;
  background: #d4a11d;
}

.screen-product[data-product-theme="color-for"] .eyebrow,
.screen-product[data-product-theme="color-for"] .availability {
  color: #ad7e07;
}

.screen-product[data-product-theme="color-for"] .product-store-link {
  border-color: rgba(172, 126, 7, 0.28);
  background: rgba(255, 250, 236, 0.68);
  color: #8c6612;
  box-shadow: 0 16px 28px rgba(146, 106, 37, 0.1);
}

.screen-product[data-product-theme="color-for"] .product-store-link:hover,
.screen-product[data-product-theme="color-for"] .product-store-link:focus-visible {
  border-color: rgba(172, 126, 7, 0.5);
  background: rgba(255, 247, 220, 0.92);
  color: #6f5110;
}

.screen-product[data-product-theme="color-for"] .hero-title {
  max-width: 14ch;
  font-size: clamp(44px, 4.2vw, 68px);
  color: #2e241d;
  letter-spacing: -0.025em;
  line-height: 0.88;
  white-space: nowrap;
}

.screen-product[data-product-theme="color-for"] .lede {
  max-width: 520px;
  color: #8d6646;
}

.screen-product[data-product-theme="color-for"] .feature-list span {
  border-color: rgba(153, 113, 39, 0.18);
  background: rgba(255, 244, 219, 0.62);
  color: #76573d;
}

.screen-product[data-product-theme="color-for"] .product-archive {
  color: rgba(104, 74, 34, 0.72);
}

.screen-product[data-product-theme="color-for"] .product-preview-copy {
  color: rgba(104, 74, 34, 0.76);
}

.screen-product[data-product-theme="color-for"] .product-visual {
  padding: 14px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, #f7efe0, #f3e6cf);
  box-shadow: 0 24px 50px rgba(146, 106, 37, 0.18);
  transform: translateY(-4px);
}

.screen-product[data-product-theme="color-for"] .product-visual::before {
  inset: -20px;
  border-color: rgba(212, 161, 29, 0.24);
}

.screen-product[data-product-theme="color-for"] .product-visual::after {
  width: 90px;
  background: rgba(120, 89, 31, 0.36);
}

.screen-product[data-product-theme="color-for"] .product-visual img {
  transform: scale(1.01);
  filter: saturate(1.03) contrast(1.02);
}

.product-controls {
  position: absolute;
  right: 66px;
  bottom: 54px;
  display: flex;
  gap: 12px;
}

.ghost-control {
  min-width: 76px;
  height: 38px;
  border: 1px solid var(--border-soft);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.ghost-control:hover,
.ghost-control:focus-visible {
  border-color: rgba(233, 120, 24, 0.7);
  color: var(--accent);
  transform: translateY(-1px);
}

.support-email {
  display: inline-block;
  margin-top: 34px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.4vw, 56px);
  font-weight: 400;
  line-height: 1;
  text-decoration-color: rgba(233, 120, 24, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 10px;
}

.disclaimer {
  max-width: 720px;
  margin: 46px auto 0;
  color: rgba(74, 44, 44, 0.58);
  font-size: 9px;
  letter-spacing: 0.16em;
  line-height: 1.8;
  text-transform: uppercase;
}

.inline-privacy-link {
  color: var(--accent);
  text-decoration-color: rgba(233, 120, 24, 0.46);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-stage {
  min-height: 100svh;
  height: auto;
  overflow: hidden;
}

.legal-content {
  width: min(880px, calc(100vw - 144px));
  margin: 0 auto;
  padding: 168px 0 136px;
}

.legal-title {
  max-width: 760px;
}

.legal-effective {
  margin: 26px 0 0;
  color: var(--accent);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1.6;
  text-transform: uppercase;
}

.legal-intro {
  max-width: 760px;
  margin: 42px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  line-height: 1.08;
}

.legal-section {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 42px 0;
  border-top: 1px solid var(--border-soft);
}

.legal-section:first-of-type {
  margin-top: 58px;
}

.legal-section h2 {
  margin: 0;
  color: var(--accent);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  line-height: 1.65;
  text-transform: uppercase;
}

.legal-section p {
  margin: 0;
  color: rgba(74, 44, 44, 0.76);
  font-size: 13px;
  line-height: 1.9;
}

.legal-meta {
  position: fixed;
}

.site-meta {
  position: absolute;
  z-index: 18;
  bottom: 52px;
  left: 66px;
  color: var(--ink-muted);
  font-size: 8px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-meta p {
  margin: 8px 0 0;
}

.ticks {
  display: flex;
  gap: 9px;
  align-items: end;
  height: 9px;
}

.ticks span {
  width: 1px;
  height: 8px;
  background: rgba(233, 120, 24, 0.55);
}

.ticks span:nth-child(2),
.ticks span:nth-child(4) {
  height: 5px;
}

.next-screen {
  position: absolute;
  z-index: 19;
  bottom: 22px;
  left: 50%;
  width: 42px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateX(-50%);
}

.next-screen span {
  display: block;
  width: 12px;
  height: 12px;
  margin: 7px auto 0;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: rotate(45deg);
}

@media (max-width: 860px) {
  body {
    overflow: auto;
  }

  .stage {
    width: 100vw;
    min-height: 100svh;
    height: auto;
    margin: 0;
    border-radius: 0;
  }

  .site-header {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px 0;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .screen-shell {
    position: relative;
    min-height: 760px;
  }

  .screen {
    padding: 92px 24px 130px;
  }

  .screen-product {
    grid-template-columns: minmax(0, 1fr);
    padding: 72px 24px 128px;
    text-align: center;
  }

  .screen-product .lede,
  .feature-list {
    margin-right: auto;
    margin-left: auto;
  }

  .product-store-link {
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(48px, 14vw, 68px);
    line-height: 0.9;
  }

  .screen-company .hero-title {
    font-size: clamp(42px, 11vw, 58px);
  }

  .lede {
    max-width: 340px;
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .product-copy::before {
    display: none;
  }

  .product-visual {
    width: min(68vw, 280px);
    min-width: 0;
    padding: 12px;
  }

  .product-controls {
    right: 24px;
    bottom: 66px;
  }

  .site-meta {
    bottom: 56px;
    left: 24px;
  }

  .support-email {
    font-size: clamp(26px, 8vw, 38px);
    overflow-wrap: anywhere;
  }

  .legal-content {
    width: calc(100vw - 48px);
    padding: 84px 0 132px;
  }

  .legal-title {
    font-size: clamp(48px, 14vw, 68px);
  }

  .legal-intro {
    font-size: clamp(27px, 8vw, 36px);
  }

  .legal-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 34px 0;
  }

  .legal-meta {
    position: absolute;
  }
}

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