/* Shares the app's palette and type (web/src/styles.css): navy + coral, Inter, outlined white tiles, 6px corners. */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f4f0;
  --surface: #ffffff;
  --text: #141b2d;
  --muted: #646b7a;
  --border: #e1e0dc;
  --border-strong: #122046;
  --ink: #122046;
  --on-ink: #ffffff;
  --sale: #e8461f;
  --masthead: #122046;
  --accent: #ff6a3d;
  --brand-0: #ffe1d4;
  --brand-1: #d8e7ff;
  --brand-2: #d9f2df;
  --brand-3: #ece0ff;
  --r: 6px;
  --wrap: 1200px;
  color-scheme: light dark;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --bg-alt: #121a30;
    --surface: #0f1628;
    --text: #edf0f7;
    --muted: #98a0b3;
    --border: #232d47;
    --border-strong: #edf0f7;
    --ink: #ff6a3d;
    --on-ink: #10162a;
    --sale: #ff7a52;
    --masthead: #070b17;
    --brand-0: #4a2418;
    --brand-1: #1b2f52;
    --brand-2: #183a26;
    --brand-3: #33255a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; line-height: 1.55; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--r);
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: none; color: var(--text); border-color: var(--border-strong); }
.btn-on-dark { background: #fff; border-color: #fff; color: #122046; padding: 9px 16px; font-size: 0.9rem; }

/* Wordmark, matching the app */
.wordmark { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; color: #fff; text-decoration: none; white-space: nowrap; }
.wordmark span { color: #fff; background: var(--accent); padding: 0 5px; margin-left: 2px; border-radius: 3px; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 10; background: var(--masthead); color: #fff; }
.masthead-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.92rem; opacity: 0.85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { padding: 72px 0 88px; border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--sale); font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.lede { font-size: 1.15rem; color: var(--muted); margin-top: 22px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row.center { justify-content: center; }
.fine { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

/* Deal tiles in the hero, same shape as the app's storefront */
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.t2, .t4 { transform: translateY(26px); }
.tile-brand {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
}
.logo {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex: none;
}
.b0 { background: var(--brand-0); }
.b1 { background: var(--brand-1); }
.b2 { background: var(--brand-2); }
.b3 { background: var(--brand-3); }
.tile-offer { display: flex; align-items: flex-end; gap: 6px; line-height: 0.85; margin-top: 10px; }
.tile-offer b { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.04em; }
.tile-offer i { font-style: normal; font-weight: 600; font-size: 0.95rem; padding-bottom: 4px; }
.tile-offer-text { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.flag {
  position: absolute;
  left: 0;
  bottom: 12px;
  background: var(--sale);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 0 var(--r-sm, 4px) var(--r-sm, 4px) 0;
}
.flag-ink { background: var(--ink); color: var(--on-ink); }

/* Sections */
.section { padding: 88px 0; }
.band { padding: 88px 0; background: var(--bg-alt); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 36px; }
.big { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step, .card, .free-item {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r);
  padding: 26px;
}
.step h3, .card h3, .free-item h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.step p, .card p, .free-item p { color: var(--muted); }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
}

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.split > div:first-child { position: sticky; top: 104px; }
.cards { display: grid; gap: 18px; }
.sponsored-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.tag { background: var(--ink); color: var(--on-ink); font-size: 0.75rem; font-weight: 600; padding: 4px 9px; border-radius: 4px; }
.tag-link { font-size: 0.85rem; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.callout {
  margin-top: 48px;
  padding: 22px 26px;
  border-radius: var(--r);
  border-left: 5px solid var(--accent);
  background: var(--bg-alt);
  font-size: 1.15rem;
  font-weight: 600;
}

.free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.free-num { display: block; color: var(--sale); font-weight: 700; font-size: 0.9rem; margin-bottom: 14px; }

.manifesto p { font-size: 1.15rem; color: var(--muted); margin-top: 20px; }

/* Footer */
.footer { background: var(--masthead); color: #fff; padding: 28px 0; }
.copy { font-size: 0.85rem; opacity: 0.7; }

/* Phone */
@media (max-width: 900px) {
  .hero-inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .split > div:first-child { position: static; }
  .steps, .free-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .masthead .nav { display: none; }
  .masthead-inner { justify-content: space-between; height: 56px; }
  .hero { padding: 44px 0 64px; }
  .hero-art { gap: 12px; }
  .tile-brand { font-size: 0.68rem; top: 9px; left: 10px; gap: 6px; }
  .logo { width: 20px; height: 20px; font-size: 0.6rem; }
  .tile-offer b { font-size: 2rem; }
  .tile-offer-text { font-size: 1.1rem; }
  .flag { font-size: 0.62rem; padding: 4px 7px; bottom: 8px; }
  .t2, .t4 { transform: translateY(16px); }
  .section, .band { padding: 60px 0; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* Brands and Industry pages */
.page-hero { padding: 72px 0 64px; }
.narrow-left > * { max-width: 820px; }
.nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.data-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.manifesto-p { font-size: 1.15rem; color: var(--muted); margin-top: 20px; }

/* Footer columns */
.footer { padding: 48px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-brand { display: grid; align-content: start; gap: 12px; }
.foot-col { display: grid; align-content: start; gap: 10px; }
.foot-col h4 { margin: 0 0 4px; font-size: 0.95rem; font-weight: 700; }
.foot-col h4 a { text-decoration: none; opacity: 1; }
.foot-col a { text-decoration: none; font-size: 0.9rem; opacity: 0.8; }
.foot-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .data-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
