/* Alipta (alipta.io), an Outvie company. Its own stylesheet, built on outvie.tv's system (style.css): Archivo, the same page width,
   section spacing, pill buttons, newspaper-style rule heads, hairlines, paper grain and outvie.tv's breathing nebula glow.
   Colours (owner's choice, 2026-10-12): ivory always (no dark mode), charcoal text, Outvie's red for the dot and accents.
   Logo: Marley's custom "alipta" (charcoal + red dot) and the all-red "ai" small logo, drawn as SVG by brand/make-logos.py.
   Background: instead of outvie.tv's stars (invisible on ivory), a sparse field of drifting ink dots (assets/js/bg.js).
   Colours live here in :root. Text and button colours were checked for contrast (WCAG AA). */

/* ---------- font (Archivo, served from alipta.io itself; copied in at build time by eleventy.config.js) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/assets/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* ivory + red (the only theme) */
  --grid: rgba(28, 28, 30, 0.045);
  --grid-strong: rgba(28, 28, 30, 0.09);
  --bg: #f7f3ea;              /* page */
  --bg-2: #ffffff;            /* cards, pilot band, form section */
  --bg-3: #fffdf8;            /* form fields */
  --line: rgba(0, 0, 0, 0.1);
  --line-strong: rgba(0, 0, 0, 0.2);
  --accent: #ef3340;          /* buttons (white text, 4.6:1), the dot, icons: Outvie's red, one red everywhere */
  --accent-hi: #d8283a;
  --accent-dim: rgba(239, 51, 64, 0.10);
  --accent-text: #1c1c1e;     /* text accents are charcoal (small red text wouldn't be readable enough on ivory) */
  --on-accent: #ffffff;
  --dot: #e0202f;             /* Outvie's red dot */
  --text: #1c1c1e;
  --text-soft: #3a3936;
  --muted: #55534d;
  --faint: #6b6962;
  --top-bg: rgba(247, 243, 234, 0.9);
  --foot-bg: rgba(0, 0, 0, 0.03);
  --hero-glow: radial-gradient(ellipse 55% 60% at 8% 0%, rgba(224, 32, 47, .07), transparent 70%), radial-gradient(ellipse 60% 55% at 95% 100%, rgba(210, 175, 55, .08), transparent 70%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --radius: 12px;
  --wrap: 1180px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background-color: var(--bg);
  /* faint graph-paper grid behind the whole page (a playbook's grid); stronger in the hero (.al-hero::after) */
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top; background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* chalkboard grain over everything (same as outvie.tv) */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.55;
  background-image: var(--grain);
}
main, .al-top, .al-foot { position: relative; z-index: 1; }
img, svg { display: block; max-width: 100%; }
a { color: var(--text); text-decoration-color: var(--dot); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--dot); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--text); }
p { margin: 0 0 1em; }
strong { font-weight: 700; color: var(--text); }

.al-wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
/* Narrow sections keep the page's left edge and full-width rule line; only their text column is narrower. */
.al-narrow > :not(.al-rule) { max-width: 760px; margin-inline: auto; }
/* Centred section heads, like outvie.tv's and trygtm.com's: the rule line stays full width, its label, the heading and
   the intro sit in the middle. Lists and cards underneath keep left-aligned text so they stay easy to read. */
.al-section:not(.al-legal) .al-rule { justify-content: center; }
.al-section:not(.al-legal) h2, .al-section:not(.al-legal) > .al-wrap > .al-intro, .al-section:not(.al-legal) .al-narrow > .al-intro { text-align: center; margin-inline: auto; }
.al-section:not(.al-legal) h2 { max-width: 24ch; }
.al-band .al-small { text-align: center; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.al-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.al-skip:focus { top: 12px; }

/* ---------- top bar (like outvie.tv's menu once scrolled) ---------- */
.al-top { position: sticky; top: 0; z-index: 20; background: var(--top-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.al-top-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand cta" "nav nav"; align-items: center; column-gap: 16px; min-height: 64px; padding: 6px 0; }
.al-brand { grid-area: brand; justify-self: start; }
.al-top-row > .al-btn { grid-area: cta; justify-self: end; }
@media (min-width: 760px) { .al-top-row { grid-template-columns: 1fr auto 1fr; grid-template-areas: "brand nav cta"; } }   /* the menu sits exactly in the middle */
@media (min-width: 700px) { .al-top-row { min-height: 72px; padding: 8px 0; } }
/* section menu (outvie.tv's menu style): on phones it gets its own centred row under the logo and button */
.al-nav { grid-area: nav; display: flex; justify-content: center; gap: 18px; padding: 4px 0 8px; }
.al-nav a { padding: 4px 0; white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-stretch: 112%; color: var(--muted); text-decoration: none; transition: color .2s; }
.al-nav a:hover, .al-nav a[aria-current] { color: var(--text); }
.al-nav a[aria-current] { box-shadow: 0 2px 0 var(--dot); }
@media (min-width: 760px) { .al-nav { gap: 36px; padding: 0; } .al-nav a { font-size: 13.5px; } }
.al-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; padding: 6px 0; }
.al-brand:hover { color: var(--text); }
.al-mark { width: 34px; height: 34px; flex: none; display: block; }
.al-wm { display: block; height: 24px; width: auto; }
.al-top .al-btn-sm { padding: 8px 14px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-stretch: 112%; }

/* ---------- buttons & labels (outvie.tv's .btn and .eyebrow) ---------- */
.al-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  padding: 14px 22px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--on-accent);
  font: 700 15px/1.2 var(--font); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.al-btn:hover { background: var(--accent-hi); color: var(--on-accent); box-shadow: 0 8px 30px var(--accent-dim); transform: translateY(-1px); }
.al-btn:disabled { opacity: .7; cursor: progress; transform: none; }

.al-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-stretch: 115%; color: var(--accent-text);
}
/* Outvie's red dot (still, not breathing) */
.al-eyebrow::before, .al-rule::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }

/* newspaper rule head: thick line, small spaced capitals (outvie.tv's .rule-head) */
.al-rule {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--line-strong); padding-top: 18px; margin: 0 0 18px;
  font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-stretch: 120%; color: var(--muted);
}
.al-section h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.05; font-weight: 800; font-stretch: 104%; letter-spacing: -.01em; text-wrap: balance; }
.al-section h3 { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.18; font-weight: 800; font-stretch: 102%; text-wrap: balance; }
.al-intro { margin: 16px 0 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--text-soft); max-width: 46ch; }
.al-small { font-size: 14px; color: var(--muted); }

/* ---------- hero (outvie.tv's page head, with its soft corner glows and the slowly breathing nebula haze) ---------- */
.al-hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
  background: var(--hero-glow);
}
/* outvie.tv's nebula haze (style.css .hero::before), recoloured for ivory: red, violet, blue and a little gold */
.al-hero::before {
  content: ""; position: absolute; inset: -10%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 40% 36% at 84% 18%, rgba(239, 51, 64, .24), transparent 70%),
    radial-gradient(ellipse 36% 32% at 66% 44%, rgba(124, 92, 214, .22), transparent 70%),
    radial-gradient(ellipse 44% 38% at 14% 80%, rgba(64, 120, 190, .19), transparent 70%),
    radial-gradient(ellipse 30% 26% at 28% 60%, rgba(210, 175, 55, .18), transparent 70%);
  filter: blur(10px);
  animation: al-nebula 22s ease-in-out infinite alternate;
}
@keyframes al-nebula { from { opacity: .75; transform: scale(1) translate(0, 0); } to { opacity: 1; transform: scale(1.06) translate(-1.5%, 1%); } }
.al-hero > .al-wrap { position: relative; z-index: 1; }
/* the grid shows a little stronger in the middle of the hero, fading out (same fixed grid as the page, so lines match) */
.al-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top; background-attachment: fixed;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 38%, #000 25%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 38%, #000 25%, transparent 75%);
}

/* Hero logo: the red letters pour into the dot (assets/js/site.js), leaving the charcoal logo with its red dot. */
.al-hero-logo { display: block; width: clamp(220px, 30vw, 380px); height: auto; margin: 0 auto clamp(22px, 3vw, 32px); overflow: visible; }
#al-drain-c { r: 1100px; }                               /* red logo showing; the script shrinks this into the dot */
.al-logo-done #al-drain-c { r: 0; }
.al-logo-dot { transform-box: fill-box; transform-origin: center; }
.al-logo-dot.is-gulp { animation: al-gulp .75s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes al-gulp { 0% { transform: scale(1); } 40% { transform: scale(1.32); } 70% { transform: scale(.93); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { #al-drain-c { r: 0; } }

.al-hero h1 { margin: 20px auto 0; max-width: 17ch; font-size: clamp(38px, 6.4vw, 76px); line-height: 1.02; font-weight: 800; font-stretch: 108%; letter-spacing: -.01em; text-wrap: balance; }
.al-lede { margin: 24px auto 0; max-width: 46ch; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.5; color: var(--text-soft); text-wrap: pretty; }
.al-cta { margin-top: 32px; }
.al-hero .al-btn { width: 100%; }
.al-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
@media (min-width: 560px) { .al-hero .al-btn { width: auto; } }
/* ---------- example phone (hero): the system at work. assets/js/site.js plays the steps; without it, scene 1 shows complete ---------- */
.al-hero-center { text-align: center; }
.al-hero-copy { display: flex; flex-direction: column; align-items: center; }
.al-hero-copy .al-eyebrow { display: block; max-width: 44ch; }   /* centred; the red dot stays with the first word when it wraps */
.al-hero-copy .al-eyebrow::before { display: inline-block; margin-right: 10px; vertical-align: .12em; }
.al-demo { margin: clamp(44px, 6vw, 64px) auto 0; width: min(320px, 100%); text-align: left; }
.al-phone { position: relative; border-radius: 34px; padding: 12px; background: #111113; box-shadow: 0 0 0 1px var(--line-strong), 0 24px 60px -24px rgba(0, 0, 0, .45); }
.al-phone-top { display: flex; align-items: center; gap: 8px; padding: 8px 12px 10px; border-radius: 24px 24px 0 0; background: var(--bg-2); color: var(--text); font-size: 14px; font-weight: 800; border-bottom: 1px solid var(--line); }
.al-phone-top small { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--muted); }
.al-phone-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-dim); box-shadow: inset 0 0 0 2px var(--dot); flex: none; }
.al-scene { display: none; flex-direction: column; gap: 10px; min-height: 340px; padding: 16px 12px 18px; border-radius: 0 0 24px 24px; background: var(--bg-2); }
.al-scene.is-active { display: flex; }
.al-sys { margin: 4px auto; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.al-sys.is-win { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.al-stars { color: var(--dot); letter-spacing: .05em; }
.al-msg { max-width: 84%; margin: 0; padding: 9px 12px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; }
.al-msg.is-out { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 5px; }
.al-msg.is-in { align-self: flex-start; background: var(--bg); color: var(--text); border-bottom-left-radius: 5px; box-shadow: inset 0 0 0 1px var(--line); }
.al-msg-link { display: block; margin-top: 6px; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.al-demo figcaption { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.al-tag { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-stretch: 112%; vertical-align: 1px; }
/* playing: steps start hidden and slide in one by one */
.al-demo.is-playing [data-step] { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.al-demo.is-playing [data-step].is-shown { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.al-section { padding: clamp(64px, 9vw, 112px) 0; }
.al-section + .al-section { padding-top: 0; }
.al-band + .al-section, .al-section.al-band, .al-section.al-audit, .al-section.al-contact { padding-top: clamp(64px, 9vw, 112px); }


/* Founder note: outvie.tv's story pull-quote */
.al-founder-body { display: grid; gap: 20px; align-items: start; margin-top: 8px; }
.al-founder-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-strong); }
@media (min-width: 600px) { .al-founder-body:has(.al-founder-photo) { grid-template-columns: 96px minmax(0, 1fr); gap: 28px; } }
.al-founder blockquote, .al-case-quote { margin: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--dot); }
.al-founder blockquote p, .al-case-quote p { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 600; font-stretch: 104%; color: var(--text); }
.al-founder blockquote footer, .al-case-quote footer { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-stretch: 112%; color: var(--muted); }
.al-founder blockquote footer::before, .al-case-quote footer::before { content: "— "; }



/* 90-day pilot: a band in the card colour */
.al-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.al-metrics { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.al-metrics li { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 16px; font-weight: 800; font-stretch: 104%; line-height: 1.3; }
@media (min-width: 820px) { .al-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .al-metrics li { padding: 20px; } }
.al-band .al-small { margin: 22px 0 0; }


/* FAQ */
.al-faq { margin-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); }
.al-faq details { border-bottom: 1px solid var(--line); }
.al-faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 800; font-stretch: 102%; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.3; }
.al-faq summary::-webkit-details-marker { display: none; }
.al-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--dot); }
.al-faq details[open] summary::after { content: "–"; }
.al-faq details p { margin: 0 0 20px; color: var(--muted); }

/* Audit form */
.al-audit { background: var(--bg-2); border-top: 1px solid var(--line); }
.al-form { margin-top: 28px; display: grid; gap: 18px; }
.al-form[hidden], .al-done[hidden], .al-error[hidden] { display: none; }
.al-field { display: grid; gap: 7px; }
.al-field label { font-weight: 700; font-size: 15px; }
.al-optional { font-weight: 400; color: var(--muted); }
.al-field input, .al-field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 16px/1.3 var(--font);   /* 16px so phones don't zoom in */
  color: var(--text); background: var(--bg-3); border: 1px solid var(--line-strong); border-radius: 10px;
}
.al-field input:hover, .al-field select:hover { border-color: var(--muted); }
.al-field input:focus-visible, .al-field select:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 1px; border-color: var(--accent-text); border-radius: 10px; }
.al-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent-text) 50%), linear-gradient(135deg, var(--accent-text) 50%, transparent 50%); background-position: right 20px center, right 14px center; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.al-field select option { background: var(--bg-3); color: var(--text); }
.al-field input::placeholder { color: var(--faint); }
.al-field input[aria-invalid="true"], .al-field select[aria-invalid="true"] { border-color: #f07178; }
.al-form .al-btn { width: 100%; }
@media (min-width: 560px) { .al-form .al-btn { width: auto; justify-self: start; } }
.al-form .al-small { margin: 0; }
.al-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.al-check:empty { display: none; }
.al-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: rgba(240, 113, 120, .10); border: 1px solid rgba(240, 113, 120, .45); font-weight: 600; }
.al-done { margin-top: 28px; padding: 22px 22px; border-radius: var(--radius); border: 1px solid var(--accent); background: var(--accent-dim); }
.al-done h3 { margin-bottom: 6px; }
.al-done p { margin: 0; color: var(--text-soft); }
.al-fallback { margin-top: 24px; color: var(--text-soft); }




/* Pricing terms line and founder monogram */
.al-terms-line { margin: 18px 0 0; font-weight: 800; }
.al-monogram { display: grid; place-items: center; background: var(--bg-2); color: var(--text); font-size: 38px; font-weight: 800; font-stretch: 110%; }

/* Hero buttons side by side */
.al-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.al-hero .al-cta .al-btn { width: auto; }

/* Tools strip: logos scroll slowly across the screen; hover pauses; still (and wrapped) for reduced motion */
.al-works { padding: 30px 0 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 1; }
.al-works-label { margin: 0 0 18px; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-stretch: 115%; color: var(--muted); }
.al-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.al-marquee-list { display: flex; flex: none; gap: 56px; margin: 0; padding: 0 56px 0 0; list-style: none; animation: al-marquee 38s linear infinite; }
.al-marquee:hover .al-marquee-list { animation-play-state: paused; }
.al-marquee-list li { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--text); opacity: .72; font-size: 17px; font-weight: 800; font-stretch: 104%; letter-spacing: -.005em; }
.al-marquee-list svg { width: 22px; height: 22px; fill: currentColor; }
@keyframes al-marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .al-marquee { -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .al-marquee-list { flex-wrap: wrap; justify-content: center; gap: 18px 36px; padding: 0 16px; }
  .al-marquee-list[aria-hidden] { display: none; }
}

/* What we set up: four short items, no boxes */
.al-features { list-style: none; padding: 0; margin: clamp(36px, 5vw, 56px) 0 0; display: grid; gap: 32px 28px; }
.al-features li { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.al-features svg { width: 26px; height: 26px; margin-bottom: 14px; fill: none; stroke: var(--dot); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.al-features h3 { margin: 0; font-size: 18px; }
.al-features p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
@media (min-width: 640px) { .al-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .al-features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* How it works: the timed schedule */
.al-schedule { list-style: none; padding: 0; margin: clamp(32px, 4vw, 44px) 0 0; text-align: left; }
.al-schedule li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); }
.al-schedule li:last-child { border-bottom: 1px solid var(--line); }
.al-when { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-stretch: 115%; }
.al-when::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
@media (min-width: 700px) { .al-schedule li { grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: baseline; } }
.al-video { margin: clamp(28px, 4vw, 40px) 0 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg-2); }
.al-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Guardrails: four short items */
.al-guard { list-style: none; padding: 0; margin: clamp(36px, 5vw, 56px) 0 0; display: grid; gap: 28px; }
.al-guard li { padding-top: 18px; border-top: 2px solid var(--text); }
.al-guard h3 { margin: 0; font-size: 17px; }
.al-guard p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
@media (min-width: 640px) { .al-guard { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .al-guard { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Forms: two fields per row on wider screens; the message box */
.al-field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .al-field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.al-field textarea { width: 100%; min-height: 130px; padding: 12px 14px; font: 400 16px/1.5 var(--font); color: var(--text); background: var(--bg-3); border: 1px solid var(--line-strong); border-radius: 10px; resize: vertical; }
.al-field textarea:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; border-color: var(--text); }
.al-formbox { margin-top: 28px; }
.al-formbox .al-form { margin-top: 0; }

/* Background ink dots (assets/js/bg.js), behind everything; sections with their own background cover them. */
.al-ink { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: block; }
.al-ink { -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 48%, rgba(0,0,0,.35), #000 85%); mask-image: radial-gradient(ellipse 55% 50% at 50% 48%, rgba(0,0,0,.35), #000 85%); }

/* Pricing: four plan cards; "Growth & Retention" is highlighted */
.al-plans { list-style: none; padding: 0; margin: clamp(28px, 4vw, 44px) 0 0; display: grid; gap: 18px; align-items: stretch; }
.al-plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 24px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line-strong); }
.al-plan h3 { margin: 0; font-size: 19px; }
.al-plan-kind { margin: 4px 0 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-stretch: 112%; color: var(--muted); }
.al-price { margin: 18px 0 0; }
.al-price small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.al-price strong { display: block; margin-top: 2px; font-size: clamp(30px, 3vw, 38px); font-weight: 800; font-stretch: 106%; letter-spacing: -.01em; line-height: 1.1; }
.al-price .al-setup { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--dot); color: var(--text); font-size: 13.5px; font-weight: 800; }   /* the one-time setup fee, highlighted */
.al-price .al-setup::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.al-price strong span { font-size: .45em; font-weight: 700; color: var(--muted); margin-left: 2px; }
.al-outcome { margin: 14px 0 0; font-weight: 700; color: var(--text); line-height: 1.4; }
.al-plan-plus { margin: 16px 0 0; font-size: 14px; font-weight: 800; color: var(--text); }
.al-plan ul { list-style: none; padding: 0; margin: 10px 0 0; }
.al-plan li { position: relative; padding: 6px 0 6px 24px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.al-plan li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 11px; border: solid var(--dot); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.al-plan-foot { margin-top: auto; padding-top: 22px; }
.al-plan-foot .al-btn { width: 100%; }
.al-plan.is-popular { border: 2px solid var(--accent); box-shadow: 0 24px 50px -30px rgba(239, 51, 64, .5); }
.al-badge { position: absolute; top: -13px; left: 22px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-stretch: 112%; }
.al-btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--text); }   /* secondary: charcoal outline */
.al-btn-ghost:hover { background: var(--text); color: var(--bg); box-shadow: none; }
.al-plans-note { margin: 22px 0 0; }
@media (min-width: 640px) and (max-width: 1099px) { .al-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .al-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: center; }
  .al-plan { height: 100%; }
  .al-plan.is-popular { height: calc(100% + 36px); padding-top: 34px; }      /* slightly larger than its neighbours */
}

/* Pop-up animation: things rise and settle into place as they come into view, with a little overshoot. Only active when
   site.js has switched it on (never for reduced motion), so nothing can stay hidden without JavaScript. */
.al-reveal-on [data-reveal] { opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .7s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.al-reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* Privacy / 404 (outvie.tv's legal pages) */
.al-legal { padding: clamp(56px, 9vw, 96px) 0 80px; }
.al-legal h1 { margin: 12px 0 6px; font-size: clamp(32px, 5vw, 48px); line-height: 1.05; font-weight: 800; font-stretch: 112%; }
.al-legal h2 { margin: 1.8em 0 .5em; font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; font-stretch: 104%; }
.al-legal p { color: var(--text-soft); }
.al-legal .al-btn { margin-top: 12px; }

/* ---------- footer (outvie.tv's) ---------- */
.al-foot { padding: 40px 0 46px; border-top: 1px solid var(--line); background: var(--foot-bg); }
.al-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.al-foot-brand { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--text-soft); }
.al-foot-brand strong { font-stretch: 112%; }
.al-foot-brand .al-mark { width: 28px; height: 28px; }
.al-foot-brand .al-wm { height: 20px; }
.al-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.al-foot nav a { color: var(--muted); text-decoration: none; }
.al-foot nav a:hover { color: var(--text); }
.al-foot-small { margin-top: 18px; margin-bottom: 0; font-size: 12px; color: var(--faint); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
