:root {
  --ink: #1f2421;
  --muted: #59605b;
  --line: #d9dfdb;
  --surface: #ffffff;
  --soft: #f3f7f4;
  --mint: #e3f4ed;
  --mint-strong: #007f73;
  --coral: #e95063;
  --yellow: #f2b705;
  --hero-wash: rgba(255, 255, 255, 0.9);
  --shadow-lg: 0 18px 42px rgba(31, 36, 33, 0.09);
  --shadow-md: 0 10px 22px rgba(31, 36, 33, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background: var(--surface);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
summary,
li {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 223, 219, 0.92);
  background: rgba(255, 255, 255, 0.97);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand img {
  border-radius: 8px;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-cta {
  padding: 9px 14px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--mint-strong);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  padding: 64px clamp(20px, 5vw, 72px) 92px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(243, 247, 244, 0.98) 0%, rgba(255, 255, 255, 0.9) 36%, rgba(255, 255, 255, 0.54) 68%, rgba(255, 255, 255, 0.28) 100%),
    url("store_assets/store_banner.png") center right / min(880px, 68vw) auto no-repeat,
    linear-gradient(180deg, #f6fbf8 0%, #ffffff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--mint-strong), var(--yellow), var(--coral));
}

.hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint-strong);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 4.9rem;
}

h2 {
  font-size: 3.1rem;
}

h3 {
  font-size: 1.28rem;
}

.hero-lead,
.section-heading p,
.scenes-copy p,
.prompts-copy p,
.trust-copy p,
.download-section p,
.path-card p,
.support-copy p,
.scene-grid p,
.point-list li,
.faq-list p,
.price-note p,
.prompt-list li {
  color: var(--muted);
}

.hero-lead {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 1.02rem;
}

.hero-subline {
  margin: 14px 0 0;
  color: var(--mint-strong);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.2;
}

.button-primary {
  color: #ffffff;
  background: var(--mint-strong);
}

.button-primary:hover {
  background: #006a61;
}

.button-secondary {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.showcase-label,
.panel-label {
  color: var(--mint-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.intro-section,
.paths-section,
.support-section,
.scenes-section,
.prompts-section,
.trust-section,
.download-section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section[id],
.faq-wrap[id] {
  scroll-margin-top: 92px;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.intro-section,
.support-section,
.trust-section {
  background: var(--soft);
}

.intro-layout,
.trust-layout,
.prompts-layout,
.scenes-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.point-list,
.prompt-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.point-list li,
.prompt-list li {
  position: relative;
  padding: 15px 16px 15px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.point-list li::before,
.prompt-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.point-list.compact li::before {
  background: var(--mint-strong);
}

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

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

.path-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.path-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 8px 8px 0 0;
}

.accent-green::before {
  background: var(--mint-strong);
}

.accent-coral::before {
  background: var(--coral);
}

.accent-yellow::before {
  background: var(--yellow);
}

.path-number {
  display: inline-block;
  margin-bottom: 14px;
  color: rgba(31, 36, 33, 0.2);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.path-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.path-card p {
  margin: 12px 0 0;
}

.path-card ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.25rem;
}

.support-grid {
  display: grid;
  gap: 22px;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.support-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.support-panel-reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 0.9fr);
}

.support-panel-reverse .support-copy {
  order: 2;
}

.support-panel-reverse img {
  order: 1;
}

.store-section {
  background: linear-gradient(180deg, rgba(243, 247, 244, 0.76) 0%, rgba(255, 255, 255, 1) 100%);
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.store-copy p,
.store-card p {
  color: var(--muted);
}

.store-note {
  margin: 16px 0 0;
  color: var(--mint-strong);
  font-size: 0.95rem;
  font-weight: 800;
}

.store-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.store-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 14px;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scene-grid article,
.price-note {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.scene-grid article:nth-child(3n + 1) {
  border-top: 5px solid var(--mint-strong);
}

.scene-grid article:nth-child(3n + 2) {
  border-top: 5px solid var(--coral);
}

.scene-grid article:nth-child(3n) {
  border-top: 5px solid var(--yellow);
}

.prompts-section {
  background:
    linear-gradient(180deg, rgba(243, 247, 244, 0.8) 0%, rgba(255, 255, 255, 1) 100%);
}

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

.prompt-list li::before {
  background: var(--mint-strong);
}

.faq-wrap {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(243, 247, 244, 0.55);
}

.faq-list summary {
  padding: 18px 18px 16px;
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
}

.price-note {
  margin-top: 20px;
  background: linear-gradient(180deg, rgba(227, 244, 237, 0.72) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--mint-strong);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.legal-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 18px;
}

.legal-links-inline .text-link {
  margin-top: 0;
}

.legal-hero {
  min-height: auto;
  padding: 48px clamp(20px, 5vw, 72px) 36px;
  background:
    linear-gradient(180deg, rgba(243, 247, 244, 0.98) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.legal-hero .hero-copy {
  max-width: 880px;
}

.legal-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.legal-hero .hero-lead {
  max-width: 780px;
}

.legal-shell {
  display: grid;
  gap: 22px;
}

.legal-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.legal-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 18px;
}

.legal-card h3 {
  margin-top: 26px;
}

.legal-card p + p,
.legal-card ul,
.legal-card ol {
  margin-top: 14px;
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.legal-table th,
.legal-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 220px;
  color: var(--ink);
  font-weight: 900;
  background: rgba(243, 247, 244, 0.72);
}

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

.legal-note {
  padding: 18px 20px;
  border-left: 4px solid var(--mint-strong);
  border-radius: 8px;
  background: var(--soft);
}

.status-page {
  min-height: calc(100svh - 200px);
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(227, 244, 237, 0.9) 100%);
}

.status-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.status-card h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.status-card ol,
.status-card ul {
  margin: 18px 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.status-card li + li {
  margin-top: 8px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.status-badge.success {
  color: #ffffff;
  background: var(--mint-strong);
}

.status-badge.cancel {
  color: #ffffff;
  background: var(--coral);
}

.download-section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(227, 244, 237, 0.9) 100%);
}

.download-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.download-inner img {
  margin: 0 auto 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.download-inner .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.site-nav a:focus-visible,
.site-footer nav a:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(242, 183, 5, 0.74);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  .path-grid,
  .store-layout,
  .support-panel,
  .support-panel-reverse,
  .scene-grid,
  .prompt-list,
  .intro-layout,
  .trust-layout,
  .prompts-layout,
  .scenes-layout {
    grid-template-columns: 1fr;
  }

  .support-panel-reverse .support-copy,
  .support-panel-reverse img {
    order: initial;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 132px;
  }

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

  .hero {
    min-height: 80svh;
    background:
      linear-gradient(180deg, rgba(243, 247, 244, 0.98) 0%, rgba(255, 255, 255, 0.95) 60%, rgba(255, 255, 255, 0.92) 100%),
      url("store_assets/store_banner.png") 82% 100% / 420px auto no-repeat,
      linear-gradient(180deg, #f6fbf8 0%, #ffffff 100%);
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-actions,
  .store-actions,
  .button,
  .nav-cta {
    width: 100%;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th,
  .legal-table td {
    padding: 14px 16px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.86rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .site-nav {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 42px 20px 82px;
    background:
      linear-gradient(180deg, rgba(243, 247, 244, 0.98) 0%, rgba(255, 255, 255, 0.96) 72%, rgba(255, 255, 255, 0.95) 100%),
      url("store_assets/store_banner.png") center bottom / 300px auto no-repeat,
      linear-gradient(180deg, #f6fbf8 0%, #ffffff 100%);
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-subline {
    font-size: 0.84rem;
    line-height: 1.6;
  }

  .path-card,
  .support-panel,
  .faq-wrap,
  .legal-card,
  .status-card {
    padding: 16px;
  }
}
