:root {
  --ink: var(--color-text);
  --ink-soft: var(--color-text-muted);
  --purple: var(--color-brand);
  --purple-dark: var(--color-brand-strong);
  --purple-deep: var(--color-brand-deep);
  --lilac: var(--color-brand-soft);
  --lilac-light: var(--color-background-alt);
  --coral: var(--color-accent);
  --coral-dark: var(--color-brand-strong);
  --rose: var(--color-accent-soft);
  --rose-light: var(--color-background-alt);
  --paper: var(--color-background);
  --white: var(--color-white);
  --line: var(--color-border);
  --shadow: var(--shadow-light);
  --radius-sm: 16px;
  --radius-md: var(--radius-card);
  --radius-lg: 44px;
  --max-width: var(--container-max);
  --header-height: 76px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  overflow-x: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: var(--line-height-heading);
}

h1 {
  margin-bottom: 24px;
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
}

h2 {
  margin-bottom: 22px;
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-semibold);
}

h3 {
  margin-bottom: 12px;
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  transform: translateY(-180%);
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}

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

.container {
  width: min(calc(100% - (2 * var(--page-gutter))), var(--max-width));
  margin-inline: auto;
}

.narrow {
  max-width: 880px;
}

.section {
  position: relative;
  padding: var(--section-space) 0;
}

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

.section-lilac {
  overflow: hidden;
  background: var(--purple-deep);
  color: var(--white);
}

.section-lilac::before,
.section-lilac::after {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 48% 52% 47% 53%;
  content: "";
  pointer-events: none;
}

.section-lilac::before {
  width: 300px;
  height: 260px;
  right: -140px;
  top: -80px;
  transform: rotate(24deg);
}

.section-lilac::after {
  width: 190px;
  height: 220px;
  left: -100px;
  bottom: -95px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(57, 54, 79, 0.08);
  background: rgba(253, 249, 247, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  width: 210px;
  height: auto;
}

.header-link {
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero-grid {
  display: grid;
  gap: 54px;
}

.eyebrow,
.section-kicker {
  color: var(--purple-dark);
  font-size: 0.73rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow span {
  width: 28px;
  height: 3px;
  border-radius: 100px;
  background: var(--coral);
}

.hero-text {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-product-mark {
  width: min(100%, 270px);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 14px 24px;
  font-weight: var(--font-weight-semibold);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
.header-link:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--color-focus);
}

.button-primary {
  background: var(--purple-deep);
  box-shadow: 0 12px 30px rgba(57, 52, 111, 0.18);
  color: var(--white);
}

.button-primary:hover {
  background: var(--purple-dark);
}

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

.button-light {
  background: var(--white);
  color: var(--purple-deep);
}

.button-wide {
  width: 100%;
}

.text-link {
  color: var(--purple-deep);
  font-weight: var(--font-weight-bold);
  text-underline-offset: 5px;
}

.support-note {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  width: min(82vw, 410px);
  margin-inline: auto;
}

.cover-halo {
  position: absolute;
  inset: 8% -16% -7%;
  border-radius: 52% 48% 45% 55%;
  background: var(--rose);
  transform: rotate(-7deg);
}

.cover-card {
  position: relative;
  overflow: hidden;
  border: 9px solid var(--white);
  border-radius: 4px 28px 28px 4px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(2.4deg);
}

.cover-card img {
  width: 100%;
}

.floating-note {
  position: absolute;
  right: -10px;
  bottom: 5%;
  display: grid;
  width: min(250px, 70%);
  gap: 2px;
  border: 1px solid rgba(57, 54, 79, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(57, 54, 79, 0.15);
  padding: 13px 16px;
}

.floating-note strong {
  color: var(--purple-deep);
  font-size: 0.83rem;
}

.floating-note span {
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.4;
}

.ornament-dots {
  position: absolute;
  top: 60px;
  right: -30px;
  width: 160px;
  height: 160px;
  opacity: 0.18;
  background-image: radial-gradient(circle, var(--purple) 2.5px, transparent 3px);
  background-size: 22px 22px;
  transform: rotate(13deg);
}

.search-grid,
.experience-grid,
.author-grid,
.offer-grid,
.faq-layout {
  display: grid;
  gap: 48px;
  align-items: center;
}

.search-copy > p:not(.section-kicker):not(.highlight-line),
.experience-copy > p,
.author-copy > p,
.offer-copy > p,
.section-heading > p:last-child,
.faq-heading > p:last-child {
  color: var(--ink-soft);
}

.highlight-line {
  position: relative;
  margin: 28px 0 0;
  border-left: 4px solid var(--coral);
  padding-left: 18px;
  color: var(--purple-deep);
  font-weight: var(--font-weight-bold);
}

.search-card {
  overflow: hidden;
  border: 1px solid rgba(57, 54, 79, 0.09);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 26px 20px 0;
}

.search-bar {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(57, 54, 79, 0.18);
  border-radius: 999px;
  color: var(--ink-soft);
  padding: 12px 16px;
  font-size: 0.85rem;
}

.search-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 2px solid var(--purple);
  border-radius: 50%;
}

.search-icon::after {
  display: block;
  width: 7px;
  height: 2px;
  border-radius: 99px;
  background: var(--purple);
  content: "";
  transform: translate(12px, 12px) rotate(45deg);
}

.search-query-track {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  white-space: nowrap;
}

.search-query {
  flex: 0 0 auto;
}

.search-caret {
  width: 2px;
  height: 20px;
  flex: 0 0 auto;
  animation: blink 1s steps(1) infinite;
  background: var(--coral);
}

@keyframes blink {
  50% { opacity: 0; }
}

.search-results {
  display: grid;
  gap: 12px;
  padding: 30px 10px 24px;
}

.search-results span {
  width: 74%;
  height: 8px;
  border-radius: 999px;
  background: var(--lilac);
}

.search-results span:nth-child(2) { width: 90%; }
.search-results span:nth-child(3) { width: 62%; }

.answer-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin-inline: -20px;
  background: var(--purple-dark);
  color: var(--white);
  padding: 24px 20px;
}

.answer-card p {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
}

.answer-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose);
  color: var(--purple-deep);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 40px;
}

.benefit-grid {
  display: grid;
  gap: 16px;
}

.benefit-card {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  padding: 26px;
  transition: background-color 180ms ease, border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .benefit-card:hover {
    border-color: transparent;
    background: var(--lilac);
  }
}

.benefit-card p {
  margin: 0;
  color: var(--ink-soft);
}

.card-number {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--purple-dark);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
}

.experience {
  padding-top: 36px;
}

.experience-image {
  position: relative;
}

.experience-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg) var(--radius-lg) 12px var(--radius-lg);
  object-fit: cover;
  object-position: 49% center;
}

.image-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--purple-deep);
  padding: 8px 13px;
  font-size: 0.7rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  font-weight: var(--font-weight-semibold);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose);
  color: var(--purple-deep);
  content: "✓";
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
}

.section-lilac h2,
.section-lilac .section-kicker {
  color: var(--white);
}

.audience-list {
  display: grid;
  gap: 12px;
  margin: 34px 0;
}

.audience-list p {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .audience-list p:hover {
    border-color: #a58ab8;
    background: #765a8e;
    box-shadow: 0 5px 15px rgba(26, 21, 59, 0.1);
    transform: translateY(-2px);
  }
}

.care-note {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.author-photo {
  position: relative;
  max-width: 470px;
  margin-inline: auto;
}

.author-photo-frame {
  overflow: hidden;
  border-radius: 46% 46% 18px 18px;
  background: var(--rose);
}

.author-photo-frame img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  object-position: center 22%;
}

.author-seal {
  position: absolute;
  right: -8px;
  bottom: 28px;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border: 5px solid var(--paper);
  border-radius: 50%;
  background: var(--purple-dark);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(7deg);
}

.author-lead {
  color: var(--purple-deep) !important;
  font-size: 1.15rem;
  font-weight: var(--font-weight-bold);
}

.signature {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.signature strong {
  color: var(--purple-deep);
}

.signature span {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.offer-cover {
  position: relative;
  width: min(76vw, 380px);
  margin-inline: auto;
}

.offer-cover::before {
  position: absolute;
  inset: 8% -10% -7%;
  border-radius: 42% 58% 53% 47%;
  background: var(--lilac);
  content: "";
  transform: rotate(8deg);
}

.offer-cover img {
  position: relative;
  border: 8px solid var(--white);
  border-radius: 3px 22px 22px 3px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.offer-cover--devices {
  width: min(100%, 560px);
}

.offer-cover--devices::before {
  content: none;
}

.offer-cover--devices img {
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.product-mark {
  width: min(100%, 330px);
  margin-bottom: 28px;
}

.price-block {
  display: grid;
  gap: 0;
  margin: 30px 0 22px;
}

.price-block span {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.price-block strong {
  color: var(--purple-deep);
  font-size: 2.6rem;
  letter-spacing: -0.04em;
}

.checkout-note {
  margin: 10px 0 0 !important;
  color: var(--purple-dark) !important;
  font-size: 0.78rem;
  text-align: center;
}

.purchase-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.purchase-details li {
  display: grid;
  align-content: start;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
  padding: 14px 15px;
}

.purchase-details strong {
  color: var(--purple-deep);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.purchase-details span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.faq-layout {
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  color: var(--purple-deep);
  font-weight: var(--font-weight-bold);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--coral);
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 14px 36px 0 0;
  color: var(--ink-soft);
}

.final-cta {
  padding-top: 24px;
}

.final-card {
  display: grid;
  gap: 32px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--purple-dark);
  color: var(--white);
  padding: 40px 28px;
}

.final-card h2,
.final-card .section-kicker {
  color: var(--white);
}

.final-card h2 {
  margin-bottom: 0;
}

.final-action {
  display: grid;
  gap: 8px;
}

.final-action span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  text-align: center;
}

.site-footer {
  padding: 46px 0 100px;
}

.footer-grid {
  display: grid;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 0.77rem;
}

.footer-grid img {
  width: 190px;
}

.footer-grid p {
  margin: 0;
}

.mobile-cta {
  position: fixed;
  z-index: 15;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--line);
  background: rgba(253, 249, 247, 0.94);
  backdrop-filter: blur(14px);
  padding: 10px 20px max(10px, env(safe-area-inset-bottom));
}

.mobile-cta .button {
  width: 100%;
  min-height: 48px;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].will-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].will-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 700px) {
  .hero-grid,
  .search-grid,
  .experience-grid,
  .author-grid,
  .offer-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }

  .hero-grid {
    align-items: center;
  }

  .hero {
    padding: 96px 0 112px;
  }

  .hero-visual {
    width: min(35vw, 410px);
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .purchase-details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .experience-grid,
  .author-grid,
  .offer-grid {
    gap: 72px;
  }

  .experience-copy,
  .author-copy,
  .offer-copy {
    max-width: 520px;
  }

  .author-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .offer-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .faq-layout {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 90px;
  }

  .final-card {
    grid-template-columns: 1fr minmax(280px, 0.45fr);
    align-items: center;
    padding: 54px;
  }

  .footer-grid {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .footer-grid p {
    max-width: 470px;
    justify-self: center;
  }
}

@media (min-width: 980px) {
  .benefit-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .benefit-card:nth-child(even) {
    transform: translateY(28px);
  }

  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 46px;
  }
}

@media (max-width: 699px) {
  :root {
    --header-height: 68px;
  }

  .brand img {
    width: 172px;
  }

  .header-link {
    font-size: 0.64rem;
  }

  .hero-copy {
    text-align: left;
  }

  .faq-heading {
    position: static;
  }
}

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

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

  .audience-list p:hover {
    transform: none;
  }
}
