:root {
  --ink: #2a211c;
  --muted: #746a62;
  --cream: #fff8f1;
  --cream-deep: #f8eadc;
  --orange: #ef6b2e;
  --orange-dark: #d94f16;
  --green: #526f3a;
  --white: #ffffff;
  --line: rgba(72, 45, 25, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 54px 36px 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img,
.final-cta img {
  border-radius: 15px;
  box-shadow: 0 8px 28px rgba(64, 38, 17, 0.14);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

h1 em {
  color: var(--orange);
  font-style: normal;
  background: linear-gradient(transparent 66%, rgba(239, 107, 46, 0.16) 0);
}

.lead {
  max-width: 600px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.23rem);
}

.lead strong {
  color: var(--ink);
}

.store-button {
  display: inline-grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-width: min(100%, 350px);
  padding: 13px 20px 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #ff8a32);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(218, 79, 21, 0.25);
  font-size: 1.06rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(218, 79, 21, 0.32);
}

.store-button:focus-visible {
  outline: 3px solid rgba(82, 111, 58, 0.45);
  outline-offset: 4px;
}

.hero-store-trust {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: 14px;
  gap: 10px;
  color: var(--muted);
  border-radius: 12px;
  font-size: 0.72rem;
  line-height: 1.35;
  text-decoration: none;
}

.hero-store-trust img {
  width: auto;
  height: 42px;
}

.hero-store-trust:focus-visible {
  outline: 3px solid rgba(82, 111, 58, 0.45);
  outline-offset: 2px;
}

.store-button-small {
  grid-column: 1;
  font-size: 0.68rem;
  font-weight: 650;
  opacity: 0.88;
}

.store-button > .store-button-label {
  grid-column: 1;
}

.store-button > .store-button-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 1.4rem;
}

.store-note {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.store-note + .browser-fallback-note {
  margin-top: 3px;
}

.hero-visual {
  position: relative;
  min-height: min(76svh, 720px);
  overflow: hidden;
  border-radius: 36px;
  background: #e7cfac;
  box-shadow: 0 30px 80px rgba(59, 35, 17, 0.18);
}

.cake-photo {
  width: 100%;
  height: 100%;
  min-height: min(76svh, 720px);
  object-fit: cover;
}

.result-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2px 16px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(50, 28, 10, 0.18);
  backdrop-filter: blur(16px);
}

.result-card span,
.result-card small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.76rem;
}

.result-card strong {
  font-size: 1rem;
}

.result-card b {
  color: var(--orange-dark);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.benefits {
  padding: 100px max(24px, calc((100vw - 1120px) / 2));
  background: var(--white);
  text-align: center;
}

h2 {
  margin-bottom: 38px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

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

.benefit-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fffdfb;
}

.benefit-grid article > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  color: var(--orange-dark);
  background: #ffeadc;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.benefit-grid h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
}

.benefit-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.example {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(46px, 8vw, 112px);
  max-width: 1050px;
  margin: 0 auto;
  padding: 110px 28px;
}

.example dl {
  margin: 0 0 22px;
}

.example dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.example dt {
  color: var(--muted);
}

.example dd {
  margin: 0;
  font-weight: 800;
}

.example .total {
  color: var(--orange-dark);
  border-bottom: 0;
  font-size: 1.15rem;
}

.example .total dt {
  color: inherit;
  font-weight: 800;
}

.disclaimer {
  color: var(--muted);
  font-size: 0.73rem;
}

.example-image {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(57, 33, 15, 0.16);
}

.final-cta {
  margin: 0 24px 32px;
  padding: 80px 24px;
  color: var(--white);
  background: #30261f;
  border-radius: 32px;
  text-align: center;
}

.final-cta img {
  margin: 0 auto 22px;
}

.final-cta > p:first-of-type {
  margin-bottom: 10px;
  color: #f2bd8b;
  font-weight: 800;
}

.final-cta h2 {
  max-width: 720px;
  margin: 0 auto 30px;
}

.final-cta .store-note {
  color: rgba(255, 255, 255, 0.7);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 28px 40px;
  color: var(--muted);
  font-size: 0.74rem;
}

.legal {
  max-width: 700px;
  margin: 8px 0 0;
  font-size: 0.65rem;
}

.mobile-cta {
  display: none;
}

@media (max-width: 780px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 18px 58px;
  }

  .brand {
    margin-bottom: 24px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 11.5vw, 3.8rem);
  }

  .lead {
    margin-bottom: 22px;
  }

  .hero-store-trust {
    margin-top: 13px;
  }

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

  .cake-photo {
    min-height: 500px;
  }

  .result-card {
    top: 14px;
    right: 14px;
    bottom: auto;
    left: 14px;
    padding: 16px;
  }

  .benefits {
    padding: 76px 20px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .example {
    grid-template-columns: 1fr;
    padding: 78px 20px;
  }

  .example-copy {
    order: 1;
  }

  .example-image {
    order: 2;
    max-width: 440px;
    margin: 0 auto;
  }

  .final-cta {
    margin: 0 14px 94px;
    padding: 60px 20px;
    border-radius: 24px;
  }

  footer {
    padding-bottom: 104px;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: block;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 248, 241, 0.9);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(110%);
    transition:
      transform 180ms ease,
      opacity 180ms ease,
      visibility 180ms ease;
  }

  .mobile-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-cta .store-button {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    width: 100%;
    min-width: 0;
    padding: 11px 14px 12px;
    gap: 2px;
    text-align: center;
  }

  .mobile-cta .store-button-small,
  .mobile-cta .store-button-arrow {
    display: none;
  }

  .mobile-cta .store-button-fallback-note {
    max-width: 31rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.66rem;
    font-weight: 650;
    line-height: 1.35;
  }
}

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

  .store-button {
    transition: none;
  }

  .mobile-cta {
    transition: none;
  }
}
