:root {
  --background: #fcfaf5;
  --surface: #ffffff;
  --ink: #330f12;
  --muted: #745f62;
  --berry: #cc294f;
  --berry-dark: #a91f40;
  --soft-berry: #fcebed;
  --cream: #ffe8ba;
  --line: rgb(51 15 18 / 12%);
  --shadow: 0 24px 70px rgb(51 15 18 / 10%);
  --radius: 16px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--berry-dark);
  text-underline-offset: 0.18em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(252 250 245 / 95%);
  box-shadow: 0 8px 28px rgb(51 15 18 / 4%);
  backdrop-filter: blur(20px);
}

.nav-shell,
.shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 11px;
  box-shadow: 0 6px 18px rgb(51 15 18 / 14%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 560;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--berry);
}

.site-nav a.button,
.site-nav a.button:hover,
.site-nav a.button:focus-visible {
  color: #fff;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: var(--berry);
  color: #fff;
  font-weight: 680;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.button:visited {
  color: #fff;
}

.button:hover {
  background: var(--berry-dark);
  color: #fff;
  transform: translateY(-1px);
}

.button-static,
.button-static:hover {
  background: var(--berry);
  color: #fff;
  cursor: default;
  transform: none;
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-secondary:visited {
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--soft-berry);
  color: var(--ink);
}

.button-small {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 13px;
  font-size: 0.92rem;
}

.hero {
  padding: 88px 0 76px;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--berry-dark);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 780;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.6vw, 3.7rem);
  font-weight: 750;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  font-weight: 710;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2.2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.compatibility {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.compatibility span::before {
  margin-right: 8px;
  color: var(--berry);
  content: "●";
  font-size: 0.62em;
  vertical-align: 0.18em;
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 350px);
}

.screenshot-card {
  background: transparent;
  filter: drop-shadow(0 26px 34px rgb(51 15 18 / 14%));
}

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

.journey-strip {
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: var(--soft-berry);
}

.journey-strip ol {
  display: grid;
  margin: 0;
  padding: 0;
  counter-reset: journey;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.journey-strip li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 660;
}

.journey-strip li::before {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: var(--berry);
  color: #fff;
  content: counter(journey);
  counter-increment: journey;
  font-size: 0.9rem;
  place-items: center;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--soft-berry);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading p,
.lead {
  color: var(--muted);
  font-size: 1.15rem;
}

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

.feature-card {
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 72%);
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  border-radius: 50%;
  background: var(--berry);
  color: #fff;
  font-weight: 750;
  place-items: center;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  align-items: center;
  gap: clamp(44px, 8vw, 96px);
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
}

.product-shot {
  display: grid;
  overflow: hidden;
  width: min(100%, 410px);
  height: 620px;
  justify-self: center;
  padding: 28px 42px 0;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 84%, rgb(204 41 79 / 9%), transparent 42%),
    var(--cream);
  box-shadow: var(--shadow);
  place-items: end center;
}

.product-shot img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.check-list,
.plain-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 14px 0;
  padding-left: 32px;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--berry);
  content: "✓";
  font-weight: 800;
}

.companion-card {
  display: grid;
  overflow: hidden;
  align-items: stretch;
  min-height: 600px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 48%, rgb(255 232 186 / 72%), transparent 34%),
    linear-gradient(145deg, #fff 0%, #fff8f7 52%, var(--soft-berry) 100%);
  box-shadow: 0 22px 60px rgb(51 15 18 / 8%);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
}

.companion-copy {
  align-self: center;
  padding: 56px 20px 56px 56px;
}

.speech {
  position: relative;
  max-width: 330px;
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid rgb(204 41 79 / 25%);
  border-radius: var(--radius);
  background: var(--soft-berry);
  font-size: 1.1rem;
  font-weight: 650;
}

.companion-visual {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 600px;
  padding: 24px 32px 0;
  place-items: end center;
}

.companion-visual::before {
  position: absolute;
  right: 5%;
  bottom: 7%;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgb(204 41 79 / 12%);
  border-radius: 50%;
  background: rgb(255 255 255 / 45%);
  content: "";
}

.biscuit {
  position: relative;
  z-index: 1;
  width: auto;
  height: min(48vw, 580px);
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgb(51 15 18 / 10%));
}

.control-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.control-card {
  padding: 28px;
  border-top: 3px solid var(--berry);
  background: var(--surface);
}

.control-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.safety {
  display: grid;
  align-items: center;
  padding: 40px;
  border: 1px solid rgb(204 41 79 / 22%);
  border-radius: 24px;
  background: var(--soft-berry);
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.safety h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}

.safety p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.cta-panel {
  display: grid;
  align-items: center;
  padding: clamp(38px, 7vw, 72px);
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-panel h2 {
  max-width: 760px;
  margin-bottom: 12px;
}

.cta-panel p {
  margin: 0;
  color: rgb(255 255 255 / 72%);
}

.cta-panel .button {
  background: var(--berry);
  color: #fff;
}

.cta-panel .button:hover,
.cta-panel .button:visited {
  color: #fff;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  align-items: start;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.footer-copy {
  max-width: 500px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer-links a {
  color: var(--ink);
  font-size: 0.92rem;
}

.legal-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.legal-meta {
  color: var(--muted);
}

.legal-layout {
  display: grid;
  padding: 64px 0 108px;
  gap: 56px;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
}

.legal-nav {
  position: sticky;
  top: 108px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 66%);
}

.legal-nav strong {
  display: block;
  margin-bottom: 12px;
}

.legal-nav a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-content {
  max-width: 790px;
}

.legal-content section {
  scroll-margin-top: 110px;
  margin-bottom: 52px;
}

.legal-content h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.legal-content h3 {
  margin-top: 32px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.legal-content p,
.legal-content li {
  color: #4f393c;
}

.legal-content li {
  margin: 8px 0;
}

.note {
  padding: 20px 22px;
  border-left: 4px solid var(--berry);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--soft-berry);
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 70%);
}

summary {
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 680;
}

details > div {
  padding: 0 22px 22px;
  color: var(--muted);
}

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

  .hero {
    padding-top: 64px;
  }

  .hero-visual {
    width: min(78vw, 350px);
  }

  .feature-grid,
  .control-grid {
    grid-template-columns: 1fr;
  }

  .companion-copy {
    padding: 44px 44px 12px;
  }

  .companion-visual {
    min-height: 500px;
    padding-top: 0;
  }

  .biscuit {
    height: min(112vw, 540px);
  }

  .product-shot {
    height: min(138vw, 590px);
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
  }

  .legal-nav strong {
    width: 100%;
  }

  .legal-nav a {
    display: inline-block;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .nav-shell,
  .shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-shell {
    min-height: 68px;
  }

  .wordmark {
    gap: 8px;
    font-size: 1.08rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 9px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav .button-small {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 0.86rem;
  }

  .site-nav a:not(.button) {
    display: none;
  }

  .hero-visual {
    width: min(82vw, 320px);
  }

  .journey-strip ol,
  .safety,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .journey-strip ol {
    gap: 16px;
  }

  .section {
    padding: 76px 0;
  }

  .product-shot {
    width: min(92vw, 370px);
    padding-inline: 34px;
  }

  .companion-card {
    min-height: 0;
  }

  .companion-copy {
    padding: 36px 26px 8px;
  }

  .companion-visual {
    min-height: 430px;
    padding-inline: 18px;
  }

  .biscuit {
    height: min(120vw, 500px);
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .safety {
    padding: 28px;
  }

  .cta-panel {
    text-align: left;
  }

  .cta-panel .button {
    width: 100%;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-hero {
    padding-top: 58px;
  }

  .legal-layout {
    padding-top: 44px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
