:root {
  --bg: #fff7f4;
  --bg-2: #fffaf7;
  --card: rgba(255, 255, 255, 0.88);
  --text: #3b2a24;
  --soft: #8b746b;
  --muted: #a58f87;
  --pink: #ffd7dc;
  --pink-2: #ffe7e5;
  --pink-dark: #d96b82;
  --shadow: rgba(72, 42, 34, 0.13);
  --shadow-strong: rgba(72, 42, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
}

/* SHARED BACKGROUND */

.home-body,
.faq-body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 216, 226, 0.9) 0, transparent 34%),
    radial-gradient(circle at top right, rgba(255, 236, 218, 0.95) 0, transparent 32%),
    linear-gradient(180deg, #fffaf7 0%, var(--bg) 100%);
}

/* HOME / BIO PAGE */

.home-body {
  padding: 18px 16px 24px;
}

.page {
  max-width: 460px;
  margin: 0 auto;
}

.hero {
  text-align: center;
  padding: 6px 18px 16px;
}

/* HOME LOGO */

.logo-badge {
  width: clamp(230px, 45vw, 390px);
  height: clamp(82px, 13vw, 125px);
  max-width: 100%;
  margin: 0 auto 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: visible;
}

.logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* BRAND TEXT */

.subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  margin: 0;
  color: var(--soft);
}

.description {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  margin: 16px 0 0;
  color: var(--soft);
}

.heart {
  color: var(--pink-dark);
  margin: 12px 0;
  font-size: 16px;
}

/* HOME BANNER */

.banner {
  background: linear-gradient(135deg, #ffd3db, #ffe7e5);
  border-radius: 22px;
  padding: 17px 18px;
  margin: 10px 0 18px;
  text-align: center;
  box-shadow: 0 8px 24px var(--shadow);
}

.banner-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 5px;
}

.banner-text {
  font-size: 14px;
  color: var(--text);
}

/* HOME BUTTONS */

.button {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  text-decoration: none;
  color: var(--text);
  padding: 16px;
  border-radius: 20px;
  margin: 12px 0;
  box-shadow: 0 7px 22px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}

.button-text {
  flex: 1;
  text-align: left;
}

.button-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 3px;
}

.button-subtitle {
  font-size: 13px;
  color: var(--soft);
  line-height: 1.3;
}

.arrow {
  font-size: 24px;
  color: var(--soft);
}

/* E-BOOK SECTION */

.ebook-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 104px;
  align-items: center;
  gap: 14px;
  background: var(--card);
  color: var(--text);
  padding: 16px;
  border-radius: 20px;
  margin: 12px 0;
  box-shadow: 0 7px 22px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ebook-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

.ebook-content {
  text-align: left;
  min-width: 0;
}

.ebook-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.ebook-text {
  font-size: 13px;
  color: var(--soft);
  line-height: 1.35;
}

.ebook-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  justify-content: center;
}

.ebook-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  min-height: 38px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(72, 42, 34, 0.10);
}

.ebook-choice:active {
  transform: scale(0.98);
}

/* SOCIAL */

.social-title {
  text-align: center;
  margin: 28px 0 12px;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--soft);
  text-transform: uppercase;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.social {
  background: var(--card);
  border-radius: 18px;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 7px 22px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.footer {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--soft);
  line-height: 1.7;
}

.error {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--soft);
  box-shadow: 0 7px 22px var(--shadow);
}

/* FAQ PAGE */

.faq-body {
  padding: 18px 16px 28px;
}

.faq-page {
  max-width: 520px;
  margin: 0 auto;
}

.faq-hero {
  position: relative;
  text-align: center;
  padding: 12px 18px 20px;
  margin-bottom: 6px;
}

.faq-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(76vw, 330px);
  height: 105px;
  margin: 0 auto 4px;
  text-decoration: none;
}

.faq-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.faq-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 4px auto 12px;
  padding: 7px 13px;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 7px 20px rgba(72, 42, 34, 0.08);

  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--soft);
}

.faq-hero h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(34px, 7vw, 48px);
  line-height: 1.03;
  font-weight: 400;
  color: var(--text);
}

.faq-hero p {
  max-width: 390px;
  margin: 13px auto 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--soft);
}

.faq-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);

  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 700;

  box-shadow: 0 8px 24px rgba(72, 42, 34, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.96);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.faq-section {
  display: grid;
  gap: 12px;
}

.faq-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  box-shadow: 0 9px 26px rgba(72, 42, 34, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.96);
  overflow: hidden;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  min-height: 66px;
  padding: 18px 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

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

.faq-card summary::after {
  content: "+";
  width: 31px;
  height: 31px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  background: linear-gradient(135deg, #ffd3db, #ffe7e5);
  color: var(--pink-dark);

  font-size: 22px;
  line-height: 1;
  font-weight: 400;
}

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

.faq-answer {
  padding: 0 18px 18px;
  color: var(--soft);
  font-size: 14.5px;
  line-height: 1.58;
}

.faq-answer p {
  margin: 0 0 10px;
}

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

.faq-answer strong {
  color: var(--text);
  font-weight: 700;
}

.faq-cta {
  margin: 18px 0 12px;
  padding: 22px 20px;
  border-radius: 26px;

  text-align: center;
  background: linear-gradient(135deg, #ffd3db, #ffe7e5);
  box-shadow: 0 10px 28px rgba(72, 42, 34, 0.13);
}

.faq-cta-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 10px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.72);
  color: var(--pink-dark);
  font-size: 20px;
}

.faq-cta h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
}

.faq-cta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}

/* MENU PAGE */

.menu-body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #fff8f5;
  font-family: Arial, sans-serif;
  padding: 0;
}

.menu-back-button {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 18px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.92);
  color: #2b1f1b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;

  box-shadow: 0 8px 24px rgba(43, 31, 27, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.menu-frame {
  position: fixed;
  width: 100%;
  height: 100%;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
}

/* MOBILE */

@media (max-width: 480px) {
  .home-body,
  .faq-body {
    padding-top: 14px;
  }

  .hero {
    padding-top: 4px;
    padding-bottom: 14px;
  }

  .logo-badge {
    width: min(82vw, 310px);
    height: 96px;
    margin-bottom: 6px;
  }

  .faq-page {
    max-width: 100%;
  }

  .faq-hero {
    padding-top: 6px;
  }

  .faq-logo-link {
    width: min(78vw, 300px);
    height: 92px;
  }

  .faq-hero h1 {
    font-size: 36px;
  }

  .faq-card summary {
    font-size: 15px;
    min-height: 62px;
    padding: 16px 16px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }
}

@media (max-width: 360px) {
  .ebook-card {
    grid-template-columns: 36px minmax(0, 1fr) 92px;
    gap: 10px;
    padding: 14px;
  }

  .ebook-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .ebook-title {
    font-size: 15px;
  }

  .ebook-text {
    font-size: 12px;
  }

  .ebook-choice {
    width: 92px;
    min-height: 36px;
    font-size: 13px;
  }

  .faq-hero h1 {
    font-size: 32px;
  }
}
