/* =========================================================================
   MyAdDaddy - myaddaddy.com
   Shared stylesheet for index / privacy / terms / data-deletion.

   Design rule this whole site is built on, borrowed from the app itself:
   COLOR CARRIES MEANING ONLY. The page is graphite and bone. The only
   chroma anywhere is green (good), amber (watch) and red (intervene), and
   each one appears only where it means exactly that. Nothing is tinted for
   decoration. If you add a colour here, it has to earn a definition below.

   Shape rule: surfaces and buttons are 4px. The kill dial is a circle.
   Nothing else is rounded.
   ========================================================================= */

/* ---------- tokens ---------- */

:root {
  color-scheme: light dark;

  /* neutrals - light (enamelled steel panel) */
  --bg:        #E9EAE6;
  --bg-sunk:   #DFE0DB;
  --panel:     #F7F7F4;
  --panel-2:   #FFFFFF;
  --ink:       #14161A;
  --muted:     #565C63;
  --dim:       #868C93;
  --rule:      rgba(20, 22, 26, .16);
  --rule-soft: rgba(20, 22, 26, .075);
  --shadow:    0 1px 2px rgba(20, 22, 26, .06), 0 10px 26px -14px rgba(20, 22, 26, .30);

  /* signals - light */
  --go:      #16794A;
  --go-bg:   rgba(22, 121, 74, .10);
  --watch:   #9A6100;
  --watch-bg:rgba(154, 97, 0, .11);
  --stop:    #B3261E;
  --stop-bg: rgba(179, 38, 30, .09);

  /* type */
  --display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --body:    "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  /* metrics */
  --pad:  clamp(20px, 5vw, 44px);
  --maxw: 1220px;
  --r:    4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #101215;
    --bg-sunk:   #0A0C0E;
    --panel:     #191C21;
    --panel-2:   #1F232A;
    --ink:       #ECEEEC;
    --muted:     #9DA3AA;
    --dim:       #6C737B;
    --rule:      rgba(255, 255, 255, .15);
    --rule-soft: rgba(255, 255, 255, .07);
    --shadow:    0 1px 2px rgba(0, 0, 0, .5), 0 14px 34px -18px rgba(0, 0, 0, .8);

    --go:       #43C883;
    --go-bg:    rgba(67, 200, 131, .12);
    --watch:    #E3A139;
    --watch-bg: rgba(227, 161, 57, .13);
    --stop:     #F2665C;
    --stop-bg:  rgba(242, 102, 92, .12);
  }
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

::selection { background: var(--ink); color: var(--bg); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- type scale ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.55rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.04;
  letter-spacing: -.03em;
}

h2 {
  font-size: clamp(1.85rem, 3.9vw, 2.9rem);
  font-stretch: 108%;
  letter-spacing: -.026em;
}

h3 {
  font-size: 1.075rem;
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.3;
}

p { margin: 0 0 1rem; }

.lead {
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
  color: var(--muted);
  line-height: 1.62;
  max-width: 56ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: .705rem;
  font-weight: 500;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 18px;
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- rules and sections ---------- */

section { padding-block: clamp(64px, 9.5vw, 128px); }

.hair { height: 1px; background: var(--rule); border: 0; margin: 0; }

.sect-head { max-width: 62ch; margin-bottom: clamp(38px, 5vw, 60px); }
.sect-head p { color: var(--muted); margin-bottom: 0; }
.sect-head h2 + p { margin-top: 18px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-family: var(--body);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: -.008em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn-solid {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-solid:hover { background: var(--muted); border-color: var(--muted); }

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-line:hover { border-color: var(--ink); }

.btn-sm { padding: 9px 15px; font-size: .855rem; }

.btn .arrow {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(128, 128, 128, .22);
  font-size: .78rem;
  transition: transform .22s var(--ease);
}
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}

.nav .wrap {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 108%;
  font-size: 1.06rem;
  letter-spacing: -.032em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand svg { flex-shrink: 0; }

.navlinks {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: .89rem;
  font-weight: 500;
  color: var(--muted);
}
.navlinks a { text-decoration: none; transition: color .16s var(--ease); }
.navlinks a:hover { color: var(--ink); }

@media (max-width: 900px) { .navlinks { display: none; } }

.nav-back {
  font-size: .89rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.nav-back:hover { color: var(--ink); }

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

.hero { padding-block: clamp(52px, 7vw, 92px) clamp(56px, 8vw, 104px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
}

/* ---------- the kill dial (signature) ---------- */

.dial-mount {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(26px, 4vw, 40px) clamp(20px, 3vw, 34px);
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.dial-plate {
  --circ: 289.03;   /* 2 * pi * r, with r = 46 in the 100x100 viewBox */
  position: relative;
  width: min(238px, 62vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.dial-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.dial-ring circle { fill: none; stroke-linecap: butt; }
.dial-track { stroke: var(--rule); stroke-width: 3; }
.dial-fill {
  stroke: var(--stop);
  stroke-width: 5;
  stroke-dasharray: var(--circ);
  stroke-dashoffset: var(--circ);
  transition: stroke-dashoffset .12s linear;
}

.dial-btn {
  position: relative;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--panel-2);
  color: var(--stop);
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.4;
  cursor: pointer;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 12px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), var(--shadow);
  transition: transform .2s var(--ease), background-color .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

@media (prefers-color-scheme: dark) {
  .dial-btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow); }
}

.dial-glyph { width: 26px; height: 26px; color: inherit; }

.dial-btn:hover { border-color: var(--stop); }
.dial-btn.holding { transform: scale(.965); }

.dial-mount.stopped .dial-btn {
  background: var(--stop);
  border-color: var(--stop);
  color: #FFF;
}
.dial-mount.stopped .dial-fill { stroke-dashoffset: 0; }

.dial-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: .755rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.dial-status .lamp {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--go);
  flex-shrink: 0;
  transition: background-color .3s var(--ease);
}
.dial-mount.stopped .dial-status .lamp { background: var(--stop); }

.dial-caption {
  font-size: .81rem;
  color: var(--dim);
  text-align: center;
  max-width: 30ch;
  margin: 0;
  line-height: 1.5;
}

/* ---------- signal legend ---------- */

.legend { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.legend { padding-block: clamp(46px, 6vw, 74px); }

.legend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.legend-item {
  padding: 4px clamp(18px, 2.6vw, 34px) 4px 0;
  border-left: 1px solid var(--rule-soft);
  padding-left: clamp(18px, 2.6vw, 34px);
}
.legend-item:first-child { border-left: 0; padding-left: 0; }

.legend-swatch {
  width: 46px;
  height: 8px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.legend-item.go    .legend-swatch { background: var(--go); }
.legend-item.watch .legend-swatch { background: var(--watch); }
.legend-item.stop  .legend-swatch { background: var(--stop); }

.legend-word {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.legend-item.go    .legend-word { color: var(--go); }
.legend-item.watch .legend-word { color: var(--watch); }
.legend-item.stop  .legend-word { color: var(--stop); }

.legend-item p { color: var(--muted); font-size: .93rem; margin: 0; }

@media (max-width: 760px) {
  .legend-grid { grid-template-columns: 1fr; gap: 28px; }
  .legend-item {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--rule-soft);
    padding-top: 22px;
  }
  .legend-item:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- tabs (the five screens) ---------- */

.tabs-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.tablist {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule-soft);
}

.tab {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--rule-soft);
  background: transparent;
  color: var(--muted);
  font-family: var(--body);
  font-size: .97rem;
  font-weight: 500;
  text-align: left;
  padding: 15px 12px 15px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}

.tab::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: transparent;
  transition: background-color .2s var(--ease);
}

.tab:hover { color: var(--ink); background: var(--rule-soft); }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.tab[aria-selected="true"]::before { background: var(--ink); }

.tab .tab-idx {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--dim);
  font-weight: 500;
}

.tabpanel {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow);
  min-height: 300px;
}

.tabpanel[hidden] { display: none; }

.tabpanel h3 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.72rem);
  font-weight: 700;
  font-stretch: 106%;
  letter-spacing: -.022em;
  margin-bottom: 14px;
}

.tabpanel > p { color: var(--muted); max-width: 60ch; }

.tabpanel ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-soft);
}

.tabpanel li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: .93rem;
  color: var(--muted);
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 6px 20px;
}

.tabpanel li b {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 900px) {
  .tabs-layout { grid-template-columns: 1fr; }
  .tablist {
    flex-direction: row;
    overflow-x: auto;
    border-top: 0;
    border-bottom: 1px solid var(--rule);
    scrollbar-width: thin;
  }
  .tab {
    border-bottom: 0;
    white-space: nowrap;
    padding: 12px 14px;
  }
  .tab::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 2px; }
  .tabpanel li { grid-template-columns: 1fr; gap: 3px; }
}

/* ---------- sequence rail ---------- */

.rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}

.rail-step {
  padding: 26px clamp(14px, 1.8vw, 24px) 4px 0;
  border-right: 1px solid var(--rule-soft);
  position: relative;
}
.rail-step:last-child { border-right: 0; }

.rail-step::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--ink);
}

.rail-step .rail-n {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--dim);
  display: block;
  margin-bottom: 12px;
}

.rail-step h3 { margin-bottom: 9px; }
.rail-step p { color: var(--muted); font-size: .9rem; margin: 0; }

@media (max-width: 900px) {
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-step:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .rail { grid-template-columns: 1fr; }
  .rail-step { border-right: 0; border-bottom: 1px solid var(--rule-soft); padding-bottom: 24px; }
  .rail-step:last-child { border-bottom: 0; }
}

/* ---------- controls bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.cell {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cell h3 { margin: 0; }
.cell p { color: var(--muted); font-size: .93rem; margin: 0; }

.cell-wide { grid-column: span 4; }
.cell-narrow { grid-column: span 2; }
.cell-half { grid-column: span 3; }

.cell-sunk { background: var(--bg-sunk); }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .cell-wide, .cell-narrow, .cell-half { grid-column: span 1; }
}

/* meter graphic inside a bento cell */

.meter { display: grid; gap: 10px; margin-block: auto; padding-block: 6px; }

.meter-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--dim);
  text-transform: uppercase;
}

.meter-bar {
  height: 10px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.meter-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  border-radius: 1px;
}

.meter-bar .fill-go    { background: var(--go); }
.meter-bar .fill-watch { background: var(--watch); }

.meter-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* toggle graphic */

.switchrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: .92rem;
}
.switchrow:last-of-type { border-bottom: 0; }

.switch {
  width: 38px; height: 21px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--bg-sunk);
  position: relative;
  flex-shrink: 0;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 15px; height: 15px;
  border-radius: 999px;
  background: var(--dim);
  transition: transform .2s var(--ease);
}
.switch.on { background: var(--go-bg); border-color: var(--go); }
.switch.on::after { background: var(--go); transform: translateX(17px); }

/* ---------- platforms ---------- */

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.platform-chip {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .05em;
  padding: 7px 13px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  color: var(--muted);
  background: var(--panel-2);
}

/* ---------- honest status table ---------- */

.status-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.status-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: .755rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.status-col.built h3 { color: var(--go); }
.status-col.pending h3 { color: var(--watch); }

.status-col ul { list-style: none; margin: 0; padding: 0; }
.status-col li {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: .94rem;
  color: var(--muted);
}
.status-col li:last-child { border-bottom: 0; }
.status-col li b { color: var(--ink); font-weight: 600; }

@media (max-width: 760px) {
  .status-cols { grid-template-columns: 1fr; }
}

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

.faq { border-top: 1px solid var(--rule); max-width: 78ch; }

.faq-item { border-bottom: 1px solid var(--rule-soft); }

.faq-q {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.03rem;
  font-weight: 600;
  font-stretch: 104%;
  letter-spacing: -.014em;
  text-align: left;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  position: relative;
  line-height: 1.35;
}

.faq-q::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px; height: 2px;
  background: var(--dim);
  transform: translateY(-50%);
}
.faq-q::before {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 2px; height: 11px;
  background: var(--dim);
  transform: translateY(-50%);
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}
.faq-item.open .faq-q::before { transform: translateY(-50%) rotate(90deg); opacity: 0; }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  color: var(--muted);
  font-size: .95rem;
  max-width: 68ch;
  margin: 0 0 20px;
}

/* ---------- signup ---------- */

.signup {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: clamp(30px, 4.5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  box-shadow: var(--shadow);
}

.signup h2 { margin-bottom: 14px; }
.signup p { color: var(--muted); margin: 0; max-width: 48ch; }

.signup-actions { display: grid; gap: 12px; }
.signup-actions .btn { justify-content: center; }
.signup-note { font-size: .82rem; color: var(--dim); margin: 0; line-height: 1.5; }

@media (max-width: 860px) {
  .signup { grid-template-columns: 1fr; }
}

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

footer {
  border-top: 1px solid var(--rule);
  padding-block: 40px 48px;
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-links a {
  font-size: .875rem;
  color: var(--muted);
  text-decoration: none;
}
.foot-links a:hover { color: var(--ink); }

.foot-note {
  margin: 26px 0 0;
  font-size: .81rem;
  color: var(--dim);
  max-width: 72ch;
  line-height: 1.6;
}

.foot-mark {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--dim);
  letter-spacing: .04em;
}

/* ---------- scroll reveal ---------- */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .dial-fill { transition: none; }
  .btn, .tab, .switch::after, .faq-a { transition: none; }
}

/* =========================================================================
   LEGAL PAGES
   ========================================================================= */

.legal-head { padding-block: clamp(48px, 7vw, 84px) clamp(26px, 3vw, 36px); }
.legal-head .wrap { max-width: 820px; }
.legal-head h1 { font-size: clamp(2.1rem, 5vw, 3.15rem); }
.legal-head .updated {
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--dim);
  margin: 20px 0 0;
}
.legal-head .signalbar {
  display: flex;
  gap: 4px;
  margin-top: 28px;
}
.legal-head .signalbar span { height: 3px; width: 46px; border-radius: 2px; }
.legal-head .signalbar span:nth-child(1) { background: var(--go); }
.legal-head .signalbar span:nth-child(2) { background: var(--watch); }
.legal-head .signalbar span:nth-child(3) { background: var(--stop); }

.legal { padding-block: 0 clamp(60px, 9vw, 110px); }
.legal .wrap { max-width: 820px; }

.legal h2 {
  font-size: clamp(1.28rem, 2.5vw, 1.6rem);
  font-weight: 700;
  font-stretch: 105%;
  margin: clamp(38px, 5vw, 54px) 0 16px;
  scroll-margin-top: 84px;
  line-height: 1.2;
}

.legal h3 {
  font-size: 1.04rem;
  margin: 30px 0 10px;
}

.legal p { color: var(--muted); margin: 0 0 15px; }
.legal p strong, .legal li strong { color: var(--ink); font-weight: 600; }

.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { text-decoration-thickness: 2px; }

.legal ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted); }
.legal li { margin-bottom: 9px; }
.legal li::marker { color: var(--dim); }

.legal .lead { color: var(--ink); font-size: 1.06rem; max-width: none; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 22px;
  font-size: .92rem;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
@media (min-width: 660px) {
  .legal table { display: table; white-space: normal; }
}
.legal th, .legal td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}
.legal th {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 600;
  border-bottom-color: var(--rule);
}
.legal td { color: var(--muted); }
.legal td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }

.callout {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink);
  border-radius: var(--r);
  padding: 20px 22px;
  margin: 24px 0;
  background: var(--panel);
}
.callout p:last-child { margin-bottom: 0; }
.callout .ct {
  font-family: var(--mono);
  font-size: .69rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 10px;
}

.callout.todo { border-left-color: var(--watch); background: var(--watch-bg); }
.callout.todo .ct { color: var(--watch); }

.callout.stop { border-left-color: var(--stop); background: var(--stop-bg); }
.callout.stop .ct { color: var(--stop); }

.toc {
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 22px 24px;
  margin: 32px 0 6px;
  background: var(--panel);
}
.toc .ct {
  font-family: var(--mono);
  font-size: .69rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.toc ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: .93rem; }
.toc li { margin-bottom: 7px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
