:root {
  --bg: #fffaf5;
  --bg-soft: #fff4ea;
  --bg-warm: #ffe9d8;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #41352e;
  --text-soft: #6e5f55;
  --accent: #ef7d52;
  --accent-deep: #dd6d44;
  --accent-soft: #ffd7b6;
  --line: rgba(88, 62, 47, 0.1);
  --shadow: 0 22px 54px rgba(127, 88, 59, 0.12);
  --radius: 26px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7efe7 0%, #f4ebe2 100%);
  line-height: 1.5;
}

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

figure {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: clip;
  background:
    radial-gradient(circle at top right, rgba(255, 211, 169, 0.35), transparent 26%),
    radial-gradient(circle at top left, rgba(255, 234, 215, 0.88), transparent 28%),
    linear-gradient(180deg, #fffdfb 0%, #fff7f0 18%, #fffaf5 48%, #fff5ea 76%, #fffaf4 100%);
}

@media (min-width: 520px) {
  .page-shell {
    margin: 18px auto;
    border-radius: 34px;
    box-shadow: 0 28px 70px rgba(88, 62, 47, 0.14);
  }
}

.container {
  width: calc(100% - 28px);
  margin: 0 auto;
}

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

.section {
  position: relative;
  padding: 22px 0;
}

.section + .section {
  padding-top: 14px;
}

.section-head {
  margin: 0 auto 18px;
  text-align: center;
}

.section-head h2,
.hero h1,
.order-box h2 {
  margin: 0;
  font-size: clamp(1.62rem, 6.8vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-subtext,
.lead,
.story-copy p,
.metric p,
.instruction-card p,
.gift-panel__content p,
.order-box__lead,
.review-card__body p,
.footer p,
.footer a,
.consent-text {
  color: var(--text-soft);
}

.section-kicker,
.eyebrow,
.metric__label,
.footer__title {
  margin: 0 0 10px;
  font-size: 0.8rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(83, 62, 49, 0.7);
}

.hero {
  padding-top: 12px;
  padding-bottom: 18px;
}

.hero__media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--surface-strong);
}

.hero__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 12px 12px auto;
  max-width: calc(100% - 24px);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 249, 243, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(114, 83, 59, 0.1);
}

.hero__overlay .eyebrow {
  margin-bottom: 8px;
}

.hero__content {
  margin: 20px auto 0;
  text-align: center;
}

.lead {
  margin: 0;
  font-size: 0.98rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 14px;
}

.price-old {
  color: rgba(92, 75, 66, 0.52);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-current {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 16px 34px rgba(223, 111, 70, 0.25);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: linear-gradient(180deg, #f2855c 0%, #d96640 100%);
}

.button--full {
  width: 100%;
}

.sold-note {
  margin: 12px 0 0;
  font-size: 0.94rem;
  color: rgba(73, 58, 50, 0.78);
}

.story-banner,
.full-visual,
.gift-panel__image,
.legal-card {
  overflow: hidden;
  border: 1px solid rgba(111, 82, 60, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.story-banner {
  position: relative;
}

.story-banner img {
  width: 100%;
  height: auto;
}

.story-banner figcaption {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  text-align: center;
  font-size: clamp(1.15rem, 4.8vw, 1.4rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.story-banner--attached {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.story-banner--attached img {
  width: 100%;
  height: auto;
}

.story-banner--gift figcaption {
  top: 18px;
  font-size: clamp(1.08rem, 4.4vw, 1.32rem);
}

.stack-card__body--story {
  border-top: 1px solid rgba(111, 82, 60, 0.08);
}

.stack-card__body--gift {
  border-top: 1px solid rgba(111, 82, 60, 0.08);
}

.stack-card__body--gift .section-kicker {
  margin-bottom: 12px;
}

.stack-card,
.story-copy,
.order-box,
.gift-panel__content,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,250,245,0.96) 100%);
  box-shadow: 0 14px 38px rgba(126, 91, 63, 0.08);
}

.stack-card {
  overflow: hidden;
}

.stack-card__body {
  padding: 18px;
}

.stack-card__body p {
  margin: 0 0 14px;
}

.stack-card__body p:last-child {
  margin-bottom: 0;
}

.story-copy,
.order-box,
.gift-panel__content,
.legal-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,250,245,0.94) 100%);
  box-shadow: 0 14px 38px rgba(126, 91, 63, 0.08);
}

.story-copy p,
.gift-panel__content p {
  margin: 0 0 14px;
}

.story-copy p:last-child,
.gift-panel__content p:last-child {
  margin-bottom: 0;
}

.feature-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.feature-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 237, 219, 0.88);
  color: #5a473b;
  font-size: 0.92rem;
}

.metrics,
.instruction-cards {
  display: grid;
  gap: 14px;
}

.metric,
.instruction-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.75);
  box-shadow: 0 12px 28px rgba(126, 91, 63, 0.08);
}

.metric {
  padding: 18px;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.metric p {
  margin: 0;
}

.full-visual {
  margin-top: 16px;
  padding: 10px;
}

.full-visual img {
  width: 100%;
  height: auto;
}

.full-visual--transparent {
  background: transparent;
  box-shadow: none;
  border-color: rgba(111, 82, 60, 0.04);
}

.full-visual--transparent img {
  background: transparent;
}

.instruction-card {
  position: relative;
  padding: 20px 18px 18px;
}

.instruction-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(255, 226, 196, 0.88);
  color: #7a563f;
  font-weight: 700;
}

.instruction-card h3,
.gift-panel__content h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.15;
}

.instruction-card p {
  margin: 0;
}

.gift-panel,
.stack-card--gift {
  margin-top: 16px;
}

.reviews-carousel {
  overflow: hidden;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  overflow: hidden;
  scroll-snap-align: start;
}

.review-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f6efe8;
}

.review-card__body {
  padding: 14px 14px 16px;
}

.review-card__meta {
  margin-bottom: 10px;
}

.review-card__body p {
  margin: 0;
}

.carousel-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.carousel-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(105, 83, 67, 0.12);
  border-radius: 50%;
  background: rgba(255,255,255,0.86);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(126, 91, 63, 0.08);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(105, 83, 67, 0.22);
}

.carousel-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--accent);
}

.section--order {
  padding-top: 28px;
  padding-bottom: 34px;
}

.order-box {
  text-align: center;
}

.order-box__lead {
  margin: 12px auto 0;
  max-width: 480px;
}

.order-form {
  margin-top: 22px;
  text-align: left;
}

.form-field + .form-field {
  margin-top: 14px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.94rem;
  color: rgba(69, 55, 46, 0.9);
}

.form-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(105, 83, 67, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus {
  border-color: rgba(239, 125, 82, 0.52);
  box-shadow: 0 0 0 4px rgba(239, 125, 82, 0.12);
}

.form-field input.is-invalid {
  border-color: rgba(193, 76, 76, 0.6);
  box-shadow: 0 0 0 4px rgba(193, 76, 76, 0.08);
}

.form-error,
.form-success {
  display: block;
  min-height: 20px;
  margin-top: 7px;
  font-size: 0.88rem;
}

.form-error {
  color: #b64545;
}

.form-success {
  margin-top: 14px;
  color: #3e6a46;
  text-align: center;
}

.order-form .button {
  margin-top: 8px;
}

.consent-text {
  margin: 14px 0 0;
  font-size: 0.82rem;
  text-align: center;
}

.consent-text a,
.footer__links a,
.back-link {
  text-decoration: none;
}

.consent-text a:hover,
.consent-text a:focus-visible,
.footer__links a:hover,
.footer__links a:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
}

.footer {
  padding: 10px 0 26px;
  border-top: 1px solid rgba(107, 81, 59, 0.08);
  background: linear-gradient(180deg, rgba(255,250,245,0) 0%, rgba(255,244,235,0.86) 100%);
}

.footer-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(111, 82, 60, 0.08);
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 14px 34px rgba(126, 91, 63, 0.08);
}

.footer__title {
  margin-bottom: 12px;
}

.footer__seller p,
.footer-bottom p {
  margin: 0 0 6px;
}

.footer__links {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.footer-bottom {
  margin-top: 14px;
  padding: 0 4px;
  text-align: center;
  font-size: 0.88rem;
}

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

.legal-page {
  min-height: 100vh;
}

.legal-card {
  margin-top: 20px;
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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