/* AxisPoints landing, by CRFTD
   Mobile-first, no JavaScript. Palette is taken from the AxisPoints logo.
   Type: Bricolage Grotesque (condensed display) against the round, geometric
   wordmark; Instrument Sans for body copy. */

:root {
  /* Brand */
  --ink: #040054;          /* logo wordmark */
  --ink-3: #2E2A8A;
  --green: #22CE91;
  --blue: #3387E5;
  --pink: #FC83FF;
  --orange: #FD4B00;
  --yellow: #FFB91D;
  --brand-gradient: linear-gradient(90deg, #22CE91 0%, #3387E5 21%, #FC83FF 46%, #FD4B00 64%, #FFB91D 90%);

  /* Tints of each brand color (for card fills) */
  --green-tint: #D7F6EA;
  --blue-tint: #DCEAFB;
  --pink-tint: #FCE3FF;
  --orange-tint: #FFE2D3;
  --yellow-tint: #FFF0CC;

  /* Neutrals */
  --white: #FFFFFF;
  --tint: #F5F4FB;
  --line: #DEDCEF;
  --text: #040054;
  --text-muted: #3F3B66;
  --text-on-ink: #D9D7F0;
  --footer: #03020C;

  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gutter: 16px;
  --radius: 16px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 85%;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; font-stretch: 90%; letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0 0 1em; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; z-index: 100; font-weight: 700;
}
.skip:focus { left: var(--gutter); top: var(--gutter); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--ink-3); border-color: var(--ink-3); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(4, 0, 84, .6); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--pink-tint); }
.btn-sm { padding: .5rem 1rem; font-size: .95rem; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.1rem; }

/* Header */
.site-header { background: var(--white); position: relative; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand-gradient); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; text-decoration: none; }
.brand img { width: 150px; height: auto; }
@media (min-width: 760px) { .brand img { width: 190px; } }
.nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.25rem; }
.nav a:not(.btn) { text-decoration: none; color: var(--text-muted); font-weight: 600; }
.nav a:not(.btn):hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav li:not(:last-child) { display: none; }
@media (min-width: 900px) { .nav li:not(:last-child) { display: list-item; } }

/* Hero: soft brand-color glows behind the content */
.hero {
  padding: 3rem 0 4rem;
  background:
    radial-gradient(40rem 26rem at 95% 0%, rgba(252, 131, 255, .30), transparent 70%),
    radial-gradient(34rem 24rem at 0% 100%, rgba(34, 206, 145, .24), transparent 70%),
    radial-gradient(30rem 20rem at 55% 110%, rgba(255, 185, 29, .22), transparent 70%),
    var(--tint);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } .hero { padding: 5rem 0 6rem; } }
.eyebrow { color: var(--text-muted); font-weight: 600; font-size: 1rem; margin-bottom: 1rem; }
.lede { font-size: 1.2rem; color: var(--text-muted); max-width: 38ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-art { margin: 0; }
.hero-art svg { width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; box-shadow: 0 30px 70px -28px rgba(4, 0, 84, .55); }
.ap-pulse { transform-box: fill-box; transform-origin: center; animation: ap-pulse 2s ease-out infinite; }
@keyframes ap-pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(2.4); opacity: 0; } }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--tint); }
.section-lede { color: var(--text-muted); font-size: 1.15rem; max-width: 60ch; }

/* Dark brand band (features) */
.section-ink {
  color: var(--white);
  background:
    radial-gradient(36rem 22rem at 100% 0%, rgba(51, 135, 229, .35), transparent 70%),
    radial-gradient(30rem 22rem at 0% 100%, rgba(252, 131, 255, .22), transparent 70%),
    var(--ink);
}
.section-ink .section-lede { color: var(--text-on-ink); }

/* How it works: each step takes a brand color */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { --c: var(--green); --t: var(--green-tint); counter-increment: step; padding: 1.75rem 1.5rem; border-radius: var(--radius); background: var(--t); }
.steps li:nth-child(2) { --c: var(--blue); --t: var(--blue-tint); }
.steps li:nth-child(3) { --c: var(--pink); --t: var(--pink-tint); }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; margin-bottom: 1rem;
  border-radius: 50%; background: var(--c); color: var(--ink);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .7);
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
}
.steps p { color: var(--text-muted); margin: 0; }

/* Card grids */
.cards { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--radius); }
.card p { margin: 0; }

/* Features (dark band): glassy cards with a colored hotspot marker */
.section-ink .card {
  --c: var(--green);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.section-ink .card:hover { transform: translateY(-3px); border-color: var(--c); background: rgba(255, 255, 255, .09); }
.section-ink .card::before {
  content: ""; display: block; width: 14px; height: 14px; margin-bottom: 1.1rem;
  border-radius: 50%; background: var(--c);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 30%, transparent), 0 0 24px 4px color-mix(in srgb, var(--c) 45%, transparent);
}
.section-ink .card:nth-child(5n+2) { --c: var(--blue); }
.section-ink .card:nth-child(5n+3) { --c: var(--pink); }
.section-ink .card:nth-child(5n+4) { --c: var(--orange); }
.section-ink .card:nth-child(5n+5) { --c: var(--yellow); }
.section-ink .card h3 { color: var(--white); }
.section-ink .card p { color: var(--text-on-ink); }

/* Use cases (light): tinted fills with a solid color edge */
#use-cases .card {
  --c: var(--green); --t: var(--green-tint);
  background: var(--t);
  border-left: 6px solid var(--c);
  transition: transform .15s ease, box-shadow .15s ease;
}
#use-cases .card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(4, 0, 84, .45); }
#use-cases .card:nth-child(5n+2) { --c: var(--blue); --t: var(--blue-tint); }
#use-cases .card:nth-child(5n+3) { --c: var(--pink); --t: var(--pink-tint); }
#use-cases .card:nth-child(5n+4) { --c: var(--orange); --t: var(--orange-tint); }
#use-cases .card:nth-child(5n+5) { --c: var(--yellow); --t: var(--yellow-tint); }
#use-cases .card p { color: var(--text-muted); }

/* Builders */
.pills { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.center .pills { justify-content: center; }
.pills li { display: inline-flex; align-items: center; gap: .5rem; background: var(--white); color: var(--ink); border: 2px solid var(--ink); padding: .4rem 1rem; border-radius: 999px; font-weight: 700; }
.pills li::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--green); }
.pills li:nth-child(2)::before { background: var(--blue); }
.pills li:nth-child(3)::before { background: var(--pink); }
.pills li:nth-child(4)::before { background: var(--orange); }

/* Pricing */
.plans { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; overflow: hidden; border-radius: var(--radius); padding: 2rem 1.5rem 1.75rem; background: var(--blue-tint); }
.plan:last-child { background: var(--yellow-tint); }
.plan::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--blue); }
.plan:last-child::before { background: var(--yellow); }
.plan-featured { background: var(--ink); color: var(--white); box-shadow: 0 24px 50px -22px rgba(4, 0, 84, .7); }
.plan-featured::before { background: var(--brand-gradient); }
.plan-badge { display: inline-block; margin: 0 0 .9rem; padding: .25rem .7rem; border-radius: 999px; background: var(--pink); color: var(--ink); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.price { font-family: var(--font-display); color: var(--text-muted); margin: .25rem 0 1rem; }
.price span { font-size: 3rem; font-weight: 800; font-stretch: 85%; color: var(--text); letter-spacing: -.02em; }
.plan p:last-child { color: var(--text-muted); margin: 0; }
.plan-featured .price, .plan-featured p:last-child { color: var(--text-on-ink); }
.plan-featured .price span { color: var(--yellow); }
.plans-note { color: var(--text-muted); font-size: .95rem; margin-top: 1.25rem; }

/* FAQ */
details { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-bottom: .75rem; transition: border-color .15s ease; }
details:hover { border-left-color: var(--blue); }
details[open] { border-left-color: var(--pink); }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: .75rem 0 0; color: var(--text-muted); }

/* CTA band */
.cta-band {
  color: var(--white);
  position: relative;
  background:
    radial-gradient(30rem 18rem at 15% 0%, rgba(34, 206, 145, .28), transparent 70%),
    radial-gradient(30rem 18rem at 85% 100%, rgba(253, 75, 0, .30), transparent 70%),
    var(--ink);
}
.cta-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-gradient); }
.cta-band p { color: var(--text-on-ink); font-size: 1.15rem; }
.cta-band .btn { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.cta-band .btn:hover { background: #FFC948; border-color: #FFC948; }

/* Footer */
.site-footer { background: var(--footer); color: var(--text-on-ink); padding: 2.5rem 0; font-size: .95rem; }
.footer-row { display: grid; gap: .75rem; }
.footer-logo { width: 150px; height: auto; margin-bottom: .25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.25rem; }
.site-footer a { color: var(--white); }
.site-footer p { margin: 0; }
.fine { font-size: .8rem; opacity: .85; }
