:root {
  color-scheme: light;
  --ink: #0a0b0d;
  --paper: #f7f3ed;
  --sea: #1f6f78;
  --sea-dark: #0b3c44;
  --sand: #f0dac1;
  --sun: #f6b26b;
  --sky: #c7e6f2;
  --line: rgba(10, 11, 13, 0.12);
  --shadow: 0 30px 80px rgba(10, 11, 13, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: radial-gradient(circle at top left, var(--sky), transparent 55%),
    linear-gradient(180deg, var(--paper) 0%, #fff 55%, var(--sand) 100%);
  color: var(--ink);
  min-height: 100vh;
  padding: 32px 6vw 48px;
}

.glow {
  position: fixed;
  inset: -20vh 50% auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(246, 178, 107, 0.35), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.nav {
  position: sticky;
  top: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  padding: 12px 20px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.brand {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 60px;
  height: 60px;
  display: block;
  border-radius: 0;
  object-fit: contain;
}

.rounded-title {
  font-family: "SF Pro Rounded", "SF Pro Display", "SF Pro", "Avenir Next Rounded",
    "Avenir Next", "Segoe UI Rounded", -apple-system, system-ui, sans-serif;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item.has-dropdown > a::after {
  content: "▾";
  font-size: 0.72rem;
  opacity: 0.7;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 36px rgba(10, 11, 13, 0.16);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 5;
}

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.nav-dropdown .nav-subtitle {
  display: block;
  padding: 8px 12px 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(10, 11, 13, 0.56);
}

.nav-dropdown a:hover {
  background: rgba(31, 111, 120, 0.1);
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

main {
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 12px;
}

.hero-copy {
  max-width: 1120px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--sea);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.05;
  margin-bottom: 18px;
  max-width: 1100px;
}

.lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(10, 11, 13, 0.7);
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.button {
  background: var(--sea);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(31, 111, 120, 0.25);
}

.ghost {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  background: #fff;
}

.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(10, 11, 13, 0.6);
}

.dot {
  color: var(--sea);
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px 16px 12px;
  box-shadow: var(--shadow);
  width: 100%;
  margin: 0;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.pill {
  background: var(--sand);
  color: var(--sea-dark);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.status {
  font-size: 0.85rem;
  color: rgba(10, 11, 13, 0.6);
}

.chat-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.chat-line.reply {
  justify-content: flex-end;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sky);
  border: 1px solid var(--line);
}

.bubble {
  background: var(--paper);
  padding: 12px 16px;
  border-radius: 16px;
  max-width: 240px;
  line-height: 1.4;
  font-size: 0.95rem;
}

.chat-line.reply .bubble {
  background: var(--sea);
  color: #fff;
}

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

.card-body.prototype {
  display: grid;
  gap: 18px;
}

.magazine-carousel {
  position: relative;
}

.magazine-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 56px) / 5);
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.magazine-shot {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef3fb;
  box-shadow: 0 12px 28px rgba(10, 11, 13, 0.12);
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 450px;
  padding: 10px;
}

.magazine-note {
  padding: 10px 12px;
  border: 1px solid rgba(11, 60, 68, 0.14);
  border-radius: 12px;
  background: #fff6e7;
}

.magazine-note h4 {
  font-size: 0.82rem;
  line-height: 1.25;
  color: var(--sea-dark);
}

.magazine-note p {
  margin-top: 4px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(10, 11, 13, 0.72);
}

.magazine-image {
  position: relative;
  min-height: 0;
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(31, 111, 120, 0.16);
  background: #ffffff;
}

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

.prototype-grid {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: nowrap;
}

.prototype-frame {
  width: 210px;
  height: 410px;
  margin: 0 auto;
  justify-self: center;
  align-self: center;
  border-radius: 16px;
  overflow: hidden;
  background: #e9eef5;
  border: 1px solid var(--line);
  position: relative;
}

.prototype-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(10, 11, 13, 0.18);
  opacity: 0;
  transform: translateX(6px);
  animation: prototype-fade 40s ease-in-out infinite;
  animation-delay: calc(var(--i) * 4s);
  will-change: opacity, transform;
}

.prototype-slideshow.is-delayed img {
  animation-duration: 32s;
  animation-delay: calc(var(--i) * 4s + 2s);
}

.prototype-slideshow img.is-first {
  opacity: 1;
}

@keyframes prototype-fade {
  0% {
    opacity: 0;
    transform: translateX(6px);
  }
  6% {
    opacity: 1;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
  65% {
    opacity: 0;
    transform: translateX(-6px);
  }
  100% {
    opacity: 0;
  }
}

.metrics h3 {
  font-family: "SF Pro Rounded", "SF Pro Display", "SF Pro", "Avenir Next Rounded",
    "Avenir Next", "Segoe UI Rounded", -apple-system, system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.section {
  margin-bottom: 56px;
}

.section-title h2,
.section h2 {
  font-family: "SF Pro Rounded", "SF Pro Display", "SF Pro", "Avenir Next Rounded",
    "Avenir Next", "Segoe UI Rounded", -apple-system, system-ui, sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 16px;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-grid article {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(10, 11, 13, 0.08);
}

.feature-grid h3 {
  font-family: "SF Pro Rounded", "SF Pro Display", "SF Pro", "Avenir Next Rounded",
    "Avenir Next", "Segoe UI Rounded", -apple-system, system-ui, sans-serif;
  margin-bottom: 12px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.steps {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.steps li {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.8);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.steps span {
  font-weight: 700;
  color: var(--sea);
}

.stats {
  display: grid;
  gap: 16px;
}

.stats div {
  background: var(--sea-dark);
  color: #fff;
  padding: 22px;
  border-radius: 20px;
}

.stats h3 {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  margin-bottom: 4px;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.contact-card {
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  min-width: 240px;
}

.contact-card .button,
.contact-card .ghost {
  display: inline-block;
  margin-top: 12px;
}

.contact-card .ghost {
  margin-left: 10px;
}

.store-cta,
.store-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.store-cta svg,
.store-cta-ghost svg {
  width: 16px;
  height: 16px;
  display: block;
}

.store-cta svg {
  fill: #fff;
}

.store-cta-ghost svg {
  fill: var(--ink);
}

footer {
  margin-top: 64px;
  text-align: center;
  color: rgba(10, 11, 13, 0.5);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    gap: 8px;
  }

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

  .nav-dropdown {
    right: auto;
    left: 0;
  }

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

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    max-width: none;
  }

  .magazine-track {
    grid-auto-columns: 100%;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .magazine-track {
    grid-auto-columns: calc((100% - 24px) / 3);
  }
}

@media (min-width: 981px) and (max-width: 1320px) {
  .magazine-track {
    grid-auto-columns: calc((100% - 36px) / 4);
  }
}
