:root {
  --page-bg: #efe7de;
  --page-bg-soft: #f8f3ed;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.72);
  --text: #2f2924;
  --muted: #71665d;
  --line: rgba(64, 49, 36, 0.12);
  --accent: #5c88c7;
  --accent-deep: #4d77b2;
  --shadow: 0 18px 38px rgba(62, 45, 28, 0.08);
  --radius: 24px;
  --radius-sm: 18px;
  --page-width: 430px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.9), transparent 34%),
    linear-gradient(180deg, #f5eee6 0%, #eee4d9 100%);
}

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

p {
  margin: 0;
}

.page-shell {
  width: min(100%, var(--page-width));
  min-height: 100vh;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(250,247,243,0.98) 0%, rgba(246,240,232,0.98) 50%, rgba(250,247,243,0.98) 100%);
}

.section {
  width: calc(100% - 24px);
  margin: 0 auto;
  padding: 18px 0;
}

.section-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label.center {
  text-align: center;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.hero {
  padding-top: 20px;
}

.hero-media,
.card-frame,
.order-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.72);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #ece5db;
}

.hero-copy {
  margin-top: 18px;
  text-align: center;
}

.hero-copy p,
.content-column p,
.section-text,
.order-copy p {
  color: #433a33;
  font-size: 0.97rem;
}

.price-wrap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
}

.price-old {
  color: rgba(67, 58, 51, 0.52);
  text-decoration: line-through;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.price-new {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.sold-count {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-story,
.benefit-flow,
.reviews-section {
  display: grid;
  gap: 16px;
}

.main-visual,
.secondary-visual,
.detail-visual {
  margin: 0;
}

.main-visual img,
.secondary-visual img,
.detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-visual {
  aspect-ratio: 7 / 9;
}

.secondary-visual {
  aspect-ratio: 1 / 1;
}

.tall-visual {
  aspect-ratio: 4 / 5;
}

.square-visual {
  aspect-ratio: 1 / 1;
}

.feature-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.feature-lines div {
  position: relative;
  padding-left: 18px;
  color: #3f3731;
}

.feature-lines div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.purchase-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,240,232,0.96));
  border: 1px solid var(--line);
}

.purchase-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.purchase-price {
  font-size: 1.7rem;
  font-weight: 700;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(72, 116, 176, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(72, 116, 176, 0.26);
}

.review-list {
  display: grid;
  gap: 10px;
}

.review-item {
  padding: 16px;
  border-radius: 20px;
  background: var(--surface-soft);
  border: 1px solid rgba(64, 49, 36, 0.08);
  backdrop-filter: blur(8px);
}

.review-item p {
  color: #3f3731;
}

.review-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.order-card {
  padding: 20px;
  text-align: center;
}

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.94rem;
  font-weight: 500;
}

input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(64, 49, 36, 0.14);
  background: rgba(255,255,255,0.98);
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  border-color: rgba(91, 137, 200, 0.72);
  box-shadow: 0 0 0 4px rgba(91, 137, 200, 0.12);
}

input.error {
  border-color: #c76161;
  box-shadow: 0 0 0 4px rgba(199, 97, 97, 0.12);
}

.field-error {
  min-height: 1.2em;
  color: #b04a4a;
  font-size: 0.86rem;
}

.policy-note,
.form-success,
.registry-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.form-success {
  min-height: 1.2em;
  color: #3c6e3c;
}

.footer {
  padding-top: 8px;
  padding-bottom: 32px;
  text-align: center;
}

.footer-title {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-lines {
  margin-top: 12px;
  display: grid;
  gap: 4px;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.footer a,
.back-link {
  color: var(--text);
  text-decoration-color: rgba(47, 42, 38, 0.28);
  text-underline-offset: 0.18em;
}

.registry-note {
  margin-top: 14px;
}

.legal-page {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 28px 14px 40px;
}

.legal-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.72);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  text-align: left;
  margin-bottom: 16px;
}

.legal-card .section-label {
  text-align: left;
}

.legal-card .footer-lines {
  margin-top: 20px;
  text-align: left;
}

.back-link {
  display: inline-block;
  margin-top: 24px;
}

@media (min-width: 520px) {
  body {
    padding: 18px 0 28px;
  }

  .page-shell {
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(62, 45, 28, 0.1);
    overflow: hidden;
  }

  .section {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: 2.15rem;
  }
}

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

  .btn-primary {
    transition: none;
  }
}
