/* ============================================================
   MirrorLane — landing page
   Palette: deep navy, warm orange, soft slate on near-white.
   ============================================================ */

:root {
  --navy:        #1d2b3a;
  --navy-soft:   #2c3e52;
  --orange:      #e08036;
  --orange-deep: #c96b22;
  --ink:         #18222d;
  --slate:       #5d6b78;
  --slate-light: #8896a3;
  --line:        #e6e9ed;
  --bg:          #ffffff;
  --bg-alt:      #f6f7f9;
  --bg-navy:     #1d2b3a;

  --radius:      16px;
  --radius-sm:   10px;
  --maxw:        1120px;
  --shadow:      0 18px 40px -18px rgba(24, 34, 45, 0.28);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  overflow-wrap: break-word;
}

/* ---------- Brand wordmark ---------- */
.brand-word {
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}
.brand-word strong { color: var(--navy); font-weight: 700; }
.brand-word em { color: var(--orange); font-style: normal; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(224, 128, 54, 0.7);
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); }
.btn-text {
  background: transparent;
  color: var(--navy);
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}
.btn-text:hover { color: var(--orange); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.1rem, 4vw, 2.4rem);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-mark { display: inline-flex; }
.brand-mark svg { display: block; border-radius: 8px; }

/* ---------- Layout helpers ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.1rem, 4vw, 2.4rem);
}
.section-head { max-width: 720px; margin: 0 auto 2.8rem; text-align: center; }
.section-head h2,
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.section-sub {
  color: var(--slate);
  font-size: 1.1rem;
  margin: 1rem 0 0;
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.1rem, 4vw, 2.4rem) clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 5.2vw, 3.3rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.lede {
  font-size: 1.18rem;
  color: var(--slate);
  margin: 0 0 1.8rem;
  max-width: 36ch;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.hero-note {
  margin: 1.4rem 0 0;
  font-size: 0.92rem;
  color: var(--slate-light);
}

/* ---------- Phone frame ---------- */
.phone {
  background: var(--navy);
  border-radius: 38px;
  padding: 9px;
  box-shadow: var(--shadow);
  max-width: 300px;
  margin: 0 auto;
}
.phone img {
  border-radius: 30px;
  width: 100%;
  height: auto;
  background: #fff;
}
.hero-art .phone { transform: rotate(0deg); }

/* ---------- What ---------- */
.what { padding-top: 0; }
.what .section-head { margin-bottom: 0; }

/* ---------- Features ---------- */
.features { background: var(--bg-alt); max-width: none; }
.feature-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(224, 128, 54, 0.12);
  color: var(--orange-deep);
  margin-bottom: 1.1rem;
}
.feature h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.feature p { margin: 0; color: var(--slate); font-size: 0.98rem; }

/* ---------- Gallery ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}
.shot { margin: 0; }
.shot .phone { max-width: 240px; }
.shot figcaption {
  margin-top: 1.1rem;
  text-align: center;
  color: var(--slate);
  font-size: 0.95rem;
  padding: 0 0.5rem;
}

/* ---------- CTA ---------- */
.cta { max-width: none; padding-left: 0; padding-right: 0; }
.cta-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--bg-navy);
  color: #fff;
  border-radius: 24px;
  text-align: center;
  padding: clamp(2.8rem, 7vw, 4.5rem) 1.5rem;
}
.cta-inner h2 { color: #fff; }
.cta-inner p {
  color: #c4cdd6;
  font-size: 1.12rem;
  max-width: 44ch;
  margin: 1rem auto 2rem;
}
.cta-sub { font-size: 0.9rem !important; color: #8c98a4 !important; margin: 1.1rem 0 0 !important; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: clamp(2.8rem, 6vw, 4rem) clamp(1.1rem, 4vw, 2.4rem) 2.5rem;
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand { max-width: 360px; }
.footer-brand p { color: var(--slate); margin: 0.7rem 0 0; font-size: 0.96rem; }
.footer-contact h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-light);
  margin-bottom: 0.5rem;
}
.footer-contact a { color: var(--navy); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: var(--orange); }
.footer-contact .tbc { color: var(--slate-light); font-weight: 400; font-size: 0.9rem; }

.disclaimer {
  max-width: var(--maxw);
  margin: 1.8rem auto 0;
  color: var(--slate);
  font-size: 0.86rem;
  line-height: 1.65;
}
.copyright {
  max-width: var(--maxw);
  margin: 1.4rem auto 0;
  color: var(--slate-light);
  font-size: 0.84rem;
}

/* ============================================================
   Legal / prose pages (privacy)
   ============================================================ */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.1rem, 4vw, 2.4rem) clamp(3rem, 7vw, 5rem);
}
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 0.6rem; }
.legal .updated { color: var(--slate-light); font-size: 0.9rem; margin: 0 0 2.4rem; }
.legal .intro { font-size: 1.12rem; color: var(--slate); margin: 0 0 2rem; }
.legal h2 {
  font-size: 1.3rem;
  margin: 2.4rem 0 0.7rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
.legal p { color: #34414d; margin: 0 0 1rem; }
.legal ul { color: #34414d; margin: 0 0 1rem; padding-left: 1.2rem; }
.legal li { margin-bottom: 0.5rem; }
.legal a { color: var(--orange-deep); font-weight: 600; }
.legal .note {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  color: var(--slate);
  margin: 0 0 1.8rem;
}
.back-link {
  display: inline-block;
  margin-bottom: 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.back-link:hover { color: var(--orange); }

/* ---------- Guides list (home + articles) ---------- */
.guides { background: var(--bg-alt); max-width: none; }
.guide-list {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.guide-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #d7dce1;
}
.guide-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.guide-card p { margin: 0 0 0.9rem; color: var(--slate); font-size: 0.96rem; }
.guide-card .read-more {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--orange-deep);
}

/* ---------- Article in-body app callout ---------- */
.app-callout {
  background: var(--bg-navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin: 2.4rem 0;
}
.app-callout p { color: #c4cdd6; margin: 0.4rem 0 1.1rem; }
.app-callout h2 { color: #fff; border-top: 0; padding-top: 0; margin-top: 0; font-size: 1.25rem; }
.app-callout .btn { margin-top: 0.2rem; }

/* ---------- Contact / support section ---------- */
.contact { padding-top: 0; }
.contact .section-head { margin-bottom: 1.6rem; }
.contact-cta { text-align: center; margin: 0; }
.contact-cta .btn { font-size: 1.05rem; }

/* ---------- Related guides block ---------- */
.related { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.related h2 { border-top: 0; padding-top: 0; margin-top: 0; font-size: 1.2rem; }
.related ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.related li { margin-bottom: 0.6rem; }
.related a { color: var(--navy); font-weight: 600; text-decoration: none; }
.related a:hover { color: var(--orange); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .guide-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }
  .hero-copy { order: 2; }
  .hero-art { order: 1; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art .phone { max-width: 250px; }
  .header-cta { display: none; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shot .phone { max-width: 260px; }
  .guide-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
