/* ─────────────────────────────────────────────────────────────
   Atlas marketing landing — tokens
   ───────────────────────────────────────────────────────────── */
:root {
  --brand: #2B6CB0;
  --brand-dark: #1E4E8C;
  --brand-soft: #EAF1F9;
  --ink: #0F1B2A;
  --ink-soft: #3D4A5C;
  --muted: #6B7785;
  --line: #E3E8EF;
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --accent: #F59E0B;
  --max-w: 1140px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(15, 27, 42, 0.06);
  --shadow-lg: 0 22px 60px rgba(15, 27, 42, 0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); margin: 0 0 12px; line-height: 1.18; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p  { margin: 0 0 12px; color: var(--ink-soft); }

/* ─── Header ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: baseline; gap: 8px;
  color: var(--ink); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; color: var(--muted);
}
.brand-name {
  font-size: 22px; font-weight: 800; color: var(--brand);
  letter-spacing: -0.02em;
}
.brand-name-sm { font-size: 18px; }
.site-nav {
  display: flex; gap: 22px;
  margin-left: 24px;
  font-size: 14px; font-weight: 500;
}
.site-nav a { color: var(--ink-soft); text-decoration: none; }
.site-nav a:hover { color: var(--brand); }
.site-actions { margin-left: auto; display: flex; gap: 10px; }

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 14px;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-soft); border-color: transparent; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 10px; }

/* ─── Hero ────────────────────────────────────────── */
.hero {
  max-width: var(--max-w); margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 40px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  color: var(--brand); letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.hero h1 br { display: block; }
.lede { font-size: 17px; color: var(--ink-soft); margin: 16px 0 28px; max-width: 580px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Hero visual mock — three offset cards */
.hero-visual { position: relative; min-height: 360px; }
.hero-card {
  position: absolute;
  background: white; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
}
.hero-card-1 {
  top: 0; left: 0; right: 30%;
  box-shadow: var(--shadow-lg);
}
.hero-card-1 .hc-thumb {
  height: 130px; border-radius: 10px; margin-bottom: 12px;
  background: linear-gradient(135deg, #2B6CB0 0%, #4A90E2 100%);
}
.hero-card-1 .hc-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.hero-card-1 .hc-pill {
  background: var(--brand-soft); color: var(--brand);
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
}
.hero-card-1 .hc-meta { color: var(--muted); font-size: 12px; }
.hero-card-1 .hc-title { font-weight: 700; color: var(--ink); font-size: 18px; }
.hero-card-1 .hc-sub { color: var(--muted); font-size: 13px; }

.hero-card-2 {
  top: 230px; left: 14%; right: 10%;
  background: white;
}
.hero-card-2 .hc-mini { display: flex; gap: 10px; align-items: flex-start; }
.hero-card-2 .hc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  margin-top: 5px; flex-shrink: 0;
}
.hero-card-2 .hc-line.strong { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.hero-card-2 .hc-line { color: var(--ink-soft); font-size: 12.5px; }

.hero-card-3 {
  bottom: -10px; right: 0; left: 36%;
  background: #F0FDF4;
  border-color: #BBF7D0;
}
.hero-card-3 .hc-line.strong { color: #14532D; font-weight: 600; margin-bottom: 2px; }
.hero-card-3 .hc-line.muted { color: #486B53; font-size: 12px; }

/* ─── Features ─────────────────────────────────── */
.features {
  background: var(--bg-soft);
  padding: clamp(48px, 7vw, 80px) clamp(16px, 4vw, 40px);
}
.features h2 {
  max-width: var(--max-w); margin: 0 auto 40px;
  text-align: center;
}
.features-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.feature h3 { margin-top: 14px; }
.feature p { margin-bottom: 0; font-size: 14.5px; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.feature-icon::before {
  content: '';
  display: block; width: 22px; height: 22px;
  background-color: currentColor;
  mask-repeat: no-repeat; mask-position: center; mask-size: contain;
  -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain;
}
.feature-icon[data-icon="rooms"]::before { -webkit-mask-image: var(--ico-rooms); mask-image: var(--ico-rooms); }
.feature-icon[data-icon="walk"]::before  { -webkit-mask-image: var(--ico-walk); mask-image: var(--ico-walk); }
.feature-icon[data-icon="docs"]::before  { -webkit-mask-image: var(--ico-docs); mask-image: var(--ico-docs); }
.feature-icon[data-icon="money"]::before { -webkit-mask-image: var(--ico-money); mask-image: var(--ico-money); }
.feature-icon[data-icon="team"]::before  { -webkit-mask-image: var(--ico-team); mask-image: var(--ico-team); }
.feature-icon[data-icon="qr"]::before    { -webkit-mask-image: var(--ico-qr); mask-image: var(--ico-qr); }

:root {
  --ico-rooms: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M19 9.3V4h-3v2.6L12 3 2 12h3v8h6v-6h2v6h6v-8h3z'/></svg>");
  --ico-walk:  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><circle cx='13.5' cy='5.5' r='1.5'/><path d='M9.8 8.9 7 23h2.1l1.8-8 2.1 2v6h2v-7.5l-2.1-2 .6-3C14.8 12 16.8 13 19 13v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1L6 8.3V13h2V9.6l1.8-.7'/></svg>");
  --ico-docs:  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z'/></svg>");
  --ico-money: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z'/></svg>");
  --ico-team:  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/></svg>");
  --ico-qr:    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M3 11h8V3H3v8zm2-6h4v4H5V5zM3 21h8v-8H3v8zm2-6h4v4H5v-4zM13 3v8h8V3h-8zm6 6h-4V5h4v4zm0 12h2v-2h-2v2zm-6-10h2v2h-2v-2zm2 2h2v2h-2v-2zm-2 2h2v2h-2v-2zm2 2h2v2h-2v-2zm2-6h2v2h-2v-2zm0 4h2v2h-2v-2zm0 4h2v2h-2v-2z'/></svg>");
}

/* ─── Personas ────────────────────────────────── */
.personas {
  padding: clamp(48px, 7vw, 80px) clamp(16px, 4vw, 40px);
  max-width: var(--max-w); margin: 0 auto;
}
.personas h2 { text-align: center; margin-bottom: 40px; }
.personas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.persona {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: white;
}
.persona h3 { font-size: 20px; }
.persona ul { margin: 16px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: 14.5px; }
.persona li { margin-bottom: 6px; }

/* ─── How it works ─────────────────────────────── */
.how {
  background: var(--bg-soft);
  padding: clamp(48px, 7vw, 80px) clamp(16px, 4vw, 40px);
}
.how h2 { max-width: var(--max-w); margin: 0 auto 40px; text-align: center; }
.steps {
  max-width: var(--max-w); margin: 0 auto;
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.steps li {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step-n {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--brand); background: var(--brand-soft);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 16px;
}
.steps h3 { font-size: 18px; }
.steps p { font-size: 14.5px; margin-bottom: 0; }

/* ─── CTA strip ────────────────────────────────── */
.cta {
  text-align: center;
  padding: clamp(56px, 8vw, 100px) clamp(16px, 4vw, 40px);
  background:
    radial-gradient(ellipse at top, rgba(43,108,176,0.07), transparent 70%),
    white;
}
.cta h2 { margin-bottom: 14px; }
.cta p { font-size: 16px; margin-bottom: 28px; }

/* ─── Footer ──────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.86);
  padding: 28px clamp(16px, 4vw, 40px);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: baseline; gap: 8px; }
.footer-brand .brand-tag { color: rgba(255,255,255,0.6); }
.footer-brand .brand-name { color: white; }
.footer-copy { margin: 0; font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-nav { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
.footer-nav a { color: rgba(255,255,255,0.86); }
.footer-nav a:hover { color: white; }

/* ─── Mobile ──────────────────────────────────── */
@media (max-width: 880px) {
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { min-height: 320px; }
  .hero h1 br { display: none; }
}
@media (max-width: 540px) {
  .brand-tag { font-size: 10px; letter-spacing: 0.14em; }
  .brand-name { font-size: 18px; }
  .site-actions { gap: 6px; }
  .btn { padding: 8px 12px; font-size: 13px; }
  .hero-card-1 { right: 18%; }
  .hero-card-2 { left: 8%; right: 6%; top: 200px; }
  .hero-card-3 { left: 22%; bottom: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { margin-left: 0; }
}
