/* Allywebsite marketing site — matches /app/ visual system */

:root {
  --bg: #f3f6fb;
  --bg-elevated: #ffffff;
  --bg-soft: #e8eef8;
  --ink: #152033;
  --ink-muted: #5b6b84;
  --line: #d5deec;
  --line-strong: #b8c5d9;
  --brand: #1d4ed8;
  --brand-ink: #1e3a8a;
  --brand-soft: #dbe7ff;
  --accent: #c45c26;
  --accent-soft: #f8ebe3;
  --danger: #b42318;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(21, 32, 51, 0.06);
  --radius: 14px;
  --font: "DM Sans", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --focus: 0 0 0 3px rgba(29, 78, 216, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d7e4ff 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #e8eef8 0%, transparent 50%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-ink); }
.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(243, 246, 251, 0.9);
  border-bottom: 1px solid rgba(21, 32, 51, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}
.brand {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--brand-ink);
}
.nav {
  display: flex;
  gap: 1rem;
  margin-left: 1.5rem;
  flex: 1;
}
.nav a, .link {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.nav a:hover, .link:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 0.85rem; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--bg-elevated); }
.hero { padding: 3.5rem 0 4rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.brand-mark {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--brand-ink);
  margin: 0 0 0.75rem;
}
.hero h1, .section h2, .cta h2 {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--ink);
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 12ch; }
.lead { font-size: 1.15rem; margin: 0 0 0.75rem; max-width: 36ch; }
.lead.quiet, .muted, .section-note, .product-meta, .product-expect, .product-assigned {
  color: var(--ink-muted);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.product-top { display: flex; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.credits-pill, .status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  border: 1px solid var(--line);
}
.credits-pill {
  background: var(--brand-soft);
  color: var(--brand-ink);
  border-color: transparent;
}
.status {
  background: var(--brand-soft);
  color: var(--brand-ink);
  border-color: transparent;
}
.product-id { font-size: 0.85rem; color: var(--ink-muted); }
.product-title {
  font-family: var(--display);
  font-size: 1.7rem;
  margin: 0.2rem 0 0.75rem;
  color: var(--ink);
}
.progress {
  height: 0.45rem;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.75rem 0 1rem;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--brand);
}
.section { padding: 4rem 0; }
.section.tint { background: rgba(232, 238, 248, 0.65); }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 18ch; }
.steps, .service-grid, .who, .trust {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
.steps { grid-template-columns: repeat(4, 1fr); }
.steps article, .vault-card, .checklist-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 4px 16px rgba(21, 32, 51, 0.03);
}
.step-num {
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.steps h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--ink); }
.steps p { margin: 0; color: var(--ink-muted); }
.service-grid { grid-template-columns: repeat(4, 1fr); }
.service-grid li, .who li, .trust li {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  color: var(--ink);
}
.section-note { margin-top: 1.25rem; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.vault-card ul, .checklist { margin: 0.85rem 0; padding-left: 1.1rem; }
.checklist .done { color: var(--brand-ink); }
.package-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.package {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.package strong { display: block; font-size: 1.15rem; margin-bottom: 0.35rem; color: var(--ink); }
.package .price {
  font-family: var(--display);
  font-size: 1.8rem;
  margin: 0.4rem 0;
  color: var(--brand-ink);
}
.emergency {
  background:
    linear-gradient(135deg, rgba(196, 92, 38, 0.1), transparent 55%),
    var(--bg);
}
.emergency .eyebrow { color: var(--accent); }
.cta {
  text-align: center;
  padding-bottom: 5rem;
}
.cta h2 { margin-left: auto; margin-right: auto; }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  background: var(--bg-soft);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-links { display: flex; gap: 1rem; }
.footer-links a { color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand-ink); }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 4rem;
    left: 1rem;
    right: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-actions .link { display: none; }
  .hero-grid, .split, .steps, .service-grid, .package-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
