:root {
  color-scheme: light;
  --ink: #14232b;
  --ink-soft: #334955;
  --muted: #65737c;
  --paper: #fffdf7;
  --cream: #fbf1d5;
  --mist: #edf6f3;
  --leaf: #376c57;
  --leaf-soft: #dcebe2;
  --rose: #e73f6b;
  --rose-dark: #b92e51;
  --gold: #f2bb4a;
  --blue: #386f9c;
  --line: rgba(20, 35, 43, 0.14);
  --shadow: 0 24px 70px rgba(33, 42, 38, 0.16);
  --soft-shadow: 0 14px 40px rgba(33, 42, 38, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body.page {
  background: linear-gradient(180deg, var(--mist), var(--paper) 360px);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: 5.8rem;
  line-height: 0.92;
}

h2 {
  font-size: 3.6rem;
  line-height: 1;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.2;
}

p {
  margin: 0;
  line-height: 1.68;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 3rem;
  color: white;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
body.page .site-header {
  color: var(--ink);
  background: rgba(255, 253, 247, 0.90);
  box-shadow: 0 12px 34px rgba(33, 42, 38, 0.10);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-block;
  background:
    linear-gradient(135deg, transparent 49%, currentColor 50%),
    linear-gradient(45deg, transparent 49%, var(--gold) 50%),
    var(--rose);
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 4px;
  transform: rotate(45deg);
  box-shadow: 0 5px 16px rgba(20, 35, 43, 0.22);
}

.site-header.is-scrolled .brand-mark,
body.page .brand-mark {
  border-color: rgba(20, 35, 43, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.94rem;
  font-weight: 850;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 7rem 4rem 6rem;
  background: #1e332d;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 50% 52%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(19, 34, 32, 0.82), rgba(19, 34, 32, 0.42) 46%, rgba(19, 34, 32, 0.10)),
    linear-gradient(0deg, rgba(19, 34, 32, 0.58), rgba(19, 34, 32, 0.05) 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: white;
  text-shadow: 0 2px 22px rgba(16, 24, 25, 0.36);
}

.hero-copy {
  max-width: 650px;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.93);
  font-size: 1.28rem;
}

.hero-peek {
  position: absolute;
  z-index: 4;
  left: 4rem;
  bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: white;
  text-decoration: none;
}

.hero-peek span {
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 850;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe28a;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 8px;
  padding: 0.8rem 1.05rem;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(20, 35, 43, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(20, 35, 43, 0.22);
}

.button-primary {
  background: var(--rose);
  color: white;
}

.button-primary:hover {
  background: var(--rose-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.promise-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.promise-item {
  padding: 2.2rem 3rem;
  background: var(--paper);
}

.promise-item strong {
  display: block;
  margin-top: 0.7rem;
  font-size: 1.25rem;
}

.promise-item p {
  max-width: 360px;
  margin-top: 0.4rem;
  color: var(--muted);
}

.mini-label {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  background: var(--leaf-soft);
  color: var(--leaf);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(380px, 1.12fr);
  align-items: center;
  gap: 3.5rem;
}

.section-copy p,
.section-heading p,
.story-copy p,
.release-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-copy h2 + p,
.section-heading h2 + p,
.story-copy h3 + p,
.release-panel h2 + p {
  margin-top: 1rem;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  max-width: 760px;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-weight: 760;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--rose);
}

.screenshot-card,
.home-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.screenshot-card img {
  width: 100%;
  height: auto;
}

.screenshot-card figcaption {
  padding: 0.8rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.large-shot {
  margin: 0;
}

.story-section {
  border-top: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 2.5rem;
}

.story-grid .screenshot-card {
  margin: 0;
}

.story-copy {
  padding: 1rem 0;
}

.story-copy p + p {
  margin-top: 1rem;
}

.homes-section {
  border-top: 1px solid var(--line);
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.home-card {
  display: grid;
  grid-template-rows: auto 1fr;
  --home-zoom: 1;
}

.home-card:nth-child(2) {
  --home-zoom: 1.04;
}

.home-card:nth-child(3) {
  --home-zoom: 1.1;
}

.home-card:nth-child(4),
.home-card:nth-child(5) {
  --home-zoom: 1.28;
}

.home-preview {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(180deg, #fffaf0 0%, #f8fbf2 100%);
}

.home-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--home-zoom));
  transform-origin: center;
}

.home-card div {
  padding: 1rem;
}

.home-card p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.modes-section {
  width: 100%;
  padding-left: max(1rem, calc((100% - 1180px) / 2));
  padding-right: max(1rem, calc((100% - 1180px) / 2));
  background: var(--mist);
}

.mode-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  align-items: start;
  gap: 1.4rem;
}

.split-gallery {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(400px, 1fr);
  align-items: center;
  gap: 3rem;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.mini-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.setup-section {
  border-top: 1px solid var(--line);
}

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

.release-section {
  padding-bottom: 5rem;
}

.release-panel {
  max-width: 820px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
}

.text-link {
  color: var(--rose-dark);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.5fr 1.6fr 1fr 0.5fr;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding: 2rem 3rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer strong {
  color: var(--ink);
}

.footer-end {
  display: grid;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--rose-dark);
  font-weight: 900;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.page-main {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 5rem;
}

.page-hero {
  max-width: 760px;
  margin-bottom: 3rem;
}

.page-hero h1 {
  color: var(--ink);
  font-size: 4.4rem;
}

.page-hero p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.page-meta {
  color: var(--rose-dark) !important;
  font-size: 0.95rem !important;
  font-weight: 900;
}

.content-stack {
  display: grid;
  gap: 1.8rem;
}

.content-section {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}

.content-section h2 {
  font-size: 2rem;
}

.content-section h3 {
  margin-top: 1.5rem;
}

.content-section p,
.content-section li {
  color: var(--ink-soft);
  line-height: 1.72;
}

.content-section p {
  margin-top: 0.9rem;
}

.content-section a {
  color: var(--rose-dark);
  font-weight: 850;
  text-decoration: none;
}

.content-section a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.content-section ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.content-section li + li {
  margin-top: 0.45rem;
}

.callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  background: white;
  box-shadow: var(--soft-shadow);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 3rem;
  }

  .site-header {
    padding: 0.9rem 1.4rem;
  }

  .hero {
    padding: 7rem 1.4rem 5.5rem;
  }

  .hero-peek {
    left: 1.4rem;
  }

  .two-column,
  .story-grid,
  .split-gallery,
  .release-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 780px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 760px;
    align-items: end;
    padding-top: 6rem;
  }

  .hero-image {
    object-position: 43% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(19, 34, 32, 0.88), rgba(19, 34, 32, 0.35) 55%, rgba(19, 34, 32, 0.06));
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-peek {
    display: none;
  }

  .promise-band,
  .mode-grid,
  .setup-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .promise-item {
    padding: 1.6rem 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .home-grid,
  .mini-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  .brand span:last-child {
    max-width: 8rem;
  }

  .hero {
    min-height: 700px;
  }

  .button {
    width: 100%;
  }

  .home-grid,
  .mini-gallery {
    grid-template-columns: 1fr;
  }

  .home-card {
    --home-zoom: 1 !important;
  }

  .screenshot-card figcaption {
    font-size: 0.84rem;
  }
}

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