@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Lato Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/lato-regular.ttf") format("truetype");
}

@font-face {
  font-family: "Lato Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/lato-heavy.ttf") format("truetype");
}

:root {
  --paper: #f5efe6;
  --paper-soft: #fffaf4;
  --panel: rgba(255, 250, 244, 0.9);
  --panel-strong: #fffdf9;
  --ink: #14263b;
  --ink-soft: #31445d;
  --muted: #66788f;
  --line: rgba(20, 38, 59, 0.12);
  --line-strong: rgba(20, 38, 59, 0.2);
  --accent: #dd6a39;
  --accent-strong: #b94f22;
  --accent-soft: rgba(221, 106, 57, 0.14);
  --navy: #0f2237;
  --navy-soft: #18314d;
  --green-soft: #d9f4eb;
  --gold-soft: #fff1d6;
  --shadow-soft: 0 20px 44px rgba(12, 28, 45, 0.08);
  --shadow-strong: 0 28px 70px rgba(12, 28, 45, 0.16);
  --radius-sm: 1rem;
  --radius-md: 1.4rem;
  --radius-lg: 2rem;
  --radius-xl: 2.8rem;
  --space-1: 0.3rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 5rem;
  --max-width: 76rem;
  --header-height: 4.8rem;
  --transition-fast: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-medium: 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(221, 106, 57, 0.13), transparent 24rem),
    radial-gradient(circle at 100% 8%, rgba(27, 63, 102, 0.08), transparent 26rem),
    linear-gradient(180deg, #faf5ee, var(--paper));
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 38, 59, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 38, 59, 0.032) 1px, transparent 1px);
  background-size: 3.2rem 3.2rem;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), transparent 76%);
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(221, 106, 57, 0.34);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.85rem 1rem;
  background: var(--paper-soft);
  color: var(--ink);
  border-radius: var(--radius-sm);
}

.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;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.contact-page .site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 244, 235, 0.78);
  border-bottom: 1px solid rgba(20, 38, 59, 0.08);
  backdrop-filter: blur(16px);
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.is-scrolled {
  background: rgba(255, 250, 244, 0.94);
  border-bottom-color: rgba(20, 38, 59, 0.14);
  box-shadow: 0 10px 28px rgba(12, 28, 45, 0.08);
}

.site-nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: auto;
  height: 4rem;
  flex: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

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

.brand-name {
  font: 800 1.16rem/1 "Lato Display", sans-serif;
}

.brand-subtitle {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 0.55rem 0.9rem;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 800;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--ink);
}

main {
  display: block;
}

.contact-page main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero,
.page-hero,
.story-section,
.featured-section,
.archive-preview,
.roadmap-section,
.archive-group,
.detail-summary,
.case-study-section,
.gallery-section,
.legal-link-section,
.legal-page,
.contact-section {
  padding: var(--space-8) 0;
}

.app-wall-section {
  padding: var(--space-3) 0 var(--space-4);
  pointer-events: none;
}

.hero {
  padding-top: calc(var(--space-5) + 0.25rem);
  padding-bottom: var(--space-6);
}

.story-section {
  padding-top: 0;
}

.hero-grid,
.detail-hero-grid,
.legal-page-grid,
.contact-grid {
  display: grid;
  gap: var(--space-6);
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "copy"
    "links";
  align-items: start;
}

.detail-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
}

.eyebrow,
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(20, 38, 59, 0.07);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Lato Display", "Trebuchet MS", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h1 {
  margin-top: 1.1rem;
  font-size: clamp(3rem, 5vw, 5.35rem);
  max-width: 12ch;
}

.hero h1 {
  margin-top: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.page-hero h1,
.detail-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 4vw, 4.5rem);
}

.section-heading {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 3vw, 3.15rem);
  max-width: 16ch;
}

.hero-lead,
.page-lead,
.section-intro,
.helper-note,
.detail-tagline {
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: 42rem;
}

.hero-lead,
.page-lead,
.detail-tagline {
  margin-top: 1.2rem;
}

.detail-tagline {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.section-copy {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero-actions,
.legal-link-grid,
.chip-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff9f2;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 34px rgba(221, 106, 57, 0.24);
}

.button-primary:hover {
  color: #fff9f2;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(20, 38, 59, 0.14);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: "→";
}

.detail-media {
  position: relative;
}

.detail-media::before {
  content: "";
  position: absolute;
  inset: 1rem 0 0 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(20, 38, 59, 0.14), rgba(20, 38, 59, 0));
  filter: blur(14px);
}

.snapshot-card,
.feature-card,
.app-card,
.card,
.metric-card,
.case-study-card,
.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20, 38, 59, 0.1);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.section-label,
.snapshot-label,
.footer-label,
.metric-label {
  color: inherit;
  opacity: 0.76;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.snapshot-card strong,
.roadmap-value,
.metric-card strong {
  display: block;
  margin-top: 0.35rem;
  font-family: "Lato Display", sans-serif;
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
}

.snapshot-grid,
.feature-grid,
.app-grid,
.roadmap-grid,
.metrics-grid,
.story-grid,
.case-study-grid,
.gallery-grid {
  display: grid;
  gap: var(--space-5);
}

.archive-feed {
  display: grid;
  gap: var(--space-5);
}

.archive-feed-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: var(--space-5);
  padding: var(--space-5);
  align-items: center;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--card-surface, #fff) 90%, white 10%), var(--card-surface, #fff)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62));
  border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 22%, rgba(20, 38, 59, 0.12));
}

.archive-feed-copy {
  display: grid;
  gap: 1rem;
}

.archive-feed-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.archive-feed-heading {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.archive-feed-title-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: space-between;
}

.archive-feed-title-row h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
}

.archive-feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.archive-meta-pill {
  display: inline-grid;
  gap: 0.1rem;
  min-width: 8.8rem;
  padding: 0.72rem 0.84rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(20, 38, 59, 0.08);
  color: var(--ink);
  font-weight: 800;
}

.archive-meta-pill strong {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-feed-summary {
  margin: 0;
  max-width: 52rem;
  color: var(--ink-soft);
}

.archive-feed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.archive-feed-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  justify-items: center;
  align-items: end;
}

.archive-mini-frame {
  width: min(100%, 11rem);
}

.archive-mini-frame .phone-screen img {
  object-position: top center;
}

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

.app-wall-stage {
  overflow: hidden;
  width: 100%;
  min-height: 5.6rem;
  padding: 0.4rem 0 0.25rem;
}

.app-wall-stage::before,
.app-wall-stage::after {
  display: none;
}

.app-wall-glow {
  display: none;
}

.app-wall-glow-a {
  display: none;
}

.app-wall-glow-b {
  display: none;
}

.app-wall-grid {
  padding: 0;
  transform: perspective(1400px) rotateX(6deg) scale(1.01);
  transform-origin: center top;
}

.app-wall-lane {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.app-wall-run {
  display: flex;
  align-items: center;
  gap: 0.92rem;
  width: max-content;
  animation: app-wall-drift-right var(--app-wall-duration, 84s) linear infinite;
  animation-delay: var(--app-wall-delay, 0s);
  will-change: transform;
}

.app-wall-tile {
  flex: 0 0 4.8rem;
  width: 4.8rem;
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1.07rem;
}

.app-wall-tile img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  pointer-events: none;
}

@keyframes app-wall-drift-right {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-wall-run {
    animation: none;
    transform: translate3d(-6%, 0, 0);
  }
}

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

.feature-grid,
.roadmap-grid,
.case-study-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

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

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

.snapshot-card,
.metric-card {
  padding: 1.4rem;
}

.hero-copy {
  grid-area: copy;
  max-width: 42rem;
  display: grid;
  justify-items: start;
}

.hero-portrait-image {
  width: clamp(8rem, 14vw, 10.5rem);
  height: auto;
  margin-bottom: var(--space-4);
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.hero-quick-links {
  grid-area: links;
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
  max-width: 100%;
}

.quick-links-copy {
  display: grid;
  gap: 0.4rem;
}

.quick-links-copy .section-label {
  font-size: 0.98rem;
  letter-spacing: 0.05em;
}

.quick-links-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.quick-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.quick-app-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 38, 59, 0.12);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.quick-app-link:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 38, 59, 0.22);
  background: rgba(255, 255, 255, 0.88);
}

.quick-app-link img {
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
  border-radius: 0.72rem;
  box-shadow: none;
}

.summary-link {
  margin-top: 0.2rem;
}

.story-block {
  padding-top: 1rem;
  border-top: 2px solid rgba(20, 38, 59, 0.14);
}

.story-block:nth-child(1) {
  border-color: rgba(32, 84, 212, 0.24);
}

.story-block:nth-child(2) {
  border-color: rgba(221, 106, 57, 0.26);
}

.story-block:nth-child(3) {
  border-color: rgba(24, 119, 84, 0.24);
}

.story-block h3 {
  margin-top: 0.8rem;
  font-size: 1.55rem;
  line-height: 1.08;
}

.story-block p {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
}

.phone-frame {
  --frame-radius: 2.45rem;
  --frame-pad: 0.68rem;
  --phone-screen-aspect: 9 / 19.5;
  position: relative;
  display: block;
  border-radius: var(--frame-radius);
  padding: var(--frame-pad);
  background: linear-gradient(160deg, #737c8c 0%, #2d3748 35%, #0e1624 100%);
  border: 1px solid rgba(213, 226, 245, 0.48);
  outline: 2px solid rgba(9, 14, 24, 0.78);
  outline-offset: -2px;
  box-shadow:
    0 24px 46px rgba(8, 18, 34, 0.44),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 -12px 18px rgba(5, 10, 18, 0.58);
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 0.44rem;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 0.82rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at calc(100% - 1.15rem) 50%, rgba(40, 51, 69, 0.95) 0 0.15rem, transparent 0.16rem),
    linear-gradient(180deg, #02050b 0%, #0c1321 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 1px 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(2, 6, 15, 0.75);
  z-index: 3;
}

.phone-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  transform: translateX(-50%);
  width: 24%;
  height: 0.14rem;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.68);
  z-index: 3;
}

.phone-hardware {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.phone-hardware::before,
.phone-hardware::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(180deg, #cad9f0 0%, #6d7f9f 55%, #3b4c6a 100%);
}

.phone-hardware::before {
  left: 0.08rem;
  top: 40%;
  width: 0.18rem;
  height: 1.28rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 -1.72rem 0 0 rgba(81, 99, 127, 0.95),
    0 -1.72rem 0 1px rgba(241, 248, 255, 0.16),
    0 1.72rem 0 0 rgba(81, 99, 127, 0.95),
    0 1.72rem 0 1px rgba(241, 248, 255, 0.16);
}

.phone-hardware::after {
  right: 0.08rem;
  top: 33%;
  width: 0.18rem;
  height: 2.65rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.45);
}

.phone-frame.phone-frame-compact {
  --frame-radius: 2rem;
  --frame-pad: 0.48rem;
}

.phone-frame.phone-frame-compact .phone-hardware::before {
  left: 0.06rem;
  top: 41%;
  width: 0.14rem;
  height: 0.95rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.17),
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 -1.32rem 0 0 rgba(81, 99, 127, 0.95),
    0 -1.32rem 0 1px rgba(241, 248, 255, 0.15),
    0 1.32rem 0 0 rgba(81, 99, 127, 0.95),
    0 1.32rem 0 1px rgba(241, 248, 255, 0.15);
}

.phone-frame.phone-frame-compact .phone-hardware::after {
  right: 0.06rem;
  top: 35%;
  width: 0.14rem;
  height: 1.95rem;
}

.phone-frame.phone-frame-compact::before {
  top: 0.32rem;
  width: 38%;
  height: 0.6rem;
}

.phone-frame.phone-frame-compact::after {
  bottom: 0.18rem;
  width: 30%;
  height: 0.12rem;
}

.phone-screen {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: calc(var(--frame-radius) - 0.5rem);
  background: #030712;
  box-shadow:
    inset 0 0 0 1px rgba(118, 138, 170, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  aspect-ratio: var(--phone-screen-aspect);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.snapshot-card p {
  margin: 0.75rem 0 0;
}

.flagship-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--card-surface, #fff) 92%, white 8%), var(--card-surface, #fff)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7));
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 24%, rgba(20, 38, 59, 0.12));
  box-shadow: var(--shadow-soft);
}

.flagship-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flagship-meta img {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 1.3rem;
  box-shadow: 0 14px 28px rgba(12, 28, 45, 0.14);
}

.flagship-meta h3 {
  margin-top: 0.8rem;
  font-size: clamp(1.9rem, 2.8vw, 2.45rem);
}

.flagship-copy > p {
  margin: 1.1rem 0 0;
  color: var(--ink-soft);
}

.flagship-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.flagship-details li {
  display: grid;
  gap: 0.08rem;
  min-width: 9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(20, 38, 59, 0.08);
}

.flagship-details strong {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.flagship-details span {
  color: var(--ink);
  font-weight: 800;
}

.flagship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: var(--space-5);
}

.home-page .hero-phone-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(12rem, 1fr));
  justify-content: center;
  gap: var(--space-3);
}

.home-page .hero-phone-strip .hero-frame {
  max-width: 14.5rem;
  margin-inline: auto;
}

.home-page .hero-phone-strip .hero-frame,
.flagship-phone-strip .hero-frame {
  --frame-pad: 0.4rem;
}

.flagship-phone-strip {
  align-items: end;
}

.flagship-phone-strip .hero-frame {
  width: 100%;
}

.flagship-phone-strip .hero-frame:nth-child(2) {
  transform: translateY(1.6rem);
}

.feature-card,
.app-card,
.case-study-card,
.card {
  padding: var(--space-5);
}

.feature-card,
.app-card {
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--card-surface, #fff) 88%, white 12%), var(--card-surface, #fff)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.62));
  border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 22%, rgba(20, 38, 59, 0.12));
}

.feature-header,
.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.feature-header img,
.app-card-icon,
.detail-icon {
  border-radius: 1.25rem;
  box-shadow: 0 14px 28px rgba(12, 28, 45, 0.14);
}

.feature-card h3,
.app-card h3,
.case-study-card h3 {
  margin-top: 1rem;
  font-size: 1.7rem;
}

.feature-tagline,
.app-card-tagline {
  margin: 0.9rem 0 0.5rem;
  color: var(--ink);
  font-weight: 800;
}

.mini-list,
.check-list,
.chip-row,
.footer-links {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.mini-list,
.check-list {
  display: grid;
  gap: 0.8rem;
}

.mini-list li,
.check-list li {
  position: relative;
  padding-left: 1.35rem;
}

.mini-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.chip-row li {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(20, 38, 59, 0.06);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.app-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-chip.is-live {
  color: #355e48;
  background: #e3efe8;
}

.status-chip.is-review {
  color: #8a6a1f;
  background: #f3ead2;
}

.status-chip.is-planned {
  color: #6b6f76;
  background: #ece8e3;
}

.roadmap-shell,
.legal-link-shell {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0% 0%, rgba(221, 106, 57, 0.14), transparent 20rem),
    radial-gradient(circle at 100% 0%, rgba(32, 84, 212, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(248, 241, 232, 0.98));
  color: var(--ink);
  border: 1px solid rgba(20, 38, 59, 0.08);
  box-shadow: 0 24px 56px rgba(12, 28, 45, 0.1);
}

.roadmap-grid article,
.legal-link-grid a {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(20, 38, 59, 0.08);
}

.roadmap-grid article {
  padding: var(--space-5);
}

.roadmap-grid h3 {
  margin-top: 0.8rem;
  font-size: 1.55rem;
}

.roadmap-grid p,
.legal-link-shell p,
.footer-copy {
  color: var(--ink-soft);
}

.roadmap-waterfall {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-5);
  border-radius: calc(var(--radius-xl) - 0.3rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(252, 247, 240, 0.88)),
    linear-gradient(135deg, rgba(221, 106, 57, 0.06), rgba(32, 84, 212, 0.04));
  border: 1px solid rgba(20, 38, 59, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.waterfall-copy {
  display: grid;
  gap: var(--space-3);
}

.roadmap-waterfall h3 {
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
}

.roadmap-waterfall p,
.waterfall-head-label,
.waterfall-stage-row span,
.waterfall-note {
  color: var(--ink-soft);
}

.waterfall-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.waterfall-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(20, 38, 59, 0.05);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.waterfall-row .status-chip.is-live {
  color: #355e48;
  background: #e3efe8;
}

.waterfall-row .status-chip.is-review {
  color: #8a6a1f;
  background: #f3ead2;
}

.waterfall-row .status-chip.is-planned {
  color: #6b6f76;
  background: #ece8e3;
}

.waterfall-frame {
  display: grid;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.waterfall-head,
.waterfall-row {
  display: grid;
  grid-template-columns: minmax(15rem, 1.2fr) minmax(34rem, 3fr);
  gap: var(--space-4);
  min-width: 58rem;
}

.waterfall-head {
  align-items: end;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(20, 38, 59, 0.1);
}

.waterfall-head-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waterfall-stage-row,
.waterfall-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

.waterfall-stage-row span {
  text-align: center;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.waterfall-row {
  align-items: start;
  padding-top: 0.9rem;
}

.waterfall-row + .waterfall-row {
  border-top: 1px solid rgba(20, 38, 59, 0.08);
}

.waterfall-row-copy {
  display: grid;
  gap: 0.55rem;
}

.waterfall-row-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.waterfall-app-name {
  font-family: "Lato Display", sans-serif;
  font-size: 1.35rem;
  line-height: 1.04;
}

.waterfall-app-note {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.waterfall-track {
  position: relative;
  min-height: 4.8rem;
}

.waterfall-cell {
  border-radius: 1.1rem;
  border: 1px solid rgba(20, 38, 59, 0.08);
  background: linear-gradient(180deg, rgba(20, 38, 59, 0.05), rgba(20, 38, 59, 0.02));
}

.waterfall-bar {
  grid-column: var(--waterfall-start) / span var(--waterfall-span);
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 0.2rem;
  min-height: 3.45rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--waterfall-surface, #fff) 78%, white 22%), var(--waterfall-surface, #fff)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86));
  border: 1px solid color-mix(in srgb, var(--waterfall-accent, var(--accent)) 24%, rgba(20, 38, 59, 0.14));
  box-shadow: 0 12px 24px rgba(12, 28, 45, 0.1);
}

.waterfall-row .waterfall-bar {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(252, 249, 244, 0.92)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88));
  border-color: rgba(20, 38, 59, 0.12);
}

.waterfall-row .status-chip.is-live + .waterfall-app-name,
.waterfall-row.is-live .waterfall-app-name {
  color: var(--ink);
}

.waterfall-row .waterfall-bar strong,
.waterfall-row .waterfall-bar span {
  color: var(--ink);
}

.waterfall-row .waterfall-bar span {
  color: var(--ink-soft);
}

.waterfall-row .waterfall-bar[style*="#6f9d84"] {
  background:
    linear-gradient(135deg, #e3efe8, #edf5ef),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  border-color: #9cb9a8;
}

.waterfall-row .waterfall-bar[style*="#a8841d"] {
  background:
    linear-gradient(135deg, #f3ead2, #f8f1df),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  border-color: #d8c48d;
}

.waterfall-row .waterfall-bar[style*="#d9475c"],
.waterfall-row .waterfall-bar[style*="#ffecef"] {
  background:
    linear-gradient(135deg, #f3e0e2, #f8ebec),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  border-color: #d6a5ab;
}

.waterfall-row .waterfall-bar[style*="#fff8f2"],
.waterfall-row .waterfall-bar[style*="#e8fbf6"],
.waterfall-row .waterfall-bar[style*="#f2ebff"] {
  background:
    linear-gradient(135deg, #ece8e3, #f4f1ec),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  border-color: #d3ccc3;
}

.waterfall-bar:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.waterfall-bar strong {
  font-family: "Lato Display", sans-serif;
  font-size: 1rem;
  line-height: 1.05;
}

.waterfall-bar span {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.waterfall-row.is-private .waterfall-bar {
  background:
    linear-gradient(135deg, rgba(255, 244, 235, 0.98), rgba(255, 251, 246, 0.98)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84));
}

.waterfall-note {
  margin: 0;
  font-size: 0.92rem;
}

.detail-hero {
  padding: calc(var(--space-7) + 0.35rem) 0 var(--space-5);
}

.site-privacy-page .page-hero {
  padding: var(--space-6) 0 var(--space-4);
}

.site-privacy-page .legal-page {
  padding-top: var(--space-5);
}

.detail-media {
  padding: calc(var(--space-5) - 0.35rem);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--card-surface, #fff) 88%, white 12%), var(--card-surface, #fff)),
    linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.65));
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--accent)) 22%, rgba(20, 38, 59, 0.12));
  box-shadow: 0 18px 44px rgba(12, 28, 45, 0.08);
}

.detail-hero-image {
  width: 100%;
  height: 100%;
  margin-top: 0;
}

.detail-phone-frame {
  max-width: 21rem;
  margin: 1.4rem auto 0;
}

.app-hero-links {
  margin-top: 0.8rem;
}

.app-hero-links a {
  color: var(--ink);
  background: rgba(20, 38, 59, 0.04);
  border: 1px solid rgba(20, 38, 59, 0.1);
  text-decoration: none;
  padding: 0.8rem 0.95rem;
  font-weight: 800;
}

.app-hero-links a:hover {
  color: var(--ink);
  border-color: rgba(20, 38, 59, 0.16);
  background: rgba(20, 38, 59, 0.06);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-4);
}

.detail-summary {
  padding: var(--space-5) 0;
}

.metrics-grid {
  gap: 0.9rem;
}

.metric-card {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(20, 38, 59, 0.08);
  box-shadow: none;
}

.metric-card strong {
  font-size: 1.45rem;
}

.copy-card h2,
.legal-card h2 {
  font-size: 1.4rem;
}

.copy-card p,
.legal-card p,
.case-study-card p,
.contact-card p {
  color: var(--ink-soft);
}

.gallery-card {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
  display: flex;
  justify-content: center;
}

.gallery-card .phone-frame {
  width: min(100%, 15.5rem);
}

.gallery-card .phone-screen img {
  object-position: top center;
}

.gallery-card img {
  width: 100%;
}

.case-study-section,
.gallery-section {
  padding: var(--space-5) 0;
}

.case-study-section .section-copy,
.gallery-section .section-copy {
  margin-bottom: var(--space-4);
}

.case-study-card,
.copy-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(20, 38, 59, 0.08);
  box-shadow: 0 14px 32px rgba(12, 28, 45, 0.05);
}

.legal-link-grid {
  margin-top: 0;
}

.legal-link-grid a {
  color: #f6efe8;
  text-decoration: none;
  padding: 0.95rem 1rem;
  font-weight: 800;
}

.legal-link-grid a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.legal-link-grid.compact a {
  color: var(--ink);
  background: rgba(20, 38, 59, 0.04);
  border-color: rgba(20, 38, 59, 0.1);
}

.legal-page-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-card.full-width {
  padding: var(--space-6);
}

.legal-card h2 + p,
.legal-card p + p {
  margin-top: 0.9rem;
}

.contact-section {
  padding-top: 0;
  padding-bottom: var(--space-6);
  flex: 1;
}

.contact-inline {
  display: grid;
  gap: 0.75rem;
  align-items: start;
  align-content: start;
  min-height: 100%;
}

.contact-lead-block {
  display: grid;
  gap: 0.8rem;
  max-width: 46rem;
}

.contact-email-intro,
.contact-response-note {
  margin: 0;
  color: var(--ink-soft);
}

.contact-email-list {
  margin: 0;
  padding-left: 1.3rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.45rem;
}

.contact-inline .helper-note {
  margin: 0;
  max-width: 60rem;
}

.contact-social-heading {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 38, 59, 0.1);
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.contact-social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 38, 59, 0.18);
  background: rgba(255, 255, 255, 0.9);
}

.contact-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(20, 38, 59, 0.06);
  color: var(--ink);
  flex: none;
}

.contact-social-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.contact-social-icon img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  border-radius: 999px;
}

.site-footer {
  padding: var(--space-6) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: rgba(20, 38, 59, 0.94);
  color: #f7f1ea;
  box-shadow: var(--shadow-soft);
}

.footer-links a {
  color: #f7f1ea;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-meta {
  padding-top: 1rem;
  border-top: 1px solid rgba(20, 38, 59, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 560ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
}

[data-reveal-delay="1"] { --reveal-delay: 1; }
[data-reveal-delay="2"] { --reveal-delay: 2; }
[data-reveal-delay="3"] { --reveal-delay: 3; }
[data-reveal-delay="4"] { --reveal-delay: 4; }

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

@media (max-width: 980px) {
  .hero-grid,
  .detail-hero-grid,
  .feature-grid,
  .app-grid,
  .metrics-grid,
  .story-grid,
  .detail-grid,
  .roadmap-grid,
  .case-study-grid,
  .gallery-grid,
  .footer-grid,
  .legal-page-grid,
  .contact-grid,
  .snapshot-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero,
  .story-section,
  .featured-section,
  .archive-preview,
  .roadmap-section,
  .archive-group,
  .detail-summary,
  .case-study-section,
  .gallery-section,
  .legal-link-section,
  .legal-page,
  .contact-section {
    padding: var(--space-7) 0;
  }

  h1,
  .hero h1,
  .page-hero h1,
  .detail-hero h1 {
    max-width: none;
  }

  .hero-grid {
    grid-template-areas:
      "copy"
      "portrait"
      "links";
  }

  .waterfall-head,
  .waterfall-row {
    grid-template-columns: 1fr;
    min-width: 44rem;
  }

  .app-wall-stage {
    min-height: 4.8rem;
    padding: 0.3rem 0 0.15rem;
  }

  .flagship-preview {
    grid-template-columns: 1fr;
  }

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

  .archive-feed-media {
    grid-template-columns: repeat(2, minmax(8.8rem, 11rem));
    justify-content: start;
    overflow-x: auto;
    padding-bottom: var(--space-2);
  }

  .hero-portrait-image {
    width: 8.5rem;
  }

  .home-page .hero-phone-strip,
  .flagship-phone-strip {
    grid-template-columns: repeat(3, minmax(10.9rem, 11.4rem));
    justify-content: start;
    overflow-x: auto;
    padding-bottom: var(--space-2);
    scroll-snap-type: x mandatory;
  }

  .home-page .hero-phone-strip .hero-frame,
  .flagship-phone-strip .hero-frame {
    scroll-snap-align: start;
    max-width: none;
  }

  .flagship-phone-strip .hero-frame:nth-child(2) {
    transform: translateY(0);
  }

  .app-wall-grid {
    padding: 0;
    transform: perspective(1200px) rotateX(5deg);
  }

  .app-wall-tile {
    flex-basis: 4rem;
    width: 4rem;
    height: 4rem;
  }

}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    min-width: 15rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    background: rgba(255, 250, 244, 0.98);
    border: 1px solid rgba(20, 38, 59, 0.1);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.3rem);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu li {
    width: 100%;
  }

  .app-wall-stage {
    min-height: 4rem;
    padding: 0.2rem 0 0.1rem;
  }

  .flagship-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .archive-feed-top,
  .archive-feed-title-row,
  .archive-feed-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .archive-feed-actions .button,
  .archive-feed-actions .text-link {
    width: fit-content;
  }

  .archive-feed-media {
    grid-template-columns: repeat(2, minmax(8.6rem, 9.6rem));
  }

  .flagship-actions .button,
  .flagship-actions .text-link {
    width: 100%;
  }

  .app-wall-grid {
    transform: none;
  }

  .app-wall-tile {
    flex-basis: 3.28rem;
    width: 3.28rem;
    height: 3.28rem;
    border-radius: 0.76rem;
  }

  .nav-menu a {
    display: block;
    width: 100%;
    padding: 0.8rem 0.85rem;
    border-radius: 0.85rem;
  }

  .container {
    width: min(var(--max-width), calc(100% - 1.2rem));
  }

  .hero-actions,
  .legal-link-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .legal-link-grid a {
    width: 100%;
  }

  .waterfall-row-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .waterfall-head,
  .waterfall-row {
    min-width: 40rem;
  }
}
