: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: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

/* Hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.brand {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  min-width: 0;
}

.brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  max-height: none;
  display: block;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(10, 11, 13, 0.12);
}

.brand-name {
  font-family: "SF Pro Rounded", "SF Pro Display", "Fraunces", serif;
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

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

/* Animated rotating headline word */
.hero-title .rotator {
  display: inline-block;
  overflow: hidden;
  height: 1.32em;
  line-height: 1.32em;
  vertical-align: top;
}
.hero-title .rotator-list {
  display: flex;
  flex-direction: column;
  animation: rotateWords 12s cubic-bezier(0.6, 0, 0.2, 1) infinite;
}
.hero-title .rotator-list > span {
  height: 1.32em;
  line-height: 1.32em;
  white-space: nowrap;
  background: linear-gradient(100deg, var(--sea), var(--sun) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@keyframes rotateWords {
  0%, 14% { transform: translateY(0); }
  18%, 33% { transform: translateY(-1.32em); }
  37%, 52% { transform: translateY(-2.64em); }
  56%, 71% { transform: translateY(-3.96em); }
  75%, 90% { transform: translateY(-5.28em); }
  94%, 100% { transform: translateY(-6.6em); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title .rotator-list {
    animation: none;
  }
}

/* Screen-reader-only text */
.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;
}

/* Life-area chips under the hero lede */
.domain-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}
.domain-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(10, 11, 13, 0.05);
  backdrop-filter: blur(6px);
}
.domain-chips .chip .emoji {
  font-size: 1.08rem;
  line-height: 1;
}

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

/* Shared nav: contact button + active page indicator */
.nav-links a.nav-cta {
  background: var(--sea);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(31, 111, 120, 0.22);
  transition: background 160ms ease;
}

.nav-links a.nav-cta:hover {
  background: var(--sea-dark);
}

.nav-links a[aria-current="page"]:not(.nav-cta) {
  color: var(--sea);
  font-weight: 600;
}

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

/* Seeded-agent grid */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-bottom: 44px;
}
.agent-card {
  background: #fff;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(10, 11, 13, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(10, 11, 13, 0.12);
}
.agent-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.7rem;
  line-height: 1;
  border-radius: 15px;
  background: linear-gradient(150deg, var(--sky), rgba(246, 178, 107, 0.35));
  margin-bottom: 14px;
}
.agent-card 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-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.agent-card p {
  line-height: 1.55;
  color: rgba(10, 11, 13, 0.72);
  font-size: 0.95rem;
}
.agent-tag {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sea-dark);
  background: rgba(31, 111, 120, 0.12);
  border: 1px solid rgba(31, 111, 120, 0.22);
  padding: 3px 8px;
  border-radius: 999px;
}
.agent-card--build {
  background: linear-gradient(160deg, rgba(199, 230, 242, 0.55), rgba(255, 255, 255, 0.9));
  border-style: dashed;
}
.section-title--sub {
  margin-top: 8px;
}

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

.app-store-badge {
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(10, 11, 13, 0.2);
}

.app-store-badge .badge-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.app-store-badge .badge-top {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.82;
}

.app-store-badge .badge-bottom {
  font-size: 1rem;
  font-weight: 600;
}

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

.app-store-badge svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: #fff;
}

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

/* Video showcase --------------------------------------------------------- */
.showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.showcase-copy .lede {
  max-width: 460px;
}

.showcase-phone {
  justify-self: center;
}

.phone-frame {
  width: min(300px, 80vw);
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(160deg, #0b3c44, #06262b);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.phone-frame video {
  display: block;
  width: 100%;
  border-radius: 30px;
  background: #000;
}

.showcase-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(10, 11, 13, 0.55);
}

/* Legal & support pages -------------------------------------------------- */
.legal-page {
  max-width: 880px;
  margin: 0 auto;
}

.legal-page .section-title {
  margin-bottom: 22px;
}

.legal-page .section-title h1 {
  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(1.9rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 10px;
}

.legal-page .section-title .lede {
  font-size: 0.96rem;
  margin-bottom: 0;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px clamp(20px, 4vw, 40px);
  box-shadow: 0 18px 40px rgba(10, 11, 13, 0.08);
}

.legal-card 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: 1.12rem;
  font-weight: 700;
  color: var(--sea-dark);
  line-height: 1.3;
  margin-top: 26px;
  margin-bottom: 8px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p + h2 {
  border-top: 1px solid rgba(10, 11, 13, 0.08);
  padding-top: 22px;
}

.legal-card p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(10, 11, 13, 0.76);
  margin-bottom: 10px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--sea);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 111, 120, 0.35);
}

.legal-card a:hover {
  color: var(--sea-dark);
}

@media (max-width: 720px) {
  .brand-icon {
    width: 38px;
    height: 38px;
  }
  .brand-name { font-size: 1.15rem; }

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

/* Built with Google Gemma badge */
.gemma-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(66, 133, 244, 0.28);
  background: linear-gradient(100deg, rgba(66, 133, 244, 0.10), rgba(52, 168, 83, 0.10) 55%, rgba(251, 188, 5, 0.10));
  box-shadow: 0 8px 18px rgba(10, 11, 13, 0.06);
  font-size: 0.86rem;
  color: var(--ink);
}
.gemma-badge .gemma-spark {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.72rem;
  color: #fff;
  background: conic-gradient(from 210deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
}
.gemma-badge .gemma-text strong { font-weight: 700; }

/* Powered-by-Gemma proof band */
.gemma-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.gemma-proof-media {
  display: flex;
  justify-content: center;
}
.gemma-proof-media img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 26px 54px rgba(10, 11, 13, 0.18);
}
.gemma-proof-copy h2 {
  margin: 14px 0 12px;
}
.gemma-proof-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
}
.gemma-proof-points li {
  position: relative;
  padding-left: 26px;
  line-height: 1.6;
  color: rgba(10, 11, 13, 0.82);
}
.gemma-proof-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
}
@media (max-width: 820px) {
  .gemma-proof {
    grid-template-columns: 1fr;
  }
  .gemma-proof-media { order: -1; }
}

/* Clickable Gemma badge (hero → #gemma) */
a.gemma-badge--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
a.gemma-badge--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(10, 11, 13, 0.12);
  border-color: rgba(66, 133, 244, 0.5);
}
.gemma-badge-arrow {
  font-weight: 700;
  color: var(--sea-dark);
  transition: transform 200ms ease;
}
a.gemma-badge--link:hover .gemma-badge-arrow {
  transform: translateY(2px);
}
#gemma {
  scroll-margin-top: 90px;
}
html {
  scroll-behavior: smooth;
}

/* Sample advisory download list (docs) */
.advisory-list { list-style: none; padding-left: 0; display: grid; gap: 8px; }
.advisory-list li { line-height: 1.5; color: rgba(10, 11, 13, 0.66); font-size: 0.96rem; }
.advisory-list a {
  font-weight: 600;
  color: var(--sea-dark);
  text-decoration: none;
  border-bottom: 1px dashed rgba(11, 60, 68, 0.4);
}
.advisory-list a::before { content: "\2193\00a0"; color: var(--sea); }
.advisory-list a:hover { color: var(--sea); border-bottom-style: solid; }

/* Life-story split sections (Smart Card, Wind-down) */
.life-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.life-media { display: flex; justify-content: center; }
.life-media img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(10, 11, 13, 0.20);
}
.life-copy h2 { margin: 8px 0 12px; }
.life-copy p { line-height: 1.7; color: rgba(10, 11, 13, 0.8); max-width: 46ch; }
.life-points {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
}
.life-points li {
  position: relative;
  padding-left: 26px;
  line-height: 1.6;
  color: rgba(10, 11, 13, 0.82);
}
.life-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--sea), var(--sun));
}
@media (max-width: 820px) {
  .life-split { grid-template-columns: 1fr; }
  .life-split .life-media { order: -1; }
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: 0 16px 32px rgba(10, 11, 13, 0.07);
}
.price-card--featured {
  border-color: var(--sea);
  box-shadow: 0 26px 50px rgba(31, 111, 120, 0.20);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--sea);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 999px;
}
.price-card h3 {
  font-family: "SF Pro Rounded", "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 700;
}
.price .amount {
  font-family: "SF Pro Rounded", "Fraunces", serif;
  font-size: 2.1rem;
  font-weight: 700;
}
.price .per { color: rgba(10, 11, 13, 0.55); font-size: 0.95rem; margin-left: 4px; }
.price-note { color: rgba(10, 11, 13, 0.6); font-size: 0.86rem; }
.price-points {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
  padding: 0;
  flex: 1;
}
.price-points li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
  font-size: 0.92rem;
  color: rgba(10, 11, 13, 0.8);
}
.price-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sea);
  font-weight: 700;
}
.price-cta { text-align: center; }
.price-fineprint {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(10, 11, 13, 0.55);
  line-height: 1.55;
  max-width: 70ch;
}
@media (max-width: 820px) {
  .price-grid { grid-template-columns: 1fr; }
}


/* Mobile hamburger menu (placed last so it wins over base .nav-links) */
@media (max-width: 820px) {
  .nav { flex-direction: row; align-items: center; gap: 10px; }
  .brand { width: auto; justify-content: flex-start; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 20px 44px rgba(10, 11, 13, 0.16);
    display: none;
  }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links a { width: 100%; padding: 11px 12px; border-radius: 10px; }
  .nav-links a:hover { background: rgba(31, 111, 120, 0.08); }
  .nav-item.has-dropdown { width: 100%; }
  .nav-item.has-dropdown > a::after { margin-left: auto; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: block;
    min-width: 0;
    padding: 2px 0 2px 12px;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .nav-links a.nav-cta { text-align: center; }
}

/* Described agent-video sections */
.see-intro .section-title { text-align: center; margin: 0 auto; max-width: 60ch; }
.life-media video {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 500 / 1080;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 30px 60px rgba(10, 11, 13, 0.20);
  display: block;
}
.life-ground {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(10, 11, 13, 0.72);
  border-left: 3px solid var(--sun);
  background: rgba(246, 178, 107, 0.10);
  border-radius: 0 12px 12px 0;
  padding: 10px 14px;
  max-width: 48ch;
}
.life-ground a {
  color: var(--sea-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 60, 68, 0.3);
}
.life-ground a:hover { color: var(--sea); }

/* Clickable hero chips & agent cards → jump to agent sections */
.domain-chips .chip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.domain-chips .chip:has(a) {
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.domain-chips .chip:has(a):hover {
  transform: translateY(-2px);
  border-color: var(--sea);
  box-shadow: 0 10px 20px rgba(10, 11, 13, 0.08);
}
a.agent-card { display: block; text-decoration: none; color: inherit; cursor: pointer; }
a.agent-card:hover { border-color: var(--sea); }

/* Anchor offset so sections don't tuck under the sticky nav */
#agent-health, #agent-food, #agent-habits, #agent-expenses,
#smartcard, #winddown, #gemma, #demo, #features, #how {
  scroll-margin-top: 92px;
}

/* FAQ accordion */
.faq-list { display: grid; gap: 10px; max-width: 760px; margin: 0; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2px 18px;
  box-shadow: 0 10px 24px rgba(10, 11, 13, 0.05);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 15px 28px 15px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 12px;
  font-size: 1.35rem;
  color: var(--sea);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 16px; line-height: 1.6; color: rgba(10, 11, 13, 0.75); }

/* QR download block (desktop) */
.qr-download {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 2px 0 18px;
}
.qr-download img {
  width: 104px;
  height: 104px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 7px;
  box-shadow: 0 10px 22px rgba(10, 11, 13, 0.08);
}
.qr-download span {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(10, 11, 13, 0.66);
  max-width: 22ch;
}
.qr-download strong { color: var(--sea-dark); }
@media (max-width: 820px) {
  .qr-download { display: none; }
}
