/* Tech with Adeola — design system
   Structure follows Apple's: achromatic palette, one sans-serif at tight
   tracking, full-bleed stacked tiles, enormous whitespace, a single accent
   used only for actions. Olive stands in for Apple's blue. */

:root{
  --ink:#1d1d1f;          /* body text */
  --ink-2:#6e6e73;        /* secondary text */
  --ink-3:#86868b;        /* tertiary / captions */
  --paper:#ffffff;
  --paper-2:#f5f5f7;      /* alternating section tint */
  --night:#000000;
  --line:#d2d2d7;
  --accent:#4a5320;       /* olive, in place of Apple blue */
  --accent-hi:#5c6b2e;
  --radius:18px;
  --maxw:980px;
  --wide:1400px;
  --ease:cubic-bezier(.28,.11,.32,1);
}

*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip}
body{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",
    "Helvetica Neue",Helvetica,Arial,sans-serif;
  background:var(--paper);color:var(--ink);
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  font-size:17px;line-height:1.47;letter-spacing:-.022em;
}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}
.wrap-wide{max-width:var(--wide);margin:0 auto;padding:0 22px}

/* ---------- type scale ---------- */
/* Scale measured off apple.com at 1280px: largest headline 40px/44px at
   weight 600, sub-head 28px/32px, body 17px. Theirs is far more restrained
   than a typical marketing site, and the restraint is the point. */
h1,h2,h3{font-weight:600;letter-spacing:-.01em;line-height:1.1}
.t-hero{font-size:clamp(32px,4.4vw,48px);font-weight:600;letter-spacing:-.015em;line-height:1.08}
.t-title{font-size:clamp(28px,3.4vw,40px);font-weight:600;letter-spacing:-.012em;line-height:1.1}
.t-head{font-size:clamp(22px,2.6vw,32px);font-weight:600;letter-spacing:-.01em;line-height:1.12}
.t-sub{font-size:clamp(19px,2.2vw,28px);font-weight:400;letter-spacing:.004em;
  line-height:1.15;color:var(--ink-2)}
.t-body{font-size:17px;line-height:1.5;color:var(--ink-2)}
.t-small{font-size:14px;line-height:1.45;color:var(--ink-3);letter-spacing:-.01em}
.eyebrow{font-size:19px;font-weight:600;color:var(--accent);letter-spacing:-.012em}

/* ---------- nav: 44px, translucent, tiny evenly-spaced links ---------- */
header{position:sticky;top:0;z-index:90;height:44px;
  background:rgba(255,255,255,.72);backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid rgba(0,0,0,.08)}
/* scoped to the header: a bare `nav` selector also caught the legal pages'
   contents rail and squashed it to 44px */
header nav{max-width:1024px;margin:0 auto;height:44px;padding:0 22px;
  display:flex;align-items:center;justify-content:space-between;gap:8px}
.brand{font-size:15px;font-weight:600;letter-spacing:-.01em;white-space:nowrap;flex:none}
.links{display:flex;align-items:center;gap:34px}
.links a{font-size:12px;font-weight:400;color:var(--ink);opacity:.86;
  transition:opacity .2s;white-space:nowrap}
.links a:hover{opacity:1}
.links a[aria-current=page]{opacity:1;font-weight:500}
.burger{display:none;background:none;border:0;width:18px;height:14px;position:relative;cursor:pointer}
.burger i{position:absolute;left:0;width:100%;height:1.4px;background:var(--ink);
  transition:transform .3s var(--ease),opacity .3s}
.burger i:nth-child(1){top:0}.burger i:nth-child(2){top:6px}.burger i:nth-child(3){top:12px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:22px;top:8px;z-index:99;background:var(--accent);color:#fff;
  padding:8px 14px;border-radius:8px;font-size:13px}

/* ---------- actions: pill + text link, Apple style ---------- */
.actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:26px}
.pill{display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:0 22px;border-radius:980px;font-size:17px;
  letter-spacing:-.012em;transition:background .2s,color .2s,border-color .2s}
.pill-solid{background:var(--accent);color:#fff}
.pill-solid:hover{background:var(--accent-hi)}
.pill-ghost{border:1px solid var(--accent);color:var(--accent)}
.pill-ghost:hover{background:var(--accent);color:#fff}
.link-arrow{display:inline-flex;align-items:center;gap:4px;color:var(--accent);
  font-size:17px;letter-spacing:-.012em;min-height:44px}
.link-arrow::after{content:"›";font-size:21px;line-height:1;transform:translateY(-1px);
  transition:transform .2s var(--ease)}
.link-arrow:hover::after{transform:translate(3px,-1px)}

/* ---------- tiles: the core layout unit ---------- */
.tile{position:relative;text-align:center;overflow:hidden;
  padding:clamp(56px,7vw,88px) 0 clamp(56px,7vw,80px)}
.tile .inner{max-width:var(--maxw);margin:0 auto;padding:0 22px;position:relative;z-index:2}
.tile-dark{background:var(--night);color:#f5f5f7}
.tile-dark .t-sub{color:#a1a1a6}
.tile-dark .eyebrow{color:#b6c06a}
.tile-dark .pill-solid{background:#f5f5f7;color:var(--night)}
.tile-dark .pill-solid:hover{background:#fff}
.tile-dark .pill-ghost{border-color:#86868b;color:#f5f5f7}
.tile-dark .pill-ghost:hover{background:#f5f5f7;color:var(--night)}
.tile-dark .link-arrow{color:#b6c06a}
.tile-tint{background:var(--paper-2)}
.tile-hero{padding:clamp(64px,9vw,120px) 0 0}
.tile h1,.tile h2{margin-bottom:8px}
.tile .t-sub{max-width:34ch;margin:0 auto}
.stage{margin-top:clamp(28px,4vw,46px)}

/* half-width tile pairs, as on Apple's lower grid */
.pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;
  max-width:var(--wide);margin:12px auto 0;padding:0 12px}
.pair .tile{padding:clamp(42px,5vw,62px) 0 clamp(38px,4.5vw,56px);border-radius:var(--radius)}

/* ---------- feature rows (text + visual, used on inner pages) ---------- */
.rows{max-width:var(--maxw);margin:0 auto;padding:0 22px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,70px);
  align-items:center;padding:clamp(48px,6vw,84px) 0;border-top:1px solid var(--line)}
.row:first-child{border-top:0}
.row:nth-child(even) .row-text{order:2}
.row-text h3{font-size:clamp(20px,2.2vw,28px);margin-bottom:10px}
.row-list{list-style:none;margin-top:18px}
.row-list li{font-size:15px;color:var(--ink-2);padding:7px 0;border-top:1px solid var(--line)}
.row-list li:first-child{border-top:0}

/* ---------- simple stat band ---------- */
.figs{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;
  max-width:760px;margin:clamp(34px,4vw,52px) auto 0}
.figs b{display:block;font-size:clamp(30px,3.4vw,40px);font-weight:600;
  letter-spacing:-.02em;line-height:1}
.figs span{display:block;font-size:14px;color:var(--ink-3);margin-top:8px;letter-spacing:-.01em}
.tile-dark .figs span{color:#86868b}

/* ---------- industry strip ---------- */
.strip{overflow:hidden;padding:clamp(40px,5vw,64px) 0;background:var(--paper-2)}
.strip-head{text-align:center;margin-bottom:34px}
.strip-track{display:flex;gap:16px;width:max-content;animation:slide 52s linear infinite}
.strip:hover .strip-track{animation-play-state:paused}
@keyframes slide{to{transform:translateX(-50%)}}
.scene{width:258px;flex:none;border-radius:var(--radius);overflow:hidden;
  background:var(--paper);position:relative;transition:transform .5s var(--ease)}
.scene:hover{transform:scale(1.025)}
.scene svg{width:100%;height:auto}
.scene figcaption{padding:16px 18px 20px;text-align:left}
.scene b{display:block;font-size:16px;font-weight:600;letter-spacing:-.012em}
.scene span{display:block;font-size:13px;color:var(--ink-3);margin-top:2px}

/* ---------- checker ---------- */
.checker{max-width:720px;margin:0 auto;text-align:left}
.cform{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.cform input{flex:1;min-width:240px}
.cform button{min-height:48px;padding:0 26px;border:0;border-radius:980px;
  background:var(--accent);color:#fff;font-family:inherit;font-size:17px;
  letter-spacing:-.012em;cursor:pointer;transition:background .2s}
.cform button:hover:not(:disabled){background:var(--accent-hi)}
.cform button:disabled{opacity:.5;cursor:progress}
.chint{font-size:13px;color:var(--ink-3);margin-top:14px;text-align:center}
.cout{margin-top:38px}
.cout[hidden]{display:none}
.cerr{background:#fff4f4;border:1px solid #f0d4d4;color:#8c3b3b;
  border-radius:14px;padding:16px 20px;font-size:15px}
.score{display:flex;align-items:center;gap:26px;flex-wrap:wrap;
  padding-bottom:26px;border-bottom:1px solid var(--line)}
.dial{position:relative;width:112px;height:112px;flex:none}
.dial svg{transform:rotate(-90deg)}
.dial circle{fill:none;stroke-width:7;stroke-linecap:round}
.dial .bg{stroke:var(--line)}
.dial .fg{stroke:var(--accent);transition:stroke-dashoffset 1.1s var(--ease)}
.dial b{position:absolute;inset:0;display:grid;place-items:center;
  font-size:28px;font-weight:600;letter-spacing:-.015em}
.score h3{font-size:19px;margin-bottom:4px}
.score p{font-size:15px;color:var(--ink-2);max-width:40ch}
.clist{list-style:none}
.clist li{display:flex;gap:14px;align-items:flex-start;padding:16px 0;
  border-bottom:1px solid var(--line)}
.clist li:last-child{border-bottom:0}
.pip{width:18px;height:18px;border-radius:50%;flex:none;margin-top:2px;
  display:grid;place-items:center;font-size:11px;font-weight:700;color:#fff}
.pip.pass{background:#3a7d44}.pip.warn{background:#b8860b}.pip.fail{background:#b3261e}
.clab{display:block;font-size:16px;font-weight:500;letter-spacing:-.012em}
.cdet{font-size:14px;color:var(--ink-2)}
.cbadge{margin-left:auto;font-size:11px;text-transform:uppercase;letter-spacing:.06em;
  color:var(--ink-3);flex:none;padding-top:4px}

/* ---------- forms ---------- */
form{max-width:640px;margin:0 auto;text-align:left}
.frow{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.f{margin-bottom:16px}
label{display:block;font-size:13px;color:var(--ink-3);margin-bottom:6px;letter-spacing:-.008em}
input,select,textarea{width:100%;padding:13px 16px;border:1px solid var(--line);
  border-radius:12px;font-family:inherit;font-size:17px;letter-spacing:-.012em;
  background:var(--paper);color:var(--ink);transition:border-color .2s,box-shadow .2s}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(74,83,32,.14)}
textarea{resize:vertical;min-height:120px}
button[type=submit]{width:100%;min-height:50px;background:var(--accent);color:#fff;
  border:0;border-radius:980px;font-family:inherit;font-size:17px;letter-spacing:-.012em;
  cursor:pointer;transition:background .2s}
button[type=submit]:hover{background:var(--accent-hi)}

/* ---------- contact detail list ---------- */
.cinfo{list-style:none;max-width:640px;margin:0 auto 40px;text-align:left}
.cinfo li{display:flex;justify-content:space-between;gap:20px;padding:16px 0;
  border-bottom:1px solid var(--line);font-size:17px}
.cinfo li:first-child{border-top:1px solid var(--line)}
.cinfo b{font-weight:400;color:var(--ink-3)}

/* ---------- legal pages ----------
   Two columns on desktop with a sticky contents rail; on narrow screens the
   contents collapse into a disclosure above the text so they never push the
   document off the first screen. */
/* `.tile` clips with overflow:hidden, and any clipping ancestor disables
   position:sticky — so the legal section opts out of the clip. */
#top{overflow:visible}
.legal-wrap{max-width:1000px;display:grid;grid-template-columns:230px 1fr;
  gap:clamp(28px,5vw,64px);align-items:start;text-align:left}
.legal-nav{position:sticky;top:64px}
.toc{border:0}
.toc summary{display:none}
.toc ol{list-style:none;counter-reset:toc;padding:0;margin:0;
  border-left:1px solid var(--line)}
.toc li{counter-increment:toc;margin:0}
.toc a{display:block;padding:7px 0 7px 16px;margin-left:-1px;font-size:14px;
  color:var(--ink-3);border-left:1px solid transparent;transition:color .2s,border-color .2s}
/* a trailing space in `content` collapses, so space it properly */
.toc a::before{content:counter(toc) ".";color:var(--ink-3);opacity:.5;
  margin-right:8px;font-variant-numeric:tabular-nums}
.toc a:hover{color:var(--ink);border-left-color:var(--accent)}

.legal{max-width:68ch;min-width:0}
.updated{font-size:13px;color:var(--ink-3);padding-bottom:18px;
  border-bottom:1px solid var(--line);margin-bottom:8px}
.clause{padding:30px 0;border-bottom:1px solid var(--line);scroll-margin-top:62px}
.clause:last-child{border-bottom:0}
.clause h2{font-size:21px;font-weight:600;letter-spacing:-.012em;
  margin-bottom:14px;display:flex;gap:12px;align-items:baseline}
.clause .num{flex:none;font-size:13px;font-weight:500;color:var(--ink-3);
  font-variant-numeric:tabular-nums;min-width:20px}
.clause p{font-size:16px;line-height:1.6;color:var(--ink-2);margin-bottom:14px}
.clause p:last-of-type{margin-bottom:0}
.totop{display:inline-block;margin-top:16px;font-size:13px;color:var(--accent)}
.totop:hover{text-decoration:underline}

@media(max-width:860px){
  .legal-wrap{grid-template-columns:1fr;gap:0}
  .legal-nav{position:static;margin-bottom:32px}
  .toc{background:var(--paper-2);border-radius:14px;padding:4px 18px 6px}
  .toc summary{display:block;list-style:none;cursor:pointer;padding:14px 0;
    font-size:15px;font-weight:600;min-height:44px;display:flex;align-items:center;
    justify-content:space-between}
  .toc summary::-webkit-details-marker{display:none}
  .toc summary::after{content:"";width:8px;height:8px;border-right:1.5px solid var(--ink-3);
    border-bottom:1.5px solid var(--ink-3);transform:rotate(45deg) translateY(-2px);
    transition:transform .25s}
  .toc[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
  .toc ol{border-left:0;padding-bottom:10px}
  .toc a{padding:11px 0;min-height:44px;display:flex;align-items:center;
    border-left:0;border-top:1px solid var(--line)}
  .clause h2{font-size:19px}
  .clause p{font-size:16px}
}

/* ---------- footer ---------- */
footer{background:var(--paper-2);font-size:12px;color:var(--ink-3);
  padding:40px 0 30px;line-height:1.5}
footer .wrap-wide{max-width:1024px}
.fgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;
  padding-bottom:26px;border-bottom:1px solid var(--line)}
.fgrid h4{font-size:12px;font-weight:600;color:var(--ink);margin-bottom:10px}
.fgrid a{display:block;padding:4px 0;color:var(--ink-3);transition:color .2s}
.fgrid a:hover{color:var(--ink);text-decoration:underline}
.fbot{padding-top:18px;display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between}

/* ---------- reveal: a short, restrained rise ----------
   Content is visible by default. The hidden start state only applies once
   JS has set .anim on <html>, so a script failure, a slow device or a
   backgrounded tab (which freezes transitions mid-flight) can never leave a
   section permanently blank. Animation is the enhancement, not the carrier. */
.anim .rv{opacity:0;transform:translateY(18px);
  transition:opacity .7s var(--ease),transform .7s var(--ease)}
.anim .rv.in{opacity:1;transform:none}

/* ---------- responsive ---------- */
@media(max-width:1024px){
  .links{display:none}
  .burger{display:block}
  /* The header carries backdrop-filter, which makes it the containing block
     for position:fixed children — a fixed panel with bottom:0 collapsed to
     the header's own 44px and hid every link but the first. Absolute against
     the header, with an auto height, avoids that entirely. No nested
     backdrop-filter either: it composites unreliably. */
  .links.open{display:flex;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;background:#fff;
    padding:6px 22px 18px;max-height:calc(100vh - 44px);overflow-y:auto;
    border-bottom:1px solid var(--line);box-shadow:0 18px 40px rgba(0,0,0,.09)}
  .links.open a{font-size:17px;min-height:48px;display:flex;align-items:center;
    opacity:1;border-bottom:1px solid var(--line)}
  .links.open a:last-child{border-bottom:0}
  .links.open a::after{display:none}
}
@media(max-width:860px){
  .row,.pair{grid-template-columns:1fr}
  .row:nth-child(even) .row-text{order:0}
  .fgrid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .frow{grid-template-columns:1fr}
  .figs{grid-template-columns:1fr;gap:22px}
  .toc ol{columns:1}
  .fgrid{grid-template-columns:1fr}
  .actions{flex-direction:column;align-items:stretch}
  .pill{width:100%}
}
@media(max-width:768px){
  input,select,textarea,.cform input{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;
    animation-iteration-count:1!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
  .anim .rv{opacity:1;transform:none}
}

/* ---------- hero diagram ---------- */
.sysmap{width:100%;max-width:560px;margin:0 auto;overflow:visible}
.sysmap text{fill:var(--ink-3);font-size:11px;font-weight:500;text-anchor:middle;
  letter-spacing:-.005em;font-family:inherit}
.ring{fill:none;stroke:rgba(74,83,32,.4);stroke-width:1;
  transform-origin:230px 150px;animation:ripple 3.6s ease-out infinite}
.r2{animation-delay:1.8s}
@keyframes ripple{0%{transform:scale(1);opacity:.6}100%{transform:scale(2.1);opacity:0}}
.core{transform-origin:230px 150px;animation:breathe 5s ease-in-out infinite}
@keyframes breathe{50%{transform:scale(1.04)}}
.wires path{stroke-dasharray:180;stroke-dashoffset:180;animation:draw 1.3s var(--ease) forwards}
.wires path:nth-child(2){animation-delay:.1s}
.wires path:nth-child(3){animation-delay:.2s}
.wires path:nth-child(4){animation-delay:.3s}
@keyframes draw{to{stroke-dashoffset:0}}
.nodes .bob{animation:bob 5.5s ease-in-out infinite}
.nodes g:nth-child(2) .bob{animation-delay:.8s}
.nodes g:nth-child(3) .bob{animation-delay:1.6s}
.nodes g:nth-child(4) .bob{animation-delay:2.4s}
@keyframes bob{50%{transform:translateY(-5px)}}
@media(prefers-reduced-motion:reduce){
  .ring,.core,.nodes .bob,.strip-track{animation:none}
  .wires path{stroke-dashoffset:0;animation:none}
  .packets{display:none}
}

/* a row with nothing in the second column spans the full width instead */
.row-solo{grid-template-columns:1fr;max-width:62ch}
.row > .row-list{margin-top:0}

/* ==========================================================================
   Scroll choreography
   Apple's two signatures: headline words rising in sequence, and media that
   scales and settles as it enters the viewport. Both are opt-in via .anim,
   so content stays visible if JS never runs.
   ========================================================================== */

/* words are wrapped by JS; the inner span is what moves */
.w{display:inline-block;overflow:hidden;vertical-align:top}
.w > i{display:inline-block;font-style:inherit;will-change:transform,opacity}
.anim .w > i{opacity:0;transform:translateY(0.9em);
  transition:opacity .62s var(--ease),transform .72s var(--ease)}
.anim .w.in > i{opacity:1;transform:none}

/* media settles: starts slightly small and lifted, resolves on entry */
.anim .settle{opacity:0;transform:scale(.965) translateY(26px);
  transition:opacity .9s var(--ease),transform 1s var(--ease)}
.anim .settle.in{opacity:1;transform:none}

/* scroll-linked parallax, driven by a CSS variable the player sets */
.par{will-change:transform}
.anim .par{transform:translateY(calc(var(--p,0) * -22px))}

/* sticky caption column used on the services rows */
@media(min-width:861px){
  .row-sticky{position:sticky;top:76px}
}

@media(prefers-reduced-motion:reduce){
  .anim .w > i,.anim .settle{opacity:1;transform:none;transition:none}
  .anim .par{transform:none}
}

/* ---------- assessment form ---------- */
.assess{max-width:680px}
.assess fieldset{border:0;padding:0;margin:0 0 44px}
.assess legend{font-size:13px;text-transform:uppercase;letter-spacing:.06em;
  color:var(--ink-3);padding:0 0 14px;margin-bottom:18px;width:100%;
  border-bottom:1px solid var(--line)}
.choices{display:flex;flex-wrap:wrap;gap:8px}
.choice{position:relative;margin:0}
.choice input{position:absolute;opacity:0;width:1px;height:1px}
.choice span{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;
  border:1px solid var(--line);border-radius:980px;font-size:15px;cursor:pointer;
  transition:border-color .2s,background .2s,color .2s}
.choice span:hover{border-color:var(--ink-3)}
.choice.on span{background:var(--accent);border-color:var(--accent);color:#fff}
.choice input:focus-visible + span{outline:2px solid var(--accent);outline-offset:2px}
.assess-done{max-width:560px;text-align:center;margin:0 auto}
.assess-done[hidden]{display:none}

/* definition-style lists inside a clause */
.clause-list{list-style:none;margin:4px 0 16px;padding:0}
.clause-list li{padding:11px 0;border-top:1px solid var(--line);font-size:16px;
  line-height:1.55;color:var(--ink-2)}
.clause-list li:last-child{border-bottom:1px solid var(--line)}
.clause-list strong{display:block;color:var(--ink);font-weight:600;font-size:15px;
  letter-spacing:-.008em;margin-bottom:2px}
