/* MOON — лендинг. Дизайн-система v2 (MOLODAY brandbook) */
:root {
  /* Brand palette — v1 coral */
  --nude: #F5F4F1;
  --earth: #2B1B13;
  --opora: #15192A;
  --sky: #ECF3FB;
  --deep: #FF6B5C;
  --deep-hover: #FF8A7A;
  --breath: #FF8A7A;
  --coral-soft: #FFE8E4;
  --coral-softer: #FFF1ED;
  --emerald: #2D8B5F;
  --gold: #D4A574;
  --gold-soft: #FAF1E2;
  --gold-edge: #E8D2AE;

  /* Surfaces */
  --bg: #FAF8F5;
  --bg-pure: #FFFFFF;
  --ink: var(--opora);
  --muted: #5C5C63;
  --muted-2: #8A8A93;
  --line: rgba(37, 37, 40, 0.10);
  --line-2: rgba(37, 37, 40, 0.18);

  --r-card: 18px;
  --r-card-sm: 14px;
  --r-pill: 999px;
  --shadow-soft: 0 4px 24px rgba(37,37,40,.06);
  --shadow-card: 0 1px 2px rgba(37,37,40,.04), 0 18px 40px -22px rgba(37,37,40,.10);

  --sans: 'Helvetica Neue', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Tracking helpers */
  --tr-200: 0.2em;
  --tr-100: 0.1em;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg-pure);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 36px; }
.section { padding: 80px 0; position: relative; }
.section.tight { padding: 56px 0; }
.section.warm { background: var(--bg); }
.section.nude { background: linear-gradient(180deg, #FFFFFF 0%, var(--coral-softer) 100%); }

/* Wave divider — MOLODAY emblem inspired */
.wave {
  height: 38px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'><path d='M0 18 C 100 6, 220 26, 360 18 C 500 10, 620 24, 760 14 C 900 6, 1020 22, 1200 16' fill='none' stroke='%239FB8BF' stroke-width='1' opacity='0.55'/></svg>") center / 100% 100% no-repeat;
}

/* Eyebrow — ALL CAPS sage tracker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px;
  letter-spacing: var(--tr-200);
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); flex: none; }
.eyebrow.dark { color: var(--opora); }
.eyebrow.dark .dot { background: var(--breath); }
.eyebrow.on-dark { color: rgba(255,255,255,.65); }
.eyebrow.on-dark .dot { background: rgba(255,255,255,.5); }

/* Headings — Helvetica Neue Medium, normal tracking */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; letter-spacing: 0; }
h1 {
  font-size: clamp(40px, 5.4vw, 68px); line-height: 1.06;
  font-weight: 500;
  text-wrap: balance;
}
h1 .em { font-weight: 600; color: var(--deep); }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 500; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 500; }
.lede { font-size: 18px; color: var(--muted); max-width: 60ch; line-height: 1.6; text-wrap: pretty; font-weight: 400; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 34px;
  font-weight: 500; font-size: 14px;
  letter-spacing: var(--tr-100);
  text-transform: uppercase;
  border-radius: var(--r-pill);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .2s ease; font-weight: 400; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--deep); color: white; box-shadow: 0 8px 24px -10px rgba(255,107,92,.55); }
.btn-primary:hover { background: var(--deep-hover); }
.btn-outline { background: transparent; color: var(--deep); border: 1.5px solid var(--deep); }
.btn-outline:hover { background: var(--deep); color: white; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { background: var(--bg); border-color: var(--opora); }
.btn-sm { padding: 11px 22px; font-size: 12px; }
.btn-lg { padding: 21px 40px; font-size: 14.5px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand .logo { font-weight: 500; letter-spacing: 0; font-size: 22px; color: var(--opora); }
.brand .logo .dot { color: var(--breath); }
.brand .by { color: var(--muted-2); font-size: 11px; letter-spacing: var(--tr-200); text-transform: uppercase; font-weight: 500; }
.nav-links { display: flex; gap: 32px; font-size: 12.5px; color: var(--opora); letter-spacing: var(--tr-100); text-transform: uppercase; font-weight: 500; }
.nav-links a:hover { color: var(--deep); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* HERO */
.hero { padding: 56px 0 24px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start;
}
.hero-text .eyebrow { margin-bottom: 28px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .em { display: inline-block; }
.hero .lede { font-size: 18px; max-width: 56ch; }

.hero-divider {
  margin: 36px 0 28px;
  height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 12' preserveAspectRatio='none'><path d='M0 6 C 80 2, 180 12, 280 6 C 380 0, 480 12, 600 4' fill='none' stroke='%239FB8BF' stroke-width='1' opacity='0.55'/></svg>") left center / 240px 100% no-repeat;
}

.slogan {
  font-size: 16.5px; line-height: 1.55; color: var(--opora);
  max-width: 56ch;
}
.slogan .em { font-weight: 500; color: var(--opora); }
.slogan .stamp { color: var(--deep); font-weight: 500; display: block; margin-top: 6px; }

.hero-cta { margin-top: 32px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-fineprint { margin-top: 16px; font-size: 12.5px; color: var(--muted-2); letter-spacing: var(--tr-100); text-transform: uppercase; font-weight: 500; }

.hero-trust {
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; gap: 28px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted);
}
.hero-trust .item { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); flex: none; }

/* Hero visual — photo placeholder + floating phone */
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: flex-start;
  min-height: auto;
  margin-top: -16px;
}
.hero-glow {
  position: absolute; inset: -8% -10% -8% -10%; z-index: 0;
  background:
    radial-gradient(520px 520px at 65% 50%, rgba(206,200,190,.45), transparent 70%),
    radial-gradient(380px 380px at 25% 30%, rgba(159,184,191,.20), transparent 70%);
  filter: blur(10px);
}

.moon-photo {
  position: relative; z-index: 1;
  width: 100%; max-width: 400px;
  aspect-ratio: 837 / 1500;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(37,37,40,.18);
}
.moon-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
/* placeholder leftovers - hidden in case stale HTML still references them */
.moon-photo .ph-icon, .moon-photo .ph-corner-tl,
.moon-photo .ph-corner-br, .moon-photo .ph-label { display: none; }
.moon-photo .ph-icon {
  width: 56px; height: 56px;
  border: 1.5px solid var(--opora);
  border-radius: 50%;
  display: grid; place-items: center;
  position: absolute; inset: 0; margin: auto;
}
.moon-photo .ph-icon svg { width: 26px; height: 26px; stroke: var(--opora); stroke-width: 1.4; fill: none; }
.moon-photo .ph-corner-tl, .moon-photo .ph-corner-br {
  font-size: 11px; letter-spacing: var(--tr-200); text-transform: uppercase;
  color: var(--opora); font-weight: 500; opacity: .72;
}
.moon-photo .ph-corner-br { align-self: flex-end; text-align: right; max-width: 60%; }
.moon-photo .ph-label {
  position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%);
  font-size: 11px; letter-spacing: var(--tr-200); text-transform: uppercase;
  color: var(--opora); white-space: nowrap; font-weight: 500; opacity: .6;
}

/* PHONE MOCKUP — small, floating over photo */
.phone {
  position: absolute; right: -2%; bottom: -240px; z-index: 3;
  width: 230px;
  aspect-ratio: 230 / 460;
  background: #0e0f15;
  border-radius: 32px;
  padding: 6px;
  box-shadow:
    0 30px 60px -22px rgba(15,20,40,.32),
    0 1px 0 rgba(255,255,255,.05) inset,
    0 0 0 1px rgba(0,0,0,.6);
}
.phone-screen {
  position: relative;
  height: 100%; width: 100%;
  background: #EFEDE9;
  border-radius: 26px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 18px;
  background: #0e0f15; border-radius: 999px; z-index: 5;
}
.tg-status {
  height: 28px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; font-size: 9px; color: #2c3142; font-weight: 500;
  background: #EFEDE9;
}
.tg-status .right { display: flex; gap: 4px; align-items: center; }
.tg-status .signal { font-size: 7px; }
.tg-status .battery { width: 14px; height: 7px; border: 1px solid #2c3142; border-radius: 2px; position: relative; }
.tg-status .battery::after { content: ''; position: absolute; top: 1px; left: 1px; bottom: 1px; width: 70%; background: #2c3142; border-radius: 1px; }
.tg-header {
  display: flex; align-items: center; gap: 8px; padding: 7px 12px 8px;
  background: #FFFFFF; border-bottom: 1px solid rgba(0,0,0,.06);
}
.tg-back { color: #2A8AE2; font-size: 14px; line-height: 1; }
.tg-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFB1A4, #FF6B5C 70%);
  display: grid; place-items: center; color: white; font-weight: 600; font-size: 11px;
  flex: none;
}
.tg-title { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.tg-title .name { font-weight: 600; font-size: 10px; color: var(--opora); letter-spacing: var(--tr-100); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-title .sub { font-size: 8.5px; color: var(--deep); display: inline-flex; align-items: center; gap: 4px; margin-top: 1px; }
.tg-title .sub::before { content: ''; width: 4px; height: 4px; background: var(--deep); border-radius: 50%; }
.tg-body {
  flex: 1; overflow: hidden; padding: 10px 8px;
  background: linear-gradient(180deg, #F4F1EC 0%, #EAE6DF 100%);
  display: flex; flex-direction: column; gap: 5px;
}
.tg-day { align-self: center; font-size: 7.5px; color: #6c7388; background: rgba(255,255,255,.7); padding: 2px 7px; border-radius: 999px; margin: 1px 0 4px; letter-spacing: var(--tr-100); }
.bubble {
  max-width: 84%;
  padding: 6px 8px 7px;
  font-size: 10px; line-height: 1.35;
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(15,20,40,.05);
  word-wrap: break-word;
}
.bubble.user {
  align-self: flex-end; background: #DCEBFB; color: #15192A;
  border-bottom-right-radius: 3px;
}
.bubble.user.file { padding: 5px 6px 6px; }
.bubble.bot {
  align-self: flex-start; background: #FFFFFF; color: #15192A;
  border-bottom-left-radius: 3px;
}
.bubble .pdf {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 6px; background: rgba(255,255,255,.7); border-radius: 6px;
}
.bubble .pdf .ic { width: 18px; height: 22px; background: #FF5A4D; color: white; border-radius: 3px; display: grid; place-items: center; font-size: 7px; font-weight: 700; flex: none; }
.bubble .pdf-name { font-weight: 600; font-size: 9.5px; }
.bubble .pdf-meta { color: #8A91A4; font-size: 8.5px; margin-top: 1px; }
.bubble .meta { display: block; margin-top: 2px; font-size: 7.5px; color: #8A91A4; text-align: right; }
.typing { display: inline-flex; gap: 2px; padding: 1px 0 0; vertical-align: middle; margin-left: 3px; }
.typing span { width: 4px; height: 4px; border-radius: 50%; background: #8A91A4; animation: blink 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; transform: translateY(-2px); } }

/* Remove tg-input rules — input bar hidden in compact phone */
.tg-input { display: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-bottom: 16px;
  }
  .moon-photo { max-width: 360px; }
  /* Phone on mobile: still overlapping photo bottom-right (like desktop) */
  .phone {
    position: relative;
    right: auto; bottom: auto;
    width: 220px;
    margin-top: -200px;
    margin-right: -8px;
    align-self: flex-end;
    z-index: 5;
  }
  .hero-glow { display: none; }
}

@media (max-width: 480px) {
  .hero-visual { padding-bottom: 8px; }
  .moon-photo { max-width: 300px; }
  .phone {
    width: 180px;
    margin-top: -160px;
    margin-right: 0;
  }
}

/* SECTION HEADER */
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin-top: 14px; }
.sec-head .lede { margin-top: 18px; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }

/* DEMO TABS */
.demo-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
}
.demo-tab {
  padding: 11px 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-pure);
  font-size: 12px; color: var(--opora); font-weight: 500;
  letter-spacing: var(--tr-100); text-transform: uppercase;
  transition: all .18s ease;
}
.demo-tab.active { background: var(--opora); color: white; border-color: var(--opora); }
.demo-tab:hover:not(.active) { color: var(--deep); border-color: var(--deep); }

.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 820px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-card {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 360px;
}
.demo-card .hd {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.demo-card .label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--opora); font-weight: 500;
  letter-spacing: var(--tr-100); text-transform: uppercase;
}
.demo-card .label .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--coral-soft); color: var(--deep); display: grid; place-items: center; font-size: 14px; }
.demo-card .role { font-size: 11px; color: var(--muted-2); letter-spacing: var(--tr-100); text-transform: uppercase; }
.demo-card .chat { display: flex; flex-direction: column; gap: 8px; }
.demo-card .b {
  max-width: 88%; padding: 10px 14px; font-size: 14.5px; line-height: 1.45; border-radius: 14px;
}
.demo-card .b.u { align-self: flex-end; background: var(--sky); color: var(--opora); border-bottom-right-radius: 4px; }
.demo-card .b.m { align-self: flex-start; background: var(--coral-soft); color: var(--opora); border-bottom-left-radius: 4px; }
.demo-card .att {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 10px; background: rgba(255,255,255,.55); border-radius: 9px;
  font-size: 12.5px; color: var(--opora); border: 1px solid rgba(37,37,40,.08);
}

/* CAPABILITIES GRID */
.caps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 980px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }
.cap {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 26px 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cap:hover { transform: translateY(-2px); border-color: var(--breath); box-shadow: var(--shadow-soft); }
.cap .ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--coral-soft); color: var(--deep);
  display: grid; place-items: center; font-size: 22px;
}
.cap h3 { font-size: 19px; }
.cap p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* COMPARISON */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
.compare .col {
  border-radius: var(--r-card);
  padding: 32px 30px 36px;
  background: var(--bg-pure);
  border: 1px solid var(--line);
}
.compare .col.bad { background: #F5F4F1; }
.compare .col.bad h3 { color: var(--muted); }
.compare .col.good {
  background: var(--bg-pure);
  border: 1.5px solid var(--deep);
  box-shadow: 0 30px 60px -30px rgba(10,43,61,.20);
  position: relative;
}
.compare .col.good::after {
  content: 'MOON';
  position: absolute; top: -12px; right: 22px;
  background: var(--deep); color: white; padding: 4px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: var(--tr-200);
}
.compare h3 { font-size: 22px; margin-bottom: 18px; }
.compare ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.compare li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; }
.compare li .mk { width: 22px; flex: none; font-weight: 500; }
.compare .bad li .mk { color: var(--muted-2); }
.compare .good li .mk { color: var(--emerald); }
.compare-note { margin-top: 22px; font-size: 12.5px; color: var(--muted-2); text-align: center; letter-spacing: var(--tr-100); text-transform: uppercase; }

/* CASES */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 820px) { .cases { grid-template-columns: 1fr; } }
.case {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px 30px 30px;
  display: flex; flex-direction: column; gap: 16px;
}
.case .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--coral-soft); color: var(--deep);
  display: grid; place-items: center; font-size: 20px;
}
.case h3 { font-size: 22px; line-height: 1.25; }
.case p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.case .quote {
  border-left: 2px solid var(--breath);
  padding: 4px 0 4px 16px;
  font-style: italic; color: var(--opora); font-size: 15.5px;
  margin-top: auto;
}

/* PHILOSOPHY (dark statement) */
.philosophy {
  background: var(--opora);
  color: white;
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 1100px; height: 1100px;
  background: radial-gradient(closest-side, rgba(255,107,92,.14), transparent 70%);
  z-index: 0;
}
.philosophy .inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; padding: 0 36px; }
.philosophy .eyebrow { color: rgba(255,255,255,.55); letter-spacing: var(--tr-200); }
.philosophy .eyebrow .dot { background: var(--breath); }
.philosophy h2 { color: white; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; font-weight: 400; margin-top: 24px; max-width: 760px; margin-left: auto; margin-right: auto; }
.philosophy .stamp {
  margin-top: 22px; font-size: clamp(20px, 2.2vw, 26px); color: var(--breath); font-weight: 500;
}

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.step .num {
  font-size: 84px; font-weight: 500; line-height: 1;
  color: var(--coral-soft);
  letter-spacing: -.03em;
  margin-bottom: 4px;
}
.step .meta {
  font-size: 11px; letter-spacing: var(--tr-200); text-transform: uppercase;
  color: var(--breath); font-weight: 500; display: inline-flex; align-items: center; gap: 8px;
}
.step h3 { font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.steps-cta { margin-top: 44px; text-align: center; }

/* PRICING */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.plan {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px 28px 30px;
  display: flex; flex-direction: column; gap: 18px;
}
.plan.popular {
  border: 1.5px solid var(--deep);
  box-shadow: 0 30px 60px -30px rgba(10,43,61,.22);
  position: relative;
  transform: translateY(-6px);
}
.plan.popular .pop {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--deep); color: white;
  padding: 6px 16px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: var(--tr-200); text-transform: uppercase;
}
@media (max-width: 900px) { .plan.popular { transform: none; } }
.plan h3 { font-size: 14px; letter-spacing: var(--tr-200); text-transform: uppercase; color: var(--breath); font-weight: 500; }
.plan .price { font-size: 40px; font-weight: 500; letter-spacing: -.01em; color: var(--opora); }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.plan li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--coral-soft); flex: none; margin-top: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3.5 7.2 L6 9.5 L10.5 4.7' fill='none' stroke='%23FF6B5C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 14px 14px;
}
.plan .btn { justify-content: center; width: 100%; padding: 14px 20px; font-size: 12px; }
.plan-cta { display: flex; flex-direction: column; gap: 10px; }
.pricing-note { margin-top: 28px; font-size: 12.5px; color: var(--muted-2); text-align: center; font-style: italic; }

/* GIFT */
.gift {
  background: linear-gradient(135deg, var(--gold-soft) 0%, #FBF6EA 100%);
  border: 1px solid var(--gold-edge);
  border-radius: 24px;
  padding: 52px 52px;
  position: relative;
  overflow: hidden;
}
.gift::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(212,165,116,.20), transparent 70%);
}
.gift .gift-head {
  display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px;
  flex-wrap: wrap;
}
.gift .gift-head h2 { max-width: 560px; }
.gift-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
@media (max-width: 820px) { .gift-cols { grid-template-columns: 1fr; } }
.gift-col {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--gold-edge);
  border-radius: var(--r-card);
  padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.gift-col .ic { font-size: 24px; color: var(--gold); }
.gift-col h3 { font-size: 22px; }
.gift-col p { color: var(--muted); margin: 0; font-size: 14.5px; line-height: 1.55; }
.gift-note { margin-top: 22px; font-size: 12.5px; color: var(--muted-2); font-style: italic; position: relative; z-index: 1; }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); padding: 8px 0; }
.qa summary {
  list-style: none; cursor: pointer;
  padding: 22px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 19px; font-weight: 500; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center; font-size: 18px; color: var(--muted);
  flex: none;
  transition: transform .25s ease, background .2s ease, color .2s ease;
}
.qa[open] summary .plus { transform: rotate(45deg); background: var(--deep); color: white; border-color: var(--deep); }
.qa .a { padding: 0 60px 22px 4px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* FINAL CTA */
.final {
  text-align: center;
  padding: 132px 0 132px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--coral-softer) 100%);
  position: relative; overflow: hidden;
}
.final::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 760px; height: 760px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,138,122,.18), transparent 70%);
  z-index: 0;
}
.final-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 32px; }
.final h2 { font-size: clamp(34px, 4.4vw, 52px); }
.final .lede { margin: 22px auto 36px; font-size: 18px; }
.final .btn { padding: 21px 40px; font-size: 14px; }
.final .fineprint { margin-top: 16px; font-size: 12.5px; color: var(--muted-2); letter-spacing: var(--tr-100); text-transform: uppercase; }

/* FOOTER */
.foot { padding: 80px 0 40px; background: var(--opora); color: rgba(255,255,255,.65); font-size: 14px; }
.foot a:hover { color: white; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot h4 { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: var(--tr-200); text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot .brand .logo { color: white; font-size: 24px; font-weight: 500; }
.foot .brand .logo .dot { color: var(--breath); }
.foot .brand .by { color: rgba(255,255,255,.5); }
.foot .foot-rule { height: 1px; background: rgba(255,255,255,.12); margin: 20px 0; }
.foot .manifesto { font-size: 14px; line-height: 1.6; color: var(--breath); max-width: 320px; }
.foot .manifesto .stamp { color: var(--breath); display: block; font-weight: 500; margin-top: 6px; }
.foot-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.10);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11.5px; color: rgba(255,255,255,.4); letter-spacing: var(--tr-100); text-transform: uppercase;
}

/* TWEAKS PANEL */
.tw-panel {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 300px; padding: 18px 18px 16px;
  background: var(--opora); color: white;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
  font-size: 13px; display: none;
}
.tw-panel.active { display: block; }
.tw-row { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.07); }
.tw-row:first-of-type { border-top: 0; }
.tw-row .label { font-size: 10px; color: rgba(255,255,255,.5); letter-spacing: var(--tr-200); text-transform: uppercase; }
.tw-seg { display: flex; gap: 4px; padding: 3px; background: rgba(255,255,255,.06); border-radius: 999px; }
.tw-seg button { flex: 1; padding: 7px 10px; border-radius: 999px; color: rgba(255,255,255,.7); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.tw-seg button.on { background: white; color: var(--opora); }
.tw-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 4px; }
.tw-head .ttl { font-weight: 500; font-size: 12px; letter-spacing: var(--tr-200); text-transform: uppercase; }
.tw-head .x { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.08); color: white; display: grid; place-items: center; font-size: 12px; }

/* Layout variants for hero */
body[data-hero-layout="centered"] .hero-grid { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; text-align: center; }
body[data-hero-layout="centered"] .hero-text .lede,
body[data-hero-layout="centered"] .slogan { margin-left: auto; margin-right: auto; }
body[data-hero-layout="centered"] .hero-cta,
body[data-hero-layout="centered"] .hero-trust { justify-content: center; }
body[data-hero-layout="centered"] .hero-divider { background-position: center; margin-left: auto; margin-right: auto; max-width: 240px; }
body[data-hero-layout="centered"] .hero-visual { display: none; }

/* Block 22: tighter spacing on mobile */
@media (max-width: 820px) {
  .section { padding: 56px 0; }
  .section.tight { padding: 40px 0; }
  .hero { padding: 32px 0 16px; }
  .philosophy { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
}
@media (max-width: 480px) {
  .section { padding: 44px 0; }
  .hero { padding: 24px 0 12px; }
  .philosophy { padding: 52px 0; }
}

/* Block 23: brand stacks vertically on mobile (BY MOLODAY under MOON) */
@media (max-width: 820px) {
  .nav .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.1;
  }
  .nav .brand .logo { font-size: 20px; }
  .nav .brand .by { font-size: 10px; }
}

