/* Real Agent site. Palette and type are taken from the film in video/index.html. */
:root {
  --paper: #FAFAF8;      /* page */
  --bone: #ECECE8;       /* bands, window glass */
  --white: #FFFFFF;      /* house fronts, form fields */
  --ink: #1A1A1A;        /* text */
  --carbon: #0E0E0E;     /* lines, dark band */
  --soft: #6B6B66;       /* secondary text */
  --rule: rgba(20, 20, 20, .14);
  --lime: #CCFF00;       /* brand accent: highlight behind ink, never text on light */
  --tint: #EEF8C8;       /* pale lime wash */
  --lime-text: #4D6100;  /* lime deepened for small text on light, 6.6:1 */
  --on-lime: #1A1A1A;
  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E0E0E;
    --bone: #1C1C1A;
    --white: #161615;
    --ink: #FAFAF8;
    --carbon: #FAFAF8;
    --soft: #A6A69E;
    --rule: rgba(250, 250, 248, .16);
    --tint: #232A10;
    --lime-text: #CCFF00;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { background: var(--lime); color: var(--on-lime); }
:focus-visible { outline: 3px solid var(--carbon); outline-offset: 3px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: var(--lime); } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--lime); color: var(--on-lime); padding: 8px 12px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-head { border-bottom: 2px solid var(--carbon); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { background: none; color: inherit; }
.brand svg { width: 40px; height: 40px; }
.brand span { font: 900 1.375rem/1 var(--display); text-transform: uppercase; letter-spacing: -.03em; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.site-nav a { font-weight: 500; text-decoration: none; padding: 4px 2px; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--lime); }

/* Logo dots and the ring's edge follow the theme; the chosen dot stays lime on black */
.mark .f { fill: var(--carbon); }
.mark .s { stroke: var(--carbon); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .98; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); max-width: 16ch; line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); max-width: 22ch; }
h3 { font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.1; }
/* The film's headline treatment: the whole headline sits on lime bars */
.hl { background: var(--lime); color: var(--on-lime); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: .04em .12em; }
p, ul, ol { margin: 0 0 1em; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.35rem); line-height: 1.5; max-width: 40em; }
.prose { max-width: 40em; }
.muted { color: var(--soft); }

/* Sections */
.section { padding-block: clamp(48px, 8vw, 96px); }
.band { background: var(--bone); }
.dark { background: var(--carbon); color: var(--paper); }
.dark .muted { color: #A6A69E; }
@media (prefers-color-scheme: dark) { .dark { background: var(--bone); color: var(--ink); } }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) 0; }
.hero .lead { margin-top: 1.4em; }
.street { margin-top: clamp(32px, 6vw, 64px); color: var(--carbon); }

/* Line drawings */
.ill { width: 100%; }
.ill .f { fill: var(--white); }
.ill .w { fill: var(--bone); }
.ill .a { fill: var(--lime); }
.ill .k { fill: var(--carbon); stroke: none; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; font: 700 1rem/1 var(--body); padding: 15px 22px; border: 2px solid var(--carbon); border-radius: 12px; text-decoration: none; }
.btn-primary { background: var(--lime); color: var(--on-lime); border-color: var(--carbon); }
.btn-primary:hover { background: var(--carbon); color: var(--paper); }
.btn:hover { background: var(--lime); color: var(--on-lime); }

/* Two columns */
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
/* Where the heading column holds a drawing, the text ends level with the drawing. */
@media (min-width: 860px) { .split:has(svg) { align-items: end; } }

/* What you get: three plain items separated by rules, not cards */
.items { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 2px solid var(--carbon); }
.items > div { padding: 24px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 860px) {
  .items { grid-template-columns: repeat(3, 1fr); }
  .items > div { padding: 28px 28px 8px 0; border-bottom: 0; }
  .items > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
}

/* Numbered stages: a real sequence */
.stages { list-style: none; margin: 0; padding: 0; counter-reset: stage; }
.stages > li { counter-increment: stage; padding: 32px 0; border-top: 2px solid var(--carbon); }
.stages > li::before { content: counter(stage); display: block; font: 900 3rem/1 var(--display); margin-bottom: 12px; }
.stages h2 { margin-bottom: .35em; }
.stages p, .stages ul { max-width: 40em; }
@media (min-width: 860px) {
  .stages > li { display: grid; grid-template-columns: 120px 1fr; gap: 0 20px; }
  .stages > li::before { font-size: 4.5rem; grid-column: 1; grid-row: 1 / span 20; margin: 0; }
  .stages > li > * { grid-column: 2; }
}

/* Comparison */
.compare { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .compare { grid-template-columns: 1.35fr 1fr; align-items: end; } }
.compare figure { margin: 0; color: var(--carbon); }
.compare figcaption { margin-top: 16px; }
.compare figcaption strong { font: 900 1.25rem/1.1 var(--display); text-transform: uppercase; display: block; margin-bottom: 6px; }

.pairs { margin: 0; }
.pairs > div { display: grid; grid-template-columns: 1fr; gap: 6px 40px; padding: 24px 0; border-top: 1px solid var(--rule); }
.pairs > div:first-child { border-top: 2px solid var(--carbon); }
.pairs dt { font: 900 1.25rem/1.15 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.pairs dd { margin: 0; max-width: 40em; }
@media (min-width: 860px) { .pairs > div { grid-template-columns: 1fr 1.6fr; } }

/* Lists */
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: .6em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; background: var(--lime); border: 2px solid var(--carbon); border-radius: 50%; }

/* Price note */
.price { display: inline-block; font: 900 clamp(1.5rem, 4vw, 2.2rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.02em; border: 3px solid var(--carbon); border-radius: 16px; padding: 18px 24px; background: var(--lime); color: var(--on-lime); transform: rotate(-2deg); margin: 8px 0 20px; }

/* Form */
form { max-width: 36em; }
.field { margin-bottom: 20px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--soft); }
input, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--carbon); border-radius: 10px; padding: 12px 14px; }
textarea { min-height: 9em; resize: vertical; }
button { font: inherit; cursor: pointer; }
.note { border-left: 6px solid var(--lime); background: var(--tint); padding: 14px 18px; margin: 0 0 28px; max-width: 40em; }

/* Footer */
.site-foot { border-top: 2px solid var(--carbon); padding-block: 32px 48px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: start; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-foot p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .price { transition: transform .2s; }
  .price:hover { transform: rotate(0deg); }
}
.compare figure:last-child .ill { max-width: 360px; }

/* Price cards: two cards joined by a plus, the routines card dark and raised, pill buttons and check marks */
.plans-wrap { padding-top: 0; }
.plans { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; max-width: 1040px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: 32px; padding: clamp(32px, 4vw, 48px); min-width: 0; align-self: stretch; }
.plan h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 0; letter-spacing: .01em; white-space: nowrap; }
.plan .amount { font: 900 clamp(4rem, 8vw, 5.4rem)/1 var(--display); margin: 26px 0 0; letter-spacing: -.035em; }
.plan .per { margin: 18px 0 0; color: var(--soft); font-size: 1.15rem; }
.plan .line { margin: 26px 0 0; color: var(--soft); font-size: 1.3rem; line-height: 1.45; padding-bottom: 30px; border-bottom: 1px solid var(--rule); }
.plan .ticks { margin: 30px 0 40px; padding: 0; flex: 1; display: grid; gap: 20px; align-content: start; }
.plan .ticks li { padding-left: 38px; font-size: 1.22rem; line-height: 1.45; margin: 0; }
.plan .ticks li::before { width: 15px; height: 7px; top: .42em; left: 3px; background: none; border: 0; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; border-radius: 0; transform: rotate(-45deg); }
.plan .btn { display: flex; justify-content: center; align-items: center; gap: 12px; border-radius: 999px; padding: 26px 28px; font: 900 1.15rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; border-width: 3px; }
.plan .btn:not(.btn-primary) { background: transparent; color: var(--ink); border-color: var(--carbon); }
.plan .btn:not(.btn-primary):hover { background: var(--lime); color: var(--on-lime); }
.plan .btn-primary { border-color: var(--lime); }
.plan-dark { background: #0E0E0E; color: #FAFAF8; border-color: #0E0E0E; }
.plan-dark .per, .plan-dark .line { color: #B5B5AE; }
.plan-dark .amount { color: #CCFF00; }
.plan-dark .line { border-bottom-color: rgba(250, 250, 248, .18); }
.plan-dark .ticks li::before { border-color: #CCFF00; }
@media (prefers-color-scheme: dark) { .plan-dark { background: var(--bone); } }
.plans-head { margin: 0 auto 40px; max-width: 1040px; }
.plus { margin: 0; align-self: center; justify-self: center; font: 900 3rem/1 var(--display); }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: 28px; padding: clamp(28px, 3.4vw, 40px); min-width: 0; }
.plan .for { margin: 0 0 28px; color: var(--soft); font-size: 1rem; line-height: 1.4; min-height: 2.8em; }
.plan .for strong { color: var(--ink); font-weight: 600; }
.plan h2 { font-size: clamp(1.1rem, 1.55vw, 1.6rem); white-space: nowrap; margin: 0; letter-spacing: -.01em; }
.plan .amount { font: 900 clamp(3.4rem, 7vw, 4.6rem)/1 var(--display); margin: 18px 0 0; letter-spacing: -.04em; }
.plan .per { margin: 14px 0 0; color: var(--soft); }
.plan .line { margin: 22px 0 0; color: var(--soft); font-size: 1.1rem; line-height: 1.45; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.plan .ticks { margin: 24px 0 32px; padding: 0; flex: 1; display: grid; gap: 14px; align-content: start; }
.plan .ticks li { padding-left: 34px; font-size: 1.05rem; line-height: 1.45; }
.plan .ticks li::before { width: 12px; height: 6px; top: .45em; left: 4px; background: none; border: 0; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; border-radius: 0; transform: rotate(-45deg); }
.plan .btn { display: flex; justify-content: center; align-items: center; gap: 10px; border-radius: 999px; padding: 20px 24px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; border-width: 2.5px; }
.plan .btn:not(.btn-primary) { background: transparent; color: var(--ink); border-color: var(--carbon); }
.plan .btn:not(.btn-primary):hover { background: var(--lime); color: var(--on-lime); }
.plan .btn-primary { border-color: var(--lime); }
.plan-dark { background: #0E0E0E; color: #FAFAF8; border-color: #0E0E0E; }
.plan-dark .for, .plan-dark .per, .plan-dark .line { color: #B5B5AE; }
.plan-dark .for strong, .plan-dark .amount { color: #CCFF00; }
.plan-dark .line { border-bottom-color: rgba(250, 250, 248, .18); }
.plan-dark .ticks li::before { border-color: #CCFF00; }
@media (prefers-color-scheme: dark) { .plan-dark { background: var(--bone); } }


/* Founders: four cards, photo in a lime ring, role as a lime label, LinkedIn as a black tile */
.people { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.people { max-width: 920px; }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--bone); border: 1px solid var(--rule); border-radius: 28px; padding: 32px 24px; min-width: 0; }
.person img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 5px solid var(--lime); }
.person h3 { margin: 20px 0 10px; text-transform: none; letter-spacing: -.01em; font-size: 1.45rem; }
.person .role { margin: 0; background: var(--lime); color: var(--on-lime); font: 800 .78rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 8px 10px; border-radius: 6px; }
.person .bio { margin: 18px 0 0; color: var(--soft); flex: 1; max-width: 34ch; }
.person .status { margin: 20px 0 0; font: 800 .78rem/1 var(--body); text-transform: uppercase; letter-spacing: .1em; display: flex; align-items: center; gap: 8px; }
.person .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.person .li { margin-top: 20px; width: 44px; height: 44px; border-radius: 10px; background: #0E0E0E; color: #CCFF00; display: grid; place-items: center; }
.person .li svg { width: 24px; height: 24px; }
.person .li:hover { background: #0E0E0E; color: #FAFAF8; }

/* What you get: line icons in the theme's ink, with one lime part */
.items .icon { width: 60px; height: 60px; display: block; margin-bottom: 18px; }
.items .icon .s { fill: none; stroke: var(--carbon); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.items .icon .a { fill: var(--lime); stroke: var(--carbon); stroke-width: 2; }
.items .icon .a-fill { fill: var(--lime); }

/* Phone menu: the links fold under a menu button, which only shows on narrow screens and only when the page's script runs */
.menu-toggle { display: none; background: none; border: 2px solid var(--carbon); border-radius: 10px; width: 44px; height: 44px; padding: 8px; color: var(--carbon); cursor: pointer; }
.menu-toggle svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.menu-toggle .cross { display: none; }
.menu-toggle[aria-expanded="true"] .bars { display: none; }
.menu-toggle[aria-expanded="true"] .cross { display: inline; }
@media (max-width: 640px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 0; padding-block: 8px; }
  .js .site-nav li { padding-block: 6px; }
  .js .site-nav a { display: inline-block; padding: 6px 2px; font-size: 1.15rem; }
}

.plans-note { margin: 20px auto 0; max-width: 1040px; color: var(--soft); font-size: .95rem; }

/* Drawings: architect's floorplans and elevations in pencil-weight line, lime as the one filled accent.
   Strokes keep their width at every size; labels are spaced capitals, notes are handwritten. */
.pl { color: var(--carbon); overflow: visible; }
.pl * { vector-effect: non-scaling-stroke; }
.pl .wo { stroke-width: 2.4; stroke-linecap: square; }
.pl .wi { stroke-width: .9; }
.pl .wp { stroke-width: 1.8; stroke-linecap: square; }
.pl .m { stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.pl .m2 { stroke-width: 1.15; }
.pl .t { stroke-width: .8; stroke-linecap: round; }
.pl .dl { stroke-width: 1.3; stroke-linecap: round; }
.pl .sk { stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pl .rt { stroke-width: 1.6; stroke-dasharray: 2 5; stroke-linecap: round; stroke-linejoin: round; }
.pl .ac { fill: var(--lime); stroke: none; }
.pl .ac.m2 { stroke: currentColor; }
.pl .ag, .pl .ag0 { fill: #0E0E0E; stroke: currentColor; stroke-width: 1.3; }
.pl .ac0 { fill: #CCFF00; stroke: none; }
.pl .dot { fill: currentColor; stroke: none; }
.pl text { fill: currentColor; stroke: none; }
.pl .lb { font-family: var(--body); font-weight: 600; letter-spacing: .14em; }
.pl .ti { font-weight: 700; }
.pl .sz { font-family: var(--body); font-weight: 400; letter-spacing: .04em; fill: var(--soft); }
.pl .hw { font-family: 'Caveat', 'Bradley Hand', 'Segoe Print', cursive; font-weight: 600; letter-spacing: 0; }
.pl .on-ac { fill: #1A1A1A; }
@media (max-width: 640px) {
  .pl .sz { display: none; }
  .pl.sm-quiet .lb, .pl.sm-quiet .t { display: none; }
}

.side-ill { margin-top: clamp(20px, 3vw, 36px); max-width: 480px; }
.kb-ill { display: grid; gap: 32px; grid-template-columns: 1fr; margin-top: clamp(40px, 6vw, 72px); }
.kb-crm { max-width: 260px; }
.kb-web { max-width: 620px; }
@media (min-width: 860px) {
  .kb-ill { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); align-items: end; gap: clamp(40px, 6vw, 96px); }
}
.stage-ill { max-width: 320px; margin: 20px 0 24px; }
@media (min-width: 860px) {
  .stages > li { grid-template-columns: 120px 1fr minmax(240px, 300px); gap: 0 40px; }
  .stages > li > .stage-ill { grid-column: 3; grid-row: 1 / span 20; margin: 0; align-self: start; }
}
.hero-split { display: grid; gap: 32px; grid-template-columns: 1fr; }
.hero-ill { max-width: 480px; margin-bottom: clamp(40px, 6vw, 64px); }
@media (min-width: 860px) {
  .hero-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; }
}

/* Privacy and terms: one reading column */
.legal { max-width: 72ch; }
.legal h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 1.6em 0 .5em; }
.legal h2:first-child { margin-top: 0; }

/* Integrations: a side menu of groups, and a grid of cards, one per system */
.conn-list { padding-block: clamp(32px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.conn-layout { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.conn-rail { position: sticky; top: max(24px, calc(50vh - var(--rail-h, 0px) / 2)); z-index: 20; }
.conn-rail ul { list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; gap: 3px; width: 52px; max-height: calc(100vh - 48px); overflow: hidden auto; scrollbar-width: none; background: var(--white); border: 1px solid var(--rule); border-radius: 16px; transition: width .2s ease, box-shadow .2s ease; }
.conn-rail a { display: flex; align-items: center; gap: 12px; padding: 3px; border-radius: 10px; text-decoration: none; white-space: nowrap; }
.conn-rail a:hover { background: var(--bone); color: var(--ink); }
.rail-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--soft); transition: background .15s, color .15s; }
.rail-ic svg, .rail-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.conn-rail a[aria-current="true"] .rail-ic { background: var(--lime); color: var(--on-lime); }
.rail-label { font-size: .9rem; font-weight: 500; opacity: 0; transition: opacity .15s; }
.conn-rail a[aria-current="true"] .rail-label { font-weight: 700; }
.rail-toggle { display: none; }
@media (hover: hover) and (min-width: 721px) {
  .conn-rail:hover ul, .conn-rail:focus-within ul { width: 300px; box-shadow: 0 14px 36px rgba(0, 0, 0, .14); }
  .conn-rail:hover .rail-label, .conn-rail:focus-within .rail-label { opacity: 1; }
}
@media (hover: none) and (min-width: 721px) {
  .conn-rail:focus-within ul { width: 300px; box-shadow: 0 14px 36px rgba(0, 0, 0, .14); }
  .conn-rail:focus-within .rail-label { opacity: 1; }
}
@media (max-width: 720px) {
  .conn-layout { grid-template-columns: minmax(0, 1fr); }
  .conn-rail { position: fixed; top: auto; left: max(14px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; }
  .rail-toggle { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 2px solid var(--carbon); border-radius: 14px; background: var(--lime); color: var(--on-lime); box-shadow: 0 6px 18px rgba(0, 0, 0, .14); cursor: pointer; }
  .conn-rail ul { display: none; position: absolute; left: 0; bottom: 56px; width: min(300px, calc(100vw - 28px)); max-height: 70vh; box-shadow: 0 14px 36px rgba(0, 0, 0, .18); }
  .conn-rail.open ul { display: flex; }
  .conn-rail .rail-label { opacity: 1; }
}
.conn-group { scroll-margin-top: 24px; }
.conn-group + .conn-group { margin-top: clamp(40px, 5vw, 64px); }
.conn-h { font-size: clamp(1.35rem, 2.4vw, 1.75rem); max-width: none; margin-bottom: 18px; }
.conn-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 10px; }
.conn { display: flex; align-items: flex-start; gap: 14px; height: 100%; background: var(--white); border: 1px solid var(--rule); border-radius: 16px; padding: 16px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.conn:hover { background: var(--white); color: inherit; box-shadow: 0 8px 22px rgba(0, 0, 0, .10); }
a.conn .conn-name::after { content: " \2197"; font-weight: 500; color: var(--soft); }
.conn-logo { flex: none; width: 44px; height: 44px; padding: 7px; border-radius: 12px; background: #fff; border: 1px solid #E4E4DE; object-fit: contain; }
.conn-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.conn-name { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.conn-desc { font-size: .9rem; line-height: 1.4; }
.conn-how { font-size: .82rem; line-height: 1.45; color: var(--soft); margin-top: 4px; }
.conn-st { display: inline-block; margin-right: 4px; padding: 1px 7px; border: 1px solid var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .02em; line-height: 1.5; color: var(--ink); white-space: nowrap; vertical-align: 1px; }
.conn-st-works { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.conn-st-testing { background: var(--bone); }
.conn-st-planned { background: transparent; color: var(--soft); border-color: var(--rule); border-style: dashed; }
.conn[data-st="realagent"] { background: transparent; border-style: dashed; }
.conn[data-st="realagent"] .conn-logo { opacity: .6; }
.conn-legend { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; }

/* mark animation: brand/real-agent/mark.css, copied whole into site/styles.css, workers/connector/sign-in/sign-in.css and
   workers/connector/chat/chat.css, which the stand-in checks. Real Agent's mark assembles once as a page opens, as the
   setup page's and the Help Desk's waiting marks do: the fifteen dots grow into place one after another, then the ring and
   the lit dot. After that the lit dot breathes, softly and slowly. Only transform and opacity move, so nothing around the
   mark shifts. With reduced motion, the mark is whole and still. */
@media (prefers-reduced-motion: no-preference) {
  .mark .f circle, .mark > .s, .mark > circle:last-child { transform-box: fill-box; transform-origin: center; }
  .mark .f circle { animation: mark-in .6s cubic-bezier(.2, .8, .2, 1) both; }
  .mark .f circle:nth-child(1) { animation-delay: .05s; } .mark .f circle:nth-child(2) { animation-delay: .09s; }
  .mark .f circle:nth-child(3) { animation-delay: .13s; } .mark .f circle:nth-child(4) { animation-delay: .17s; }
  .mark .f circle:nth-child(5) { animation-delay: .21s; } .mark .f circle:nth-child(6) { animation-delay: .25s; }
  .mark .f circle:nth-child(7) { animation-delay: .29s; } .mark .f circle:nth-child(8) { animation-delay: .33s; }
  .mark .f circle:nth-child(9) { animation-delay: .37s; } .mark .f circle:nth-child(10) { animation-delay: .41s; }
  .mark .f circle:nth-child(11) { animation-delay: .45s; } .mark .f circle:nth-child(12) { animation-delay: .49s; }
  .mark .f circle:nth-child(13) { animation-delay: .53s; } .mark .f circle:nth-child(14) { animation-delay: .57s; }
  .mark .f circle:nth-child(15) { animation-delay: .61s; }
  .mark > .s { animation: mark-in .7s cubic-bezier(.2, .8, .2, 1) .7s both; }
  .mark > circle:last-child { animation: mark-in .7s cubic-bezier(.2, .8, .2, 1) .8s both, mark-lit 4s ease-in-out 1.5s infinite; }
}
@keyframes mark-in { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mark-lit { 0%, 100% { transform: none; opacity: 1; } 50% { transform: scale(.72); opacity: .7; } }
/* end mark animation */

/* Motion: site/motion.js adds html.motion, and only when the visitor allows motion */
html.motion .scroll-bar { display: block; position: fixed; left: 0; right: 0; top: 0; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; z-index: 100; pointer-events: none; }

.cursor-pin { display: none; }
html.motion .cursor-pin { display: block; position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 2147483000; pointer-events: none; opacity: 0; transition: opacity .2s; }
html.motion .cursor-pin.on { opacity: 1; }
html.motion .cursor-pin.off { opacity: 0; }
html.motion .cursor-pin svg { position: absolute; left: -12px; top: -33px; width: 24px; height: 33px; max-width: none; overflow: visible; transform-origin: 50% 100%; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .25)); }
html.motion .cursor-pin .pb { fill: var(--lime); stroke: #0E0E0E; stroke-width: 2.2; stroke-linejoin: round; }
html.motion .cursor-pin .pd { fill: #0E0E0E; }
html.motion .cursor-pin.big svg { transform: translateY(-6px) scale(1.3); }
html.motion .cursor-pin.press svg { transform: scale(1.1, .8); transition-duration: .08s; }
html.motion.pin-cursor, html.motion.pin-cursor a, html.motion.pin-cursor button, html.motion.pin-cursor summary, html.motion.pin-cursor label { cursor: none; }
html.motion.pin-cursor input, html.motion.pin-cursor textarea, html.motion.pin-cursor select { cursor: auto; }

/* the mark's dots ripple corner to corner when the brand is hovered */
html.motion .mark .f circle.wave { animation: dot-wave .55s cubic-bezier(.2, .8, .2, 1) var(--wd, 0s) both; }
@keyframes dot-wave { 0% { transform: none; } 40% { transform: scale(1.45); } 100% { transform: none; } }
html.motion .mark .f circle, html.motion .mark > circle:last-child { transition: translate .12s linear; }

/* headings rise word by word */
html.motion h1.words .wd, html.motion h2.words .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
html.motion .words .wd > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: left bottom; transition: transform .8s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .055s); }
html.motion .words.in .wd > span { transform: none; }
html.motion .hl .wd { overflow: visible; }

/* blocks rise in */
html.motion .rise { opacity: 0; transform: translateY(22px); transition: opacity .7s ease var(--d, 0s), transform .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s); }
html.motion .rise.in { opacity: 1; transform: none; }

/* line drawings draw themselves */
html.motion .drawable .ink { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
html.motion .drawable.in .ink { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.45, 0, .2, 1) var(--t, 0s); }
html.motion .drawable .fadein { opacity: 0; }
html.motion .drawable.in .fadein { opacity: 1; transition: opacity .6s ease calc(var(--t, 0s) + .4s); }
html.motion .drawable .pop { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.2); }
html.motion .drawable.in .pop { opacity: 1; transform: none; transition: opacity .3s ease 1.35s, transform .7s cubic-bezier(.3, 1.6, .5, 1) 1.35s, translate .2s linear; }

/* hero: the street drifts, a lime glow follows the cursor */
html.motion .hero { position: relative; overflow: hidden; }
html.motion .hero::before { content: ""; position: absolute; left: var(--mx, 50%); top: var(--my, 30%); width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(204, 255, 0, .35), rgba(204, 255, 0, 0) 65%); opacity: 0; transition: opacity .6s; pointer-events: none; z-index: -1; }
html.motion .hero.lit::before { opacity: 1; }
html.motion .hero .street { transition: transform .25s linear; will-change: transform; }

/* team cards and drawings tilt toward the cursor, the photo floats above the card */
html.motion .tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, opacity .7s ease var(--d, 0s); transform-style: preserve-3d; }
html.motion .rise.tilt:not(.in) { transform: translateY(22px); }
html.motion .person { position: relative; isolation: isolate; }
html.motion .person::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(204, 255, 0, .32), transparent 55%); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: -1; }
html.motion .person.hot { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .35); }
html.motion .person.hot::after { opacity: 1; }
html.motion .person img { transition: transform .6s cubic-bezier(.2, .8, .2, 1), border-color .3s; transform: translateZ(40px); }
html.motion .person.hot img { transform: translateZ(60px) scale(1.06) rotate(-3deg); }
html.motion .person.rise img { transform: scale(.6) rotate(-12deg); opacity: 0; transition: transform .9s cubic-bezier(.3, 1.5, .5, 1) calc(var(--d, 0s) + .15s), opacity .4s ease calc(var(--d, 0s) + .15s); }
html.motion .person.rise.in img { transform: translateZ(40px); opacity: 1; }
html.motion .person.rise.in.hot img { transform: translateZ(60px) scale(1.06) rotate(-3deg); }
html.motion .person .status::before { animation: live 2.2s ease-in-out infinite; }
@keyframes live { 50% { opacity: .35; transform: scale(1.6); } }
html.motion .btn { transition: translate .25s cubic-bezier(.2, .8, .2, 1), background .2s, color .2s; }
html.motion .rise.in.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* a headline beside a drawing sizes itself to its column, so its longest word never breaks or spills */
.hero-split > div:first-child { container-type: inline-size; }
.hero-split h1 { font-size: min(4.6rem, 7vw, 11.4cqi); }

/* a heading beside a long list: the heading goes above, the list runs in two columns, so no column stands empty */
@media (min-width: 860px) {
  .split:has(> .pairs) { grid-template-columns: 1fr; gap: 8px; }
  .split > .pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
  .split > .pairs > div { grid-template-columns: 1fr; }
  .split > .pairs > div:nth-child(2) { border-top: 2px solid var(--carbon); }
}
