:root {
  --cream: #f5efe0;
  --cream-2: #fdf8f0;
  --brown: #2b1e12;
  --brown-mid: #5a4030;
  --brown-light: #9a8470;
  --teal: #5bbfb0;
  --teal-dark: #3d9e90;
  --teal-light: #ceeae6;
  --gold: #e9c46a;
  --warn: #e07b55;
  --line: #e5dace;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(43, 30, 18, 0.13);
  --soft-shadow: 0 4px 18px rgba(43, 30, 18, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: Nunito, ui-rounded, "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--brown);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 16%, rgba(91, 191, 176, 0.28), transparent 21rem),
    radial-gradient(circle at 89% 7%, rgba(233, 196, 106, 0.22), transparent 20rem),
    radial-gradient(circle at 77% 82%, rgba(224, 123, 85, 0.14), transparent 18rem);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(229, 218, 206, 0.74);
  background: rgba(253, 248, 240, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), #f5df75);
  box-shadow: var(--soft-shadow);
}

.brand-mark svg,
.icon svg {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 14px;
  color: var(--brown-mid);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--brown);
}

.nav-links a.is-active {
  background: var(--brown);
  color: var(--white);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: var(--brown);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(43, 30, 18, 0.18);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button::after,
.store-badge::after,
.contact-row::after {
  content: "";
  position: absolute;
  left: var(--press-x, 50%);
  top: var(--press-y, 50%);
  width: 14px;
  height: 14px;
  pointer-events: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
}

.button.is-pressed::after,
.store-badge.is-pressed::after,
.contact-row.is-pressed::after {
  animation: ripple 520ms ease-out;
}

@keyframes ripple {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

.button.secondary {
  background: var(--white);
  color: var(--brown);
  box-shadow: var(--soft-shadow);
}

.button.teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  align-items: center;
  gap: 52px;
  padding-top: 36px;
  padding-bottom: 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 0 0 16px;
  padding: 8px 11px;
  border: 1px solid rgba(91, 191, 176, 0.38);
  border-radius: 999px;
  background: rgba(206, 234, 230, 0.72);
  color: #287a70;
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 26px;
  color: var(--brown-mid);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-badge {
  position: relative;
  min-width: 154px;
  border: 1px solid rgba(43, 30, 18, 0.1);
  border-radius: 14px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brown);
  text-decoration: none;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(43, 30, 18, 0.11);
}

.store-badge span {
  display: block;
  color: var(--brown-light);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.store-badge strong {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  font-weight: 900;
}

.hero-visual {
  min-height: 610px;
  position: relative;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: min(355px, 84vw);
  aspect-ratio: 393 / 852;
  border: 10px solid #15120f;
  border-radius: 48px;
  background: var(--cream);
  box-shadow: 0 32px 80px rgba(43, 30, 18, 0.32);
  overflow: hidden;
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 260ms ease;
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 4;
  width: 110px;
  height: 31px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #15120f;
}

.phone-screen {
  position: absolute;
  inset: 0;
  padding: 58px 14px 82px;
  overflow: hidden;
}

.mini-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0 2px 15px;
}

.mini-title {
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
}

.mini-subtitle {
  margin-top: 5px;
  color: var(--brown-light);
  font-size: 11px;
  font-weight: 800;
}

.token-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--white);
  color: var(--brown);
  box-shadow: var(--soft-shadow);
  font-size: 13px;
  font-weight: 900;
}

.tabs {
  display: flex;
  gap: 7px;
  margin: 0 -2px 13px;
  overflow: hidden;
}

.tab-pill {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid #e0d8d0;
  border-radius: 999px;
  background: var(--white);
  color: var(--brown-mid);
  font-size: 11px;
  font-weight: 900;
}

.tab-pill.active {
  border-color: var(--brown);
  background: var(--brown);
  color: var(--white);
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.model-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.model-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(43, 30, 18, 0.12);
}

.model-preview {
  position: relative;
  height: 128px;
  border-radius: 18px 18px 0 0;
  background: #f8f3ea;
  overflow: hidden;
}

.chip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  padding: 3px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brown-mid);
  font-size: 9px;
  font-weight: 900;
}

.heart {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.arrow-chip {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown);
}

.model-art {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -3px;
  height: 112px;
}

.model-info {
  padding: 10px 12px 13px;
}

.model-info strong {
  display: block;
  min-height: 31px;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
}

.progress {
  height: 3px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ede8dc;
}

.progress div {
  height: 100%;
  width: 36%;
  border-radius: inherit;
  background: var(--teal);
}

.bottom-nav-preview {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 76px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid #ede8dc;
  background: rgba(253, 248, 240, 0.96);
}

.bottom-nav-preview div {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--brown-light);
  font-size: 10px;
  font-weight: 900;
}

.bottom-nav-preview div:first-child {
  color: var(--brown);
}

.nav-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
}

.section-heading {
  max-width: 650px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 900;
}

.section-heading p {
  color: var(--brown-mid);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card,
.legal-card,
.contact-card {
  border: 1px solid rgba(229, 218, 206, 0.84);
  border-radius: 18px;
  background: rgba(253, 248, 240, 0.84);
  box-shadow: var(--soft-shadow);
}

.feature-card {
  padding: 20px;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--teal-light);
  color: #22766d;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--brown-mid);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.screen-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mini-screen {
  min-height: 360px;
  overflow: hidden;
  border: 8px solid #18130f;
  border-radius: 32px;
  background: var(--cream);
  box-shadow: var(--soft-shadow);
}

.mini-screen.dark {
  background: linear-gradient(160deg, #2b3a2e, #1e2d26);
  color: var(--white);
}

.mini-screen.blue {
  background: linear-gradient(160deg, #5aaad4, #9bd0e8);
  color: var(--white);
}

.mini-screen-content {
  padding: 34px 13px 16px;
}

.mini-screen h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 900;
}

.mini-screen p {
  color: inherit;
  opacity: 0.72;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 800;
}

.plan-mini {
  margin-top: 14px;
  padding: 13px;
  border: 2px solid rgba(91, 191, 176, 0.78);
  border-radius: 15px;
  background: rgba(91, 191, 176, 0.14);
}

.paint-area {
  height: 130px;
  margin-top: 28px;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.swatches span {
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.legal-hero {
  padding-top: 54px;
  padding-bottom: 42px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.legal-card {
  padding: 28px;
}

.legal-card h1 {
  margin-bottom: 12px;
  font-size: clamp(36px, 5vw, 56px);
}

.legal-card h2 {
  margin-top: 32px;
  margin-bottom: 9px;
  font-size: 22px;
  font-weight: 900;
}

.legal-card p,
.legal-card li {
  color: var(--brown-mid);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 700;
}

.legal-card ul {
  padding-left: 20px;
}

.side-nav {
  position: sticky;
  top: 92px;
  padding: 14px;
  border: 1px solid rgba(229, 218, 206, 0.84);
  border-radius: 18px;
  background: rgba(253, 248, 240, 0.82);
  box-shadow: var(--soft-shadow);
}

.side-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--brown-mid);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.side-nav a:hover {
  background: var(--white);
  color: var(--brown);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card {
  padding: 24px;
}

.contact-card h2 {
  font-size: 24px;
  font-weight: 900;
}

.contact-card p {
  color: var(--brown-mid);
  line-height: 1.7;
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border-radius: 14px;
  background: var(--white);
  color: var(--brown-mid);
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 16px 18px;
  border: 1px solid rgba(229, 218, 206, 0.84);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.faq summary {
  cursor: pointer;
  color: var(--brown);
  font-weight: 900;
}

.faq p {
  margin: 10px 0 0;
  color: var(--brown-mid);
  line-height: 1.65;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(229, 218, 206, 0.84);
  background: rgba(253, 248, 240, 0.65);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--brown-light);
  font-size: 13px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--brown-mid);
  text-decoration: none;
}

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

@media (max-width: 900px) {
  .hero,
  .split,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 30px;
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 520px;
  }

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

  .side-nav {
    position: static;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: 62px;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .phone {
    width: min(330px, 92vw);
  }

  .feature-grid,
  .screen-stack,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .screen-stack {
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
