/* ==========================================================================
   AspiredAutomations — built to .claude/websitetemplates/aspired-design-system.md
   No gradients on text. No drop shadows. No centred text. Purple is an accent.
   ========================================================================== */

:root {
  --bg:      #0A0A12;
  --panel:   #13131F;
  --purple:  #8B5CF6;
  --white:   #FFFFFF;
  --body:    #D8D8E8;
  --grey:    #9A9AB0;
  --green:   #4ADE80;
  --red:     #F87171;

  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.10);
  --grid-line:     rgba(255,255,255,0.030);

  --wrap: 1200px;
  --pad:  40px;

  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.35;
  color: var(--body);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 80% 15%,
      rgba(139,92,246,0.30) 0%,
      rgba(139,92,246,0.07) 55%,
      rgba(139,92,246,0) 100%),
    linear-gradient(to right,  var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  background-attachment: fixed, fixed, fixed;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.5px;
}

p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute; left: -9999px;
  background: var(--panel); color: var(--white);
  padding: 12px 20px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: var(--pad); top: 16px; }

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

/* ---------- Shared components ------------------------------------------ */

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--purple);
}
.eyebrow::after {
  content: "";
  display: block;
  height: 4px;
  margin-top: 10px;
  width: 280px;
  max-width: 60%;
  background: linear-gradient(to right, var(--purple), transparent);
}

.section-title {
  font-size: clamp(30px, 4.2vw, 48px);
  margin-top: 26px;
}

.card {
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px;
}

.divider {
  height: 1px;
  background: rgba(255,255,255,0.10);
  border: 0;
}

.pill {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: rgba(139,92,246,0.15);
  border: 2px solid rgba(139,92,246,0.5);
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  padding: 17px 38px;
  border-radius: 999px;
  background: var(--purple);
  border: 2px solid var(--purple);
  color: #0A0A12;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { background: #9d74f8; border-color: #9d74f8; }

.btn--ghost {
  background: transparent;
  color: var(--purple);
  padding: 11px 26px;
  font-size: 14px;
}
.btn--ghost:hover { background: rgba(139,92,246,0.15); border-color: var(--purple); color: var(--purple); }

.btn--lg { padding: 20px 46px; font-size: 18px; }

/* Purple-circle bullets — never a disc, never a dash. */
.bullets li {
  position: relative;
  padding-left: 30px;
  margin-top: 14px;
  color: var(--body);
  font-size: 18px;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple);
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,18,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
}
.nav__mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav__mark span { color: var(--purple); }

/* ---------- 1. Hero ----------------------------------------------------- */

.hero { padding-block: 120px 110px; }

/* Two-column split: content stops at ~52% so the top-right glow has room. */
.hero__inner { max-width: var(--wrap); }

.hero__title {
  font-size: clamp(42px, 6.6vw, 88px);
  margin-top: 30px;
  max-width: 14ch;
}

.hero__sub {
  margin-top: 26px;
  max-width: 52ch;
  font-size: 19px;
  color: var(--body);
}

.hero .bullets { margin-top: 30px; max-width: 52ch; }

.hero__actions {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero__note { font-size: 14px; color: var(--grey); }

/* ---------- 2. Social proof --------------------------------------------- */

.proof { padding-block: 30px 110px; }

.stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.stat {
  border-top: 2px solid var(--border-strong);
  padding-top: 26px;
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1;
  color: var(--purple);
  letter-spacing: -1px;
}
.stat__label {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--body);
}
.stat__sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--grey);
  max-width: 34ch;
}

.marks { margin-top: 72px; }
.marks__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 18px;
}
.marks__label--spaced { margin-top: 42px; }

.marks__row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.marks__row--tools { gap: 22px 32px; }

/* "Built with" marks. Logos are inlined simple-icons paths (CC0) drawn with
   fill:currentColor so they inherit --grey and never compete with the purple
   accent. The text span is the accessible name, and is also the visible
   fallback for any tool shipped without a logo. */
.tool {
  display: inline-flex;
  align-items: center;
  color: var(--grey);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.2px;
}
.tool__logo {
  display: block;
  height: 30px;
  width: auto;
  fill: currentColor;
}

/* Optical sizing, not arbitrary sizing. Zapier's mark is a filled tile so at a
   matched height it carries far more ink than the open glyphs beside it; n8n's
   is thin and open so it reads small. Nudged until the row looks like one set. */
.tool--zapier .tool__logo { height: 26px; }
.tool--n8n    .tool__logo { height: 32px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Three client case studies, three across. Self-built work (Aspired-AI) is
   deliberately not in this grid — it lives as a line in the "more" section so
   client proof and own-product proof never read as the same thing. */
.cases {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--purple);
}
.card__title {
  margin-top: 16px;
  font-size: clamp(24px, 2.4vw, 30px);
}
.card__body {
  margin-top: 16px;
  font-size: 17px;
  color: var(--body);
}
.card .divider { margin-top: 28px; }
.card__result {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--purple);
}

/* ---------- 3. Everything else ------------------------------------------ */

.more { padding-block: 30px 110px; }

.compare {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.compare__head {
  font-size: clamp(22px, 2.4vw, 30px);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.compare__head--yes { color: var(--green); }
.compare__head--no  { color: var(--red); }

.compare__list li {
  position: relative;
  padding-left: 34px;
  margin-top: 20px;
  font-size: 17px;
}
.compare__list li::before {
  position: absolute;
  left: 0; top: 0;
  font-weight: 700;
}
.compare__list--yes li { color: var(--body); }
.compare__list--yes li::before { content: "✓"; color: var(--green); }
.compare__list--no  li { color: var(--grey); }
.compare__list--no  li::before { content: "✗"; color: var(--red); }

.more__who {
  margin-top: 56px;
  font-size: 17px;
  color: var(--grey);
  max-width: 60ch;
}
.more__who strong { color: var(--body); font-weight: 500; }

/* Own-product proof, kept as a plain line rather than a case-study card. */
.more__own {
  margin-top: 22px;
  font-size: 17px;
  color: var(--grey);
  max-width: 60ch;
}
.more__own strong { color: var(--body); font-weight: 500; }

/* ---------- 4. CTA ------------------------------------------------------ */

.cta { padding-block: 30px 120px; }
.cta__inner { max-width: var(--wrap); }
.cta__title {
  font-size: clamp(32px, 4.6vw, 52px);
  margin-top: 28px;
  max-width: 20ch;
}
.cta__sub {
  margin-top: 24px;
  max-width: 52ch;
  font-size: 18px;
  color: var(--body);
}
.cta .btn { margin-top: 40px; }

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

.foot { padding-bottom: 60px; }
.foot__inner {
  margin-top: 34px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.foot__mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
}
.foot__links { font-size: 15px; color: var(--grey); }
.foot__links a { color: var(--grey); text-decoration: none; }
.foot__links a:hover { color: var(--purple); }
.foot__dot { margin-inline: 10px; }
.foot__legal { margin-top: 20px; font-size: 14px; color: var(--grey); }

/* ==========================================================================
   Responsive — desktop-first system scaled down ~40% for mobile.
   Hero stacks, comparison and case grids collapse to one column.
   ========================================================================== */

/* Three-across cases get tight before they get narrow — tighten the gutters
   and card padding first, then collapse to one column at 900px. */
@media (max-width: 1080px) {
  .cases { gap: 18px; }
  .cases .card { padding: 28px; }
}

@media (max-width: 900px) {
  .stats  { grid-template-columns: 1fr; gap: 34px; }
  .cases  { grid-template-columns: 1fr; }
  .cases .card { padding: 36px; }
  .compare { grid-template-columns: 1fr; gap: 40px; }
  .stat__sub { max-width: none; }
}

@media (max-width: 640px) {
  :root { --pad: 22px; }

  body { font-size: 17px; background-attachment: scroll, scroll, scroll; }

  .hero { padding-block: 66px 70px; }
  .proof, .more { padding-block: 20px 70px; }
  .cta { padding-block: 20px 76px; }

  .hero__title { max-width: none; font-size: clamp(34px, 10vw, 46px); }
  .hero__sub, .cta__sub { font-size: 17px; }
  .hero__actions { margin-top: 34px; gap: 16px; }

  .btn { display: block; text-align: center; padding: 16px 28px; }
  .btn--lg { padding: 18px 28px; font-size: 17px; }
  .btn--ghost { display: inline-block; padding: 10px 20px; font-size: 13px; }
  .hero__actions .btn { width: 100%; }

  .eyebrow::after { max-width: 100%; width: 200px; }
  .card { padding: 26px; }
  .stats { margin-top: 44px; }
  .marks, .cases { margin-top: 52px; }
  .pill { padding: 10px 18px; font-size: 12px; letter-spacing: 1.6px; }
  .tool { font-size: 17px; }
  .tool__logo { height: 25px; }
  .marks__row--tools { gap: 18px 24px; }
  .foot__inner { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
