:root {
  --bg: #fff3ee;
  --bg-soft: #fff8f5;
  --surface: #ffffff;
  --surface-muted: #fff2ea;
  --text: #2d2422;
  --text-soft: #5b4d4a;
  --rose: #d86d78;
  --rose-deep: #ab4b58;
  --rose-soft: #ffd0cf;
  --card-border: #f2d9d4;
  --shadow: 0 22px 45px rgba(214, 111, 120, 0.16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 6% 12%, #ffe0d8 0%, transparent 35%),
    radial-gradient(circle at 92% 2%, #ffd6d3 0%, transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #fff0e8 34%, var(--bg-soft) 100%);
  line-height: 1.6;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", "Georgia", serif;
  letter-spacing: 0.01em;
  margin: 0 0 0.7rem;
  line-height: 1.18;
}

p {
  color: var(--text-soft);
  margin: 0;
}

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

a:focus-visible,
button:focus-visible,
.cta:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(216, 109, 120, 0.45);
  outline-offset: 2px;
  border-radius: 8px;
}

.site-wrap {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.2rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(255, 243, 238, 0.82);
  border-bottom: 1px solid rgba(216, 109, 120, 0.15);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.legal-header {
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  gap: 0;
}

.legal-header-left {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.legal-header .main-nav {
  margin: 0;
  margin-left: 0 !important;
  justify-content: flex-end;
  justify-self: end;
}

.legal-header .back-home {
  margin: 0;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-family: "Cormorant Garamond", "Georgia", serif;
  color: var(--rose-deep);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.hero-brand-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 0.05rem;
  box-shadow: 0 5px 14px rgba(171, 75, 88, 0.2);
}

.hero-brand-name {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
}

.header-inner .main-nav {
  margin-left: auto;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(171, 75, 88, 0.32);
  color: #4d2f32;
  font-size: 0.82rem;
  font-weight: 700;
  background: linear-gradient(130deg, #fff, #ffe8e2);
  box-shadow: 0 7px 16px rgba(171, 75, 88, 0.16);
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-home:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 18px rgba(171, 75, 88, 0.2);
}

.back-home:focus-visible {
  outline: 3px solid rgba(216, 109, 120, 0.35);
  outline-offset: 2px;
}

.back-home-icon {
  width: 24px !important;
  height: 24px !important;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 0;
  margin: 0;
  display: block;
}

.back-home-arrow {
  color: var(--rose-deep);
  font-weight: 700;
}

@media (max-width: 500px) {
  .back-home {
    padding: 0.24rem 0.56rem;
    font-size: 0.78rem;
    gap: 0.4rem;
  }

  .back-home-icon {
    width: 24px !important;
    height: 24px !important;
  }

  .back-home-arrow {
    font-size: 0.78rem;
  }

  .legal-header {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .legal-header-left,
  .legal-header .main-nav {
    justify-self: start;
  }
}

.main-nav a {
  color: #533f3d;
}

.main-nav a:hover {
  color: var(--rose-deep);
}

main {
  padding: 2.5rem 0 4rem;
}

section {
  padding: 3.2rem 0;
}

.hero {
  position: relative;
  padding-top: 4rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: inline-flex;
  background: #ffe1dc;
  color: var(--rose-deep);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.7vw, 3.65rem);
  max-width: 14ch;
}

.hero p {
  font-size: 1.04rem;
  max-width: 52ch;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.75rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(130deg, var(--rose), var(--rose-deep));
  color: #fff;
  box-shadow: 0 8px 16px rgba(216, 109, 120, 0.24);
}

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

.btn-secondary {
  border-color: rgba(216, 109, 120, 0.45);
  background: rgba(255, 255, 255, 0.95);
}

.btn-secondary:hover {
  background: #ffe7e4;
}

.btn-disabled {
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.btn-disabled.btn-primary {
  background: linear-gradient(130deg, #e9c0c2, #d5a8ad);
  color: rgba(255, 255, 255, 0.92);
}

.btn-disabled.btn-secondary {
  border-color: rgba(216, 109, 120, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(45, 36, 34, 0.6);
}

.btn-disabled:hover {
  background: inherit;
  transform: none;
}

.trust-line {
  margin-top: 0.95rem;
  font-size: 0.875rem;
  color: #70514b;
}

.hero-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: linear-gradient(160deg, var(--surface), #fff4f0);
  padding: 0.35rem;
  box-shadow: var(--shadow);
}

.phone-shell {
  border-radius: 22px;
  border: 1px solid #f5cbc1;
  background: #fff;
  padding: 0.3rem;
}

.phone-shell .feature-figure {
  margin: 0;
}

.phone-shell .feature-figure img {
  width: 100%;
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
  object-position: top;
  display: block;
  height: auto;
  aspect-ratio: auto;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.section-subtitle {
  font-size: 1rem;
  margin-top: 0.45rem;
}

.grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.grid.two-col {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: rgba(255, 250, 247, 0.76);
  padding: 1.2rem;
}

.card h3 {
  font-size: 1.15rem;
}

.card p,
.card li {
  color: var(--text-soft);
}

.feature-block {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.4rem;
  grid-template-columns: minmax(220px, 1.4fr) 1fr;
  align-items: center;
}

.feature-block.reverse {
  grid-template-columns: 1fr minmax(220px, 1.4fr);
}

.feature-copy h3,
.feature-copy p {
  margin-bottom: 0.65rem;
}

.feature-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #f5cbc1;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 0.3rem;
}

.feature-media .feature-figure {
  margin: 0;
}

.feature-media .feature-figure,
.feature-media .feature-figure img {
  width: 100%;
}

.feature-media .feature-figure img {
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
  object-position: top;
  display: block;
  height: auto;
  max-height: none;
  width: 100%;
  aspect-ratio: auto;
}

.feature-media img {
  width: 100%;
  height: auto;
  max-height: none;
}

.steps {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.step {
  display: flex;
  gap: 0.9rem;
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: linear-gradient(130deg, var(--rose), var(--rose-soft));
  color: #5f3030;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.tiers {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.tier {
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.85);
}

.tier.premium {
  border-color: rgba(216, 109, 120, 0.45);
  background: linear-gradient(170deg, #fff7f6, #ffe4dd);
}

.tier ul {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
}

.tier li {
  margin: 0.5rem 0;
  padding-left: 1.15rem;
  position: relative;
}

.tier li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rose-deep);
}

.faq-list {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1rem 1.05rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: #3d2c2a;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  transition: transform 0.2s ease;
  color: var(--rose-deep);
}

.faq-question[aria-expanded="true"]::after {
  content: "–";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}

.faq-answer.open {
  max-height: 320px;
}

.faq-answer p {
  padding: 0 1rem 1rem;
}

.cta-band {
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  border: 1px solid #f6b8ab;
  background: linear-gradient(130deg, #ffd8d2, #fff0ec);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

footer {
  margin-top: 1rem;
  border-top: 1px solid rgba(214, 141, 132, 0.23);
  padding: 1.6rem 0 2.8rem;
  font-size: 0.9rem;
  color: #54403c;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.8rem 1.2rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-shell h1 {
  margin-bottom: 0.65rem;
}

.legal-shell .card {
  margin-bottom: 1.2rem;
}

.legal-shell ul {
  margin: 0.6rem 0 0 1.2rem;
}

.muted-section {
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    font-size: 1.8rem;
  }

  .hero-brand-icon {
    width: 2.15rem;
    height: 2.15rem;
  }

  .hero-brand-name {
    font-size: 1.85rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-wrap {
    padding: 0 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .hero-card {
    animation: none;
  }
}
