/* Socraty homepage (October 2026). One calm system: two fonts, one green, four building blocks
   (buttons, rounded cards, tinted panels, divided rows) used the same way on every section. */

:root {
  --bg:#fbfaf7; --card:#fff; --ink:#151a18; --body:#4e5652; --muted:#69716d; --line:#e8e5de;
  --green:#0d5c45; --green-2:#0a4a37; --mint:#e9f3ed; --mint-2:#d6e9de; --rose:#f9ece8; --rose-2:#e9c9c1; --sand:#f4f0e7;
  --head:'Inter Tight', 'Helvetica Neue', Arial, sans-serif; --sans:'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --r-lg:24px; --r-md:16px; --r-sm:10px;
}
*, *::before, *::after { box-sizing:border-box }
html { scroll-behavior:smooth; scroll-padding-top:88px; -webkit-text-size-adjust:100% }
body { margin:0; background:var(--bg); color:var(--ink); font:400 17px/1.6 var(--sans); -webkit-font-smoothing:antialiased }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin:0 } ul, ol { padding:0; list-style:none }
img, svg { display:block; max-width:100% }
a { color:inherit }
:focus-visible { outline:2px solid var(--green); outline-offset:3px; border-radius:4px }
[hidden] { display:none !important }
.skip { position:fixed; left:16px; top:-60px; z-index:30; padding:10px 16px; border-radius:var(--r-sm); background:var(--ink); color:#fff }
.skip:focus { top:12px }
.wrap { max-width:1160px; margin:0 auto; padding:0 24px }

h1, h2, h3 { font-family:var(--head); font-weight:500; color:var(--ink); text-wrap:balance }
h2 { font-size:clamp(30px,3.6vw,44px); line-height:1.12; letter-spacing:-.025em }
h3 { font-size:21px; line-height:1.3; letter-spacing:-.012em }

/* Buttons and links */
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 22px; border-radius:var(--r-sm); background:var(--green); color:#fff; font:500 16px/1.2 var(--sans); text-decoration:none; transition:background .2s }
.btn:hover { background:var(--green-2) }
.btn-sm { min-height:40px; padding:9px 16px; font-size:15px }
.btn-quiet { background:transparent; color:var(--ink); box-shadow:inset 0 0 0 1px #d5d1c8 } .btn-quiet:hover { background:#f2efe8 }
.btn-light { background:#fff; color:var(--green) } .btn-light:hover { background:var(--mint) }
.more { display:inline-block; margin-top:24px; padding:4px 0; color:var(--green); font-weight:500; text-decoration:none } .more:hover { text-decoration:underline; text-underline-offset:5px }

/* Navigation */
.nav { position:sticky; top:0; z-index:20; background:rgba(251,250,247,.9); backdrop-filter:saturate(1.4) blur(10px); border-bottom:1px solid transparent; transition:border-color .2s }
.nav.scrolled { border-bottom-color:var(--line) }
.nav-in { display:flex; align-items:center; gap:40px; min-height:72px }
.logo { display:inline-flex; align-items:center; gap:9px; font:600 21px/1 var(--head); letter-spacing:-.03em; text-decoration:none } .logo svg { width:22px; height:22px }
.links { display:flex; gap:28px; margin-right:auto } .links a { padding:8px 0; color:var(--body); font-size:15.5px; text-decoration:none } .links a:hover { color:var(--ink) }

/* Hero */
.hero { padding:clamp(56px,8vw,104px) 0 0; text-align:center }
.hero h1 { max-width:920px; margin:0 auto; font-size:clamp(40px,5.6vw,68px); line-height:1.04; letter-spacing:-.035em }
.hero h1 em { font-style:normal; color:var(--green) }
.lead { max-width:640px; margin:24px auto 0; color:var(--body); font-size:clamp(17px,1.5vw,19px) }
.ctas { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:32px }

/* Product shot: the real internal agent home screen, rebuilt without the client's name */
.shot { margin-top:clamp(48px,6vw,72px); padding:clamp(16px,3.5vw,48px) clamp(16px,3.5vw,48px) 0; border-radius:var(--r-lg) var(--r-lg) 0 0; background:linear-gradient(180deg, var(--mint) 0%, #f1f6f2 70%, var(--bg) 100%) }
.shot-app { max-width:980px; margin:0 auto; padding:clamp(28px,4vw,48px) clamp(18px,4vw,56px) clamp(24px,3vw,40px); border:1px solid var(--line); border-bottom:0; border-radius:18px 18px 0 0; background:#fff; text-align:left; box-shadow:0 30px 60px -40px rgba(21,26,24,.35) }
.shot-title { text-align:center; font:500 clamp(24px,2.6vw,32px)/1.2 var(--head); letter-spacing:-.02em }
.shot-input { display:flex; align-items:center; gap:14px; max-width:760px; margin:24px auto 0; padding:10px 10px 10px 18px; border:1px solid #e9dcd8; border-radius:999px; box-shadow:0 6px 18px -10px rgba(13,92,69,.35); color:var(--muted); font-size:15.5px }
.shot-input .plus { display:grid; place-items:center; width:26px; height:26px; border:1.5px solid #9aa19d; border-radius:50%; font-size:16px; line-height:1 }
.shot-input .ph { flex:1 } .shot-input .mode { font-size:14px }
.shot-input .send { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--green); color:#fff }
.shot-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 32px; margin-top:32px }
.shot-h { margin-bottom:10px; font:600 11.5px/1.3 var(--sans); letter-spacing:.12em; text-transform:uppercase; color:var(--muted) }
.shot-q { margin-top:8px; padding:12px 16px; border:1px solid var(--line); border-radius:12px; font-size:15px; line-height:1.45; color:#2a302d }
.shot figcaption { padding:14px 0 0; color:var(--muted); font-size:14px; text-align:center; background:var(--bg) }

/* Sections and headings */
.sec { padding:clamp(80px,10vw,128px) 0 0 }
.sec-end { padding-bottom:clamp(80px,10vw,128px) }
.head { max-width:760px; margin:0 auto clamp(40px,5vw,56px); text-align:center }
.head p { margin-top:16px; color:var(--body); font-size:18px }

/* Cards and tinted panels */
.card { background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg) }
.panel { border-radius:var(--r-md); padding:clamp(20px,3vw,32px); display:grid; place-items:center; min-height:260px }
.panel-mint { background:var(--mint) } .panel-rose { background:var(--rose) } .panel-sand { background:var(--sand) }

/* Old way / with Socraty */
.pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px }
.pair .card { padding:12px 12px 28px }
.pair h3 { margin:24px 16px 0 } .pair .card > p { margin:8px 16px 0; color:var(--body) }
.scatter { position:relative; width:100%; height:236px }
.scatter span { position:absolute; left:var(--x); top:var(--y); transform:rotate(var(--r)); padding:9px 16px; border:1.5px solid var(--rose-2); border-radius:999px; background:#fff; color:#9b4a3a; font-size:15px; white-space:nowrap }
.scatter .q { position:absolute; left:44%; top:38%; display:grid; place-items:center; width:52px; height:52px; border:1.5px dashed #c98c7f; border-radius:50%; color:#9b4a3a; font:500 22px/1 var(--head); font-style:normal }
.answer { width:100%; max-width:440px; border-radius:14px; background:#fff; box-shadow:0 18px 40px -28px rgba(13,92,69,.45); overflow:hidden; text-align:left }
.answer.wide { max-width:480px }
.a-q { padding:14px 18px; border-bottom:1px solid var(--line); font-weight:500; font-size:15.5px }
.a-body { padding:16px 18px 18px; font-size:15px; color:var(--body) }
.rows { margin-top:12px; border-top:1px solid var(--line) }
.rows li { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); color:var(--ink); font-size:14.5px }
.rows li span:nth-child(2) { color:var(--muted) } .rows b { font-weight:600; color:var(--green) }
.src { margin-top:12px; color:var(--muted); font-size:13px }
.line { max-width:820px; margin:clamp(40px,5vw,56px) auto 0; text-align:center; font:500 clamp(20px,2vw,24px)/1.4 var(--head); letter-spacing:-.015em; color:var(--ink) }

/* Agent features */
.feature { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:clamp(28px,5vw,64px); align-items:center; padding:clamp(24px,4vw,48px); background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg) }
.feature + .feature { margin-top:20px }
.feature.flip .f-vis { order:-1 }
.kicker { color:var(--green); font-weight:500; font-size:15px }
.f-copy h3 { margin-top:10px; font-size:clamp(24px,2.4vw,30px); line-height:1.18; letter-spacing:-.022em }
.f-copy > p:not(.kicker) { margin-top:14px; color:var(--body) }
.feats { display:grid; gap:12px; margin-top:24px }
.feats li { display:flex; gap:12px; align-items:center; font-size:16px }
.feats svg { flex:none; width:20px; height:20px; fill:none; stroke:var(--green); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round }
.f-vis { min-height:340px }
.chat { width:100%; max-width:400px; padding:16px; border-radius:14px; background:#fff; box-shadow:0 18px 40px -28px rgba(60,50,30,.45); display:grid; gap:10px }
.chat-head { display:flex; align-items:center; gap:8px; padding-bottom:10px; border-bottom:1px solid var(--line); font-weight:500; font-size:15px } .chat-head span { width:8px; height:8px; border-radius:50%; background:#2fa36b }
.msg { max-width:86%; padding:9px 13px; border-radius:14px 14px 14px 4px; background:#f3f2ee; font-size:14.5px; line-height:1.45 }
.msg.me { justify-self:end; border-radius:14px 14px 4px 14px; background:var(--green); color:#fff }
.enq { padding:12px 14px; border-radius:12px; background:var(--mint) } .enq > p { font-weight:600; font-size:14px; color:var(--green) }
.enq dl div { display:flex; justify-content:space-between; gap:12px; padding:6px 0; border-top:1px solid var(--mint-2); font-size:14px } .enq dl div:first-child { margin-top:8px } .enq dt { color:var(--body) } .enq dd { font-weight:500 }
.after { display:grid; justify-items:center; gap:16px; margin-top:40px; text-align:center }
.after p { color:var(--body) } .after p a { color:var(--green); font-weight:500; text-decoration:none } .after p a:hover { text-decoration:underline; text-underline-offset:4px }
.tag { flex:none; margin-left:auto; padding:3px 8px; border-radius:999px; background:var(--sand); color:var(--body); font:500 12px/1.3 var(--sans); font-style:normal; white-space:nowrap }
.a-q { display:flex; align-items:center; gap:12px }
.proof { margin-top:24px; color:var(--body); font-size:15px; text-wrap:balance }
.proof span { display:inline-block; width:8px; height:8px; margin-right:10px; vertical-align:1px; border-radius:50%; background:#2fa36b; box-shadow:0 0 0 4px rgba(47,163,107,.15) }

/* How it works */
.flow { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1fr); gap:24px; align-items:center; padding:clamp(24px,4vw,48px) }
.flow-h { margin-bottom:14px; color:var(--muted); font-size:14px; font-weight:500 }
.srcs { display:grid; gap:8px }
.srcs li { position:relative; display:flex; align-items:center; gap:12px; padding:11px 16px; border-radius:999px; background:var(--ink); color:#fff; font-size:15px }
.srcs b { min-width:34px; font:600 11.5px/1 var(--sans); letter-spacing:.06em; color:#a6dcc4 }
.flow-mid { display:grid; justify-items:center; gap:16px; text-align:center }
/* Connectors: sources feed the hub, the hub feeds both agents (desktop only) */
@media (min-width:961px) {
  .flow-mid { position:relative }
  .flow-mid::before, .flow-mid::after { content:''; position:absolute; top:52px; width:calc(50% - 52px + 24px); height:2px; background:linear-gradient(90deg, var(--mint-2), var(--green)) }
  .flow-mid::before { right:calc(50% + 52px) }
  .flow-mid::after { left:calc(50% + 52px); background:linear-gradient(90deg, var(--green), var(--mint-2)) }
}
.hub { display:grid; place-items:center; width:104px; height:104px; border-radius:50%; background:var(--green); color:#fff; box-shadow:0 0 0 12px var(--mint), 0 0 0 13px var(--mint-2) }
.hub svg { width:40px; height:40px }
.flow-mid p { max-width:220px; color:var(--body); font-size:14.5px } .flow-mid strong { display:block; margin-bottom:4px; font:500 20px/1.2 var(--head); color:var(--ink) }
.out { padding:18px 20px; border:1px solid var(--line); border-radius:var(--r-md); background:var(--bg) } .out + .out { margin-top:12px }
.out-h { display:flex; justify-content:space-between; align-items:baseline; gap:12px; color:var(--muted); font-size:14px } .out-h b { color:var(--ink); font:500 18px/1.2 var(--head) }
.out > p:last-child { margin-top:8px; color:var(--green); font-size:14.5px }
.steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:20px; border-top:1px solid var(--line) }
.steps li { padding:28px 28px 0 0 } .steps li + li { padding-left:28px; border-left:1px solid var(--line) }
.steps p { margin-top:8px; color:var(--body); font-size:16px }

/* Approach */
.steps-top { margin-top:0 }
.secure { display:grid; grid-template-columns:minmax(0,.6fr) minmax(0,1.4fr); gap:16px 40px; align-items:center; margin-top:40px; padding:28px 32px; border-radius:var(--r-lg); background:var(--mint) }
.secure ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 32px }
.secure li { display:flex; gap:12px; font-size:16px }
.secure li::before { content:''; flex:none; width:7px; height:7px; margin-top:10px; border-radius:50%; background:var(--green) }

/* FAQ */
.faq { display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); gap:32px 64px; align-items:start }
.faq > div:first-child p { margin-top:14px; color:var(--body) } .faq a { color:var(--green) }
.acc details { border-bottom:1px solid var(--line) } .acc details:first-child { border-top:1px solid var(--line) }
.acc summary { display:flex; justify-content:space-between; align-items:center; gap:20px; min-height:64px; padding:14px 0; list-style:none; cursor:pointer; font:500 18px/1.35 var(--head); letter-spacing:-.01em }
.acc summary::-webkit-details-marker { display:none }
.acc summary::after { content:''; flex:none; width:10px; height:10px; margin-right:4px; border-right:1.5px solid var(--muted); border-bottom:1.5px solid var(--muted); transform:rotate(45deg) translateY(-3px); transition:transform .2s }
.acc details[open] summary::after { transform:rotate(-135deg) translateY(-2px) }
.acc details p { padding:0 40px 22px 0; color:var(--body) }

/* Closing */
.close { padding:clamp(48px,7vw,88px) clamp(24px,5vw,64px); border-radius:var(--r-lg); background:var(--green); color:#fff; text-align:center }
.close h2 { max-width:760px; margin:0 auto; color:#fff }
.close p { max-width:560px; margin:18px auto 28px; color:#cfe6da }

/* Footer */
.foot { padding:40px 0 48px; border-top:1px solid var(--line) }
.foot-in { display:flex; flex-wrap:wrap; align-items:center; gap:16px 40px }
.foot nav { display:flex; flex-wrap:wrap; gap:6px 24px; margin-right:auto } .foot nav a { padding:6px 0; color:var(--body); font-size:15px; text-decoration:none } .foot nav a:hover { color:var(--ink) }
.foot p { flex-basis:100%; color:var(--muted); font-size:13.5px } .foot p a { color:inherit }

/* Motion: one quiet load sequence, then sections settle in as they arrive */
@media (prefers-reduced-motion:no-preference) {
  .rise { animation:rise .7s cubic-bezier(.2,.7,.2,1) both }
  .hero .rise:nth-child(2) { animation-delay:.08s } .hero .rise:nth-child(3) { animation-delay:.16s } .hero .rise:nth-child(4) { animation-delay:.2s } .shot.rise { animation-delay:.26s }
  html.js .reveal { opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1) }
  html.js .reveal.in { opacity:1; transform:none }
}
@keyframes rise { from { opacity:0; transform:translateY(14px) } }

/* Responsive */
@media (max-width:960px) {
  .feature, .faq, .secure { grid-template-columns:minmax(0,1fr) } .feature.flip .f-vis { order:0 }
  .flow { grid-template-columns:minmax(0,1fr) } .flow-mid { padding:8px 0 }
}
@media (max-width:760px) {
  .links { display:none } .nav-in { justify-content:space-between }
  .pair, .steps, .secure ul { grid-template-columns:minmax(0,1fr) }
  .steps li, .steps li + li { padding:24px 0 0; border-left:0 } .steps li + li { margin-top:24px; border-top:1px solid var(--line) }
  .shot-groups { grid-template-columns:minmax(0,1fr) } .shot-groups > div:nth-child(n+3) { display:none }
  .shot-input .mode { display:none }
  .scatter span { font-size:13.5px; padding:7px 12px }
}
@media (max-width:420px) {
  .wrap { padding:0 16px }
  .ctas .btn { width:100% }
  .rows li { grid-template-columns:minmax(0,1fr) auto; } .rows li span:nth-child(2) { display:none }
}

/* Agent cards: illustrated cards in a scrolling rail; "See it at work" opens the matching detail below */
.head-row { display:flex; justify-content:space-between; align-items:flex-end; gap:16px 48px; max-width:none; text-align:left }
.head-row p { max-width:380px; margin-top:0 }
.rail-wrap { position:relative }
.rail { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 40px) / 3); gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:4px 2px 12px; scrollbar-width:none }
.rail::-webkit-scrollbar { display:none }
@media (prefers-reduced-motion:reduce) { .rail { scroll-behavior:auto } }
.acard { display:flex; flex-direction:column; min-width:0; padding:10px 10px 0; scroll-snap-align:start; background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:0 14px 30px -26px rgba(21,26,24,.35) }
.art { position:relative; display:grid; place-items:center; height:200px; border:1px solid #ece8df; border-radius:var(--r-md); color:var(--ink);
  background:repeating-linear-gradient(180deg, transparent 0 31px, #e9e5dc 31px 32px), #f6f3ec }
.art svg { width:min(86%,260px); height:auto } .art .g { stroke:var(--green) } .art .gf { fill:var(--green); stroke:var(--green) } .art .af { fill:#c4902f; stroke:#c4902f }
.art .n { position:absolute; left:14px; top:12px; font:500 12px/1 ui-monospace,'SFMono-Regular',Menlo,monospace; color:var(--green) }
.acard h3 { margin:26px 14px 0; font-size:24px; letter-spacing:-.02em }
.acard > p { flex:1; margin:10px 14px 0; color:var(--body); font-size:16px }
.see { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:24px 14px 0; padding:16px 0 18px; border:0; border-top:1px solid var(--line); background:none; font:500 13px/1 ui-monospace,'SFMono-Regular',Menlo,monospace; letter-spacing:.12em; text-transform:uppercase; color:var(--ink); cursor:pointer; text-align:left }
.see i { position:relative; flex:none; width:36px; height:36px; border-radius:50%; border:1px solid #d5d1c8; background:#fff; transition:background .2s, border-color .2s }
.see i::before, .see i::after { content:''; position:absolute; left:50%; top:50%; width:12px; height:1.5px; background:currentColor; transform:translate(-50%,-50%) }
.see i::after { transform:translate(-50%,-50%) rotate(90deg); transition:transform .2s }
.see:hover i { border-color:var(--green) }
.see[aria-expanded="true"] i { background:var(--ink); border-color:var(--ink); color:#fff } .see[aria-expanded="true"] i::after { transform:translate(-50%,-50%) rotate(0) }
.more-card { justify-content:center; align-items:center; gap:10px; padding:32px; text-align:center; background:transparent; border:1.5px dashed #d3cfc6; box-shadow:none }
.more-card h3 { margin:0 } .more-card > p { flex:0; margin:0 0 12px }
.rail-nav { display:flex; justify-content:flex-end; gap:8px; margin-top:12px }
.rail-btn { display:grid; place-items:center; width:44px; height:44px; border:1px solid #d5d1c8; border-radius:50%; background:#fff; color:var(--ink); font:400 22px/1 var(--sans); cursor:pointer }
.rail-btn:hover:not(:disabled) { border-color:var(--green) } .rail-btn:disabled { opacity:.35; cursor:default }
.details { margin-top:28px } .details .feature { box-shadow:0 14px 30px -26px rgba(21,26,24,.35) }
.notes li { grid-template-columns:72px minmax(0,1fr) } .notes span { color:var(--muted); font-size:13px } .notes .guess { color:#9a6a1a } .notes b { color:var(--ink); font-weight:500 }
.draft { margin-top:14px; padding:12px 14px; border-left:3px solid var(--green); background:#f7f6f2; color:var(--ink); font-size:14.5px; line-height:1.5 }
@media (max-width:960px) { .rail { grid-auto-columns:calc((100% - 20px) / 2) } }
@media (max-width:640px) { .rail { grid-auto-columns:86% } .head-row { display:block } .head-row p { margin-top:14px } .art { height:180px } }

/* Detail visuals for the sales, purchasing and shipping agents */
.calls li, .rates li { grid-template-columns:minmax(0,1.1fr) minmax(0,1.2fr) auto }
.triage li { grid-template-columns:76px minmax(0,1fr) } .triage span { color:var(--muted); font-size:13px } .triage .now { color:#a33a24; font-weight:600 } .triage .today { color:#9a6a1a; font-weight:600 } .triage b { color:var(--ink); font-weight:500 }
.rates .best { margin:0 -10px; padding:10px; border-radius:8px; background:var(--mint) } .rates .best b { color:var(--green) }
.pick { color:var(--green) !important; font-weight:500 }
.a-body > .rows:first-child { margin-top:-4px; border-top:0 }

/* Agent mascots: the original trio is one image in exact thirds; the two newer ones are single images */
.badge { display:grid; place-items:center; width:148px; height:148px; border-radius:50%; background:#faf1e3; box-shadow:0 0 0 6px color-mix(in srgb, #fff 55%, transparent), 0 14px 28px -18px rgba(21,26,24,.35) }
.m-buy-b { background:#faeddf } .m-ship-b { background:#f7ece0 }
.badge { overflow:hidden }
.mascot { display:block; width:100%; height:100%; background-repeat:no-repeat }
/* Panels take each artwork's own studio colour so the figure sits in the card with no visible edge */
.art:has(.mascot) { background:#faf1e3; border-color:#efe4d2 }
.art:has(.m-buy) { background:#faeddf } .art:has(.m-ship) { background:#f7ece0 }
.m-team, .m-web, .m-sales { background-image:url(assets/agents/mascots.jpg); background-size:300% auto; background-position-y:50% }
.m-team { background-position-x:0% } .m-web { background-position-x:50% } .m-sales { background-position-x:100% }
.m-buy { background-image:url(assets/agents/mascot-purchasing.png); background-size:cover; background-position:center }
.m-ship { background-image:url(assets/agents/mascot-shipping.png); background-size:cover; background-position:center }

/* Customer story */
.story { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); overflow:hidden; border:1px solid var(--line); border-radius:var(--r-lg); background:var(--card) }
.story-copy { padding:clamp(28px,4vw,52px) }
.story-copy img { width:150px; height:auto }
.story-copy .kicker { margin-top:28px }
.story-copy h2 { margin-top:8px }
.story-copy > p:not(.kicker) { margin-top:16px; color:var(--body); max-width:520px }
.asks { display:grid; gap:8px; margin-top:20px }
.asks li { font-size:15.5px }
.story-quote { display:flex; flex-direction:column; justify-content:center; gap:24px; padding:clamp(28px,4vw,52px); background:var(--green); color:#fff }
.story-quote blockquote { margin:0 } .story-quote blockquote p { font:500 clamp(20px,2vw,25px)/1.4 var(--head); letter-spacing:-.015em }
.story-quote figcaption { color:#cfe6da; font-size:14px } .story-quote strong { display:block; margin-bottom:2px; color:#fff; font-size:16px; font-weight:600 }
.proof a { color:var(--green); text-underline-offset:3px }
@media (max-width:860px) { .story { grid-template-columns:minmax(0,1fr) } }
@media (max-width:640px) { .badge { width:132px; height:132px } }
.art .n { letter-spacing:.02em }

/* Systems strip: one moving row of real logos, paused on hover and still under reduced motion */
.systems { padding:clamp(48px,6vw,72px) 0 0 }
.sys-head { display:flex; flex-wrap:wrap; justify-content:center; align-items:baseline; gap:6px 16px; text-align:center }
.sys-head h2 { font-size:clamp(18px,1.6vw,20px); line-height:1.3; letter-spacing:-.01em; color:var(--body) }
.sys-head a { color:var(--green); font-weight:500; font-size:15px; text-decoration:none } .sys-head a:hover { text-decoration:underline; text-underline-offset:4px }
.marquee { margin-top:28px; overflow:hidden; -webkit-mask-image:linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image:linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent) }
.track { display:flex; width:max-content; animation:marquee 45s linear infinite }
.marquee:hover .track { animation-play-state:paused }
.track ul { display:flex; align-items:center; gap:56px; padding-right:56px }
.track li { display:flex; align-items:center; gap:12px; white-space:nowrap; font-weight:500; font-size:17px; color:var(--ink) }
.track img { width:28px; height:28px } .track img.wm { width:auto; height:26px }
@keyframes marquee { to { transform:translateX(-50%) } }
@media (prefers-reduced-motion:reduce) {
  .track { width:auto; animation:none; justify-content:center } .track ul:last-child { display:none }
  .track ul { flex-wrap:wrap; justify-content:center; gap:20px 40px; padding:0 24px } .marquee { -webkit-mask-image:none; mask-image:none }
}

/* Each agent has its own colour: --a for text and accents (AA on white), --at for its tinted panels */
[data-agent="sales"] { --a:#b3400f; --at:#fdeee6 } [data-agent="buy"] { --a:#2453a6; --at:#e9effb } [data-agent="ship"] { --a:#8a5a06; --at:#fbf1dc }
[data-agent="team"] { --a:#0d5c45; --at:#e5f1ea } [data-agent="web"] { --a:#5b3fb0; --at:#efeafb }
.acard[data-agent] .art, .acard[data-agent] .art:has(.mascot) { background:var(--at); border-color:color-mix(in srgb, var(--a) 14%, transparent) }
.acard[data-agent] .art .n { color:var(--a) }
.acard[data-agent] .see[aria-expanded="true"] i { background:var(--a); border-color:var(--a) }
.acard[data-agent] .see:hover i { border-color:var(--a) }
.feature[data-agent] .kicker, .feature[data-agent] .more { color:var(--a) }
.feature[data-agent] .feats svg { stroke:var(--a) }
.feature[data-agent] .panel { background:var(--at) }
.feature[data-agent] .rows:not(.triage):not(.notes) b, .feature[data-agent] .pick { color:var(--a) !important }
.feature[data-agent] .rates .best { background:var(--at) }
.feature[data-agent] .draft { border-left-color:var(--a) }
.feature[data-agent] .msg.me { background:var(--a) }
.feature[data-agent] .enq { background:var(--at) } .feature[data-agent] .enq > p { color:var(--a) } .feature[data-agent] .enq dl div { border-top-color:color-mix(in srgb, var(--a) 18%, transparent) }
.feature[data-agent] .answer, .feature[data-agent] .chat { box-shadow:0 18px 40px -28px color-mix(in srgb, var(--a) 55%, transparent) }

/* Systems strip sits under the agents heading, before the cards */
.systems.in-agents { padding:0; margin:32px 0 0 }
.systems.in-agents .sys-head { justify-content:flex-start; text-align:left }
.systems.in-agents .sys-head h3 { font:500 16px/1.3 var(--sans); letter-spacing:0; color:var(--muted) }
#agents .marquee { margin:18px 0 36px }

/* Auto-moving agent rail */
.rail.auto { scroll-snap-type:none; scroll-behavior:auto }
.rail-nav { align-items:center }
.rail-play { display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-right:auto; padding:0 16px; border:1px solid #d5d1c8; border-radius:999px; background:#fff; color:var(--ink); font:500 14px/1 var(--sans); cursor:pointer }
.rail-play:hover { border-color:var(--green) }
.rail-play .i-pause, .rail-play .i-play { font-size:11px } .rail-play .i-play, .rail-play[aria-pressed="true"] .i-pause { display:none } .rail-play[aria-pressed="true"] .i-play { display:inline }
html:not(.js) .rail-play { display:none }

/* Agent rail behaves like the logo banner: full width, faded edges, same speed */
.rail-wrap .rail { grid-auto-columns:360px; padding:4px 0 12px; -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent) }
.rail-nav { justify-content:flex-start; margin-top:8px } .rail-play { margin-right:0 }
@media (max-width:640px) { .rail-wrap .rail { grid-auto-columns:290px } }
@media (prefers-reduced-motion:reduce) { .rail-wrap .rail { -webkit-mask-image:none; mask-image:none; padding:4px 16px 12px } }

/* Customer story banner */
.banner { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:4px 14px; padding:9px 16px; background:var(--green); color:#fff; font-size:14px; text-align:center }
.banner b { font-weight:600; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:#cfe6da }
.banner a { color:#fff; font-weight:500; text-underline-offset:3px }

/* What can you ask */
.askgrid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden }
.askgrid > li { padding:28px 22px 30px; min-width:0 } .askgrid > li + li { border-left:1px solid var(--line) }
.askgrid h3 { margin-top:6px; font-size:18px; line-height:1.3 }
.askgrid ul { display:grid; gap:10px; margin-top:16px }
.askgrid ul li { color:var(--body); font-size:15px; line-height:1.45 }
.wins { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin-top:20px; border-top:1px solid var(--line) }
.wins li { padding:28px 24px 30px 0; border-bottom:1px solid var(--line) } .wins li:not(:nth-child(3n+1)) { padding-left:24px; border-left:1px solid var(--line) }
.wins p { color:var(--muted); font-size:15px } .wins b { display:block; margin-top:4px; font:500 clamp(28px,3vw,36px)/1.1 var(--head); letter-spacing:-.025em; color:var(--green) }
.wins span { display:block; margin-top:8px; color:var(--body); font-size:15.5px }
@media (max-width:1060px) { .askgrid { grid-template-columns:repeat(2,minmax(0,1fr)) } .askgrid > li { border-left:0 !important; border-top:1px solid var(--line) } .askgrid > li:nth-child(-n+2) { border-top:0 } .askgrid > li:nth-child(even) { border-left:1px solid var(--line) !important } }
@media (max-width:760px) { .askgrid, .wins { grid-template-columns:minmax(0,1fr) } .askgrid > li { border-left:0 !important } .askgrid > li:nth-child(2) { border-top:1px solid var(--line) } .wins li { padding:24px 0 !important; border-left:0 !important } }

/* iPhone: menu, notch-safe edges and finger-sized targets */
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap }
.menu { display:none; place-items:center; width:44px; height:44px; padding:0; border:1px solid #d5d1c8; border-radius:var(--r-sm); background:#fff; cursor:pointer }
.menu i, .menu i::before, .menu i::after { display:block; position:relative; width:18px; height:2px; border-radius:2px; background:var(--ink); transition:transform .2s, background .2s }
.menu i::before, .menu i::after { content:''; position:absolute; left:0 } .menu i::before { top:-6px } .menu i::after { top:6px }
.nav.open .menu i { background:transparent } .nav.open .menu i::before { transform:translateY(6px) rotate(45deg) } .nav.open .menu i::after { transform:translateY(-6px) rotate(-45deg) }
@media (max-width:760px) {
  .menu { display:grid } .nav-in { gap:10px } .nav-in .btn-sm { margin-left:auto }
  .links { display:none; position:absolute; left:0; right:0; top:100%; flex-direction:column; gap:0; padding:4px 24px 16px; background:var(--bg); border-bottom:1px solid var(--line); box-shadow:0 16px 30px -24px rgba(21,26,24,.4) }
  .nav.open .links { display:flex } .links a { padding:14px 0; border-bottom:1px solid var(--line); font-size:18px; color:var(--ink) } .links a:last-child { border-bottom:0 }
}
@media (max-width:360px) { .nav-in .btn-sm { padding:9px 12px; font-size:14px } }
@supports (padding:max(0px)) { .wrap { padding-left:max(24px, env(safe-area-inset-left)); padding-right:max(24px, env(safe-area-inset-right)) } .foot { padding-bottom:max(48px, env(safe-area-inset-bottom)) } }
@media (max-width:420px) { @supports (padding:max(0px)) { .wrap { padding-left:max(16px, env(safe-area-inset-left)); padding-right:max(16px, env(safe-area-inset-right)) } } }
@media (pointer:coarse) {
  .logo, .banner a, .sys-head a, .more, .faq a, .foot nav a, .foot p a { display:inline-flex; align-items:center; min-height:44px }
  .foot nav { gap:0 24px } .acc summary { min-height:56px }
}
html { -webkit-tap-highlight-color:transparent } a, button, summary { touch-action:manipulation }

/* Story banner: one short line on phones */
@media (max-width:640px) {
  .banner { flex-wrap:nowrap; gap:10px; padding:8px 16px; font-size:13.5px }
  .banner b, .banner span { display:none }
  .banner a::before { content:'Customer story: Kempner \00B7'; margin-right:.4em; font-weight:400 }
  .banner a { display:inline-flex; align-items:center; min-height:32px }
}
