/* ---------- Design tokens ---------- */
:root {
  --blue: #2f7bf0;
  --blue-dark: #1c5fd6;
  --navy: #14213d;
  --ink: #101828;
  --muted: #667085;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --border: #e4e9f2;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-width: 1160px;
  --shadow-card: 0 10px 30px rgba(20, 33, 61, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --off-white: #0f1626;
    --white: #141b2e;
    --ink: #f2f4f8;
    --muted: #a0abc0;
    --border: #232c42;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Buttons ---------- */
.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.header-inner .store-btn {
  background: var(--blue);
  border-color: var(--blue);
}

.header-inner .store-btn:hover {
  background: var(--blue-dark);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn--outline {
  border: 1.5px solid var(--blue);
  color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: #ffffff;
  transform: translateY(-1px);
}

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.site-header .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

.store-buttons--header .store-btn {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.store-btn img {
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 72px 0 96px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-phone-img {
  width: 187px;
  aspect-ratio: 187 / 388;
  height: auto;
  max-width: 100%;
  display: block;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }

.section--light { background: var(--white); }

.section-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-centered h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-centered > p {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 28px;
  font-size: 1rem;
}

.section--blue {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
}

.section--blue-title {
  color: var(--white);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  max-width: 640px;
  margin-bottom: 56px;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  text-align: left;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  color: var(--ink);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 64px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 240px;
}

.logo--footer {
  color: var(--ink);
  font-size: 1.15rem;
}

.footer-col h4 {
  font-size: 0.82rem;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.86rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-copy .store-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .site-header .logo { position: static; transform: none; align-self: center; }
  .section { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; }
}
