/* ------------------------------
   Base & Tokens
--------------------------------- */
:root {
  --color-bg: #fff6f8;
  --color-card: #ffe9f1;
  --color-card-alt: #fffafc;
  --color-primary: #f7a8c4;
  --color-primary-soft: #ffd1e2;
  --color-text: #3c2a2a;
  --color-muted: #7a5f5f;
  --color-gold: #d9a441;
  --color-line: rgba(166, 117, 117, 0.35);
  --shadow-soft: 0 16px 40px rgba(158, 93, 111, 0.18);
  --shadow-subtle: 0 10px 26px rgba(158, 93, 111, 0.12);
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --container-width: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.page--legal main {
  padding-bottom: 5rem;
}

/* ------------------------------
   Header / Navigation
--------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(255, 246, 248, 0.92),
    rgba(255, 246, 248, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(247, 168, 196, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(158, 93, 111, 0.3);
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__tagline {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav__link {
  font-size: 0.9rem;
  padding: 6px 0;
  color: var(--color-muted);
  position: relative;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.site-nav__link:hover::after,
.site-nav__link--active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  padding: 4px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
}

/* ------------------------------
   Buttons
--------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background-color 0.12s ease-out, color 0.12s ease-out;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), #ffb7d0);
  color: #3a2020;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(158, 93, 111, 0.24);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-text);
  border: 1px solid rgba(247, 168, 196, 0.6);
  box-shadow: 0 8px 20px rgba(158, 93, 111, 0.14);
}

.btn--ghost:hover {
  background: #ffffff;
}

.btn--sm {
  padding: 8px 14px;
  font-size: 0.82rem;
}

/* ------------------------------
   Hero
--------------------------------- */
.hero {
  padding: 40px 0 30px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 30px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero__logo-shell {
  width: 72px;
  height: 72px;
  border-radius: 26px;
  padding: 10px;
  background: radial-gradient(circle at 10% 0, #ffffff, var(--color-card));
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: contain;
}

.hero__title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0;
  letter-spacing: 0.01em;
}

.hero__subtitle {
  font-size: 1.1rem;
  margin: 0;
  color: var(--color-muted);
  font-weight: 500;
}

.hero__cta {
  margin-top: 4px;
}

.hero__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero-phone {
  position: relative;
}

.hero-phone__frame {
  position: relative;
  width: 250px;
  max-width: 100%;
  aspect-ratio: 9 / 18;
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(150deg, #f7a8c4, #ffe0ed);
  box-shadow: 0 30px 70px rgba(158, 93, 111, 0.4);
}

.hero-phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  background: #fff;
}

.hero-phone__glow {
  position: absolute;
  inset: auto 0 -40px;
  height: 40px;
  background: radial-gradient(
    circle,
    rgba(247, 168, 196, 0.45),
    transparent 60%
  );
  filter: blur(6px);
  z-index: -1;
}

/* ------------------------------
   Sections
--------------------------------- */
.section {
  padding: 32px 0;
}

.section--alt {
  background: radial-gradient(
      circle at top right,
      rgba(255, 228, 238, 0.9),
      transparent 60%
    ),
    #fff8fb;
}

.section__header {
  margin-bottom: 22px;
  max-width: 640px;
}

.section__header--tight {
  max-width: 520px;
}

.section__title {
  font-size: 1.6rem;
  margin: 0 0 6px;
}

.section__subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.body-text {
  margin: 0 0 10px;
  font-size: 0.97rem;
  color: var(--color-text);
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0;
  font-size: 0.95rem;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.8rem;
  color: var(--color-gold);
}

/* ------------------------------
   Mood Cards
--------------------------------- */
.mood-scroll {
  overflow-x: auto;
  padding-bottom: 10px;
  margin: 0 -20px;
  padding-left: 20px;
}

.mood-scroll__rail {
  display: inline-flex;
  gap: 14px;
  padding-right: 20px;
}

.mood-card {
  min-width: 220px;
  max-width: 250px;
  background: linear-gradient(
    140deg,
    var(--color-card),
    rgba(255, 255, 255, 0.95)
  );
  border-radius: 22px;
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(247, 168, 196, 0.7);
}

.mood-card__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-muted);
  font-size: 0.75rem;
  padding: 3px 10px;
  border: 1px solid rgba(247, 168, 196, 0.7);
  margin-bottom: 8px;
}

.mood-card__title {
  font-size: 1rem;
  margin: 0 0 6px;
}

.mood-card__text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--color-muted);
}

/* ------------------------------
   Timeline
--------------------------------- */
.timeline {
  position: relative;
  padding: 10px 0 4px;
}

.timeline__line {
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  border-left: 2px dashed var(--color-line);
}

.timeline__step {
  position: relative;
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  background: #fff;
  position: relative;
  top: 6px;
}

.timeline__card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  padding: 10px 14px 12px;
  box-shadow: 0 10px 22px rgba(158, 93, 111, 0.12);
  border: 1px solid rgba(247, 168, 196, 0.55);
}

.timeline__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}

.timeline__title {
  margin: 3px 0 4px;
  font-size: 1rem;
}

.timeline__text {
  margin: 0;
  font-size: 0.87rem;
  color: var(--color-muted);
}

/* ------------------------------
   Illustration Cards
--------------------------------- */
.illus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.illus-card {
  border-radius: 22px;
  padding: 16px 16px 18px;
  background: radial-gradient(
      circle at top left,
      rgba(247, 168, 196, 0.22),
      transparent 55%
    ),
    rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(247, 168, 196, 0.6);
  box-shadow: var(--shadow-subtle);
}

.illus-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid rgba(247, 168, 196, 0.7);
}

.illus-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-text);
}

.illus-card__title {
  margin: 0 0 5px;
  font-size: 1rem;
}

.illus-card__text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--color-muted);
}

/* ------------------------------
   Split Layout
--------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.split__item {
  min-width: 0;
}

/* ------------------------------
   Legal cards
--------------------------------- */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.legal-card {
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(247, 168, 196, 0.7);
  box-shadow: 0 10px 22px rgba(158, 93, 111, 0.12);
}

.legal-card__title {
  margin: 0 0 6px;
  font-size: 1rem;
}

.legal-card__text {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.legal-card__link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ------------------------------
   Footer
--------------------------------- */
.site-footer {
  border-top: 1px solid rgba(247, 168, 196, 0.6);
  margin-top: 30px;
  background: linear-gradient(
    to top,
    rgba(255, 228, 238, 0.9),
    rgba(255, 246, 248, 0.98)
  );
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  align-items: flex-start;
}

.site-footer__brand {
  max-width: 360px;
}

.site-footer__title {
  font-weight: 700;
  display: block;
}

.site-footer__tagline {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.site-footer__links {
  display: flex;
  gap: 30px;
  font-size: 0.86rem;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer__col a {
  color: var(--color-text);
}

.site-footer__bottom {
  border-top: 1px dashed rgba(166, 117, 117, 0.4);
  font-size: 0.78rem;
  color: var(--color-muted);
}

.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px 14px;
}

/* ------------------------------
   Legal / Content Pages
--------------------------------- */
.legal-hero {
  padding: 30px 0 16px;
}

.legal-hero__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}

.legal-hero__title {
  font-size: 1.7rem;
  margin: 4px 0 6px;
}

.legal-hero__meta {
  font-size: 0.86rem;
  color: var(--color-muted);
}

.legal-card--content {
  margin-top: 20px;
  padding: 18px 18px 20px;
}

.legal-content h2 {
  font-size: 1.1rem;
  margin-top: 18px;
  margin-bottom: 4px;
}

.legal-content h3 {
  font-size: 1rem;
  margin-top: 12px;
  margin-bottom: 4px;
}

.legal-content p {
  margin: 4px 0 6px;
  font-size: 0.9rem;
}

.legal-content ul {
  margin: 4px 0 8px 18px;
  padding-left: 0;
  font-size: 0.9rem;
}

.legal-content li {
  margin-bottom: 2px;
}

.legal-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ------------------------------
   FAQ Page
--------------------------------- */
.faq-search {
  margin: 20px 0 16px;
}

.faq-search__label {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.faq-search__input-wrap {
  position: relative;
}

.faq-search__input {
  width: 100%;
  padding: 10px 34px 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 168, 196, 0.8);
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.9rem;
  outline: none;
}

.faq-search__input::placeholder {
  color: rgba(122, 95, 95, 0.6);
}

.faq-search__icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--color-muted);
}

.faq-list {
  margin-top: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(247, 168, 196, 0.6);
  box-shadow: 0 10px 22px rgba(158, 93, 111, 0.12);
}

.faq-item + .faq-item {
  border-top: 1px solid rgba(247, 168, 196, 0.4);
}

.faq-item__button {
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  cursor: pointer;
}

.faq-item__title {
  margin-right: 10px;
}

.faq-item__toggle {
  font-size: 1rem;
  color: var(--color-muted);
}

.faq-item__body {
  padding: 0 14px 10px;
  font-size: 0.9rem;
  color: var(--color-muted);
  display: none;
}

.faq-item--open .faq-item__body {
  display: block;
}

.faq-empty {
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--color-muted);
}

/* ------------------------------
   Responsive
--------------------------------- */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__content {
    align-items: center;
    text-align: center;
  }

  .hero__note {
    max-width: 360px;
  }

  .hero__visual {
    order: -1;
  }

  .illus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    padding-inline: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    padding: 10px 16px 12px;
    background: rgba(255, 246, 248, 0.98);
    border-bottom: 1px solid rgba(247, 168, 196, 0.5);
    flex-direction: column;
    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.14s ease-out, transform 0.14s ease-out;
  }

  .site-nav--open,
  .nav-open .site-nav {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .site-nav__link {
    padding: 4px 0;
  }

  .hero {
    padding-top: 26px;
  }

  .section {
    padding: 26px 0;
  }

  .illus-grid {
    grid-template-columns: 1fr;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__links {
    justify-content: space-between;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    gap: 4px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .section__title {
    font-size: 1.4rem;
  }

  .brand__name {
    font-size: 1rem;
  }

  .site-footer__links {
    flex-direction: column;
    gap: 10px;
  }
}


