/* =========================================================
   Metis — Landing page styles
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
  padding: clamp(32px, 6vw, 56px) 0 clamp(48px, 8vw, 88px);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-left { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 9vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex; flex-direction: column;
}
.hero-title em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--moss-deep);
}
.hero-body { max-width: 480px; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { color: var(--ink-3); font-size: 12px; letter-spacing: 0.02em; }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
}
@media (max-width: 720px) {
  .hero-inner { gap: 32px; }
  .hero-left { align-items: stretch; width: 100%; }
  .store-row { flex-direction: column; align-items: stretch; }
  .store-row .store-btn { justify-content: center; width: 100%; max-width: 280px; }
}

/* ---------- Phone mock ---------- */
.hero-right { display: flex; justify-content: center; }
.phone-stack {
  position: relative;
  width: min(380px, 100%);
  max-width: 100%;
  height: 560px;
  margin: 0 auto;
}
@media (max-width: 520px) {
  .phone-stack {
    transform: scale(0.82);
    transform-origin: top center;
    margin-bottom: -56px;
  }
}
@media (max-width: 360px) {
  .phone-stack {
    transform: scale(0.74);
    margin-bottom: -72px;
  }
}
.phone {
  position: absolute;
  width: 280px;
  height: 540px;
  border-radius: 42px;
  background: #1A1E1C;
  padding: 8px;
  box-shadow: var(--shadow-card);
}
.phone-front {
  left: 80px; top: 20px;
  z-index: 2;
}
.phone-back {
  left: 0; top: 0;
  z-index: 1;
  transform: rotate(-6deg);
  opacity: .92;
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #1A1E1C;
  border-radius: 12px;
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 34px;
  padding: 32px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  position: relative;
}
.phone-screen-dark {
  background: var(--moss-deep);
  color: #fff;
}

/* phone front content */
.ps-row { display: flex; align-items: center; justify-content: space-between; }
.ps-greet-l1 { font-family: var(--sans); font-size: 12px; color: var(--ink-3); }
.ps-greet-l2 { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--ink); }
.ps-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-mint-2); }
.ps-prompt { background: #fff; border-radius: 16px; padding: 14px; border: 1px solid var(--line-soft); margin-top: 6px; }
.ps-prompt-lbl { font-family: var(--sans); font-weight: 700; font-size: 9px; letter-spacing: 0.12em; color: var(--ink-3); }
.ps-prompt-q { font-family: var(--serif); font-size: 15px; margin: 4px 0 12px; color: var(--ink); line-height: 1.3; }
.ps-mood-row { display: flex; justify-content: space-between; gap: 6px; }
.ps-mood {
  flex: 1; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--ink-3);
}
.ps-mood.on { background: var(--moss); border-color: var(--moss-deep); color: #fff; }
.ps-card { background: #fff; border-radius: 14px; padding: 12px; border: 1px solid var(--line-soft); }
.ps-card-row { display: flex; align-items: center; gap: 12px; }
.ps-card-ico { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-mint); display: flex; align-items: center; justify-content: center; color: var(--moss-deep); font-size: 14px; }
.ps-card-ico.ps-pill { background: rgba(122,58,58,.1); color: var(--accent); font-weight: 700; }
.ps-card-t { font-family: var(--sans); font-weight: 600; font-size: 13px; color: var(--ink); }
.ps-card-s { font-size: 11px; color: var(--ink-3); }
.ps-fab {
  position: absolute; bottom: 18px; right: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1;
}

/* phone back (dark) */
.ps-tag { font-family: var(--sans); font-size: 9px; font-weight: 700; letter-spacing: 0.14em; opacity: .7; }
.ps-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bg-mint-2); }
.ps-bigserif { font-family: var(--serif); font-size: 24px; color: #fff; }
.ps-chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; height: 110px; padding: 6px 0; }
.ps-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--bg-mint-2), rgba(194,220,207,.25));
  border-radius: 4px;
  min-height: 12%;
}
.ps-rule { height: 1px; background: rgba(255,255,255,.12); }
.ps-mini { display: flex; align-items: baseline; gap: 10px; }
.ps-mini-num { font-family: var(--serif); font-size: 24px; color: #fff; }
.ps-mini-lbl { font-size: 11px; opacity: .7; }

/* ---------- Doors ---------- */
.section-doors { padding-top: clamp(48px, 8vw, 80px); }
.doors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.door {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  overflow: hidden;
}
.door::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--moss);
}
.door-pro { background: var(--moss-deep); color: #fff; border-color: var(--moss-deep); }
.door-pro p,
.door-pro .door-bullets li {
  color: rgba(255, 255, 255, 0.97);
}
.door-pro .door-bullets {
  border-top-color: rgba(255, 255, 255, 0.22);
}
.door-pro .door-bullets li::before {
  background: rgba(255, 255, 255, 0.92);
  height: 2px;
  top: 10px;
}
.door-pro::before { background: var(--gold); }
.door-pro .door-title, .door-pro .kicker { color: #fff; }
.door-pro .kicker { color: rgba(255,255,255,.78); letter-spacing: 0.18em; }
.door-title { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--ink); }
.door-bullets {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.door-pro .door-bullets { border-top-color: rgba(255,255,255,.15); }
.door-bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
}
.door-bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 1px; background: var(--moss);
}
.door-pro .door-bullets li::before { background: var(--gold); }
.door .btn { align-self: flex-start; margin-top: 8px; }
.door-pro .btn-primary { background: #fff; color: var(--moss-deep); }
.door-pro .btn-primary:hover { background: var(--bg-mint-2); }

@media (max-width: 800px) {
  .doors-grid { grid-template-columns: 1fr; }
  .door { padding: 32px 24px; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: flex-start;
}
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  margin: 40px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.about-quote cite {
  font-style: normal;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
}
.about-stats {
  display: flex; flex-direction: column;
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.about-stat { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.about-stat:last-child { border-bottom: none; }
.about-stat .num { font-family: var(--serif); font-size: clamp(36px, 10vw, 52px); line-height: 1; color: var(--moss-deep); }
.about-stat .lbl { font-size: 13px; color: var(--ink-2); margin-top: 8px; max-width: 220px; }

@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
}

/* ---------- How (moss section) ---------- */
.section-moss {
  background: var(--moss-deep);
  color: #fff;
  border-top: none;
}
.section-moss .title-moss { color: #fff; }
.label-row-moss .rule-moss { background: rgba(255,255,255,.16); }
.kicker-moss { color: rgba(255,255,255,.7); }
.kicker-moss .num { color: var(--gold); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-direction: column; gap: 12px;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  color: var(--gold);
  line-height: 1;
}
.step-title {
  font-family: var(--serif);
  font-size: 22px;
  color: #fff;
  line-height: 1.2;
}
.step-body {
  font-size: 14px;
  color: rgba(255,255,255,.88);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ---------- Features ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feat {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--bg-mint);
  color: var(--moss-deep);
  display: flex; align-items: center; justify-content: center;
}
.feat-t {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
}
.feat-b {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat { padding: 24px 20px; }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 880px;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-q-num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--moss);
  flex-shrink: 0;
  width: 28px;
}
.faq-q-text {
  flex: 1;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
}
.faq-q-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: transform .2s ease;
}
.faq-item.open .faq-q-icon {
  background: var(--ink);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 2800px; }
.faq-a p {
  padding: 0 0 24px 52px;
  max-width: 720px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .faq-q-text { font-size: 17px; }
  .faq-a p { padding-left: 0; }
}

/* ---------- Download CTA ---------- */
.section-cta {
  background: var(--bg-mint);
  border-top: none;
  text-align: center;
  padding: clamp(64px, 12vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  position: relative;
}
.cta-deco {
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--bg-mint-2) 0%, transparent 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  opacity: .8;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(26px, 6vw, 56px);
  line-height: 1.1;
  color: var(--ink);
  max-width: 720px;
  position: relative;
}
.cta-body { max-width: 540px; position: relative; }
.cta-note { color: var(--ink-3); font-size: 12px; }
.section-cta .store-row { position: relative; margin-top: 12px; }
