/* depot landing page. Served from /landing.css so the page needs no inline
   styles and the CSP stays hash-free: style-src 'self'. */

:root {
  --bg: #0f172a;
  --card: rgba(31, 41, 55, 0.5);
  --border: #374151;
  --rule: rgba(55, 65, 81, 0.6);
  --text: #e2e8f0;
  --body: #d1d5db;
  --muted: #9ca3af;
  --dim: #6b7280;
  --accent: #009bab;
  /* oklab mix of the accent with 28% white, matching the design canvas. */
  --accent-light: #6ab7c2;
  --accent-hover: #008494;
  --accent-dim: rgba(0, 155, 171, 0.16);
  --indigo: #4f46e5;
  --emerald: #059669;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }
svg { display: block; }

.wrap { max-width: 1152px; margin: 0 auto; }
.accent { color: var(--accent-light); }

/* Buttons. The transparent border keeps a filled button the same height as an
   outlined one. */
.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  transition: background 0.15s, border-color 0.15s;
}
.btn-lg { padding: 14px 28px; }
.btn-accent { background: var(--accent); color: var(--bg); font-weight: 600; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-indigo { background: var(--indigo); color: #ffffff; }
.btn-indigo:hover { background: #4338ca; }
.btn-ghost { border-color: #4b5563; color: #ffffff; }
.btn-ghost:hover { border-color: var(--muted); }

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: 12px; }
.mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--indigo);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-name { display: flex; align-items: baseline; gap: 8px; font-size: 18px; font-weight: 600; }
.brand-name .sep { color: #4b5563; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--body); font-size: 15px; }
.nav-link:hover { color: #ffffff; }

/* Hero */
.hero { padding: 96px 24px 72px; }
.hero-inner { max-width: 768px; margin: 0 auto; text-align: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 28px;
  border: 1px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-light);
}
.badge .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent-light); }
.hero h1 {
  font-size: 60px;
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  text-wrap: balance;
}
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); margin-bottom: 36px; text-wrap: pretty; }
.actions { display: flex; gap: 12px; justify-content: center; }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card h3 { font-size: 19px; font-weight: 700; color: #ffffff; margin: 14px 0; }
.card p { font-size: 15px; line-height: 1.6; color: var(--body); }

/* The three-step path */
.steps { padding: 24px 24px 80px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Feature card */
.features { padding: 0 24px 80px; }
.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.panel-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.panel-head .icon { width: 48px; height: 48px; border-radius: 8px; }
.panel-head h2 { font-size: 24px; font-weight: 700; color: #ffffff; }
.panel-head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.panel-lede { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 32px; max-width: 880px; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.columns h3 { font-size: 15px; font-weight: 600; color: var(--accent-light); margin-bottom: 16px; }
.columns ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.columns li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}
.columns li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--accent);
}

/* Pairs with rail */
.pairing { padding: 0 24px 80px; }
.pairing .panel { display: flex; gap: 40px; align-items: center; }
.pairing-text { flex-grow: 1; }
.pairing-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pairing-head .icon { width: 36px; height: 36px; border-radius: 8px; background: var(--emerald); }
.pairing-head h2 { font-size: 20px; font-weight: 700; color: #ffffff; }
.pairing p { font-size: 16px; line-height: 1.7; color: var(--body); max-width: 620px; }
.mail {
  width: 300px;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mail-label { font-size: 12px; font-weight: 600; color: var(--dim); letter-spacing: 0.06em; }
.mail-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.mail-file svg { flex-shrink: 0; }
.mail-name { font-size: 13px; color: var(--text); }
.mail-note { font-size: 12px; color: var(--dim); margin-top: 2px; }
.mail-foot { font-size: 12px; line-height: 1.5; color: var(--dim); }

/* Closing call to action */
.cta { padding: 0 24px 96px; }
.cta-box {
  border: 1px solid var(--accent);
  background: var(--accent-dim);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
}
.cta h2 { font-size: 32px; font-weight: 700; color: #ffffff; margin-bottom: 12px; }
.cta p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* Footer */
.footer { border-top: 1px solid var(--rule); padding: 28px 24px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer span { font-size: 14px; color: var(--dim); }
.footer nav { display: flex; gap: 24px; }
.footer nav a { font-size: 14px; color: var(--muted); }
.footer nav a:hover { color: #ffffff; }
.footer nav a[aria-current] { color: var(--accent-light); }

/* Tablet: the multi-column blocks stack before the type scale changes. */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .columns { grid-template-columns: 1fr; }
  .pairing .panel { flex-direction: column; align-items: stretch; }
  .mail { width: auto; }
  .panel { padding: 28px; }
  .hero h1 { font-size: 44px; }
}

/* Phone: matches the 390px artboard. */
@media (max-width: 640px) {
  .nav { padding: 0 20px; }
  .nav-link { display: none; }
  .nav-links { gap: 16px; }
  .hero { padding: 44px 20px 40px; }
  .hero h1 { font-size: 34px; }
  .lede { font-size: 16px; }
  .actions { flex-direction: column; }
  .actions .btn { text-align: center; }
  .steps { padding: 0 20px 40px; }
  .steps-grid { gap: 16px; }
  .features, .pairing { padding: 0 20px 40px; }
  .cta { padding: 0 20px 40px; }
  .cta-box { padding: 28px 22px; }
  .cta h2 { font-size: 24px; }
  .card, .panel { padding: 22px; border-radius: 14px; }
  .footer { padding: 22px 20px; }
  .footer-inner { flex-direction: column; gap: 14px; }
}
