/* ==========================================================================
   Allion Build — marketing website styles (Allion Simple v4.9)
   Self-contained: tokens + base + components + responsive. No framework needed.
   Font: Inter 400/500/600 from Google Fonts:
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Source colours (from the Allion company logo) — reference only, not for text */
  --allion-blue: #005080;
  --allion-amber: #FAA31C;
  --allion-cyan: #02AACC;

  /* Navy band (hero, proof strips, final call to action, footer) */
  --band: #0F1E2E;             /* page ground */
  --band-raised: #16293C;      /* cards, idea box, inputs on the band */
  --band-hover: #1E3449;
  --band-line: #2A435B;        /* hairlines, card edges, chip edges */
  --band-line-strong: #365270;
  --on-band: #E8EFF5;          /* headings, body            14.5:1 */
  --on-band-2: #B8C7D4;        /* paragraphs, nav links      9.8:1 */
  --on-band-3: #8FA3B6;        /* captions, "Try:" labels    6.5:1 */
  --band-accent: #0077B6;      /* buttons, white label       4.9:1 */
  --band-accent-hover: #00659E;/*                            6.3:1 */
  --band-link: #6CCBEA;        /* text links                 9.1:1 */
  --band-live: #34D399;        /* the one "live / taking projects" dot */

  /* Light sections (features, how it works, pricing, FAQ) — same as the app's light theme */
  --bg: #F9F8F5;
  --card: #FFFFFF;
  --hover: #F1EEE8;
  --line: #E4E0D8;
  --line-strong: #D3CDC2;
  --text: #0F1E2E;             /* 15.9:1 */
  --text-2: #475867;           /*  6.9:1 */
  --text-3: #5A6978;           /*  5.3:1 captions only */
  --accent: #005080;           /* buttons, white label 8.5:1 */
  --accent-hover: #003F66;
  --accent-soft: #E6F1F8;      /* icon tiles, soft chips */
  --link: #005080;             /*  8.0:1 */
  --attention: #B45309;        /* "needs you" in product mock-ups only */
  --success: #047857;

  /* The AI: blue → cyan. Only on the AI tile, the idea box edge, progress bars and the AI card edge. Never buttons or headline words. */
  --ai-from: #1E90D6;          /* on navy */
  --ai-to: #2BC4E4;
  --ai-from-light: #0077B6;    /* on light sections */
  --ai-to-light: #02AACC;

  /* Ambient glows (page background only, never on a card) */
  --glow-blue: rgba(0, 119, 182, 0.20);
  --glow-cyan: rgba(2, 170, 204, 0.14);
  --glow-warm: rgba(250, 163, 28, 0.08);

  /* Type */
  --font: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;

  /* Layout */
  --max: 1248px;               /* content width */
  --gutter: 96px;              /* side padding at 1440 */
  --nav-h: 76px;
  --radius-4: 4px;             /* badges */
  --radius-6: 6px;             /* buttons, chips, inputs */
  --radius-8: 8px;             /* small cards */
  --radius-10: 10px;           /* preview cards */
  --radius-12: 12px;           /* the idea box */
  --focus: 0 0 0 3px rgba(2, 170, 204, 0.35);          /* on navy */
  --focus-light: 0 0 0 3px rgba(0, 80, 128, 0.22);     /* on light */
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus-light); border-radius: 6px; }
.band :focus-visible { box-shadow: var(--focus); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 3. Sections ---------- */
/* Navy band: hero, proof strip, final call to action, footer */
.band {
  background:
    radial-gradient(760px 460px at 78% -60px, var(--glow-blue), transparent 70%),
    radial-gradient(700px 420px at 12% 110%, var(--glow-cyan), transparent 70%),
    radial-gradient(640px 420px at 100% 105%, var(--glow-warm), transparent 70%),
    var(--band);
  color: var(--on-band);
}
/* Light section: everything else */
.section { padding: 96px 0; background: var(--bg); color: var(--text); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 4. Type ---------- */
.display-xl { margin: 0; font-size: 64px; line-height: 70px; font-weight: 600; letter-spacing: -0.03em; }   /* hero headline, once per page */
.display-l  { margin: 0; font-size: 44px; line-height: 52px; font-weight: 600; letter-spacing: -0.025em; } /* section headline */
.title      { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; }                            /* card title */
.lead       { margin: 16px 0 0; font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 640px; }
.band .lead { color: var(--on-band-2); }
.body       { font-size: 16px; line-height: 26px; color: var(--text-2); }
.caption    { font-size: 13px; line-height: 18px; color: var(--text-3); }
.band .caption { color: var(--on-band-3); }
/* Headline rule: one colour for every word. No gradient text, no coloured words, never weight 700. */

/* ---------- 5. Navigation ---------- */
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--band-line); }
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--on-band); text-decoration: none; }
.nav-logo svg { width: 26px; height: 26px; }            /* block mark: tall bar #E8EFF5 on navy, amber bar, cyan block */
.nav-links { flex: 1; display: flex; justify-content: center; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--on-band-2); text-decoration: none; padding: 8px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--on-band); }
.nav-signin { font-size: 15px; font-weight: 500; color: var(--on-band); text-decoration: none; }
.nav-menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--band-line); border-radius: var(--radius-6); background: none; color: var(--on-band); }

/* ---------- 6. Buttons ---------- */
.btn {
  height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 20px;
  border: 0; border-radius: var(--radius-6); font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: #fff; }                 /* one per view */
.btn-primary:hover { background: var(--accent-hover); }
.band .btn-primary { background: var(--band-accent); }
.band .btn-primary:hover { background: var(--band-accent-hover); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--line-strong); font-weight: 500; }
.btn-secondary:hover { background: var(--hover); }
.band .btn-secondary { color: var(--on-band); border-color: var(--band-line-strong); }
.band .btn-secondary:hover { background: var(--band-hover); }
.link { font-size: 15px; font-weight: 500; color: var(--link); text-decoration: none; }
.band .link { color: var(--band-link); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
/* No pill buttons, no gradient buttons, no all-caps labels. */

/* ---------- 7. Hero ---------- */
.hero { padding: 56px 0 96px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.hero .display-xl { max-width: 900px; }
.hero .lead { margin: 0; }
.tag {                                     /* "No coding needed" */
  height: 32px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px;
  border: 1px solid var(--band-line); border-radius: var(--radius-6); background: var(--band-raised);
  font-size: 13px; font-weight: 500; color: var(--on-band-2);
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--band-live); }

/* The idea box: the hero's one input. Gradient edge = the AI is listening. */
.idea-box { width: 100%; max-width: 760px; margin-top: 20px; padding: 1.5px; border-radius: var(--radius-12);
  background: linear-gradient(90deg, var(--ai-from), var(--ai-to)); box-shadow: 0 0 0 4px rgba(2, 170, 204, 0.16); }
.idea-box-inner { border-radius: 11px; background: var(--band-raised); padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.idea-box textarea { width: 100%; min-height: 72px; border: 0; resize: none; background: transparent; color: var(--on-band); font: 16px/24px var(--font); outline: none; }
.idea-box textarea::placeholder { color: var(--on-band-3); }
.idea-box-foot { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--band-line); }
.idea-box-foot .note { font-size: 13px; color: var(--on-band-2); }      /* "An engineer checks every change before it goes live." */
.idea-box-foot .btn { margin-left: auto; }
.ai-tile { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ai-from), var(--ai-to)); }  /* block mark in white */

/* Idea chips under the box ("Try: A booking page · An online shop …") */
.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.chips .label { font-size: 13px; color: var(--on-band-3); margin-right: 4px; }
.chip { height: 40px; padding: 0 14px; border: 1px solid var(--band-line); border-radius: var(--radius-6); background: transparent;
  font: 500 14px/1 var(--font); color: var(--on-band-2); cursor: pointer; }
.chip:hover { background: var(--band-hover); color: var(--on-band); }

/* Product preview card (a real chat snippet, never a fake screenshot) */
.preview-card { width: 100%; max-width: 760px; margin-top: 18px; padding: 16px 18px; border: 1px solid var(--band-line); border-radius: var(--radius-10);
  background: var(--band-raised); display: flex; flex-direction: column; gap: 12px; text-align: left; }
.preview-card .you { align-self: flex-end; padding: 8px 12px; border-radius: 12px 12px 4px 12px; background: #133A55; font-size: 14px; }
.preview-card .ai { display: flex; gap: 10px; font-size: 14px; line-height: 20px; }
.progress { height: 5px; border-radius: 3px; background: #253A4F; overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--ai-from), var(--ai-to)); }

/* ---------- 8. Light-section components ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-8); background: var(--card); }
.feature-icon { width: 40px; height: 40px; border-radius: var(--radius-8); display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }   /* Lucide outline icon, 20px, stroke 1.75 */
.feature .title { margin-bottom: 8px; }
.feature p { margin: 0; font-size: 15px; line-height: 24px; color: var(--text-2); }

/* How it works: numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.step { padding-top: 20px; border-top: 2px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: block; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.step p { margin: 0; font-size: 15px; line-height: 24px; color: var(--text-2); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq p { margin: 10px 0 0; font-size: 16px; line-height: 26px; color: var(--text-2); max-width: 720px; }

/* ---------- 9. Footer (on the band) ---------- */
.footer { padding-top: 56px; padding-bottom: 40px; }   /* keeps the container's side padding */
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.footer h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--on-band); }
.footer a { display: block; padding: 4px 0; font-size: 14px; color: var(--on-band-2); text-decoration: none; }
.footer a:hover { color: var(--on-band); }
.endorsement { display: flex; align-items: center; gap: 14px; }          /* "Allion Build | by [Allion logo]" */
.endorsement .divider { width: 1px; height: 28px; background: var(--band-line); }
.endorsement .by { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-band-3); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--band-line); display: flex; justify-content: space-between; font-size: 13px; color: var(--on-band-3); }

/* ---------- 10. Responsive ---------- */
@media (max-width: 1279px) { :root { --gutter: 48px; } }
@media (max-width: 1023px) {
  .display-xl { font-size: 48px; line-height: 54px; }
  .display-l  { font-size: 36px; line-height: 44px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 767px) {
  :root { --gutter: 24px; --nav-h: 64px; }
  .nav-links, .nav-signin { display: none; }     /* move into the menu sheet */
  .nav-menu-btn { display: grid; place-items: center; margin-left: auto; }
  .nav .btn-primary { display: none; }           /* the hero's button is right below */
  .display-xl { font-size: 38px; line-height: 44px; letter-spacing: -0.025em; }
  .display-l  { font-size: 30px; line-height: 36px; }
  .lead { font-size: 17px; line-height: 26px; }
  .hero { padding: 40px 0 64px; }
  .idea-box-foot { flex-direction: column; align-items: stretch; }
  .idea-box-foot .btn { margin-left: 0; width: 100%; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .endorsement { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .section { padding: 56px 0; }
}
@media (max-width: 479px) { :root { --gutter: 16px; } .display-xl { font-size: 34px; line-height: 40px; } }
