/*
 * ============================================================================
 * Mounted — a Meru Technologies app
 * mounted.meru-technologies.com
 *
 * Copyright (c) 2026 Meru Technologies LLC.
 * All Rights Reserved.
 * ============================================================================
 *
 * Author: V.Bandarupalli
 * Date: 2026-07-23
 */

/* Mounted has its own identity — a light, photo-first look with a blue
   accent — deliberately distinct from the Meru Trading Workspace's
   gold-on-black theme. Colors live only in these tokens. */
:root {
  --bg: #f5f7fb;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --line: #e4e8f0;
  --ink: #171b24;
  --ink-muted: #5c6675;
  --accent: #2e77e6;
  --accent-bright: #4f92ff;
  --accent-deep: #1c5bc0;
  --accent-soft: #eaf1fe;
  --shadow: 0 20px 50px rgba(20, 33, 61, 0.12);
  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand .frame-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a { color: var(--ink-muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1.2rem;
  padding: 6px 11px;
  cursor: pointer;
}

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 0.98rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 26px rgba(46, 119, 230, 0.32);
}

.btn-primary:hover { transform: translateY(-1px); color: #fff; }

.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ----------------------------------------------------------------- hero */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(900px 460px at 78% -10%, var(--accent-soft), transparent 70%),
    var(--bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}

.eyebrow img { width: 16px; height: 16px; border-radius: 4px; }

.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 30em;
  margin-bottom: 28px;
}

.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0e1420;
  color: #fff;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 0.9rem;
}

.store-badge:hover { color: #fff; opacity: 0.92; }
.store-badge .big { font-size: 1.05rem; font-weight: 600; line-height: 1; }
.store-badge .small { font-size: 0.68rem; opacity: 0.8; line-height: 1.1; }
.store-badge svg { width: 22px; height: 22px; }

/* hero visual: a framed photo mockup */
.frame-hero {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 34px;
  transform: rotate(-3deg);
}

.frame-hero .mat {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(135deg, #cfe0ff, #eef4ff 45%, #dfe9ff),
    var(--accent-soft);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.frame-hero .caption {
  font-size: 0.8rem;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  padding: 4px 10px;
}

.frame-hero .badge-float {
  position: absolute;
  top: -18px;
  right: -14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(3deg);
}

/* -------------------------------------------------------------- section */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .kicker {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head p { color: var(--ink-muted); }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.feature .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { text-align: center; }
.step .n {
  width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-muted); font-size: 0.95rem; }

/* CTA */
.cta {
  text-align: center;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  margin: 0 24px;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.85); max-width: 30em; margin: 0 auto 26px; }
.cta .store-badges { justify-content: center; }

/* ---------------------------------------------------------------- legal */
.legal { max-width: 800px; margin: 0 auto; padding: 60px 24px 84px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-muted); }
.legal .updated { font-size: 0.88rem; margin-bottom: 2em; }

.page-hero { padding: 66px 0 40px; text-align: center; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--ink-muted); max-width: 40em; margin: 0 auto; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 48px 0 30px; font-size: 0.92rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }

.endorse { display: flex; align-items: center; gap: 10px; color: var(--ink-muted); }
.endorse img { width: 34px; height: 34px; border-radius: 8px; }

.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-muted); }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .eyebrow { margin-left: auto; margin-right: auto; }
  .grid-3, .steps { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .site-header .btn-primary { display: none; }
}
