/* =============================================================================
   ampdeck.io — shared styles (M29 T1)

   Hand-written CSS on purpose: no framework, no build step, nothing to
   break. Deployed as-is by `npm run deploy:website`.
   ========================================================================== */

:root {
  --ink: #0f172a;
  --muted: #52607a;
  --line: #e5e9f2;
  --bg: #ffffff;
  --accent: #4f46e5;
  --accent-dark: #4338ca;
  --radius: 14px;
  --font:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

/* --- Nav ------------------------------------------------------------------ */

.site-nav {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-nav nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}

.wordmark {
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.wordmark span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.925rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

/* --- Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #1e2a44;
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: #c9d0e0;
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.875rem;
}

/* --- Hero ------------------------------------------------------------------- */

.hero {
  padding: 96px 0 72px;
  text-align: center;
  background:
    radial-gradient(620px 320px at 18% 0%, #eef0ff 0%, transparent 60%),
    radial-gradient(700px 360px at 85% 8%, #ecf7ff 0%, transparent 65%);
}

.hero .lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 34px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Sections ---------------------------------------------------------------- */

section.block {
  padding: 64px 0;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 22px;
}

/* --- Cards -------------------------------------------------------------------- */

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

a.card {
  text-decoration: none;
  display: block;
}

a.card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

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

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.card .go {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

a.card:hover .go {
  text-decoration: underline;
}

/* --- Steps (how it works) ------------------------------------------------------ */

.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.steps h3 {
  font-size: 1.02rem;
}

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* --- Pricing -------------------------------------------------------------------- */

.price-card {
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px 36px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);
}

.price {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 10px 0 4px;
}

.price small {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  text-align: left;
}

.checks li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--muted);
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* --- FAQ (native <details>, zero JS) ---------------------------------------------- */

.faq {
  max-width: 760px;
  margin: 0 auto;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

details:first-child {
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
}

details[open] summary::after {
  content: "–";
}

details p {
  color: var(--muted);
  margin: 10px 0 0;
  max-width: 68ch;
}

/* --- Legal prose ------------------------------------------------------------------- */

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px;
}

.prose h1 {
  font-size: 2rem;
}

.prose h2 {
  font-size: 1.15rem;
  margin-top: 2.2em;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 20px;
}

/* --- CTA band ------------------------------------------------------------------------ */

.band {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 52px 36px;
  text-align: center;
  margin: 24px 0 80px;
}

.band h2 {
  color: #fff;
}

.band p {
  color: #b6c0d8;
  max-width: 560px;
  margin: 0 auto 28px;
}

/* --- Footer ------------------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

/* --- Helpers ------------------------------------------------------------------------- */

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero {
    padding: 64px 0 48px;
  }

  .hide-sm {
    display: none;
  }

  .band {
    padding: 40px 24px;
  }
}
