/* ==========================================================
   allgathr — landing page styles
   ========================================================== */

:root {
  --ink: #1b1530;
  --ink-soft: #4a4462;
  --muted: #7a7493;
  --bg: #fbf9f5;
  --bg-alt: #f3efe7;
  --card: #ffffff;
  --line: #e7e1d6;
  --brand: #5b3df5;
  --brand-dark: #3b22c4;
  --gold: #f2a93b;
  --deep: #1d1440;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(29, 20, 64, 0.25);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }

.container { width: min(1140px, 92%); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px var(--brand); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(0,0,0,.15); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo img { border-radius: 10px; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) { font-weight: 500; color: var(--ink-soft); position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--brand); transition: width 0.25s;
}
.nav-links a:not(.btn):hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 4rem 0 6rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.hero h1 em { font-style: italic; color: var(--brand); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { margin: 2rem 0 1.5rem; }

.store-badges { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.store-badges.center { justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--ink); color: #fff;
  padding: 0.55rem 1.1rem; border-radius: 12px;
  transition: transform .2s, opacity .2s;
}
.store-badge:hover { transform: translateY(-2px); opacity: .92; }
.store-badge svg { width: 24px; height: 24px; fill: currentColor; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 600; font-size: 1.05rem; }
.store-badge small { font-weight: 400; font-size: 0.68rem; opacity: .8; }
.store-badge.light { background: #fff; color: var(--deep); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.glow {
  position: absolute; inset: 10% 5%; z-index: -1;
  background: radial-gradient(circle at 30% 30%, rgba(91,61,245,.35), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(242,169,59,.35), transparent 60%);
  filter: blur(40px);
}

/* ---------- Phone mockups ---------- */
.phone {
  width: 260px;
  aspect-ratio: 9 / 19;
  background: #111;
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow), inset 0 0 0 2px #2b2b2b;
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 22px; background: #111; border-radius: 20px; z-index: 2;
}
.phone-tilt { transform: rotate(-5deg); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-12px); } }

.phone-screen {
  background: var(--bg); border-radius: 31px; height: 100%; overflow: hidden;
  padding: 44px 12px 12px; display: flex; flex-direction: column; gap: 9px; font-size: 0.72rem;
}
.app-bar { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; }
.app-logo { width: 22px; height: 22px; border-radius: 6px; background: url("../assets/logo.png") center/cover no-repeat; flex-shrink: 0; }
.app-search { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; color: var(--muted); }
.chips { display: flex; gap: 5px; flex-wrap: wrap; }
.chip { padding: 3px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.event-card { display: flex; gap: 8px; align-items: center; background: #fff; padding: 6px; border-radius: 12px; box-shadow: 0 2px 8px -4px rgba(0,0,0,.15); }
.event-card.big { flex-direction: column; align-items: stretch; }
.event-card.big .event-img { width: 100%; height: 110px; }
.event-img { width: 48px; height: 48px; border-radius: 9px; flex-shrink: 0; }
.event-img.tall { width: auto; height: 170px; margin: -44px -12px 0; border-radius: 0; }
.img-a { background: linear-gradient(135deg, #5b3df5, #a78bfa); }
.img-b { background: linear-gradient(135deg, #f2a93b, #f76b5b); }
.img-c { background: linear-gradient(135deg, #12a594, #6ee7b7); }
.event-meta { display: flex; flex-direction: column; }
.event-meta small { color: var(--muted); }

.filter-row { display: flex; justify-content: space-between; background: #fff; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); }
.filter-row span { color: var(--muted); }
.btn-mock { margin-top: auto; background: var(--brand); color: #fff; text-align: center; padding: 9px; border-radius: 999px; font-weight: 600; }

.detail { display: flex; flex-direction: column; gap: 4px; }
.detail b { font-size: 0.95rem; }
.detail small { color: var(--muted); }
.detail p { margin: 4px 0; color: var(--ink-soft); }
.detail-actions { display: flex; gap: 5px; margin-top: 6px; }
.detail-actions span { flex: 1; text-align: center; padding: 6px 0; border-radius: 8px; background: var(--bg-alt); font-weight: 600; }

.plan-mini { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line); }
.plan-mini span { font-weight: 700; color: var(--brand); }
.plan-mini.active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(91,61,245,.2); }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head p:last-child { color: var(--ink-soft); }

/* About the app */
.about-intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; margin-bottom: 3.5rem; }
.about-intro h2 { margin: 0; }
.about-copy p { color: var(--ink-soft); font-size: 1.08rem; margin: 0 0 1rem; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .3s, box-shadow .3s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(91,61,245,.1); color: var(--brand); margin-bottom: 1rem; }
.feat-icon svg { width: 22px; height: 22px; }
.feat h3 { font-family: var(--font-body); font-size: 1.08rem; margin-bottom: .4rem; }
.feat p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 3rem; }
.aud { border-radius: 22px; padding: 2.2rem; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.audience:has(.has-shot) { grid-template-columns: 1fr; }
.aud.has-shot { display: grid; grid-template-columns: 1fr 280px; gap: 2.5rem; align-items: center; }
.aud-dark.has-shot { grid-template-columns: 280px 1fr; }
.aud-dark.has-shot .aud-shot { order: -1; }
.aud-text { display: flex; flex-direction: column; align-items: flex-start; }
.aud-shot { margin: 0; text-align: center; }
.aud-shot img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(29,20,64,.45); }
.aud-dark .aud-shot img { border-color: rgba(255,255,255,.15); }
.aud-shot figcaption { margin-top: .8rem; font-size: .85rem; color: var(--muted); }
.aud-dark .aud-shot figcaption { color: rgba(255,255,255,.7); }
@media (max-width: 800px) {
  .aud.has-shot, .aud-dark.has-shot { grid-template-columns: 1fr; gap: 1.8rem; }
  .aud-dark.has-shot .aud-shot { order: 0; }
  .aud-shot { max-width: 300px; margin: 0 auto; }
}
.acct-head { text-align: center; margin-top: 3.5rem; }
.acct-head h3 { font-size: 1.8rem; margin-bottom: .3rem; }
.acct-head p { color: var(--ink-soft); margin: 0; }
.acct-head + .audience { margin-top: 1.8rem; }
.aud-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(91,61,245,.1); color: var(--brand); margin-bottom: 1rem; }
.aud-icon svg { width: 24px; height: 24px; }
.aud-dark .aud-icon { background: rgba(242,169,59,.18); color: var(--gold); }
.aud-desc { margin: 0 0 .6rem; color: var(--ink-soft); }
.aud-dark .aud-desc { color: rgba(255,255,255,.8); }
.plan-for { display: inline-block; align-self: flex-start; margin: 0 0 .8rem; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(91,61,245,.1); color: var(--brand); }
.plan-featured .plan-for { background: rgba(255,255,255,.12); color: #fff; }
.aud-label { margin: 0 0 .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.aud h3 { font-size: 1.6rem; }
.aud ul { list-style: none; padding: 0; margin: .4rem 0 1.8rem; display: grid; gap: .55rem; flex: 1; }
.aud li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.aud li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--brand); }
.aud-dark { background: var(--deep); color: #fff; }
.aud-dark .aud-label { color: var(--gold); }
.aud-dark li { color: rgba(255,255,255,.82); }
.aud-dark li::before { background: var(--gold); }
@media (max-width: 1000px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) {
  .about-intro { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .audience { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } .aud { padding: 1.6rem; } }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; justify-items: center; }
.shot { margin: 0; text-align: center; }
.shot .phone { width: 100%; max-width: 230px; transition: transform .3s; }
.shot:hover .phone { transform: translateY(-8px); }
.login-feature { display: grid; grid-template-columns: 420px 1fr; gap: 3.5rem; align-items: center; max-width: 1000px; margin: 0 auto 4.5rem; }
.login-shot { margin: 0; padding: 22px; border-radius: 28px; background: linear-gradient(180deg, #ecf6ff 0%, #b3dcfe 100%); box-shadow: var(--shadow); }
.login-shot img { display: block; width: 100%; height: auto; border-radius: 18px; }
.login-copy h3 { font-size: 1.8rem; }
.login-copy > p:not(.aud-label) { color: var(--ink-soft); font-size: 1.05rem; }
.login-copy ul { padding-left: 1.2rem; margin: 0 0 1.6rem; color: var(--ink-soft); display: grid; gap: .5rem; }
@media (max-width: 860px) {
  .login-feature { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .login-shot { max-width: 400px; margin: 0 auto; padding: 14px; }
  .login-copy ul { text-align: left; max-width: 420px; margin-inline: auto; }
}
.shot figcaption { margin-top: 1rem; font-weight: 600; color: var(--ink-soft); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { background: var(--card); border-radius: var(--radius); padding: 2rem 1.6rem; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num { display: inline-block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--gold); margin-bottom: 0.6rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem;
}
.plan .price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; margin: 0 0 1.2rem; }
.plan .price span { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 0.55rem; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); font-size: 0.95rem; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 1rem; height: 1rem; border-radius: 50%;
  background: rgba(91,61,245,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%235b3df5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.plan-links { display: flex; gap: 0.6rem; }
.plan-links .btn { flex: 1; padding: 0.7rem 0; }

.plan-featured { background: var(--deep); color: #fff; border-color: var(--deep); transform: scale(1.03); box-shadow: var(--shadow); }
.plan-featured li, .plan-featured .price span { color: rgba(255,255,255,.8); }
.plan-featured li::before {
  background-color: rgba(242,169,59,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23f2a93b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--deep); font-size: 0.75rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}

/* CTA */
.cta { padding: 5rem 0; }
.cta-inner {
  text-align: center; color: #fff; border-radius: 28px; padding: 4.5rem 2rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(242,169,59,.35), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(167,139,250,.45), transparent 45%),
    var(--deep);
}
.cta-inner p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin: 0 0 2rem; }

.cta-icon { display: block; margin: 0 auto 1.5rem; border-radius: 26px; box-shadow: 0 20px 40px -15px rgba(0,0,0,.6); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2rem; align-items: start; }
.contact-info { display: grid; gap: .8rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; transition: border-color .2s, transform .2s; }
a.contact-card:hover { border-color: var(--brand); transform: translateX(4px); }
.contact-card > span:last-child { display: grid; }
.contact-card b { font-size: .98rem; }
.contact-card > span:last-child span { color: var(--ink-soft); font-size: .92rem; word-break: break-word; }
.contact-icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(91,61,245,.1); color: var(--brand); }
.contact-icon svg { width: 21px; height: 21px; }
.contact-note { margin: .4rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.contact-note a, .form-privacy a { color: var(--brand); text-decoration: underline; }
.contact-form { display: grid; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 10px 30px -20px rgba(29,20,64,.3); }
.contact-form label { display: grid; gap: .4rem; font-weight: 600; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-privacy { margin: 0; }
.contact-form .btn { justify-self: start; }
#contact-status:empty { display: none; }
#contact-status { margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .contact-form { padding: 1.2rem; } .contact-form .btn { justify-self: stretch; } }

/* Footer */
.site-footer { background: var(--deep); color: rgba(255,255,255,.75); padding: 4rem 0 2rem; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.tagline { max-width: 26em; margin-top: 1rem; }
.footer-heading { color: #fff; margin: 0 0 1rem; font-size: 0.95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; }
.footer-bottom > :nth-child(2) { justify-self: center; }
.footer-bottom > :last-child { justify-self: end; }
.design-credit { text-align: right; }
.design-credit a { color: #fff; font-weight: 600; }
@media (max-width: 640px) {
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-bottom > :nth-child(2), .footer-bottom > :last-child { justify-self: center; }
  .design-credit { text-align: center; }
}

/* Legal pages */
.legal { padding: 3rem 0 6rem; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.legal-nav { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.legal-nav p { margin: 0 0 .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-nav a { display: block; padding: .45rem .7rem; border-radius: 10px; font-size: .92rem; color: var(--ink-soft); }
.legal-nav a:hover { background: var(--bg-alt); color: var(--ink); }
.legal-nav a[aria-current="page"] { background: var(--brand); color: #fff; font-weight: 600; }
.legal-body { max-width: 760px; min-width: 0; }
.legal-body h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-body h2 { font-size: 1.4rem; margin-top: 2.5rem; padding-top: .5rem; }
.legal-body h3 { font-family: var(--font-body); font-size: 1.02rem; margin-top: 1.4rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body li { margin-bottom: .35rem; }
.legal-body a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.lead-sm { font-size: 1.1rem; }
.updated { color: var(--muted); font-size: .9rem; }
.small { font-size: .85rem; }
.ph { background: #fff3cd; color: #7a5a00; padding: 0 .3em; border-radius: 4px; }
.toc { background: var(--bg-alt); border-radius: 14px; padding: 1rem 1.4rem; margin: 1.5rem 0; }
.toc p { margin: 0 0 .4rem; font-weight: 700; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.toc li { margin: 0 0 .25rem; font-size: .92rem; break-inside: avoid; }
.data-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .92rem; display: block; overflow-x: auto; }
.data-table th, .data-table td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { background: var(--bg-alt); color: var(--ink); font-weight: 600; white-space: nowrap; }
.data-table td { color: var(--ink-soft); }
.legal-body details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: .6rem; }
.legal-body summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.legal-body details p { margin: .6rem 0 0; }
.delete-form { display: grid; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-top: 1rem; }
.delete-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.delete-form input[type=email], .delete-form input[type=text], .delete-form textarea { font: inherit; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.delete-form input:focus, .delete-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.delete-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .4rem; }
.delete-form legend { font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.delete-form .radio { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; color: var(--ink-soft); }
.delete-form .radio input { margin-top: .3rem; }
.form-error { color: #c0392b; margin: 0; min-height: 1.2em; font-size: .9rem; }
.back { margin-top: 3rem; }
@media (max-width: 860px) {
  .legal-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .legal-nav { position: static; }
  .toc ol { columns: 1; }
}

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: .8rem; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.4rem; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item h3 { font-family: var(--font-body); font-size: 1.05rem; margin: 0; }
.faq-item p { margin: .8rem 0 0; color: var(--ink-soft); }

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--brand) !important; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }

.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.muted { color: var(--muted) !important; }
.form-ok { color: #12805c; margin: 0; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.plan-featured.reveal.visible { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone-tilt { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .shots, .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan-featured, .plan-featured.reveal.visible { transform: none; }
}

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 0.5rem 4% 1.2rem;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 1rem; }

  .hero { padding-top: 2rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .store-badges { justify-content: center; }
  .hero-visual { margin-top: 1rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .section { padding: 4rem 0; }
  .shots { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .steps, .plans { grid-template-columns: 1fr; }
  .phone { width: 220px; }
}
