/*
 * The public website - "Premium Restraint", the same locked design system the
 * panel follows.
 *
 * Plain CSS, no build step. This is served straight out of `public/` by nginx,
 * so it must not depend on Vite: the panel bundle and the marketing site are
 * deployed by different paths, and a site that cannot render while the panel
 * is mid-deploy is the wrong trade for a page prospects arrive at.
 *
 * The tokens are the app's own, written as RGB CHANNELS so `/ <alpha>` works
 * the same way Tailwind's do in the panel.
 */

/*
 * LIGHT IS THE DEFAULT HERE, which is the opposite of the panel.
 *
 * The panel is a tool somebody stares at all day and dark suits that. This is
 * a page a stranger lands on once, often outdoors on a phone, and it is read
 * rather than worked in. The two surfaces are allowed to differ.
 *
 * Three layers, in this order: the light tokens on :root, dark for a device
 * that asks for it (unless the reader has explicitly chosen light), and dark
 * when they have explicitly chosen it. The `:not()` is what lets an explicit
 * choice beat the operating system.
 */
:root {
  --bg: 245 247 248;
  --panel: 255 255 255;
  --panel2: 246 250 251;
  --border: 230 234 237;
  --text: 26 33 41;
  --sec: 94 107 118;
  --mut: 154 165 174;

  /* One accent, used sparingly. `accent-strong` is the deeper step of the
     SAME hue that white text can sit on - the bright accent is 1.81:1 and
     unreadable, which is the rule filled buttons follow everywhere here. */
  --accent: 14 156 181;
  --accent-strong: 14 124 145;

  --ok: 61 153 112;
  --warn: 176 136 56;

  --radius: 14px;
  --maxw: 1140px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: 11 15 20;
    --panel: 18 24 31;
    --panel2: 14 20 27;
    --border: 30 40 49;
    --text: 232 236 240;
    --sec: 139 151 163;
    --mut: 90 101 112;
    --accent: 34 211 238;
    --accent-strong: 14 124 145;
    --ok: 95 184 143;
    --warn: 201 162 94;
  }
}

:root[data-theme="dark"] {
  --bg: 11 15 20;
  --panel: 18 24 31;
  --panel2: 14 20 27;
  --border: 30 40 49;
  --text: 232 236 240;
  --sec: 139 151 163;
  --mut: 90 101 112;
  --accent: 34 211 238;
  --accent-strong: 14 124 145;
  --ok: 95 184 143;
  --warn: 201 162 94;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: rgb(var(--bg));
  color: rgb(var(--text));
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  /* 16px side gutter at phone width, per the house rule. */
  padding: 0 16px;
}

/* Tight letter-spacing on large figures and titles, per the type scale. */
h1, h2, h3 { margin: 0; letter-spacing: -0.5px; font-weight: 600; }
h1 { font-size: clamp(30px, 5.2vw, 50px); line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(23px, 3.4vw, 33px); line-height: 1.2; }
h3 { font-size: 16px; letter-spacing: -0.2px; }
p  { margin: 0; }

.sec  { color: rgb(var(--sec)); }
.mut  { color: rgb(var(--mut)); }
.acc  { color: rgb(var(--accent)); }
/* The house measure for prose. */
.prose { max-width: 62ch; }

/* ---------------------------------------------------------------- header */

header.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(var(--bg) / 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(var(--border));
}

.top .row {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 62px;
}

.logo { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.3px; }

/* The mark is an IMAGE now, not a letter in a coloured box - it carries its
   own tile and its own ground, so nothing here paints behind it. */
.logo .mark { width: 28px; height: 28px; border-radius: 8px; display: block; }

nav.links { display: flex; gap: 22px; margin-left: 14px; }
nav.links a { font-size: 13.5px; color: rgb(var(--sec)); }
nav.links a:hover { color: rgb(var(--text)); }

.top .spacer { margin-left: auto; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  font-size: 13.5px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}

/* White on accentStrong, never on the bright accent. */
.btn-primary { background: rgb(var(--accent-strong)); color: #fff; }
.btn-primary:hover { background: rgb(var(--accent-strong) / 0.86); }

.btn-ghost { border-color: rgb(var(--border)); color: rgb(var(--text)); background: transparent; }
.btn-ghost:hover { border-color: rgb(var(--accent) / 0.5); }

.btn-lg { padding: 13px 24px; font-size: 14.5px; }

/* ---------------------------------------------------------------- sections */

section { padding: 84px 0; border-top: 1px solid rgb(var(--border)); }
section:first-of-type { border-top: 0; }

.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 1.1px;
  text-transform: uppercase; color: rgb(var(--accent));
  margin-bottom: 12px;
}

.lead { font-size: 16.5px; color: rgb(var(--sec)); margin-top: 14px; }

.head { margin-bottom: 44px; }

/* ---------------------------------------------------------------- hero */

.hero { padding: 92px 0 84px; }

.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgb(var(--border)); border-radius: 999px;
  padding: 5px 14px; font-size: 12.5px; color: rgb(var(--sec));
  margin-bottom: 26px;
}
.hero .pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgb(var(--ok));
}

.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.hero-note { margin-top: 18px; font-size: 13px; color: rgb(var(--mut)); }

/* The numbers strip. */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin-top: 62px;
  background: rgb(var(--border));
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius); overflow: hidden;
}
.stats div { background: rgb(var(--panel)); padding: 20px 18px; }
.stats .n { font-size: 24px; font-weight: 800; letter-spacing: -0.6px; }
.stats .l { font-size: 12.5px; color: rgb(var(--sec)); margin-top: 3px; }

/* ---------------------------------------------------------------- grids */

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: rgb(var(--panel));
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius);
  padding: 22px;
}

.card .ico {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgb(var(--accent) / 0.1);
  color: rgb(var(--accent));
  display: grid; place-items: center;
  font-size: 18px; margin-bottom: 14px;
}

.card h3 { margin-bottom: 7px; }
.card p { font-size: 13.5px; color: rgb(var(--sec)); }

.card ul { margin: 12px 0 0; padding: 0; list-style: none; }
.card ul li {
  font-size: 13px; color: rgb(var(--sec));
  padding-left: 18px; position: relative; margin-top: 6px;
}
.card ul li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: rgb(var(--accent) / 0.65);
}

/* ---------------------------------------------------------------- problem */

/* A thin edge-bar, never a saturated badge - the status rule. */
.problem {
  background: rgb(var(--panel2));
  border: 1px solid rgb(var(--border));
  border-left: 2px solid rgb(var(--warn));
  border-radius: 10px;
  padding: 16px 18px;
}
.problem .q { font-size: 14px; font-weight: 500; }
.problem .a { font-size: 13.5px; color: rgb(var(--sec)); margin-top: 7px; }
.problem .a b { color: rgb(var(--text)); font-weight: 500; }

/* ---------------------------------------------------------------- pricing */

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }

.plan {
  background: rgb(var(--panel));
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}

.plan.featured { border-color: rgb(var(--accent) / 0.45); }

/*
 * IN THE CARD, not astride its top edge.
 *
 * It was `position:absolute; top:-9px`, which put a 23px pill across a border
 * sitting 8px down from its top - so the card's outline ran straight through
 * the middle of the words "Most chosen". Measured, not guessed: border at
 * y=951 against a badge spanning 943-966.
 *
 * Moving it inside removes the collision at every width instead of tuning an
 * offset that only looks right at one of them. `.tag-hidden` keeps the badge's
 * box on the other three cards so the four prices stay on one line.
 */
.plan .tag {
  display: inline-block; margin: 0 0 12px;
  background: rgb(var(--accent-strong)); color: #fff;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; padding: 3px 9px; border-radius: 5px;
}
.plan .tag-hidden { visibility: hidden; }

.plan .name { font-size: 14px; font-weight: 600; }
.plan .price { font-size: 30px; font-weight: 800; letter-spacing: -1px; margin-top: 10px; }
.plan .price small { font-size: 13px; font-weight: 500; color: rgb(var(--mut)); letter-spacing: 0; }
.plan .per { font-size: 12.5px; color: rgb(var(--mut)); margin-top: 2px; }

.plan dl { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgb(var(--border)); }
.plan .li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-top: 9px; }
.plan .li span:first-child { color: rgb(var(--sec)); }
.plan .li span:last-child { font-weight: 500; }

.plan .mods { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 5px; }
.plan .mod {
  font-size: 11px; padding: 3px 8px; border-radius: 5px;
  background: rgb(var(--accent) / 0.09); color: rgb(var(--accent));
}

.plan .btn { width: 100%; justify-content: center; margin-top: 20px; }

.pricing-note {
  margin-top: 26px; font-size: 13px; color: rgb(var(--mut));
  text-align: center;
}

/* ---------------------------------------------------------------- faq */

.faq details {
  border-bottom: 1px solid rgb(var(--border));
  padding: 16px 0;
}
.faq summary {
  cursor: pointer; font-size: 14.5px; font-weight: 500;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: rgb(var(--accent)); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin-top: 11px; font-size: 13.5px; color: rgb(var(--sec)); max-width: 72ch; }

/* ---------------------------------------------------------------- cta */

.cta {
  background: rgb(var(--panel));
  border: 1px solid rgb(var(--border));
  border-radius: 18px;
  padding: 52px 36px;
  text-align: center;
}
.cta .btns { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- footer */

footer {
  border-top: 1px solid rgb(var(--border));
  padding: 36px 0;
  font-size: 13px; color: rgb(var(--mut));
}
footer .row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
footer .spacer { margin-left: auto; }
footer a:hover { color: rgb(var(--text)); }

/* ------------------------------------------------------- whatsapp widget */

/*
 * Bottom RIGHT, above everything, and it is a real link - not a form that
 * posts somewhere nobody is watching. WhatsApp Business is the only channel
 * Netlynx supports, so it is the one thing on the page that has to work.
 */
.wa {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}

.wa-panel {
  width: 310px; max-width: calc(100vw - 40px);
  background: rgb(var(--panel));
  border: 1px solid rgb(var(--border));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.42);
  /* Hidden by default WITHOUT display:none, so the transition runs. */
  opacity: 0; transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.wa.open .wa-panel { opacity: 1; transform: none; pointer-events: auto; }

.wa-head {
  background: #075E54; color: #fff;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 11px;
}
.wa-head .av {
  width: 34px; height: 34px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  font-size: 18px; color: #075E54;
}
.wa-head .t { font-size: 13.5px; font-weight: 600; }
.wa-head .s { font-size: 11.5px; opacity: .82; }

.wa-body { padding: 16px; }
.wa-bubble {
  background: rgb(var(--panel2));
  border: 1px solid rgb(var(--border));
  border-radius: 4px 12px 12px 12px;
  padding: 11px 13px;
  font-size: 13px; color: rgb(var(--sec));
}
.wa-body .num {
  margin-top: 11px; font-size: 12.5px; color: rgb(var(--mut));
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.wa-body .btn { width: 100%; justify-content: center; margin-top: 13px; background: #25D366; color: #073B2E; font-weight: 600; }
.wa-body .btn:hover { background: #1FBB59; }

.wa-fab {
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgb(0 0 0 / 0.42);
  transition: transform .15s;
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 29px; height: 29px; fill: #fff; }

.wa-close { display: none; }
.wa.open .wa-fab svg { display: none; }
.wa.open .wa-close { display: block; font-size: 25px; line-height: 1; color: #fff; }

/* ---------------------------------------------------------------- mobile */

@media (max-width: 960px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  nav.links { display: none; }
}

@media (max-width: 680px) {
  section { padding: 60px 0; }
  .hero { padding: 62px 0 56px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .cta { padding: 38px 22px; }
  .wa { right: 14px; bottom: 14px; }
}

/*
 * Light mode follows the SAME token swap the panel uses. The site is dark by
 * default like the product, but a visitor whose device asks for light should
 * not be handed a dark page - and the tokens make it a variable swap rather
 * than a second stylesheet.
 */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================================
   Multi-page site: nav states, page heads, feature and case layouts, tables,
   legal documents, the mobile drawer and the icon sizes.
   ========================================================================== */

/* Icons are sized by class, inheriting colour and stroke - one accent change
   recolours the lot, which is the whole reason they are not emojis. */
.ic-12,.ic-14,.ic-16,.ic-18,.ic-20,.ic-24,.ic-28 { display:inline-block; vertical-align:-0.16em; flex:none; }
.ic-12{width:12px;height:12px}.ic-14{width:14px;height:14px}.ic-16{width:16px;height:16px}
.ic-18{width:18px;height:18px}.ic-20{width:20px;height:20px}.ic-24{width:24px;height:24px}
.ic-28{width:28px;height:28px}
.ok{color:rgb(var(--ok))}.warn{color:rgb(var(--warn))}.mut{color:rgb(var(--mut))}

.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.center{text-align:center}
.center.prose{margin-left:auto;margin-right:auto}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.fine{font-size:12.5px;color:rgb(var(--mut))}

nav.links a.on{color:rgb(var(--accent))}

.band{background:rgb(var(--panel2))}

/* ------------------------------------------------------------- page heads */
.page-head{padding:74px 0 46px;border-top:0}
.page-head h1{margin-top:10px}
.page-head .lead{margin-top:16px}
.page-head.narrow .prose{max-width:60ch}

/* ------------------------------------------------------------------- hero */
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:center}

.ticks{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:9px}
.ticks li{display:flex;gap:9px;align-items:flex-start;font-size:13.5px;color:rgb(var(--sec))}
.ticks li svg{color:rgb(var(--accent));margin-top:3px}
.ticks.tight{margin-top:14px;gap:7px}

/* A drawn panel rather than a screenshot: it stays truthful when the UI
   changes, and it weighs nothing. */
.mock{background:rgb(var(--panel));border:1px solid rgb(var(--border));border-radius:16px;overflow:hidden;
  box-shadow:0 22px 50px rgb(0 0 0 / .28)}
.mock-bar{display:flex;gap:6px;padding:12px 14px;border-bottom:1px solid rgb(var(--border));background:rgb(var(--panel2))}
.mock-bar span{width:9px;height:9px;border-radius:50%;background:rgb(var(--border))}
.mock-body{padding:18px}
.mock-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.mock-stat{background:rgb(var(--panel2));border:1px solid rgb(var(--border));border-radius:10px;padding:12px 14px}
.mock-stat .k{font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:rgb(var(--mut))}
.mock-stat .v{font-size:18px;font-weight:700;letter-spacing:-.5px;margin-top:4px}
.mock-stat .v.acc{color:rgb(var(--accent))}
.mock-line{display:flex;align-items:center;gap:12px;font-size:12.5px;color:rgb(var(--sec));margin-bottom:16px}
.mock-line .bar{flex:1;height:6px;border-radius:999px;background:rgb(var(--border));overflow:hidden}
.mock-line .bar i{display:block;height:100%;background:rgb(var(--accent))}
.mock-line b{font-size:13px;color:rgb(var(--text))}
.mock-list{display:grid;gap:9px}
.mock-list .mi{display:flex;gap:9px;align-items:center;font-size:12.5px;color:rgb(var(--sec))}

/* ------------------------------------------------------------------ pains */
.pain{background:rgb(var(--panel));border:1px solid rgb(var(--border));border-left:2px solid rgb(var(--warn));
  border-radius:12px;padding:20px}
.pain svg{color:rgb(var(--warn))}
.pain h3{margin:12px 0 7px}
.pain p{font-size:13.5px;color:rgb(var(--sec))}

/* ------------------------------------------------------------------ steps */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;counter-reset:s}
.step{position:relative;padding-top:8px}
.step .n{width:30px;height:30px;border-radius:9px;background:rgb(var(--accent)/.12);color:rgb(var(--accent));
  display:grid;place-items:center;font-weight:700;font-size:13.5px;margin-bottom:14px}
.step h3{margin-bottom:6px}
.step p{font-size:13.5px;color:rgb(var(--sec))}

/* ------------------------------------------------------------------ cards */
.card.link{display:block;transition:border-color .15s,transform .15s}
.card.link:hover{border-color:rgb(var(--accent)/.45);transform:translateY(-2px)}
.card .more,.more{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:rgb(var(--accent));margin-top:14px}

.usp{display:flex;gap:14px;background:rgb(var(--panel));border:1px solid rgb(var(--border));
  border-radius:14px;padding:20px}
.usp h3{margin-bottom:6px}
.usp p{font-size:13.5px;color:rgb(var(--sec))}
.ico.lg{width:46px;height:46px;border-radius:12px}
.warn-ico{background:rgb(var(--warn)/.12)!important;color:rgb(var(--warn))!important}

/* ---------------------------------------------------------------- feature */
.jump{position:sticky;top:62px;z-index:30;background:rgb(var(--bg)/.9);backdrop-filter:blur(8px);
  border-bottom:1px solid rgb(var(--border))}
.jump .wrap{display:flex;gap:18px;overflow-x:auto;padding-top:12px;padding-bottom:12px;scrollbar-width:none}
.jump .wrap::-webkit-scrollbar{display:none}
.jump a{font-size:12.5px;color:rgb(var(--sec));white-space:nowrap}
.jump a:hover{color:rgb(var(--accent))}

.feat{display:grid;grid-template-columns:.92fr 1.08fr;gap:48px;align-items:start}
.feat-intro h2{margin:10px 0 14px}
.feat-intro .lead{margin-top:0}
.problem-note{display:flex;gap:10px;margin-top:22px;padding:14px 16px;border-radius:10px;
  background:rgb(var(--warn)/.08);border:1px solid rgb(var(--warn)/.22);font-size:13px;color:rgb(var(--sec))}
.problem-note svg{color:rgb(var(--warn));flex:none;margin-top:2px}
.problem-note b{color:rgb(var(--text));font-weight:600}

.feat-points{display:grid;gap:18px}
.pt{display:flex;gap:11px}
.pt svg{margin-top:3px;flex:none}
.pt h4{margin:0 0 4px;font-size:14px;font-weight:600;letter-spacing:-.1px}
.pt p{font-size:13.2px;color:rgb(var(--sec))}
.acc{color:rgb(var(--accent))}

/* ------------------------------------------------------------------ cases */
.case{display:grid;grid-template-columns:1fr auto 1.15fr;gap:32px;align-items:center}
.case-problem h2{margin:14px 0 12px;font-size:26px}
.cost{margin-top:16px;font-size:13px;color:rgb(var(--sec));padding-left:14px;border-left:2px solid rgb(var(--warn))}
.cost b{color:rgb(var(--text))}
.case-arrow{color:rgb(var(--mut))}
.case-fix{background:rgb(var(--panel));border:1px solid rgb(var(--border));border-radius:16px;padding:24px}
.case-fix h3{margin:12px 0 8px}
.case-fix p{font-size:13.5px;color:rgb(var(--sec))}

/* ------------------------------------------------------------------ plans */
.plan .who{font-size:12.5px;color:rgb(var(--mut));margin-top:5px;min-height:34px}
.plan .mod{display:inline-flex;align-items:center;gap:5px}

/* ------------------------------------------------------------------ table */
/* `contain:paint` is load-bearing, not decoration. `overflow-x:auto` scrolls
   the table correctly and the container measures 343px at phone width - but the
   620px table still contributed to the ROOT scroll width, giving the whole site
   a horizontal scrollbar on a phone. Paint containment is what actually stops a
   descendant contributing overflow outside the box; overflow on the container,
   on the section, and max-width all failed to. Verified by measuring
   document.scrollWidth at 375px. */
.table-scroll{overflow-x:auto;contain:paint;border:1px solid rgb(var(--border));
  border-radius:14px;background:rgb(var(--panel))}
table.cmp{width:100%;border-collapse:collapse;font-size:13.5px;min-width:620px}
table.cmp th,table.cmp td{padding:12px 16px;text-align:left;border-bottom:1px solid rgb(var(--border))}
table.cmp thead th{font-size:12px;text-transform:uppercase;letter-spacing:.8px;color:rgb(var(--mut));
  background:rgb(var(--panel2));position:sticky;top:0}
table.cmp td.c,table.cmp th:not(:first-child){text-align:center}
table.cmp tr.grp td{background:rgb(var(--panel2));font-size:11.5px;text-transform:uppercase;
  letter-spacing:.9px;color:rgb(var(--mut));font-weight:600}
table.cmp tbody tr:last-child td{border-bottom:0}

.not-charged{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.nc{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:rgb(var(--sec));
  background:rgb(var(--panel));border:1px solid rgb(var(--border));border-radius:999px;padding:8px 15px}

/* -------------------------------------------------------------------- faq */
.faq-block h2{margin-bottom:18px}

/* ---------------------------------------------------------------- contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}
.contact-card{display:block;background:rgb(var(--panel));border:1px solid rgb(var(--border));
  border-radius:14px;padding:20px;margin-bottom:14px;transition:border-color .15s}
.contact-card:hover{border-color:rgb(var(--accent)/.45)}
.contact-card.primary{border-color:rgb(var(--accent)/.35)}
.contact-card h3{margin:12px 0 5px}
.contact-card p{font-size:13.5px;color:rgb(var(--sec))}

/* ------------------------------------------------------------------ legal */
.legal{padding-top:0}
.doc{max-width:74ch}
.doc h2{font-size:19px;margin:34px 0 12px}
.doc h2:first-child{margin-top:0}
.doc p,.doc li{font-size:14px;color:rgb(var(--sec));line-height:1.72}
.doc p+p{margin-top:12px}
.doc ul,.doc ol{margin:12px 0 0;padding-left:20px}
.doc li{margin-top:7px}
.doc b{color:rgb(var(--text));font-weight:600}
.doc a{color:rgb(var(--accent))}
.doc hr{border:0;border-top:1px solid rgb(var(--border));margin:34px 0 18px}

/* ----------------------------------------------------------------- footer */
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:34px;padding-bottom:30px}
.foot-brand p{margin-top:12px;font-size:13px;max-width:32ch}
.foot-wa{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-size:13px;color:rgb(var(--accent))}
footer h4{margin:0 0 12px;font-size:11.5px;text-transform:uppercase;letter-spacing:1px;color:rgb(var(--text))}
footer .foot-grid a{display:block;font-size:13px;margin-bottom:9px;color:rgb(var(--sec))}
.foot-base{display:flex;gap:18px;flex-wrap:wrap;padding-top:22px;border-top:1px solid rgb(var(--border))}

/* ----------------------------------------------------------------- drawer */
.burger{display:none;width:38px;height:34px;border:1px solid rgb(var(--border));border-radius:9px;
  background:transparent;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:4px}
.burger span{display:block;width:16px;height:1.6px;background:rgb(var(--text));border-radius:2px}
/* ---- the side menu ----
   A real panel sliding in from the right, not a strip pushed under the header.
   Always in the DOM and moved off-screen, so it animates - `display:none`
   cannot be transitioned, and a menu that appears instantly on a phone reads
   as the page having jumped. */
.scrim{position:fixed;inset:0;z-index:50;background:rgb(0 0 0 / .55);backdrop-filter:blur(2px)}

.side{
  position:fixed;top:0;right:0;bottom:0;z-index:51;
  width:min(320px, 86vw);
  background:rgb(var(--panel));
  border-left:1px solid rgb(var(--border));
  display:flex;flex-direction:column;
  transform:translateX(100%);
  transition:transform .22s ease;
  /* Its own scroll, so a long menu works on a short phone. */
  overflow-y:auto;overscroll-behavior:contain;
}
.side.open{transform:none}

.side-top{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:16px;border-bottom:1px solid rgb(var(--border))}
.side-x{background:none;border:0;color:rgb(var(--sec));font-size:26px;line-height:1;
  cursor:pointer;padding:0 4px}
.side-x:hover{color:rgb(var(--text))}

.side-nav{display:flex;flex-direction:column;padding:8px 0}
.side-nav a{display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:14px 16px;font-size:15px;color:rgb(var(--sec))}
.side-nav a svg{color:rgb(var(--mut))}
.side-nav a.on{color:rgb(var(--accent))}
.side-nav a.on svg{color:rgb(var(--accent))}
.side-nav a:active{background:rgb(var(--panel2))}

.side-foot{margin-top:auto;display:grid;gap:10px;padding:16px;
  border-top:1px solid rgb(var(--border))}
.side-foot .btn{width:100%;justify-content:center}

/* The page behind must not scroll while the menu is over it. */
body.locked{overflow:hidden}

/* THE WHATSAPP BUTTON GETS OUT OF THE WAY while the menu is open.
   It is `position:fixed` at z-index 60, above the menu's 51, and it sits
   bottom-right - exactly where the menu's own Sign in and Talk to us buttons
   are. At 844px tall it cleared Sign in by two pixels; on a 667 or 736 phone,
   which is most of them, it landed straight on top and the tap did nothing.
   Two floating things competing for the same corner is the bug - the open menu
   wins. */
body.locked .wa{opacity:0;pointer-events:none;transition:opacity .15s ease}

.wa-go{background:#25D366;color:#073B2E;font-weight:600}
.wa-go:hover{background:#1FBB59}
.wa-mark{color:#fff}

/* ----------------------------------------------------------------- mobile */
/* ------------------------------------------------------------------ photos
   A photograph earns its place only where it shows the thing being talked
   about - plant, a rack, a tower, the box on somebody's wall. Decoration for
   its own sake is what Premium Restraint rules out, and it is also what makes
   a marketing page read as a template.

   SERVED FROM public/site/img, never hotlinked. See that folder's SOURCES.md:
   pointing at somebody else's CDN hands every visitor's IP and referrer to a
   third party on every page load, which is the same objection that keeps a
   chat widget off this site.

   NOT on the legal pages, deliberately. Those are read to find a clause. */
/* The theme control. It shows the icon for what pressing it would GIVE you,
   not the state you are in - a sun while you are in dark. The other reading
   leaves people pressing it to find out. */
.theme-btn{padding:9px 11px}
.theme-btn .t-sun{display:none}
.theme-btn .t-moon{display:block}
:root[data-theme="dark"] .theme-btn .t-sun{display:block}
:root[data-theme="dark"] .theme-btn .t-moon{display:none}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .theme-btn .t-sun{display:block}
  :root:not([data-theme="light"]) .theme-btn .t-moon{display:none}
}

.screens{
  margin:0 auto; max-width:940px;
}
.screens-frame{
  position:relative; overflow:hidden;
  border:1px solid rgb(var(--border)); border-radius:var(--radius);
  /* Holds the space before the first capture arrives, so nothing below it
     jumps - the same reason the photographs declared width and height. */
  background:rgb(var(--panel2));
  /* A VERY LIGHT TINT OF THE ACCENT, not a grey drop shadow. Mixed from the
     accent token so it follows a per-theme palette instead of being a fixed
     colour that turns muddy on one of the two, and kept under 10% - the design
     system allows minimal shadows, and this is meant to lift the frame off the
     page rather than announce itself. */
  box-shadow:
    0 1px 2px rgb(var(--accent) / .05),
    0 18px 40px -18px rgb(var(--accent) / .18),
    0 4px 14px -8px rgb(0 0 0 / .06);
}
/* A restrained window bar, so the capture reads as an application rather than
   as a cropped photograph of one. Three dots and a rule; no traffic lights in
   colour, which would be the loudest thing on a page with one accent. */
.screens-bar{
  display:flex; gap:6px; align-items:center;
  padding:10px 13px; border-bottom:1px solid rgb(var(--border));
  background:rgb(var(--panel));
}
.screens-bar span{
  width:8px; height:8px; border-radius:50%;
  background:rgb(var(--border));
}
.screens-stack{
  position:relative; aspect-ratio:16/10;
}
.screens-stack img{
  position:absolute; inset:0;
  display:block; width:100%; height:100%; object-fit:cover; object-position:top left;
  opacity:0;
  animation:screenFade var(--screens-cycle, 12s) infinite;
}
/* NO saturate() here, unlike the photographs it replaced. That filter calmed a
   stock photo toward the palette; these ARE the palette, and dimming them
   would misrepresent the product's own contrast. */

/* The first frame is painted while the others are still arriving, so a slow
   connection sees a screenshot rather than an empty panel. The animation
   overrides it the moment it starts. */
.screens-stack img:first-child{opacity:1}

/* THE SLOTS HAVE TO OVERLAP, or the panel goes blank between frames.
   Three frames are a third of the cycle apart, so a fade that finishes before
   33% leaves a gap where every frame is transparent - about six tenths of a
   second of empty panel, which reads as a broken image rather than as a
   transition. Caught by sampling computed opacity across a full cycle and
   finding a moment where all three were 0. Holding to 35% and clearing at 38%
   means the next frame is already arriving as this one leaves. */
@keyframes screenFade{
  0%        {opacity:0}
  3%, 35%   {opacity:1}
  38%, 100% {opacity:0}
}

/* One cycle per frame count, so each screen gets an equal, unhurried slot -
   about 3.5 seconds to read, which is roughly how long somebody looks at a
   screenshot before deciding whether to look at the next one. */
.screens-2{--screens-cycle:8s}
.screens-3{--screens-cycle:12s}
.screens-4{--screens-cycle:16s}

.screens-2 .screens-stack img:nth-child(1){animation-delay:0s}
.screens-2 .screens-stack img:nth-child(2){animation-delay:-4s}
.screens-3 .screens-stack img:nth-child(1){animation-delay:0s}
.screens-3 .screens-stack img:nth-child(2){animation-delay:-4s}
.screens-3 .screens-stack img:nth-child(3){animation-delay:-8s}
.screens-4 .screens-stack img:nth-child(1){animation-delay:0s}
.screens-4 .screens-stack img:nth-child(2){animation-delay:-4s}
.screens-4 .screens-stack img:nth-child(3){animation-delay:-8s}
.screens-4 .screens-stack img:nth-child(4){animation-delay:-12s}

/* A 2-frame fade needs a wider plateau or each screen is on for under two
   seconds, which reads as a flicker rather than as a sequence. */
.screens-2 .screens-stack img{animation-name:screenFade2}
@keyframes screenFade2{
  0%        {opacity:0}
  4%, 52%   {opacity:1}
  56%, 100% {opacity:0}
}

/* ASKED FOR LESS MOVEMENT MEANS NONE. A GIF could not honour this at all,
   which is half the reason these are images and CSS. The first frame stays,
   so the page still shows the product. */
@media (prefers-reduced-motion:reduce){
  .screens-stack img{animation:none; opacity:0}
  .screens-stack img:first-child{opacity:1}
}

.screens figcaption{
  margin-top:13px; font-size:12.5px; color:rgb(var(--mut)); text-align:center;
}

/* A SMALL ZOOMED CROP OF THE REAL SCREEN, beside the words describing it.

   The strip under a page head shows the product; this shows the PART being
   talked about, so a feature paragraph sits next to the pixels it describes
   rather than next to a claim.

   It crops the SAME FILE the strip already loaded - no second asset, nothing
   extra to re-capture, and no extra bytes once the page has the screen. */
.snap{margin:30px 0 0}
.snap-frame{
  position:relative; overflow:hidden;
  border:1px solid rgb(var(--border)); border-radius:calc(var(--radius) - 4px);
  background:rgb(var(--panel2));
  /* The same tint as the strips, a little softer - a snap sits inside a
     section rather than leading one. */
  box-shadow:
    0 1px 2px rgb(var(--accent) / .05),
    0 14px 30px -16px rgb(var(--accent) / .15),
    0 3px 10px -7px rgb(0 0 0 / .05);
}
.snap figcaption{
  margin-top:11px; font-size:12.5px; line-height:1.5;
  color:rgb(var(--mut)); text-align:center;
}
/* The clipping box. Separate from the frame so the window bar sits above it
   rather than under an image that covers its own box absolutely. */
.snap-stack{position:relative; overflow:hidden; aspect-ratio:16/6}
.snap-stack img{
  position:absolute; left:50%; top:50%;
  /* Drawn at a multiple of the FRAME, so the crop zooms with the column
     rather than being pinned to the file's own pixels. */
  width:var(--snap-zoom); height:auto; max-width:none;
  /* A translate percentage is of the ELEMENT's own box, so this puts the
     point (--snap-x, --snap-y) OF THE SCREEN at the centre of the frame -
     without anything here needing to know the rendered size. */
  transform:translate(calc(-1 * var(--snap-x)), calc(-1 * var(--snap-y)));
}

/* The strip under a page head is part of that head, not a new section - so it
   carries NO top border. `section` sets one by default, which would draw a
   rule immediately under the intro paragraph. */
.shot-band{border-top:0;padding:0 0 84px}

/* Spacing is owned by the stylesheet, never by an inline style on the page. */
.screens + .head,
.screens + .grid,
.screens + .split{margin-top:56px}
.head + .screens,
.lead + .screens{margin-top:40px}

@media (max-width:820px){
  /* THE WHOLE SCREEN ON A PHONE, never a crop.
     An earlier version zoomed in so the type stayed legible, and cut the sides
     off the screen to do it - which is not what a product shot is for. Showing
     all of it means it is small; that is the trade, and it is the right one,
     because somebody on a phone is getting an impression of the product and
     will open it properly on a desktop. The frame matches the capture's own
     16:10 so nothing is cropped in either direction. */
  .screens-stack{aspect-ratio:16/10}
  .screens-stack img{
    inset:0; width:100%; height:100%;
    object-fit:contain; object-position:center;
  }

  /* A snap shows its whole screen too, for the same reason - so it is the
     measured crop on a desktop and the full screen on a phone. */
  .snap-stack{aspect-ratio:16/10}
  .snap{margin:22px 0 0}
  .snap-stack img{
    left:0; top:0; width:100%; height:100%;
    transform:none; object-fit:contain; object-position:center;
  }
  .snap figcaption{font-size:11.5px; text-align:left}

  /* The window bar STAYS on a phone, just tighter. It was hidden to buy back
     35px for the product, which left the frame reading as a cropped picture
     rather than as an application - and the buttons are the thing that says
     "this is software" at a glance. 26px is the compromise. */
  .screens-bar{padding:7px 10px; gap:5px}
  .screens-bar span{width:6px; height:6px}
  .screens figcaption{text-align:left}
}

@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr;gap:38px}
  .feat{grid-template-columns:1fr;gap:26px}
  .case{grid-template-columns:1fr;gap:20px}
  .case-arrow{transform:rotate(90deg);justify-self:start}
  .steps{grid-template-columns:repeat(2,1fr);gap:24px}
  .foot-grid{grid-template-columns:1fr 1fr;gap:26px}
  .contact-grid{grid-template-columns:1fr}
}

@media (max-width:820px){
  nav.links{display:none}
  .burger{display:flex}
  .hide-sm{display:none}
  .jump{top:62px}
}

@media (max-width:680px){
  .page-head{padding:52px 0 34px}
  .steps{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr}
  .usp{flex-direction:column;gap:12px}
  .mock{display:none}
}

/* ===================================================================
   WARMTH PASS - the announcement strip, the rotating word, and the
   softer shapes that go with them.

   Appended rather than woven in so the base system above stays readable
   as one piece. Everything here is built from the SAME tokens: there is
   still one accent, and it is still cyan. The warmth comes from shape,
   from people in the photographs and from a little motion - never from a
   second brand colour, which is what "Premium Restraint" rules out.
   =================================================================== */

/* Available to every page: a label that exists for a screen reader and
   is not drawn. Used by the rotating headline word, whose visible text
   changes while the accessible sentence must not. */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---- the announcement strip ------------------------------------- */

.announce {
  background: rgb(var(--accent) / 0.09);
  border-bottom: 1px solid rgb(var(--accent) / 0.16);
  font-size: 13px;
  color: rgb(var(--text));
}
.announce .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 9px 22px; flex-wrap: wrap;
}
.announce-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgb(var(--accent));
  /* A slow pulse, not a blink. The strip is the only moving thing above
     the fold and it is there to be noticed once, not to nag. */
  animation: announce-pulse 2.6s ease-in-out infinite;
  flex: none;
}
.announce a, .announce .announce-cta {
  display: inline-flex; align-items: center; gap: 5px;
  color: rgb(var(--accent-strong)); font-weight: 600; white-space: nowrap;
}
.announce a:hover { text-decoration: underline; }
:root[data-theme="dark"] .announce a,
.announce a { color: rgb(var(--accent-strong)); }

@keyframes announce-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.82); }
}

/* On dark the deep accent is too close to the ground to read as a link. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .announce a { color: rgb(var(--accent)); }
}
:root[data-theme="dark"] .announce a { color: rgb(var(--accent)); }

/* ---- the rotating headline word --------------------------------- */

/* `inline-grid` with every word in the SAME cell is what sizes the slot
   to the LONGEST word. Swapping one word's text instead reflows the
   whole headline on every change, which on a 56px h1 is the line
   visibly jumping under the reader every 2.4 seconds. */
.rot { display: inline-grid; vertical-align: top; }
.rot-stack { display: inline-grid; }
.rot-stack > .rot-w { grid-area: 1 / 1; }

.rot-w {
  color: rgb(var(--accent));
  white-space: nowrap;
  animation: rot-word 12s linear infinite;
  /* BOTH, or every word paints at full opacity until its delay elapses
     and the headline opens with all five stacked on top of each other. */
  animation-fill-mode: both;
}

/*
 * THE SLOTS CROSS-FADE; THEY DO NOT MEET AT ZERO.
 *
 * Five words over 12s is a 2.4s slot, which is 20% of the cycle. A word
 * that finished fading out AT 20% would hand over to the next one
 * exactly as that one began fading in - and both are transparent at
 * that instant, so the headline loses its word five times a loop. The
 * fade-out therefore runs 20% -> 22%, over the top of the next word's
 * 0% -> 2% fade-in, and the two sum to one visible word throughout.
 *
 * This is the same trap the screenshot cross-fade hit, and it is worth
 * stating twice: a transition that is correct on paper can still have a
 * hole in it.
 *
 * THE OVERLAP IS SHORT BECAUSE THIS IS TEXT, not pictures. A quarter of
 * a second longer and the two words are both half-visible for long
 * enough to read as one smeared word - "billing" with the tail of
 * "complaints" sticking out of it, which looks like a rendering fault
 * rather than a transition. They also pass each other half a line apart
 * vertically, so what little overlap there is reads as a swap.
 */
@keyframes rot-word {
  0%        { opacity: 0; transform: translateY(0.52em); }
  2%        { opacity: 1; transform: none; }
  20%       { opacity: 1; transform: none; }
  22%, 100% { opacity: 0; transform: translateY(-0.52em); }
}

/* Somebody who asked their machine for less movement gets the canonical
   word and nothing else moving. The stack still sizes to the longest,
   so the headline does not reflow. */
@media (prefers-reduced-motion: reduce) {
  .rot-w { animation: none; opacity: 0; }
  .rot-w:last-child { opacity: 1; }
  .announce-dot { animation: none; }
}

/* ---- photographs ------------------------------------------------- */

.photo { margin: 28px 0 0; }

.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgb(var(--border));
  /* The same very light accent-tinted lift the screenshot frames carry, so a
     photograph and a product shot read as parts of one page rather than as
     two different kinds of thing pasted onto it. */
  box-shadow: 0 18px 40px -24px rgb(var(--accent) / 0.18);
  background: rgb(var(--panel2));
}

.photo-frame img {
  display: block; width: 100%;
  /* `height: auto` IS LOAD-BEARING. The `height` attribute on the tag - which
     is there so the row reserves its space before the file lands - maps to a
     presentational `height: 1066px`, and that OUTRANKS `aspect-ratio`. Without
     this the band renders at the photograph's full height instead of as a
     letterbox, which looks like the crop was never applied. */
  height: auto;
  /* A LETTERBOX, cropped by the browser. The source is 3:2 and this band is
     much wider, so `cover` plus a focus point keeps the subject in frame
     instead of scaling the whole picture down into a strip. */
  aspect-ratio: 16 / 6;
  object-fit: cover;
  /* Desaturated, with NO colour scrim over it. A scrim mixed from --bg washes
     the picture out in whichever of the two themes it was not mixed for. */
  filter: saturate(.8);
}

.photo figcaption {
  margin-top: 10px; font-size: 13px; color: rgb(var(--mut));
}

/* On a phone the letterbox is 128px tall and shows nothing. Squarer, so the
   subject survives - the same trade the screenshot frames make. */
@media (max-width: 820px) {
  .photo-frame img { aspect-ratio: 16 / 10; }
}

/* ---- the hero's decorative marks --------------------------------- */

/*
 * Behind the product panel, never beside it. The panel carries the only
 * figures on this screen and the decoration must not compete for the eye -
 * which is the whole reason these sit at 5-9% of the accent rather than at a
 * weight somebody would call a graphic.
 *
 * The second column of `.hero-grid` is the positioning context, so the SVG is
 * absolutely placed against it and the panel paints on top in normal flow.
 */
.hero-art { position: relative; }

/*
 * CENTRED ON THE PANEL AND BIGGER THAN IT, so the shapes peek out past its
 * edges - behind an opaque panel is the one place decoration cannot be seen.
 * It overhangs by about 90px on each side, which is what makes it read as
 * something the panel is sitting on rather than a texture inside it.
 */
.hero-deco {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 620px; height: 560px;
  pointer-events: none;
  z-index: 0;
}
.hero-art .mock { position: relative; z-index: 1; }

.hero-deco .d-fill   { fill: rgb(var(--accent) / 0.07); }
.hero-deco .d-stroke { stroke: rgb(var(--accent) / 0.22); }
.hero-deco .d-dot    { fill: rgb(var(--accent) / 0.34); }

/*
 * THE CLIP BELONGS ON THE SECTION, NOT ON THE CELL.
 *
 * Containing the cell was tried first and removed the decoration entirely:
 * `contain: paint` clips to the padding box, so every part that overhangs the
 * panel - which is every part that can actually be seen - was cut off, leaving
 * only the portion hidden behind the panel itself. Clipping at the hero
 * instead lets the shapes spill across the cell while still keeping the
 * overflow off the root, which is what gives a phone a horizontal scrollbar.
 */
.hero { overflow: hidden; }

/* Below the breakpoint where `.mock` is hidden entirely there is nothing for
   these to sit behind, and a bare graphic floating in the hero is decoration
   with no job. */
@media (max-width: 900px) {
  .hero-deco { display: none; }
}

/* The dot is decorative, and `flex-wrap` on a narrow screen strands it alone
   on the first line above the text - which reads as a stray mark rather than
   as a marker for the sentence under it. */
@media (max-width: 560px) {
  .announce-dot { display: none; }
  .announce .wrap { padding: 8px 18px; gap: 6px; }
}

/* ---------------------------------------------------------------- the tangle
   The problem section on the home page: a drop cable knotted through the tools
   an ISP runs on, coming out straight in the accent. Every colour is a token,
   so it follows light and dark with nothing swapped. */
.knot-head { text-align: center; max-width: 960px; margin: 0 auto 8px; }
.knot-head h2 { text-wrap: balance; }
.knot-head h2 { font-size: clamp(27px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -0.8px; margin: 10px 0 14px; }
.knot-head h2 .dim { color: rgb(var(--mut)); }
.knot-head p { color: rgb(var(--sec)); font-size: 15.5px; max-width: 58ch; margin: 0 auto; }

.tangle { position: relative; aspect-ratio: 1200 / 320; margin: 34px -12px 46px; }
.tangle-cable { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tangle-body  { stroke: rgb(var(--mut) / 0.38); stroke-width: 15; }
.tangle-shine { stroke: rgb(var(--panel) / 0.75); stroke-width: 3.5; }
.tangle-out   { stroke: url(#tangle-out); stroke-width: 15; }
.tangle-out-0 { stop-color: rgb(var(--accent) / 0); }
.tangle-out-1 { stop-color: rgb(var(--accent-strong)); }

.tangle-tile, .tangle-chip, .tangle-answer {
  position: absolute; left: var(--x); top: var(--y);
  background: rgb(var(--panel)); border: 1px solid rgb(var(--border));
  box-shadow: 0 6px 18px -8px rgb(var(--accent) / 0.18);
}
.tangle-tile {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  color: rgb(var(--sec)); transform: rotate(var(--r, 0deg));
  animation: tangle-bob 6s ease-in-out infinite;
}
.tangle-tile.tile-wa { animation-delay: -1.5s; } .tangle-tile.tile-receipt { animation-delay: -3s; }
.tangle-tile.tile-mail { animation-delay: -4.5s; } .tangle-tile.tile-cal { animation-delay: -2.2s; }
/* THE ONE PLACE THE SITE USES COLOURS BEYOND THE ACCENT, at the owner's
   request: these tiles stand for OTHER people's tools, and they are recognised
   by their colour - Excel green, WhatsApp green. Kept to the icon strokes on a
   neutral tile, never filled, so they stay small marks rather than a rainbow. */
.tile-sheet   { color: #1F7A4D; }
.tile-wa      { color: #1DAA55; }
.tile-receipt { color: #D98A1F; }
.tile-mail    { color: #D9534F; }
.tile-cal     { color: #7C5CD6; }
:root[data-theme="dark"] .tile-sheet { color: #3FBF7F; }
:root[data-theme="dark"] .tile-wa { color: #3DDC84; }
:root[data-theme="dark"] .tile-receipt { color: #F0A848; }
:root[data-theme="dark"] .tile-mail { color: #EE7A76; }
:root[data-theme="dark"] .tile-cal { color: #A08BF0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tile-sheet { color: #3FBF7F; }
  :root:not([data-theme="light"]) .tile-wa { color: #3DDC84; }
  :root:not([data-theme="light"]) .tile-receipt { color: #F0A848; }
  :root:not([data-theme="light"]) .tile-mail { color: #EE7A76; }
  :root:not([data-theme="light"]) .tile-cal { color: #A08BF0; }
}
@keyframes tangle-bob {
  0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); }
  50%      { transform: rotate(var(--r, 0deg)) translateY(-4px); }
}
.tangle-tile svg { width: 22px; height: 22px; }
.tangle-chip {
  padding: 8px 14px; border-radius: 10px; font-size: 14px; white-space: nowrap; color: rgb(var(--text));
}
/* The words trail off - the sentence nobody finishes because the phone rang. */
.tangle-chip i { font-style: normal; color: rgb(var(--mut)); }
.tangle-answer {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 11px;
  border-radius: 12px; font-size: 15px; font-weight: 600; white-space: nowrap;
  background: rgb(var(--text)); color: rgb(var(--bg)); border-color: transparent;
  box-shadow: 0 10px 26px -10px rgb(var(--accent) / 0.45);
}
.tangle-tick {
  width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  background: rgb(var(--accent-strong)); color: #fff;
}

.knot-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 34px; }
/* A rule down the left that turns in at the top - the cable again, cut short. */
.knot-card { position: relative; padding: 34px 8px 6px 30px; border-left: 1px solid rgb(var(--border)); }
.knot-card::before {
  content: ""; position: absolute; left: -1px; top: 0; width: 26px; height: 26px;
  border-top: 1px solid rgb(var(--border)); transform-origin: 0 0; transform: skewY(-45deg) translateY(26px);
}
.knot-card h3 { font-size: 22px; letter-spacing: -0.4px; margin-bottom: 12px; }
.knot-card p { color: rgb(var(--sec)); font-size: 15px; line-height: 1.6; }
.knot-card p b { color: rgb(var(--text)); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { .tangle-tile { animation: none; } }
@media (max-width: 900px) {
  .tangle-chip { font-size: 12px; padding: 6px 10px; }
  .tangle-tile { width: 36px; height: 36px; border-radius: 10px; }
}
/* On a phone the chips would land on top of each other: the knot and the
   answer say it on their own. */
@media (max-width: 720px) {
  .tangle { aspect-ratio: 1200 / 440; margin: 20px -4px 84px; }
  .tangle-chip, .tangle-tile.tile-cal { display: none; }
  .tangle-tile { width: 30px; height: 30px; border-radius: 9px; }
  .tangle-tile svg { width: 15px; height: 15px; }
  /* Under the drawing rather than on it, where the cable is too small to share. */
  .tangle-answer { left: 50%; top: calc(100% + 14px); transform: translateX(-50%);
    font-size: 14px; padding: 9px 16px 9px 10px; }
  .tangle-tick { width: 22px; height: 22px; }
  .knot-cards { grid-template-columns: 1fr; gap: 4px; }
  .knot-card { padding-top: 26px; }
  .knot-card h3 { font-size: 20px; }
}
