/* Barbed Wire Glove AI (/ai/ and /ai/quote/): the "channel lines" design (2026-10-26).
   One idea: every channel is its own coloured line through one assistant. Forest green is the main colour, a brighter
   green is the action colour, and the four line colours only ever mean channels. Overpass (self-hosted, SIL OFL) for
   these pages; the site header and footer keep the site's own type. Loads after site.css.
   Dark mode (2026-10-26): these pages declare "light dark", so a browser in dark mode (and Edge/Chrome auto dark
   mode, which then stands down) gets the designed dark version at the end of this file: a forest-black ground, the
   same forest blocks, leaf-green actions. Every colour is set here, nothing is left to browser defaults. */

:root { color-scheme: light dark; }

@font-face { font-family: "Overpass"; src: url("../fonts/overpass-var-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }

.ai-lines {
  --al-ink: #131514;
  --al-soft: #4A5850;      /* secondary text on white and mint, 7:1 */
  --al-rule: #D5DED8;
  --al-mint: #EDF5F0;      /* quiet section ground */
  --al-forest: #1F4D36;    /* main colour: the big blocks */
  --al-forest-deep: #163A28;
  --al-go: #1A7F45;        /* buttons on white: white text 5:1 */
  --al-go-hover: #146436;
  --al-leaf: #7BE3A8;      /* buttons on forest: forest text 6:1 */
  --l-chat: #23A55A; --l-email: #2D6BF0; --l-dm: #D63384; --l-phone: #B87D00; --l-text: #12898F;
  /* the picked channel: line, text-safe fill, section ground, soft text on that ground */
  --sel: var(--l-chat); --sel-ink: #1A7F45; --sel-ground: #1F4D36; --sel-soft: #CFE7D9;
  --al-bg: #FFFFFF;        /* page ground; also the halo behind map labels */
  --al-f: "Overpass", "Segoe UI", system-ui, sans-serif;
  font-family: var(--al-f);
  background: var(--al-bg);
  color: var(--al-ink);
}
.ai-lines[data-ch="email"] { --sel: var(--l-email); --sel-ink: #2D6BF0; --sel-ground: #1D3D80; --sel-soft: #D7E2FA; }
.ai-lines[data-ch="dm"] { --sel: var(--l-dm); --sel-ink: #C42A74; --sel-ground: #7D1D4F; --sel-soft: #F7D8E7; }
.ai-lines[data-ch="phone"] { --sel: var(--l-phone); --sel-ink: #8A6000; --sel-ground: #574100; --sel-soft: #F1E2B5; }
.ai-lines ::selection { background: #BDEFD2; color: #131514; }
.ai-lines :focus-visible { outline: 3px solid var(--al-ink); outline-offset: 3px; border-radius: 4px; }
.ai-lines .al-how :focus-visible, .ai-lines .al-contact :focus-visible { outline-color: #FFFFFF; }
.ai-lines .site-head, .ai-lines .site-foot { font-family: var(--text); }
.ai-lines .site-foot a:hover { text-decoration-color: var(--al-leaf); }

/* ---------- light masthead (same logo, nav and links as every page) ---------- */
.site-head--light { background: var(--al-bg); color: var(--al-ink); padding: 18px 0 0; }
.brand picture { display: contents; }
.brand source { display: none; }
.site-head--light .bar { border-top: 0; padding-top: 4px; }
.site-head--light .nav a:hover { border-bottom-color: var(--al-ink); }
.site-head--light .nav a[aria-current="page"] { border-bottom-color: var(--al-go); }

/* ---------- shared pieces ---------- */
.al-h1 { font-weight: 850; font-size: clamp(52px, 7.6vw, 116px); line-height: .92; letter-spacing: -.035em; text-wrap: balance; }
.al-h2 { font-weight: 850; font-size: clamp(34px, 3.4vw + 10px, 58px); line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
.al-h3 { font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.al-dek { font-size: clamp(17.5px, .5vw + 14px, 20px); line-height: 1.5; max-width: 30em; color: var(--al-soft); }
.al-kicker { font-size: 16px; font-weight: 700; color: var(--al-go); margin-bottom: 18px; }
.al-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.al-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 3px 26px 0; border-radius: 999px; border: 2.5px solid currentColor;
  font: 700 16.5px/1.2 var(--al-f); text-decoration: none; color: inherit; background: transparent; cursor: pointer; }
.al-btn:hover { background: rgba(19, 21, 20, .07); }
.al-btn--go { background: var(--al-go); border-color: var(--al-go); color: #FFFFFF; }
.al-btn--go:hover { background: var(--al-go-hover); border-color: var(--al-go-hover); }
.al-btn--leaf { background: var(--al-leaf); border-color: var(--al-leaf); color: #10301F; }
.al-btn--leaf:hover { background: #A2EEC2; border-color: #A2EEC2; }
.al-head { display: grid; gap: 14px; }
.al-side { font-size: 16px; line-height: 1.5; color: var(--al-soft); max-width: 40ch; }
@media (min-width: 1024px) {
  .al-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .al-head .al-h2 { grid-column: 1 / span 8; }
  .al-head .al-side { grid-column: 9 / span 4; padding-bottom: 6px; }
}
.al-sec { padding: clamp(56px, 7vw, 100px) 0; }
.al-mint { background: var(--al-mint); }
.al-f { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; }
.al-f dt { color: var(--al-soft); }
.al-f dd { font-weight: 700; }

/* ---------- hero: headline, the sample message and the line map ---------- */
.al-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 4vw, 48px); }
.al-hero-grid { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .al-hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
  .al-hero-copy { grid-column: 1 / span 7; }
  .al-sample { grid-column: 8 / span 5; }
}
@media (min-width: 1200px) { .al-sample { grid-column: 9 / span 4; } }
.al-hero .al-dek { margin-top: 26px; }
.al-sample { border: 3px solid var(--sel); border-radius: 22px; padding: 18px 18px 20px; transition: border-color .3s; max-width: 520px; }
.al-sample-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.al-sample-head span:last-child { font-weight: 500; color: var(--al-soft); }
.al-tag { display: inline-flex; align-items: center; gap: 8px; }
.al-tag::before { content: ""; width: 22px; height: 8px; border-radius: 4px; background: var(--sel); }
.al-msg { margin-top: 14px; display: grid; gap: 10px; font-size: 15.5px; line-height: 1.42; }
.al-in { background: #F0F3F1; border-radius: 18px 18px 18px 6px; padding: 11px 14px 9px; justify-self: start; max-width: 92%; }
.al-out { background: var(--sel-ink); color: #FFFFFF; border-radius: 18px 18px 6px 18px; padding: 11px 14px 9px; justify-self: end; max-width: 88%; }
.al-mailmsg { border: 1.5px solid var(--al-rule); border-radius: 12px; padding: 10px 13px 8px; }
.al-mailmsg b { display: block; font-size: 13.5px; }
.al-who-says { display: block; font-size: 12.5px; font-weight: 700; opacity: .8; margin-bottom: 2px; }
.al-out .al-who-says { opacity: 1; }   /* white on the amber phone bubble needs full strength (4.5:1+) */
.al-note { margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--al-soft); }

.al-map { margin-top: clamp(40px, 5vw, 56px); }
.al-map-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; font-size: 15px; color: var(--al-soft); }
.al-map-top b { color: var(--al-ink); }
.al-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.al-map-h { margin-top: 8px; }
.al-map .al-map-v { display: none; max-width: 460px; margin-top: 18px; }
.al-ln { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 12; transition: stroke-width .25s; }
.al-ln[data-ch="chat"] { stroke: var(--l-chat); } .al-ln[data-ch="email"] { stroke: var(--l-email); }
.al-ln[data-ch="dm"] { stroke: var(--l-dm); } .al-ln[data-ch="phone"] { stroke: var(--l-phone); }
.al-ln.is-on { stroke-width: 17; }
.al-team { fill: none; stroke: var(--al-ink); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.al-map-v .al-team { stroke-width: 7; }
.al-st { fill: #FFFFFF; stroke: var(--al-ink); stroke-width: 5; }
.al-map text { font-family: var(--al-f); fill: var(--al-ink); paint-order: stroke; stroke: var(--al-bg); stroke-width: 5px; stroke-linejoin: round; }
.al-map .al-pick text { stroke: none; }
.al-lbl { font-size: 16px; font-weight: 700; }
.al-sub { font-size: 14px; fill: var(--al-soft) !important; }
.al-map-h .al-lbl { font-size: 17px; }
.al-map-h .al-sub { font-size: 15px; }
svg .al-pick { cursor: pointer; outline: none; }
svg .al-pick rect { fill: transparent; stroke: transparent; stroke-width: 2.5; }
svg .al-pick[data-ch="chat"] { --c: var(--l-chat); } svg .al-pick[data-ch="email"] { --c: var(--l-email); }
svg .al-pick[data-ch="dm"] { --c: var(--l-dm); } svg .al-pick[data-ch="phone"] { --c: var(--l-phone); }
svg .al-pick:hover rect { fill: var(--c); fill-opacity: .1; }
svg .al-pick[aria-pressed="true"] rect { fill: var(--c); fill-opacity: .18; }
svg .al-pick:focus-visible rect { stroke: var(--al-ink); stroke-width: 3; fill: var(--c); fill-opacity: .18; }
/* Solid fills (same look) so the line names always sit on the page's own ground, even if a browser recolours it. */
@supports (fill: color-mix(in srgb, red 10%, white)) {
  svg .al-pick rect { fill: var(--al-bg); }
  svg .al-pick:hover rect { fill: color-mix(in srgb, var(--c) 10%, var(--al-bg)); fill-opacity: 1; }
  svg .al-pick[aria-pressed="true"] rect, svg .al-pick:focus-visible rect { fill: color-mix(in srgb, var(--c) 18%, var(--al-bg)); fill-opacity: 1; }
}
.al-chips { display: none; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.al-chip { --c: var(--l-chat); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 15px/1.1 var(--al-f); color: var(--al-ink);
  background: #FFFFFF; border: 2px solid var(--al-rule); border-radius: 999px; padding: 3px 14px 0; cursor: pointer; }
.al-chip::before { content: ""; width: 18px; height: 7px; border-radius: 4px; background: var(--c); margin-top: -3px; }
.al-chip[data-ch="email"] { --c: var(--l-email); } .al-chip[data-ch="dm"] { --c: var(--l-dm); } .al-chip[data-ch="phone"] { --c: var(--l-phone); }
.al-chip[aria-pressed="true"] { border-color: var(--sel-ink); background: var(--sel-ink); color: #FFFFFF; }
.al-chip[aria-pressed="true"]::before { background: #FFFFFF; }
@media (max-width: 1199px) {
  .al-map .al-map-h, .al-map-out { display: none; }
  .al-map .al-map-v { display: block; }
  .al-chips { display: flex; }
}

/* ---------- how it works: a strip map on the picked channel's colour ---------- */
.al-how { background: var(--sel-ground); color: #FFFFFF; padding: clamp(60px, 7vw, 92px) 0 clamp(64px, 7vw, 96px); transition: background-color .4s; }
.al-how .al-side, .al-how .al-d { color: var(--sel-soft); }
.al-strip { position: relative; margin-top: 44px; display: grid; row-gap: 26px; padding-left: 58px; }
.al-rail { position: absolute; top: 0; bottom: 0; left: 14px; width: 12px; background: #FFFFFF; border-radius: 6px; }
.al-stop { position: relative; display: flex; flex-direction: column; gap: 8px; }
.al-stop h3 { font-weight: 800; font-size: 19.5px; line-height: 1.15; letter-spacing: -.01em; }
.al-d { font-size: 15px; line-height: 1.45; }
.al-dot { position: absolute; left: -58px; top: -4px; width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; color: var(--al-ink); border: 5px solid var(--al-ink);
  display: grid; place-items: center; font-weight: 850; font-size: 16px; line-height: 1; padding-top: 3px; z-index: 1; }
.al-dot--x { border-width: 7px; }
.al-obj { background: #FFFFFF; color: var(--al-ink); border-radius: 14px; padding: 11px 13px 9px; font-size: 14.5px; line-height: 1.42; margin-top: 4px; }
.al-obj--in { border-radius: 16px 16px 16px 5px; }
.al-obj--out { background: var(--al-ink); color: #FFFFFF; border-radius: 16px 16px 5px 16px; }
.al-src { font-size: 12.5px; color: #C9D2CC; margin-top: 4px; }
.al-checks { display: grid; gap: 4px; }
.al-checks li { display: flex; justify-content: space-between; gap: 10px; }
.al-checks b { font-weight: 800; white-space: nowrap; }
.al-ok { color: #11743F; }
.al-hold { color: #A3361A; }
.al-mail b { display: block; }
@media (min-width: 1100px) {
  .al-strip { grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: auto 64px auto; column-gap: var(--gap); row-gap: 0; padding-left: 0; margin-top: 52px; }
  .al-rail { position: static; grid-row: 2; grid-column: 1 / -1; align-self: center; height: 12px; width: auto; }
  .al-stop.al-up { grid-row: 1; padding-bottom: 22px; justify-content: flex-end; }
  .al-stop.al-down { grid-row: 3; padding-top: 22px; }
  .al-stop.al-up::after, .al-stop.al-down::before { content: ""; position: absolute; left: 50%; width: 3px; margin-left: -1.5px; height: 42px; background: #FFFFFF; }
  .al-stop.al-up::after { bottom: -20px; }
  .al-stop.al-down::before { top: -20px; }
  .al-strip .al-dot { left: 50%; margin-left: -20px; top: auto; }
  .al-up .al-dot { bottom: -52px; }
  .al-down .al-dot { top: -52px; }
  .al-strip .al-dot--x { width: 46px; height: 46px; margin-left: -23px; }
  .al-up .al-dot--x { bottom: -55px; }
  .al-s1 { grid-column: 1 / span 2; } .al-s2 { grid-column: 2 / span 2; } .al-s3 { grid-column: 3 / span 2; } .al-s4 { grid-column: 4 / span 2; }
  .al-s5 { grid-column: 5 / span 2; } .al-s6 { grid-column: 6 / span 2; } .al-s7 { grid-column: 7 / span 2; }
}

/* ---------- after hours: two figures from a 168-hour week, drawn as lines ---------- */
.al-stats { display: grid; gap: 44px; margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 900px) { .al-stats { grid-template-columns: 1fr 1fr; column-gap: var(--gap); } }
.al-stat { display: grid; gap: 12px; align-content: start; }
.al-lead { font-size: 18px; font-weight: 700; line-height: 1.35; }
.al-num { font-weight: 900; font-size: clamp(108px, 9vw + 50px, 200px); line-height: .8; letter-spacing: -.045em; color: var(--al-forest); font-variant-numeric: tabular-nums; margin: 10px 0 0 -.04em; }
.al-cap { font-size: 18px; line-height: 1.4; }
.al-stat figcaption { display: grid; gap: 14px; }
.al-chart { position: relative; max-width: 560px; padding-bottom: 24px; }
.al-track { position: relative; height: 14px; border-radius: 7px; background: #D4DDD7; overflow: hidden; }
.al-track span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 7px; background: var(--al-forest); }
.al-axis { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; font-size: 12.5px; line-height: 16px; color: var(--al-soft); font-variant-numeric: tabular-nums; }
.al-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.al-axis span:first-child { transform: none; }
.al-axis span:last-child { transform: translateX(-100%); }
.al-src2 { font-size: 14px; line-height: 1.45; color: var(--al-soft); }

/* ---------- what it does: ten jobs as stops on two lines ---------- */
.al-jobs { display: grid; margin-top: clamp(30px, 4vw, 52px); column-gap: var(--gap); }
@media (min-width: 900px) { .al-jobs { grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(5, auto); } }
.al-jobs > div { position: relative; padding: 0 0 22px 40px; }
.al-jobs > div::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: -6px; width: 6px; background: var(--al-forest); }
.al-jobs > div:nth-child(5)::before, .al-jobs > div:last-child::before { bottom: auto; height: 12px; }
.al-jobs > div::after { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF; border: 4px solid var(--al-ink); box-sizing: border-box; }
.al-jobs dt { font-weight: 800; font-size: 18.5px; line-height: 1.25; padding-top: 3px; }
.al-jobs dd { font-size: 15.5px; line-height: 1.45; color: var(--al-soft); margin-top: 3px; max-width: 46ch; }
@media (max-width: 899px) { .al-jobs > div:nth-child(5)::before { bottom: -6px; height: auto; } }

/* ---------- team tickets ---------- */
.al-tickets { display: grid; gap: 20px; margin-top: clamp(30px, 4vw, 48px); }
@media (min-width: 900px) { .al-tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; } }
.al-ticket { background: #FFFFFF; border: 2px solid var(--al-rule); border-radius: 16px; padding: 16px 18px 18px; font-size: 15px; line-height: 1.42; }
.al-ticket figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--al-soft); margin-bottom: 12px; }
.al-pill { font-size: 13px; font-weight: 800; color: var(--al-ink); background: #E9EDEA; border-radius: 999px; padding: 4px 10px 2px; white-space: nowrap; }
.al-pill--ok { background: #D7F2E1; color: #11502C; }
.al-pill--team { background: #FBE9B6; color: #5A4300; }
.al-ticket .al-f { font-size: 14.5px; }
.al-why { margin-top: 12px; padding-top: 10px; border-top: 1.5px solid var(--al-rule); font-size: 14px; color: var(--al-soft); }
.al-quote { font-size: 15.5px; line-height: 1.45; }
.al-setup { display: grid; gap: 22px; margin-top: clamp(36px, 4vw, 56px); }
@media (min-width: 900px) { .al-setup { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .al-setup .al-h3 { grid-column: 1 / span 3; padding-top: 10px; } .al-spec { grid-column: 4 / span 6; } .al-setup-act { grid-column: 10 / span 3; } }
.al-spec div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 10px 0 8px; border-top: 1.5px solid var(--al-rule); font-size: 15.5px; line-height: 1.4; }
.al-spec div:last-child { border-bottom: 1.5px solid var(--al-rule); }
.al-spec dt { font-weight: 700; color: var(--al-soft); }
.al-setup-act p { margin-top: 12px; font-size: 14.5px; color: var(--al-soft); line-height: 1.45; }

/* ---------- who it's for ---------- */
.al-who { display: grid; gap: 30px; margin-top: clamp(30px, 4vw, 48px); }
@media (min-width: 1024px) { .al-who { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .al-photo { grid-column: 1 / span 6; } .al-desks { grid-column: 7 / span 6; } }
.al-photo img { width: 100%; border-radius: 18px; }
.al-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--al-soft); }
.al-desks { display: grid; gap: 30px; }
.al-desk { border-top: 6px solid var(--al-forest); padding-top: 18px; }
.al-desk h3 { font-weight: 850; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 10px; }
.al-desk p { font-size: 16px; line-height: 1.5; max-width: 52ch; }
.al-desk p + p { margin-top: 10px; }
.al-desk .al-desk-act { margin-top: 16px; }

/* ---------- trial: three stops ---------- */
.al-trial { position: relative; display: grid; gap: 28px; margin-top: clamp(30px, 4vw, 52px); padding-left: 58px; }
.al-trial::before { content: ""; position: absolute; left: 14px; top: 10px; bottom: 10px; width: 12px; border-radius: 6px; background: var(--al-forest); }
.al-trial li { position: relative; }
.al-trial .al-dot { left: -58px; top: -6px; }
.al-trial h3 { font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.al-trial p { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--al-soft); max-width: 44ch; }
@media (min-width: 900px) {
  .al-trial { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); padding-left: 0; padding-top: 62px; }
  .al-trial::before { left: 20px; right: 0; top: 14px; bottom: auto; width: auto; height: 12px; }
  .al-trial .al-dot { left: 0; top: -62px; }
}

/* ---------- questions ---------- */
.al-qa { display: grid; gap: 26px; }
@media (min-width: 1024px) { .al-qa { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); } .al-qa .al-h2 { grid-column: 1 / span 4; } .al-faq { grid-column: 6 / span 7; } }
.al-faq details { border-top: 2px solid var(--al-rule); }
.al-faq details:last-child { border-bottom: 2px solid var(--al-rule); }
.al-faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 44px 14px 0; font-weight: 800; font-size: 19px; line-height: 1.3; }
.al-faq summary::-webkit-details-marker { display: none; }
.al-faq summary::after { content: ""; position: absolute; right: 4px; top: 18px; width: 26px; height: 26px; border-radius: 50%; background: var(--al-forest)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M8 13h10M13 8v10' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 26px no-repeat; }
.al-faq details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M8 13h10' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.al-faq details p { padding: 0 0 18px; font-size: 16px; line-height: 1.55; color: var(--al-soft); max-width: 60ch; }
.al-faq a { text-decoration-color: var(--al-go); }

/* ---------- contact ---------- */
.al-contact { background: var(--al-forest); color: #FFFFFF; padding: clamp(64px, 8vw, 110px) 0; }
.al-contact .al-h2 { font-size: clamp(48px, 6vw + 12px, 104px); }
.al-contact .al-dek { color: #CFE7D9; margin-top: 20px; }
.al-mailline { margin-top: 22px; font-size: 16px; color: #CFE7D9; }
.al-mailline a { color: #FFFFFF; font-weight: 700; text-decoration-color: var(--al-leaf); }
.al-owned { margin-top: 30px; font-size: 14px; color: #B5D3C2; }
.al-cross { margin-top: 10px; font-size: 14px; }
.al-cross a { color: #FFFFFF; text-decoration-color: var(--al-leaf); }

@media (max-width: 599px) {
  .al-acts .al-btn { flex: 1 1 auto; }
  .al-h1 { font-size: clamp(46px, 14vw, 60px); }
}
@media (prefers-reduced-motion: reduce) { .al-how, .al-ln, .al-sample { transition: none; } }

/* =================== quick quote (/ai/quote/) =================== */
/* One screen on a desktop: the title on the left, five quick questions and Send on the right. Everything else is
   optional, folded under "Tell us a bit more". */
.al-qpage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 1024px) {
  .al-qpage { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .al-qintro { grid-column: 1 / span 4; position: sticky; top: 28px; padding-top: 6px; }
  .al-form { grid-column: 5 / span 8; }
}
.al-back { display: inline-block; font-size: 15px; font-weight: 700; color: var(--al-go); text-decoration: none; margin-bottom: 16px; }
.al-back:hover { text-decoration: underline; }
.al-qintro .al-h1 { font-size: clamp(44px, 4vw + 18px, 84px); }
.al-qintro .al-dek { margin-top: 18px; font-size: 19px; color: var(--al-ink); max-width: 22em; }
.al-for { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--al-forest); }
.al-for[hidden] { display: none; }

.al-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.al-errs { border: 3px solid #B42318; border-radius: 16px; padding: 14px 18px; background: #FFF4F2; }
.al-errs[hidden] { display: none; }
.al-errs h2 { font-size: 17px; font-weight: 800; }
.al-errs ul { margin-top: 6px; list-style: disc; padding-left: 20px; display: grid; gap: 3px; font-size: 15px; }
.al-errs a { color: #9B1C12; font-weight: 700; }
.al-card { border: 2px solid var(--al-rule); border-radius: 22px; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 22px; }
.al-fields { display: grid; gap: 14px 18px; }
@media (min-width: 720px) { .al-fields--3 { grid-template-columns: 1fr 1fr; } .al-fields--3 .al-wide { grid-column: 1 / -1; } .al-fields--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .al-fields--3 { grid-template-columns: 1fr 1fr 1fr; } .al-fields--3 .al-wide { grid-column: auto; } }
.al-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.al-field > label, .al-lab { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.al-q-big { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.al-req { font-weight: 600; color: var(--al-go); font-size: 13.5px; margin-left: 5px; }
.al-opt-t { font-weight: 500; color: var(--al-soft); font-size: 13.5px; margin-left: 5px; }
.al-hint { font-size: 14px; color: var(--al-soft); line-height: 1.4; }
.al-in-t, .al-ta { width: 100%; font: 500 16px/1.4 var(--al-f); color: var(--al-ink); background: #FFFFFF; border: 2px solid #7A8A80; border-radius: 12px; padding: 12px 14px 10px; }
.al-ta { min-height: 88px; resize: vertical; }
.al-in-t:focus, .al-ta:focus { outline: 3px solid var(--al-go); outline-offset: 1px; border-color: var(--al-go); }
.al-field.is-bad .al-in-t { border-color: #B42318; }
.al-err { font-size: 14px; font-weight: 700; color: #B42318; }
.al-err:empty { display: none; }

.al-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.al-opt { position: relative; max-width: 100%; }
.al-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.al-opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 3px 15px 0; border: 2px solid #7A8A80; border-radius: 999px; font-size: 15.5px; font-weight: 600;
  line-height: 1.25; cursor: pointer; background: #FFFFFF; max-width: 100%; }
.al-opt span::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: -3px; border-radius: 5px; border: 2px solid #6E7F75; background: #FFFFFF; }
.al-opt input[type="radio"] + span::before { border-radius: 50%; }
.al-opt i { flex: none; width: 16px; height: 6px; border-radius: 3px; background: var(--c); margin-top: -3px; }
.al-opts--big .al-opt span { min-height: 52px; padding: 3px 18px 0; font-size: 16.5px; font-weight: 700; }
.al-opt input:checked + span { background: var(--al-forest); border-color: var(--al-forest); color: #FFFFFF; }
.al-opt input:checked + span::before { border-color: #FFFFFF; background: var(--al-leaf)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l2.8 2.6 6-6.2' fill='none' stroke='%2310301F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.al-opt input[type="radio"]:checked + span::before { background: var(--al-leaf); box-shadow: inset 0 0 0 3px var(--al-forest); }
.al-opt input:checked + span i { box-shadow: 0 0 0 1.5px #FFFFFF; }
.al-opt input:focus-visible + span { outline: 3px solid var(--al-ink); outline-offset: 2px; }
.al-opt span:hover { border-color: var(--al-forest); }

.al-sendrow { display: grid; gap: 10px; padding-top: 4px; }
.al-sendrow .al-acts { margin-top: 0; }
.al-refline { font-size: 15px; color: var(--al-ink); }
.al-refline[hidden] { display: none; }
.al-linkbtn { font: inherit; font-weight: 700; color: var(--al-go); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.al-status { font-size: 15px; font-weight: 700; color: var(--al-forest); min-height: 0; }
.al-status:empty { display: none; }
.al-status a { color: var(--al-go); }
.al-out[hidden] { display: none; }
.al-out label { font-size: 14px; font-weight: 700; color: var(--al-soft); }
.al-out textarea { display: block; width: 100%; min-height: 220px; margin-top: 6px; font: 500 14.5px/1.5 var(--al-f); color: var(--al-ink); background: var(--al-mint); border: 0; border-radius: 12px; padding: 14px; resize: vertical; }

.al-more { border: 2px solid var(--al-rule); border-radius: 22px; }
.al-more > summary { position: relative; list-style: none; cursor: pointer; padding: 20px 64px 18px clamp(18px, 2.4vw, 28px); font-weight: 800; font-size: 18px; line-height: 1.3; }
.al-more > summary::-webkit-details-marker { display: none; }
.al-more > summary span { display: block; font-weight: 500; font-size: 15px; color: var(--al-soft); margin-top: 2px; }
.al-more > summary::after { content: ""; position: absolute; right: 22px; top: 50%; margin-top: -15px; width: 30px; height: 30px; border-radius: 50%; background: var(--al-forest)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M8 13h10M13 8v10' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 30px no-repeat; }
.al-more[open] > summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M8 13h10' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.al-more > summary:focus-visible { outline: 3px solid var(--al-ink); outline-offset: 2px; border-radius: 20px; }
.al-more-body { display: grid; gap: 26px; padding: 4px clamp(18px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px); border-top: 2px solid var(--al-rule); padding-top: 22px; }
.al-tiles { display: grid; gap: 10px; }
@media (min-width: 720px) { .al-tiles { grid-template-columns: 1fr 1fr; } }
.al-tile { position: relative; }
.al-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.al-tile span { display: grid; grid-template-columns: 22px 1fr; gap: 2px 12px; align-content: start; height: 100%; padding: 14px 16px 12px; border: 2px solid var(--al-rule); border-radius: 14px; cursor: pointer; background: #FFFFFF; }
.al-tile span::before { content: ""; grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 2px solid #6E7F75; box-sizing: border-box; }
.al-tile b { font-size: 16px; font-weight: 800; line-height: 1.3; }
.al-tile small { font-size: 14px; line-height: 1.4; color: var(--al-soft); }
.al-tile input:checked + span { border-color: var(--al-forest); background: var(--al-mint); box-shadow: inset 0 0 0 1px var(--al-forest); }
.al-tile input:checked + span::before { border-color: var(--al-forest); background: var(--al-forest)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l2.8 2.6 6-6.2' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.al-tile input:focus-visible + span { outline: 3px solid var(--al-ink); outline-offset: 2px; }
.al-other { margin-top: 10px; max-width: 360px; }
.al-other[hidden] { display: none; }
.al-more-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.al-more-send p { font-size: 14.5px; color: var(--al-soft); }

/* =================== dark mode =================== */
/* Same layout, same forest blocks and channel colours. The white ground turns forest-black, text turns to a soft
   green-white, actions turn leaf green. Measured: body text 15:1, secondary text 8:1 or more, smallest labels 4.5:1+. */
@media (prefers-color-scheme: dark) {
  .ai-lines {
    --al-bg: #0E1512;
    --al-ink: #E8F0EB;
    --al-soft: #A9BBB1;
    --al-rule: #2B3A32;
    --al-mint: #13201A;
    --al-go: #7BE3A8;
    --al-go-hover: #A2EEC2;
    --al-line: #3B9A68;      /* forest marks (rails, rules) lifted so they read on the dark ground */
    --al-card: #121C17;
    --al-field: #0A100D;
    --al-field-line: #6F8578;
  }
  .ai-lines ::selection { background: #2F7A52; color: #FFFFFF; }

  /* header: the light-lettering wordmark comes from the <picture> source */
  .site-head--light .nav a[aria-current="page"] { border-bottom-color: var(--al-go); }

  /* buttons */
  .al-btn:hover { background: rgba(232, 240, 235, .08); }
  .al-btn--go { background: var(--al-leaf); border-color: var(--al-leaf); color: #10301F; }
  .al-btn--go:hover { background: #A2EEC2; border-color: #A2EEC2; }

  /* hero sample and the map */
  .al-in { background: #1B2721; }
  .al-st { fill: var(--al-bg); stroke: var(--al-ink); }
  .al-chip { background: var(--al-bg); }

  /* how it works: the band keeps the channel colour; the cards go dark */
  .al-dot { background: var(--al-bg); color: var(--al-ink); border-color: var(--al-ink); }
  .al-obj { background: rgba(6, 12, 9, .55); color: var(--al-ink); }
  .al-obj--out { background: #E8F0EB; color: #131514; }
  .al-obj--out .al-src { color: #4A5850; }
  .al-ok { color: #7BE3A8; }
  .al-hold { color: #FFAB8F; }

  /* after hours */
  .al-num { color: var(--al-leaf); }
  .al-track { background: #26352D; }
  .al-track span { background: var(--al-leaf); }

  /* jobs, tickets, who it's for, trial, questions */
  .al-jobs > div::before { background: var(--al-line); }
  .al-jobs > div::after { background: var(--al-bg); border-color: var(--al-ink); }
  .al-ticket { background: var(--al-card); }
  .al-pill { background: #24322B; color: var(--al-ink); }
  .al-pill--ok { background: #173826; color: #8BE6B0; }
  .al-pill--team { background: #3A2F0B; color: #F3D27A; }
  .al-desk { border-top-color: var(--al-line); }
  .al-trial::before { background: var(--al-line); }
  .al-faq summary::after, .al-more > summary::after { background-color: #2F7A52; }

  /* quick quote form */
  .al-for, .al-status { color: var(--al-leaf); }
  .al-errs { background: #2A1411; border-color: #F97066; }
  .al-errs a { color: #FDA29B; }
  .al-err { color: #FF9C91; }
  .al-field.is-bad .al-in-t { border-color: #F97066; }
  .al-in-t, .al-ta { background: var(--al-field); border-color: var(--al-field-line); }
  .al-opt span { background: var(--al-field); border-color: var(--al-field-line); }
  .al-opt span::before { background: var(--al-field); border-color: #8FA398; }
  .al-opt span:hover { border-color: var(--al-leaf); }
  .al-opt input:checked + span { background: #236B46; border-color: #3B9A68; color: #FFFFFF; }
  .al-opt input[type="radio"]:checked + span::before { box-shadow: inset 0 0 0 3px #236B46; }
  .al-tile span { background: var(--al-field); }
  .al-tile span::before { border-color: #8FA398; }
  .al-tile input:checked + span { border-color: #3B9A68; background: #15281E; box-shadow: inset 0 0 0 1px #3B9A68; }
  .al-tile input:checked + span::before { border-color: #3B9A68; background-color: #236B46; }
}
.ai-lines ::placeholder { color: #66766C; opacity: 1; }
@media (prefers-color-scheme: dark) { .ai-lines ::placeholder { color: #8A9D92; } }
