
    :root {
      color-scheme: dark;
      --bg: #05070a;
      --bg-deep: #020305;
      --surface: #0e131a;
      --surface-2: #171e27;
      --surface-3: #202a36;
      --line: rgba(255,255,255,.105);
      --line-strong: rgba(255,255,255,.18);
      --text: #f5f7fa;
      --muted: #8b96a5;
      --muted-2: #5f6b7a;
      --cyan: #00d9ff;
      --cyan-soft: rgba(0,217,255,.15);
      --lime: #b7ff3c;
      --lime-soft: rgba(183,255,60,.12);
      --coral: #ff4d5a;
      --coral-soft: rgba(255,77,90,.13);
      --violet: #927fff;
      --amber: #ffb020;
      --max: 1320px;
      --radius: 22px;
      --radius-sm: 13px;
      --sans: "Arial Narrow", "Roboto Condensed", "Aptos Display", "Segoe UI", sans-serif;
      --mono: "Cascadia Code", "IBM Plex Mono", Consolas, ui-monospace, monospace;
      --shadow: 0 30px 80px rgba(0,0,0,.44);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; background: var(--bg); }
    body {
      margin: 0;
      min-width: 320px;
      color: var(--text);
      background:
        radial-gradient(circle at 18% 8%, rgba(0,217,255,.08), transparent 25%),
        radial-gradient(circle at 84% 30%, rgba(117,92,255,.07), transparent 28%),
        var(--bg);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      opacity: .17;
      background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: linear-gradient(to bottom, #000 0, transparent 80%);
    }

    ::selection { color: #020305; background: var(--lime); }
    button, input, select { font: inherit; }
    button { color: inherit; }
    a { color: inherit; }
    img { display: block; max-width: 100%; }
    h1, h2, h3, p { margin-top: 0; }
    h1, h2, h3 { text-wrap: balance; }
    p { text-wrap: pretty; }

    :focus-visible {
      outline: 2px solid var(--lime);
      outline-offset: 4px;
    }

    .skip-link {
      position: fixed;
      z-index: 200;
      top: 12px;
      left: 12px;
      transform: translateY(-160%);
      padding: 10px 15px;
      color: var(--bg);
      background: var(--lime);
      border-radius: 8px;
      font-weight: 800;
    }

    .skip-link:focus { transform: translateY(0); }
    .container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
    .mono { font-family: var(--mono); }
    .muted { color: var(--muted); }
    .lime { color: var(--lime); }
    .cyan { color: var(--cyan); }
    .coral { color: var(--coral); }
    .hidden { display: none !important; }
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
      white-space: nowrap;
      border: 0;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 20px;
      color: var(--cyan);
      font-family: var(--mono);
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 26px;
      height: 1px;
      background: currentColor;
      box-shadow: 8px 0 14px currentColor;
    }

    .section {
      position: relative;
      padding: 120px 0;
      border-top: 1px solid var(--line);
    }

    .section-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, .56fr);
      gap: 64px;
      align-items: end;
      margin-bottom: 56px;
    }

    .section h2 {
      margin-bottom: 0;
      max-width: 860px;
      font-size: clamp(2.35rem, 5.5vw, 5.6rem);
      line-height: .94;
      letter-spacing: -.055em;
      text-transform: uppercase;
    }

    .section-intro {
      margin-bottom: 0;
      max-width: 500px;
      color: var(--muted);
      font-size: 1.05rem;
    }

    .btn {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 50px;
      padding: 0 20px;
      border: 1px solid transparent;
      border-radius: 10px;
      cursor: pointer;
      font-family: var(--mono);
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .06em;
      text-decoration: none;
      text-transform: uppercase;
      transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    }

    .btn:hover { transform: translateY(-2px); }
    .btn:active { transform: translateY(0); }
    .btn-primary { color: var(--bg); background: var(--lime); }
    .btn-primary:hover { background: #c8ff6c; }
    .btn-secondary { color: var(--text); background: rgba(255,255,255,.055); border-color: var(--line-strong); }
    .btn-secondary:hover { border-color: var(--cyan); background: var(--cyan-soft); }
    .btn-danger { color: var(--bg); background: var(--coral); }
    .btn-ghost { padding-inline: 10px; background: transparent; border-color: transparent; color: var(--muted); }
    .btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.05); }
    .btn-small { min-height: 40px; padding: 0 14px; font-size: .68rem; }
    .btn-full { width: 100%; }

    .site-nav {
      position: absolute;
      z-index: 30;
      top: 0;
      left: 0;
      width: 100%;
      border-bottom: 1px solid rgba(255,255,255,.08);
      background: linear-gradient(to bottom, rgba(2,3,5,.88), transparent);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 84px;
      gap: 24px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--text);
      text-decoration: none;
      font-family: var(--sans);
      font-size: 1.02rem;
      font-weight: 900;
      letter-spacing: -.055em;
      line-height: 1;
      white-space: nowrap;
    }

    /* Logo BREATH//CTRL: dois losangos finos lime formam o pulso respiratório;
       a moldura arredondada cyan concentra o sinal. Mesmo desenho no favicon. */
    .brand-mark {
      flex: 0 0 auto;
      width: 32px;
      height: 32px;
      overflow: visible;
    }

    .brand-mark__frame {
      fill: none;
      stroke: var(--cyan);
      stroke-width: 1.45;
      opacity: .96;
    }

    .brand-mark__diamond {
      fill: var(--lime);
      stroke: var(--bg);
      stroke-width: .45;
      stroke-linejoin: round;
    }

    .brand:hover .brand-mark__frame { opacity: .72; }
    .brand-accent { color: var(--lime); }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .nav-links a:not(.btn) {
      color: var(--muted);
      font-family: var(--mono);
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-decoration: none;
      text-transform: uppercase;
    }

    .nav-links a:not(.btn):hover { color: var(--text); }

    .market-strip {
      position: absolute;
      z-index: 20;
      left: 0;
      bottom: 0;
      width: 100%;
      overflow: hidden;
      border-top: 1px solid rgba(255,255,255,.1);
      background: rgba(2,3,5,.8);
      backdrop-filter: blur(12px);
    }

    .ticker-track {
      display: flex;
      width: max-content;
      animation: ticker 30s linear infinite;
    }

    .ticker-set { display: flex; }
    .ticker-item {
      display: flex;
      align-items: center;
      gap: 9px;
      min-height: 42px;
      padding: 0 25px;
      border-right: 1px solid var(--line);
      font-family: var(--mono);
      font-size: .64rem;
      letter-spacing: .06em;
      white-space: nowrap;
    }

    .ticker-item span:first-child { color: var(--muted); }
    .ticker-up { color: var(--lime); }
    .ticker-down { color: var(--coral); }
    .ticker-local { color: var(--cyan); }
    @keyframes ticker { to { transform: translateX(-50%); } }

    .hero {
      position: relative;
      min-height: 100svh;
      display: grid;
      align-items: center;
      overflow: hidden;
      border-bottom: 1px solid var(--line);
      background: var(--bg-deep);
    }

    .hero-media {
      position: absolute;
      inset: 0;
    }

    .hero-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 66% center;
      filter: saturate(.84) contrast(1.08) brightness(.78);
    }

    .hero-media::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, #030406 0%, rgba(3,4,6,.97) 18%, rgba(3,4,6,.74) 42%, rgba(3,4,6,.12) 76%),
        linear-gradient(0deg, rgba(2,3,5,.92) 0, transparent 26%, rgba(2,3,5,.15) 72%, rgba(2,3,5,.5) 100%);
    }

    .hero-scan {
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: .1;
      background: repeating-linear-gradient(to bottom, transparent 0, transparent 4px, rgba(255,255,255,.11) 5px);
      mix-blend-mode: overlay;
    }

    .hero-content {
      position: relative;
      z-index: 5;
      width: min(710px, 58vw);
      padding: 154px 0 110px;
    }

    .hero h1 {
      margin: 0 0 28px;
      font-size: clamp(3.4rem, 7.6vw, 8.4rem);
      line-height: .83;
      letter-spacing: -.072em;
      text-transform: uppercase;
    }

    .hero h1 .signal-line { display: block; color: var(--lime); }
    .hero-copy {
      max-width: 620px;
      margin-bottom: 34px;
      color: #b4bdc8;
      font-size: clamp(1.04rem, 1.5vw, 1.3rem);
      line-height: 1.55;
    }

    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .hero-proof {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 28px;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .67rem;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .hero-proof::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--lime);
      box-shadow: 0 0 14px var(--lime);
      animation: status-pulse 1.8s ease-in-out infinite;
    }

    @keyframes status-pulse { 50% { opacity: .4; transform: scale(.75); } }

    .hero-telemetry {
      position: absolute;
      z-index: 6;
      right: max(20px, calc((100vw - var(--max)) / 2));
      bottom: 92px;
      width: 290px;
      padding: 18px;
      border: 1px solid rgba(0,217,255,.23);
      border-radius: 14px;
      background: rgba(2,7,10,.64);
      box-shadow: var(--shadow);
      backdrop-filter: blur(12px);
    }

    .telemetry-top {
      display: flex;
      justify-content: space-between;
      margin-bottom: 16px;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .62rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .telemetry-wave {
      display: flex;
      align-items: center;
      gap: 3px;
      height: 45px;
    }

    .telemetry-wave i {
      display: block;
      flex: 1;
      height: var(--h);
      min-height: 2px;
      border-radius: 4px;
      background: linear-gradient(to top, var(--cyan), var(--lime));
      box-shadow: 0 0 9px rgba(0,217,255,.28);
      animation: wave 2.8s ease-in-out infinite;
      animation-delay: var(--d);
    }

    @keyframes wave { 50% { height: calc(var(--h) * .42); opacity: .42; } }
    .telemetry-bottom {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-top: 15px;
    }

    .telemetry-value span {
      display: block;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .54rem;
      text-transform: uppercase;
    }

    .telemetry-value strong {
      display: block;
      margin-top: 3px;
      font-family: var(--mono);
      font-size: .9rem;
    }

    .thesis-strip {
      padding: 34px 0;
      background: var(--lime);
      color: var(--bg);
    }

    .thesis-grid {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 36px;
      align-items: center;
    }

    .thesis-strip p {
      margin: 0;
      max-width: 1000px;
      font-size: clamp(1.4rem, 2.7vw, 3rem);
      font-weight: 900;
      line-height: 1.02;
      letter-spacing: -.045em;
      text-transform: uppercase;
    }

    .thesis-code {
      font-family: var(--mono);
      font-size: .68rem;
      font-weight: 900;
      letter-spacing: .08em;
      writing-mode: vertical-rl;
      text-transform: uppercase;
    }

    .hidden-grid {
      display: grid;
      grid-template-columns: .95fr 1.05fr;
      gap: 72px;
      align-items: center;
    }

    .editorial-image {
      position: relative;
      overflow: hidden;
      min-height: 660px;
      border: 1px solid var(--line-strong);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .editorial-image img {
      width: 100%;
      height: 100%;
      min-height: 660px;
      object-fit: cover;
      filter: saturate(.88) contrast(1.05);
    }

    .editorial-image::before,
    .editorial-image::after {
      content: "";
      position: absolute;
      z-index: 2;
      pointer-events: none;
    }

    .editorial-image::before {
      inset: 0;
      background: linear-gradient(180deg, transparent 55%, rgba(2,3,5,.82));
    }

    .editorial-image::after {
      top: 18px;
      right: 18px;
      width: 44px;
      height: 44px;
      border-top: 1px solid var(--cyan);
      border-right: 1px solid var(--cyan);
    }

    .image-caption {
      position: absolute;
      z-index: 3;
      left: 22px;
      right: 22px;
      bottom: 22px;
      display: flex;
      justify-content: space-between;
      gap: 20px;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .61rem;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .hidden-copy h2 { margin-bottom: 32px; }
    .hidden-copy > p {
      max-width: 620px;
      margin-bottom: 34px;
      color: #afb8c4;
      font-size: 1.12rem;
    }

    .system-map {
      display: grid;
      gap: 1px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: var(--line);
    }

    .system-row {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 20px;
      padding: 17px 18px;
      background: var(--surface);
    }

    .system-row span {
      color: var(--muted);
      font-family: var(--mono);
      font-size: .66rem;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .system-row strong {
      font-size: .92rem;
      text-align: right;
      text-transform: uppercase;
    }

    .system-arrow { color: var(--lime) !important; }

    .demo-panel {
      display: grid;
      grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
      min-height: 610px;
      overflow: hidden;
      border: 1px solid var(--line-strong);
      border-radius: 28px;
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .demo-copy {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: clamp(30px, 5vw, 68px);
      border-right: 1px solid var(--line);
    }

    .demo-copy h3 {
      margin-bottom: 20px;
      font-size: clamp(2.3rem, 4vw, 4.8rem);
      line-height: .92;
      letter-spacing: -.05em;
      text-transform: uppercase;
    }

    .demo-copy p { color: var(--muted); }
    .demo-meta {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1px;
      overflow: hidden;
      margin-top: 32px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--line);
    }

    .demo-meta div { padding: 15px; background: var(--bg); }
    .demo-meta span {
      display: block;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .58rem;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .demo-meta strong { display: block; margin-top: 4px; font-size: .93rem; }

    .demo-visual {
      position: relative;
      display: grid;
      place-items: center;
      overflow: hidden;
      background:
        radial-gradient(circle at center, rgba(0,217,255,.08), transparent 32%),
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        var(--bg-deep);
      background-size: auto, 32px 32px, 32px 32px, auto;
    }

    .demo-visual::before,
    .breath-core::before,
    .breath-core::after {
      content: "";
      position: absolute;
      border-radius: 50%;
    }

    .demo-visual::before {
      width: min(38vw, 440px);
      aspect-ratio: 1;
      border: 1px solid rgba(0,217,255,.2);
      box-shadow: inset 0 0 70px rgba(0,217,255,.05);
      animation: breathe 15s ease-in-out infinite;
    }

    .breath-core {
      position: relative;
      z-index: 2;
      display: grid;
      place-items: center;
      width: 220px;
      aspect-ratio: 1;
      border-radius: 50%;
      border: 1px solid var(--cyan);
      background: rgba(0,217,255,.05);
      box-shadow: 0 0 80px rgba(0,217,255,.12), inset 0 0 65px rgba(0,217,255,.05);
      animation: breathe 15s ease-in-out infinite;
    }

    .breath-core::before { inset: 22px; border: 1px dashed rgba(183,255,60,.38); }
    .breath-core::after { inset: 47px; background: radial-gradient(circle, var(--lime), rgba(183,255,60,.08) 38%, transparent 70%); }
    .breath-core span {
      position: relative;
      z-index: 3;
      font-family: var(--mono);
      font-size: .68rem;
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    @keyframes breathe {
      0%, 100% { transform: scale(.78); opacity: .65; }
      33.333% { transform: scale(1); opacity: 1; }
    }

    .demo-readout {
      position: absolute;
      bottom: 24px;
      left: 24px;
      right: 24px;
      display: flex;
      justify-content: space-between;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .6rem;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .protocol-image {
      position: relative;
      height: min(46vw, 560px);
      min-height: 360px;
      margin-bottom: 34px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
    }

    .protocol-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(.83) contrast(1.1);
    }

    .protocol-image::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(2,3,5,.72), transparent 35%, transparent 67%, rgba(2,3,5,.62));
    }

    .protocol-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    .protocol-card {
      position: relative;
      display: flex;
      min-height: 320px;
      flex-direction: column;
      padding: 22px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: linear-gradient(145deg, rgba(255,255,255,.035), transparent 58%), var(--surface);
      text-align: left;
      cursor: pointer;
      transition: transform .25s ease, border-color .25s ease, background .25s ease;
    }

    .protocol-card:hover {
      transform: translateY(-5px);
      border-color: var(--protocol-color, var(--cyan));
      background: linear-gradient(145deg, color-mix(in srgb, var(--protocol-color, var(--cyan)) 10%, transparent), transparent 62%), var(--surface);
    }

    .protocol-card::after {
      content: "";
      position: absolute;
      right: -38px;
      bottom: -38px;
      width: 125px;
      height: 125px;
      border: 1px solid color-mix(in srgb, var(--protocol-color, var(--cyan)) 42%, transparent);
      border-radius: 50%;
      box-shadow: 0 0 52px color-mix(in srgb, var(--protocol-color, var(--cyan)) 10%, transparent);
    }

    .protocol-code {
      color: var(--protocol-color, var(--cyan));
      font-family: var(--mono);
      font-size: .67rem;
      font-weight: 800;
      letter-spacing: .08em;
    }

    .protocol-card h3 {
      margin: auto 0 10px;
      max-width: 100%;
      font-size: 1.42rem;
      line-height: 1;
      letter-spacing: -.025em;
      text-transform: uppercase;
    }

    .protocol-card p {
      min-height: 45px;
      margin-bottom: 20px;
      color: var(--muted);
      font-size: .85rem;
      line-height: 1.35;
    }

    .protocol-foot {
      display: flex;
      justify-content: space-between;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .62rem;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    .protocol-rhythm {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      margin-top: 10px;
      padding: 5px 8px;
      border: 1px solid color-mix(in srgb, var(--protocol-color, var(--accent, var(--cyan))) 48%, transparent);
      border-radius: 6px;
      color: var(--protocol-color, var(--accent, var(--cyan)));
      background: color-mix(in srgb, var(--protocol-color, var(--accent, var(--cyan))) 8%, transparent);
      font-family: var(--mono);
      font-size: .62rem;
      font-weight: 800;
      letter-spacing: .08em;
    }

    .compounding-layout {
      display: grid;
      grid-template-columns: 1.14fr .86fr;
      gap: 14px;
    }

    .compound-image {
      position: relative;
      min-width: 0;
      min-height: 620px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
    }

    .compound-image img {
      width: 100%;
      height: 100%;
      min-height: 620px;
      object-fit: cover;
      filter: saturate(.9) contrast(1.1);
    }

    .compound-image::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(2,3,5,.93), transparent 48%);
    }

    .compound-copy {
      position: absolute;
      z-index: 2;
      left: 32px;
      right: 32px;
      bottom: 30px;
    }

    .compound-copy h3 {
      margin-bottom: 12px;
      max-width: 620px;
      font-size: clamp(2.2rem, 4vw, 4.7rem);
      line-height: .9;
      letter-spacing: -.05em;
      text-transform: uppercase;
    }

    .compound-copy p { max-width: 580px; margin: 0; color: #b6c0cc; }
    .portfolio-mock {
      display: flex;
      min-width: 0;
      min-height: 620px;
      flex-direction: column;
      gap: 14px;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
    }

    .mock-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--line);
      color: var(--muted);
      font-family: var(--mono);
      font-size: .66rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .mock-score {
      display: flex;
      align-items: end;
      justify-content: space-between;
      padding: 20px 0;
    }

    .mock-score strong {
      font-family: var(--mono);
      font-size: clamp(4rem, 8vw, 7.4rem);
      line-height: .75;
      letter-spacing: -.08em;
    }

    .mock-score span {
      color: var(--lime);
      font-family: var(--mono);
      font-size: .72rem;
      font-weight: 800;
    }

    .index-list { display: grid; gap: 18px; }
    .index-row { display: grid; gap: 8px; }
    .index-label {
      display: flex;
      justify-content: space-between;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .62rem;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .index-track {
      height: 6px;
      overflow: hidden;
      border-radius: 99px;
      background: rgba(255,255,255,.07);
    }

    .index-track i {
      display: block;
      width: var(--value);
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--cyan), var(--lime));
      box-shadow: 0 0 12px rgba(0,217,255,.22);
    }

    .mission-card {
      margin-top: auto;
      padding: 18px;
      border: 1px solid rgba(183,255,60,.22);
      border-radius: 13px;
      background: var(--lime-soft);
    }

    .mission-card span {
      color: var(--lime);
      font-family: var(--mono);
      font-size: .6rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .mission-card strong { display: block; margin: 6px 0 12px; text-transform: uppercase; }
    .mission-progress { height: 4px; border-radius: 10px; background: rgba(255,255,255,.08); }
    .mission-progress i { display: block; width: 66%; height: 100%; border-radius: inherit; background: var(--lime); }

    .tape-panel {
      margin-top: 14px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
    }

    .tape-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 52px;
      padding: 0 20px;
      border-bottom: 1px solid var(--line);
      color: var(--muted);
      font-family: var(--mono);
      font-size: .6rem;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .tape-events { display: grid; grid-template-columns: repeat(5, 1fr); }
    .tape-event {
      min-height: 146px;
      padding: 18px;
      border-right: 1px solid var(--line);
    }

    .tape-event:last-child { border-right: 0; }
    .tape-event span {
      color: var(--cyan);
      font-family: var(--mono);
      font-size: .58rem;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .tape-event strong {
      display: block;
      margin: 29px 0 8px;
      font-size: .9rem;
      line-height: 1.15;
      text-transform: uppercase;
    }

    .tape-event small { color: var(--muted); font-family: var(--mono); font-size: .56rem; }

    .evidence-grid {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 60px;
      align-items: start;
    }

    .evidence-statement {
      position: sticky;
      top: 40px;
    }

    .evidence-statement h2 { margin-bottom: 28px; }
    .evidence-statement p { color: var(--muted); font-size: 1.06rem; }
    .evidence-list { display: grid; gap: 12px; }
    .evidence-item {
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: rgba(14,19,26,.8);
    }

    .evidence-item .number {
      color: var(--cyan);
      font-family: var(--mono);
      font-size: .65rem;
      letter-spacing: .07em;
    }

    .evidence-item h3 {
      margin: 18px 0 10px;
      font-size: 1.22rem;
      text-transform: uppercase;
    }

    .evidence-item p { margin: 0; color: var(--muted); }
    .evidence-item a { text-decoration-color: var(--cyan); text-underline-offset: 4px; }

    .final-cta {
      min-height: 78svh;
      display: grid;
      place-items: center;
      overflow: hidden;
      text-align: center;
      background:
        radial-gradient(circle at 50% 45%, rgba(183,255,60,.11), transparent 25%),
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        var(--bg-deep);
      background-size: auto, 40px 40px, 40px 40px, auto;
    }

    .final-cta h2 {
      margin: 0 auto 28px;
      max-width: 1080px;
      font-size: clamp(3.2rem, 8vw, 9rem);
      line-height: .84;
      letter-spacing: -.07em;
      text-transform: uppercase;
    }

    .final-cta p { margin-bottom: 32px; color: var(--muted); font-size: 1.08rem; }
    .site-footer {
      padding: 26px 0;
      border-top: 1px solid var(--line);
      color: var(--muted);
      background: var(--bg-deep);
      font-family: var(--mono);
      font-size: .6rem;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    .footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

    /* APP */
    #appView {
      min-height: 100svh;
      background:
        radial-gradient(circle at 55% -20%, rgba(0,217,255,.07), transparent 34%),
        var(--bg);
    }

    .app-shell {
      display: grid;
      grid-template-columns: 244px minmax(0, 1fr);
      min-height: 100svh;
    }

    .app-sidebar {
      position: sticky;
      top: 0;
      display: flex;
      height: 100svh;
      flex-direction: column;
      padding: 24px 18px;
      border-right: 1px solid var(--line);
      background: rgba(5,7,10,.92);
      backdrop-filter: blur(16px);
    }

    .sidebar-nav {
      display: grid;
      gap: 6px;
      margin-top: 42px;
    }

    .app-nav-btn {
      display: flex;
      align-items: center;
      gap: 12px;
      min-height: 48px;
      padding: 0 12px;
      border: 1px solid transparent;
      border-radius: 10px;
      color: var(--muted);
      background: transparent;
      cursor: pointer;
      text-align: left;
      font-family: var(--mono);
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    .app-nav-btn span:first-child {
      display: grid;
      place-items: center;
      width: 24px;
      height: 24px;
      border: 1px solid currentColor;
      border-radius: 6px;
      font-size: .58rem;
    }

    .app-nav-btn:hover,
    .app-nav-btn.active {
      color: var(--text);
      border-color: var(--line);
      background: rgba(255,255,255,.045);
    }

    .app-nav-btn.active span:first-child { color: var(--bg); border-color: var(--lime); background: var(--lime); }
    .sidebar-bottom { display: grid; gap: 12px; margin-top: auto; }
    .local-badge {
      padding: 12px;
      border: 1px solid rgba(0,217,255,.2);
      border-radius: 10px;
      color: var(--cyan);
      background: var(--cyan-soft);
      font-family: var(--mono);
      font-size: .58rem;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .app-main { min-width: 0; padding: 0 28px 80px; }
    .app-topbar {
      position: sticky;
      z-index: 15;
      top: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 78px;
      margin: 0 -28px 28px;
      padding: 0 28px;
      border-bottom: 1px solid var(--line);
      background: rgba(5,7,10,.88);
      backdrop-filter: blur(18px);
    }

    .topbar-copy span {
      display: block;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .58rem;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .topbar-copy strong { display: block; margin-top: 2px; font-size: 1rem; }
    .topbar-actions { display: flex; align-items: center; gap: 8px; }
    .status-dot {
      display: inline-block;
      width: 7px;
      height: 7px;
      margin-right: 7px;
      border-radius: 50%;
      background: var(--lime);
      box-shadow: 0 0 10px var(--lime);
    }

    .app-view { display: none; width: min(100%, 1440px); margin-inline: auto; }
    .app-view.active { display: block; animation: view-in .32s ease both; }
    @keyframes view-in { from { opacity: 0; transform: translateY(8px); } }
    .app-page-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 28px;
    }

    .app-page-head h1 {
      margin: 0;
      font-size: clamp(2.5rem, 5vw, 5.5rem);
      line-height: .9;
      letter-spacing: -.055em;
      text-transform: uppercase;
    }

    .app-page-head p { max-width: 420px; margin: 0; color: var(--muted); }
    .dashboard-grid {
      display: grid;
      grid-template-columns: 1.25fr .75fr;
      gap: 14px;
    }

    .panel {
      border: 1px solid var(--line);
      border-radius: 17px;
      background: rgba(14,19,26,.86);
      box-shadow: 0 18px 55px rgba(0,0,0,.18);
    }

    .panel-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 51px;
      padding: 0 18px;
      border-bottom: 1px solid var(--line);
      color: var(--muted);
      font-family: var(--mono);
      font-size: .61rem;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .readiness-panel {
      display: grid;
      grid-template-columns: .8fr 1.2fr;
      min-height: 385px;
      overflow: hidden;
    }

    .readiness-gauge-wrap {
      display: grid;
      place-items: center;
      padding: 25px;
      border-right: 1px solid var(--line);
      background:
        radial-gradient(circle at center, rgba(0,217,255,.08), transparent 52%),
        linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
      background-size: auto, 28px 28px, 28px 28px;
    }

    .gauge {
      --score: 72;
      position: relative;
      display: grid;
      place-items: center;
      width: min(20vw, 220px);
      min-width: 160px;
      aspect-ratio: 1;
      border-radius: 50%;
      background: conic-gradient(var(--lime) calc(var(--score) * 1%), rgba(255,255,255,.07) 0);
      box-shadow: 0 0 55px rgba(183,255,60,.09);
    }

    .gauge::before {
      content: "";
      position: absolute;
      inset: 9px;
      border-radius: inherit;
      background: var(--surface);
    }

    .gauge-content { position: relative; z-index: 2; text-align: center; }
    .gauge-content strong { display: block; font-family: var(--mono); font-size: 3.3rem; line-height: 1; letter-spacing: -.08em; }
    .gauge-content span { color: var(--muted); font-family: var(--mono); font-size: .56rem; letter-spacing: .07em; text-transform: uppercase; }
    .recommendation {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: clamp(24px, 4vw, 46px);
    }

    .recommendation-label {
      margin-bottom: 16px;
      color: var(--cyan);
      font-family: var(--mono);
      font-size: .61rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .recommendation h2 {
      margin-bottom: 14px;
      font-size: clamp(2rem, 4vw, 4rem);
      line-height: .9;
      letter-spacing: -.045em;
      text-transform: uppercase;
    }

    .recommendation p { margin-bottom: 25px; color: var(--muted); }
    .recommendation-meta {
      display: flex;
      gap: 20px;
      margin-bottom: 24px;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .61rem;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    .stat-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }

    .stat-card { min-height: 185px; padding: 20px; }
    .stat-label {
      color: var(--muted);
      font-family: var(--mono);
      font-size: .59rem;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .stat-value {
      display: block;
      margin: 23px 0 8px;
      font-family: var(--mono);
      font-size: 2.8rem;
      line-height: 1;
      letter-spacing: -.07em;
    }

    .stat-foot { color: var(--muted); font-size: .78rem; }
    .dashboard-lower {
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 14px;
      margin-top: 14px;
    }

    .last-state-panel { margin-top: 14px; }
    .last-state-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1px;
      background: var(--line);
    }
    .last-state-cell {
      min-height: 92px;
      padding: 18px 20px;
      background: var(--surface);
    }
    .last-state-cell span {
      display: block;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .58rem;
      letter-spacing: .07em;
      text-transform: uppercase;
    }
    .last-state-cell strong {
      display: block;
      margin-top: 7px;
      font-family: var(--mono);
      font-size: 1.55rem;
    }

    .portfolio-panel { padding-bottom: 18px; }
    .portfolio-body { display: grid; gap: 17px; padding: 20px; }
    .mission-list { display: grid; gap: 1px; background: var(--line); }
    .mission-row {
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 14px;
      align-items: center;
      padding: 16px 18px;
      background: var(--surface);
    }

    .mission-check {
      display: grid;
      place-items: center;
      width: 27px;
      height: 27px;
      border: 1px solid var(--line-strong);
      border-radius: 50%;
      color: transparent;
      font-size: .66rem;
    }

    .mission-row.done .mission-check { color: var(--bg); border-color: var(--lime); background: var(--lime); }
    .mission-row strong { display: block; font-size: .86rem; text-transform: uppercase; }
    .mission-row span { color: var(--muted); font-family: var(--mono); font-size: .56rem; letter-spacing: .04em; }
    .mission-xp { color: var(--lime) !important; }

    .compact-protocol-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    .compact-protocol {
      display: flex;
      min-height: 300px;
      flex-direction: column;
      padding: 21px;
      border: 1px solid var(--line);
      border-radius: 15px;
      background: var(--surface);
    }

    .compact-protocol:hover { border-color: var(--accent, var(--cyan)); }
    .compact-protocol .protocol-code { color: var(--accent, var(--cyan)); }
    .compact-protocol h3 { margin: auto 0 10px; font-size: 1.35rem; line-height: 1; text-transform: uppercase; }
    .compact-protocol p { min-height: 42px; margin-bottom: 18px; color: var(--muted); font-size: .82rem; }

    .portfolio-overview {
      display: grid;
      grid-template-columns: .72fr 1.28fr;
      gap: 14px;
    }

    .portfolio-hero {
      display: grid;
      place-items: center;
      min-height: 440px;
      padding: 30px;
      text-align: center;
      background:
        radial-gradient(circle at center, rgba(183,255,60,.08), transparent 42%),
        var(--surface);
    }

    .portfolio-hero strong {
      display: block;
      font-family: var(--mono);
      font-size: clamp(5rem, 12vw, 9rem);
      line-height: .8;
      letter-spacing: -.1em;
    }

    .portfolio-hero span { color: var(--lime); font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
    .chart-panel { min-height: 440px; padding: 20px; }
    .chart-panel canvas { width: 100%; height: 330px; margin-top: 14px; }
    .history-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 8px;
      padding: 20px;
    }

    .history-day {
      display: grid;
      align-content: end;
      min-height: 170px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: rgba(255,255,255,.025);
    }

    .history-bar {
      height: var(--height);
      min-height: 3px;
      margin-bottom: 10px;
      border-radius: 7px 7px 2px 2px;
      background: linear-gradient(to top, var(--cyan), var(--lime));
      opacity: var(--opacity);
    }

    .history-day strong { font-family: var(--mono); font-size: .66rem; }
    .history-day span { color: var(--muted); font-family: var(--mono); font-size: .52rem; }

    .replay-list { display: grid; }
    .replay-item {
      display: grid;
      grid-template-columns: 96px 150px minmax(0, 1fr) auto;
      gap: 16px;
      align-items: center;
      min-height: 68px;
      padding: 10px 18px;
      border-top: 1px solid var(--line);
    }

    .replay-item:first-child { border-top: 0; }
    .replay-item time,
    .replay-item span {
      color: var(--muted);
      font-family: var(--mono);
      font-size: .59rem;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .replay-item strong { font-size: .86rem; text-transform: uppercase; }
    .replay-empty { padding: 22px; color: var(--muted); }

    .cooldown-banner {
      margin-bottom: 14px;
      padding: 17px 20px;
      border: 1px solid rgba(255,77,90,.34);
      border-radius: 13px;
      color: #ffd8dc;
      background: var(--coral-soft);
      font-family: var(--mono);
      font-size: .68rem;
      letter-spacing: .05em;
      text-transform: uppercase;
    }
    .settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .settings-panel { padding: 22px; }
    .settings-panel h2 { margin-bottom: 8px; font-size: 1.25rem; text-transform: uppercase; }
    .settings-panel > p { color: var(--muted); font-size: .86rem; }
    .toggle-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      min-height: 58px;
      border-top: 1px solid var(--line);
    }

    .toggle-row label { font-weight: 700; text-transform: uppercase; }
    .toggle {
      position: relative;
      width: 46px;
      height: 26px;
      border: 0;
      border-radius: 99px;
      cursor: pointer;
      background: var(--surface-3);
    }

    .toggle::after {
      content: "";
      position: absolute;
      top: 4px;
      left: 4px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--muted);
      transition: .2s ease;
    }

    .toggle[aria-pressed="true"] { background: var(--lime); }
    .toggle[aria-pressed="true"]::after { left: 24px; background: var(--bg); }
    .danger-zone { border-color: rgba(255,77,90,.3); }
    .safety-list { padding-left: 18px; color: var(--muted); }
    .safety-list li + li { margin-top: 8px; }

    .circuit-button {
      position: fixed;
      z-index: 45;
      right: 22px;
      bottom: 22px;
      display: grid;
      place-items: center;
      width: 78px;
      height: 78px;
      padding: 0;
      overflow: hidden;
      border: 1px solid rgba(255,77,90,.65);
      border-radius: 50%;
      color: #fff;
      background: radial-gradient(circle, rgba(255,77,90,.3), rgba(64,5,10,.95));
      box-shadow: 0 0 0 8px rgba(255,77,90,.06), 0 15px 40px rgba(0,0,0,.44);
      cursor: pointer;
      font-family: var(--mono);
      font-size: .54rem;
      font-weight: 900;
      letter-spacing: .04em;
      text-align: center;
      text-transform: uppercase;
    }

    .circuit-button:hover { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(255,77,90,.09), 0 15px 45px rgba(255,77,90,.14); }

    .mobile-app-nav { display: none; }

    /* MODALS */
    .modal {
      position: fixed;
      z-index: 100;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 20px;
      background: rgba(1,2,4,.84);
      backdrop-filter: blur(18px);
    }

    .modal[hidden] { display: none; }
    .modal-card {
      width: min(100%, 680px);
      max-height: calc(100svh - 40px);
      overflow-y: auto;
      border: 1px solid var(--line-strong);
      border-radius: 22px;
      background: var(--surface);
      box-shadow: var(--shadow);
    }

    .modal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 60px;
      padding: 0 22px;
      border-bottom: 1px solid var(--line);
      color: var(--muted);
      font-family: var(--mono);
      font-size: .63rem;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .modal-body { padding: clamp(24px, 5vw, 44px); }
    .modal-body h2 {
      margin-bottom: 16px;
      font-size: clamp(2.1rem, 6vw, 4.4rem);
      line-height: .92;
      letter-spacing: -.05em;
      text-transform: uppercase;
    }

    .modal-body > p { color: var(--muted); }
    .choice-group { margin: 28px 0; }
    .choice-label {
      display: block;
      margin-bottom: 10px;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .61rem;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
    .choice-btn {
      min-height: 42px;
      padding: 0 14px;
      border: 1px solid var(--line);
      border-radius: 8px;
      color: var(--muted);
      background: var(--bg);
      cursor: pointer;
      font-family: var(--mono);
      font-size: .62rem;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .choice-btn:hover,
    .choice-btn.selected { color: var(--bg); border-color: var(--lime); background: var(--lime); }


    /* LOCAL IDENTITY GATE */
    #contactModal { background: rgba(5,7,10,.94); }
    #contactModal .modal-card { width: min(100%, 780px); }
    #contactModal .modal-body { padding: clamp(26px, 5vw, 44px); }
    #contactModal .icon-btn { width: 44px; height: 44px; }
    #contactModal .modal-body h2 {
      max-width: 700px;
      margin-bottom: 14px;
      font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    }

    #contactModal .modal-body > p { max-width: 680px; margin-bottom: 0; }
    .contact-form {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      margin-top: 28px;
    }

    .contact-field {
      display: grid;
      gap: 7px;
      min-width: 0;
    }

    .contact-field-full,
    .contact-phone-grid,
    .contact-form-status,
    .contact-privacy,
    .contact-submit { grid-column: 1 / -1; }
    .contact-phone-grid {
      display: grid;
      grid-template-columns: minmax(220px, .85fr) minmax(0, 1.35fr);
      gap: 12px;
    }

    .contact-label {
      color: var(--muted);
      font-family: var(--mono);
      font-size: .63rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .contact-control {
      width: 100%;
      min-height: 52px;
      padding: 0 14px;
      border: 1px solid var(--line-strong);
      border-radius: 10px;
      color: var(--text);
      background: var(--bg-deep);
      caret-color: var(--lime);
      transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    }

    .contact-control:hover { border-color: rgba(0,217,255,.45); }
    .contact-control:focus { border-color: var(--lime); background: #070b10; }
    .contact-control::placeholder { color: var(--muted-2); }
    .contact-control[aria-invalid="true"] {
      border-color: var(--coral);
      box-shadow: 0 0 0 1px rgba(255,77,90,.28);
    }

    .contact-error {
      margin: 0;
      color: var(--coral);
      font-family: var(--mono);
      font-size: .66rem;
      line-height: 1.35;
    }

    .contact-form-status {
      margin: 0;
      padding: 12px 14px;
      border: 1px solid rgba(255,77,90,.36);
      border-radius: 10px;
      color: #ffd9dc;
      background: var(--coral-soft);
      font-size: .78rem;
    }

    .contact-privacy {
      margin: 0;
      color: var(--muted);
      font-size: .78rem;
      text-align: center;
    }

    .contact-submit[aria-busy="true"] { cursor: wait; opacity: .72; }

    @media (max-height: 767px) and (min-width: 721px) {
      #contactModal { padding: 10px; }
      #contactModal .modal-card { max-height: calc(100svh - 20px); }
      #contactModal .modal-head { min-height: 48px; }
      #contactModal .modal-body { padding: 16px 28px 18px; }
      #contactModal .eyebrow { margin-bottom: 10px; }
      #contactModal .modal-body h2 {
        margin-bottom: 8px;
        font-size: clamp(1.7rem, 3.2vw, 2.25rem);
      }
      #contactModal .modal-body > p { line-height: 1.35; }
      #contactModal .contact-form {
        gap: 10px 14px;
        margin-top: 14px;
      }
      #contactModal .contact-field { gap: 4px; }
      #contactModal .contact-control { min-height: 44px; }
      #contactModal .contact-privacy {
        font-size: .7rem;
        line-height: 1.3;
      }
      #contactModal .contact-submit { min-height: 44px; }
    }

    @media (max-width: 720px) {
      #contactModal { padding: 6px; place-items: start center; }
      #contactModal .modal-card {
        max-height: calc(100svh - 12px);
        border-radius: 16px;
      }
      #contactModal .modal-head { min-height: 48px; padding-inline: 12px; }
      #contactModal .modal-body { padding: 18px 17px 20px; }
      #contactModal .modal-body h2 {
        font-size: clamp(1.65rem, 7vw, 2rem);
        line-height: .9;
      }
      #contactModal .modal-body > p { font-size: .78rem; }
      .contact-form { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
      .contact-field,
      .contact-field-full,
      .contact-phone-grid,
      .contact-form-status,
      .contact-privacy,
      .contact-submit { grid-column: 1; }
      .contact-phone-grid { grid-template-columns: minmax(108px, .75fr) minmax(0, 1.65fr); gap: 8px; }
      .contact-phone-grid > .contact-field { grid-column: auto; }
      .contact-control { min-height: 50px; font-size: 16px; }
    }

    #onboardingModal .modal-card {
      width: min(100%, 820px);
      overflow-y: auto;
    }

    #onboardingModal .modal-body {
      display: flex;
      flex-direction: column;
      gap: 14px;
      min-height: 470px;
      padding: 34px 42px 36px;
    }

    #onboardingModal .modal-body h2 {
      max-width: 720px;
      margin: 0;
      font-size: clamp(2.15rem, 4.2vw, 3.35rem);
    }

    #onboardingModal .modal-body > p { margin: 0 0 2px; }
    #onboardingModal .onboarding-stage { margin: 14px 0 0; }
    #onboardingModal .onboarding-stage[hidden] { display: none; }
    #onboardingModal .choice-group { margin: 0; }
    #onboardingModal .choice-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }
    #onboardingModal .choice-btn { min-height: 52px; padding-inline: 14px; }
    #onboardingModal .onboarding-actions {
      display: grid;
      grid-template-columns: minmax(120px, .32fr) minmax(0, 1fr);
      gap: 10px;
      margin-top: auto;
    }
    #onboardingModal .onboarding-actions .btn { margin: 0; }

    #onboardingModal[data-stage="3"] .modal-body {
      gap: 8px;
      min-height: 0;
      padding-block: 20px;
    }
    #onboardingModal[data-stage="3"] .modal-body h2 { font-size: clamp(2rem, 3.7vw, 3rem); }
    #onboardingModal[data-stage="3"] .onboarding-stage { margin-top: 4px; }
    #onboardingModal[data-stage="3"] .choice-grid { gap: 6px; }
    #onboardingModal[data-stage="3"] .choice-btn { min-height: 40px; }

    @media (max-width: 720px) {
      #onboardingModal { padding: 6px; place-items: start center; }
      #onboardingModal .modal-card {
        max-height: calc(100svh - 12px);
        border-radius: 16px;
      }
      #onboardingModal .modal-head { min-height: 42px; padding-inline: 12px; }
      #onboardingModal .modal-body {
        gap: 9px;
        min-height: calc(100svh - 54px);
        padding: 18px 14px 14px;
      }
      #onboardingModal .modal-body h2 {
        font-size: clamp(1.75rem, 7.8vw, 2.1rem);
        line-height: .88;
      }
      #onboardingModal .modal-body > p { font-size: .7rem; line-height: 1.25; }
      #onboardingModal .onboarding-stage { margin-top: 10px; }
      #onboardingModal .choice-label { margin-bottom: 3px; }
      #onboardingModal .choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
      }
      #onboardingModal .choice-btn {
        min-height: 48px;
        padding-inline: 9px;
        font-size: .58rem;
      }
      #onboardingModal .onboarding-actions { grid-template-columns: 100px minmax(0, 1fr); }
      #onboardingModal .onboarding-actions .btn { min-height: 42px; }
    }

    @media (max-height: 720px) and (min-width: 721px) {
      #onboardingModal { padding: 8px; }
      #onboardingModal .modal-card { max-height: calc(100svh - 16px); }
      #onboardingModal .modal-head { min-height: 46px; }
      #onboardingModal .modal-body { gap: 9px; min-height: 0; padding-block: 16px; }
      #onboardingModal .modal-body h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
      #onboardingModal .choice-btn { min-height: 42px; }
      #onboardingModal .onboarding-actions .btn { min-height: 42px; }
    }

    .range-wrap { margin: 28px 0; }
    .range-readout {
      display: flex;
      align-items: end;
      justify-content: space-between;
      margin-bottom: 15px;
    }

    .range-readout span { color: var(--muted); font-family: var(--mono); font-size: .61rem; letter-spacing: .07em; text-transform: uppercase; }
    .range-readout strong { font-family: var(--mono); font-size: 2.2rem; line-height: 1; }
    input[type="range"] {
      width: 100%;
      height: 5px;
      appearance: none;
      border-radius: 99px;
      background: linear-gradient(90deg, var(--cyan) 0 var(--range, 55%), rgba(255,255,255,.09) var(--range, 55%) 100%);
    }

    input[type="range"]::-webkit-slider-thumb {
      width: 22px;
      height: 22px;
      appearance: none;
      border: 4px solid var(--surface);
      border-radius: 50%;
      background: var(--lime);
      box-shadow: 0 0 0 1px var(--lime), 0 0 18px rgba(183,255,60,.25);
    }

    .state-vector {
      display: grid;
      gap: 13px;
      margin: 24px 0;
    }

    .state-range {
      display: grid;
      grid-template-columns: 90px minmax(0, 1fr) 38px;
      gap: 13px;
      align-items: center;
      min-height: 52px;
      padding: 9px 12px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--bg);
    }

    .state-range > span {
      color: var(--muted);
      font-family: var(--mono);
      font-size: .58rem;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    .state-range output {
      font-family: var(--mono);
      font-size: .78rem;
      font-weight: 800;
      text-align: right;
    }

    .checkin-range-head {
      min-width: 0;
      margin: 0 0 4px;
      align-items: center;
    }

    .checkin-range-head .choice-label { margin: 0; }
    .checkin-range-head output {
      color: var(--text);
      font-size: 1rem;
      white-space: nowrap;
    }

    .checkin-range input[type="range"] {
      --range-track: rgba(255,255,255,.09);
      width: 100%;
      height: 44px;
      margin: 0;
      cursor: pointer;
      background-color: transparent;
      background-image: linear-gradient(90deg,
        var(--range-track) 0%,
        var(--range-track) var(--fill-start, 0%),
        var(--fill-color, var(--cyan)) var(--fill-start, 0%),
        var(--fill-color, var(--cyan)) var(--fill-end, 50%),
        var(--range-track) var(--fill-end, 50%),
        var(--range-track) 100%);
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100% 5px;
    }

    .checkin-range input[type="range"]::-webkit-slider-runnable-track {
      height: 5px;
      border-radius: 99px;
      background: transparent;
    }

    .checkin-range input[type="range"]::-webkit-slider-thumb {
      margin-top: -8.5px;
    }

    .checkin-range input[type="range"]::-moz-range-track {
      height: 5px;
      border: 0;
      border-radius: 99px;
      background: transparent;
    }

    .checkin-range input[type="range"]::-moz-range-progress { background: transparent; }
    .checkin-range input[type="range"]::-moz-range-thumb {
      width: 14px;
      height: 14px;
      border: 4px solid var(--surface);
      border-radius: 50%;
      background: var(--lime);
      box-shadow: 0 0 0 1px var(--lime), 0 0 18px rgba(183,255,60,.25);
    }

    .range-scale {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
      gap: 8px;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .56rem;
      font-weight: 700;
      letter-spacing: .035em;
      line-height: 1.3;
      text-transform: uppercase;
    }

    .range-scale.two-point { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .range-scale span { min-width: 0; }
    .range-scale span:nth-child(2) { text-align: center; }
    .range-scale span:last-child { text-align: right; }
    .range-estimate {
      margin: 8px 0 0;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .59rem;
      letter-spacing: .03em;
      line-height: 1.35;
      text-transform: uppercase;
    }

    .context-gate {
      margin: 22px 0;
      padding: 16px;
      border: 1px solid rgba(0,217,255,.2);
      border-radius: 11px;
      background: var(--cyan-soft);
    }

    .context-gate > span {
      display: block;
      margin-bottom: 10px;
      color: var(--cyan);
      font-family: var(--mono);
      font-size: .6rem;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .context-gate .choice-btn { background: rgba(2,3,5,.72); }

    #precheckModal {
      overflow-y: auto;
    }

    #precheckModal .modal-card {
      width: min(100%, 1040px);
      max-height: none;
      overflow: visible;
    }

    #precheckModal .modal-head {
      min-height: 52px;
    }

    #precheckModal .modal-body {
      padding: clamp(20px, 3vw, 30px);
    }

    #precheckModal .modal-body h2 {
      max-width: 20ch;
      margin-bottom: 9px;
      font-size: clamp(2.45rem, 4.2vw, 3.85rem);
      line-height: .9;
    }

    #precheckModal .modal-body > p {
      max-width: 84ch;
      line-height: 1.45;
    }

    #precheckModal .range-readout {
      margin: 14px 0 10px;
    }

    #precheckModal .state-vector {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 10px 0 14px;
    }

    #precheckModal .state-range {
      grid-template-columns: 78px minmax(0, 1fr) 34px;
      gap: 10px;
      min-height: 48px;
      padding: 7px 11px;
    }

    #precheckModal .context-gate {
      margin: 14px 0 12px;
      padding: 14px;
    }

    #precheckModal .context-gate .choice-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #precheckModal .context-gate .choice-btn {
      width: 100%;
      min-height: 42px;
      height: auto;
      padding: 9px 8px;
      color: var(--muted);
      background: rgba(2,3,5,.72);
      line-height: 1.25;
    }

    #precheckModal .context-gate .choice-btn:hover,
    #precheckModal .context-gate .choice-btn.selected {
      color: var(--text);
      border-color: var(--lime);
      background: rgba(183,255,60,.16);
      box-shadow: inset 0 0 0 1px rgba(183,255,60,.12);
    }

    .precheck-safety-copy {
      max-width: 88ch;
      margin: 12px auto 0;
      padding: 0;
      border: 0;
      color: #d5d9df;
      background: transparent;
      font-size: .78rem;
      line-height: 1.5;
      text-align: center;
    }

    #precheckModal #beginSession {
      min-height: 46px;
      margin-top: 14px !important;
    }

    #checkoutModal {
      overflow-y: auto;
    }

    #checkoutModal .modal-card {
      width: min(100%, 960px);
      max-height: none;
      overflow: visible;
    }

    #checkoutModal .modal-head {
      min-height: 52px;
    }

    #checkoutModal .modal-body {
      padding: clamp(20px, 3vw, 30px);
    }

    #checkoutModal .modal-body h2 {
      margin-bottom: 9px;
      font-size: clamp(2.4rem, 4vw, 3.6rem);
      line-height: .92;
    }

    #checkoutModal .modal-body > p {
      line-height: 1.45;
    }

    #checkoutModal .range-readout {
      margin: 14px 0 10px;
    }

    #checkoutModal .state-vector {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 10px 0 12px;
    }

    #checkoutModal .state-range {
      grid-template-columns: 78px minmax(0, 1fr) 34px;
      gap: 10px;
      min-height: 48px;
      padding: 7px 11px;
    }

    #checkoutModal .micro-copy {
      margin-top: 12px;
    }

    #checkoutModal .checkout-options {
      gap: 10px;
      margin: 13px 0;
    }

    #checkoutModal .checkout-btn {
      min-height: 82px;
      padding: 12px 14px;
    }

    #checkoutModal #registerOutcome {
      min-height: 46px;
      margin-top: 12px !important;
    }

    #checkoutModal .execution-report {
      margin: 14px 0;
    }

    #precheckModal .state-vector.checkin-questions,
    #checkoutModal .state-vector.checkin-questions {
      grid-template-columns: minmax(0, 1fr);
      gap: 10px;
      margin: 12px 0 14px;
    }

    #precheckModal .state-range.checkin-range,
    #checkoutModal .state-range.checkin-range {
      display: block;
      min-width: 0;
      min-height: 0;
      padding: 14px 16px;
    }

    .session-modal {
      z-index: 110;
      padding: 0;
      background: var(--bg-deep);
      backdrop-filter: none;
    }

    .session-shell {
      position: relative;
      display: grid;
      width: 100%;
      height: 100svh;
      grid-template-rows: auto auto minmax(0, 1fr) auto;
      overflow: hidden;
      background:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
        radial-gradient(circle at center, rgba(0,217,255,.075), transparent 35%),
        var(--bg-deep);
      background-size: 42px 42px, 42px 42px, auto, auto;
    }

    .session-top {
      position: relative;
      z-index: 5;
      display: grid;
      /* Duas colunas desde a V10: o cronômetro que ficava no meio foi para o rodapé. */
      grid-template-columns: 1fr auto;
      align-items: center;
      min-height: 76px;
      padding: 0 25px;
      border-bottom: 1px solid var(--line);
      background: rgba(2,3,5,.74);
    }

    .session-code {
      color: var(--cyan);
      font-family: var(--mono);
      font-size: .66rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    /* V10: o tempo total saiu do cabeçalho (onde sumia no celular) e passou a viver
       colado na barra de progresso do rodapé, que existe em todas as larguras. */
    .session-progress-row {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .session-progress-row .session-progress { flex: 1; min-width: 0; }

    .session-total {
      flex: none;
      color: var(--text);
      font-family: var(--mono);
      font-size: .72rem;
      font-variant-numeric: tabular-nums;
      letter-spacing: .04em;
    }

    .session-tools { display: flex; justify-content: flex-end; gap: 8px; }
    .icon-btn {
      display: grid;
      place-items: center;
      width: 40px;
      height: 40px;
      border: 1px solid var(--line);
      border-radius: 9px;
      color: var(--muted);
      background: rgba(255,255,255,.035);
      cursor: pointer;
      font-family: var(--mono);
      font-size: .65rem;
    }

    .icon-btn:hover,
    .icon-btn.active { color: var(--text); border-color: var(--cyan); background: var(--cyan-soft); }

    .rhythm-control {
      position: relative;
      z-index: 6;
      padding: 9px 14px 10px;
      border-bottom: 1px solid var(--line);
      background: rgba(8,13,21,.96);
      font-family: var(--mono);
    }

    .rhythm-control-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 7px;
    }

    .rhythm-control-status {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px 16px;
      min-width: 0;
      font-size: .57rem;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .rhythm-control-title {
      color: var(--amber);
      font-weight: 800;
    }

    .rhythm-active-label,
    .rhythm-next-label {
      color: var(--muted);
    }

    .rhythm-active-label strong,
    .rhythm-next-label strong {
      color: var(--text);
      font-size: .66rem;
    }

    .rhythm-next-label {
      color: var(--cyan);
    }

    .rhythm-next-label[hidden] { display: none; }

    .rhythm-live {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: #20d99a;
      font-weight: 800;
    }

    .rhythm-live::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: currentColor;
      box-shadow: 0 0 10px currentColor;
    }

    .rhythm-reset {
      min-width: 58px;
      min-height: 28px;
      padding: 0 10px;
      border: 1px solid var(--line);
      border-radius: 5px;
      color: var(--muted);
      background: transparent;
      cursor: pointer;
      font-family: var(--mono);
      font-size: .52rem;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .rhythm-reset:hover:not(:disabled) {
      color: var(--text);
      border-color: var(--amber);
      background: rgba(255,176,32,.08);
    }

    .rhythm-reset:disabled {
      opacity: .28;
      cursor: not-allowed;
    }

    .rhythm-control-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 7px;
    }

    .rhythm-phase-control {
      min-width: 0;
      padding: 6px 10px 7px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: rgba(2,3,5,.28);
    }

    .rhythm-phase-control:nth-child(1) { --phase-accent: #20d99a; }
    .rhythm-phase-control:nth-child(2) { --phase-accent: var(--cyan); }
    .rhythm-phase-control:nth-child(3) { --phase-accent: var(--coral); }
    .rhythm-phase-control:nth-child(4) { --phase-accent: var(--amber); }

    .rhythm-phase-label {
      display: block;
      margin-bottom: 4px;
      color: var(--phase-accent);
      font-size: .5rem;
      font-weight: 800;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .rhythm-phase-row {
      display: grid;
      grid-template-columns: 28px minmax(0, 1fr) 28px;
      align-items: center;
      gap: 8px;
    }

    .rhythm-step {
      display: grid;
      place-items: center;
      width: 28px;
      height: 28px;
      padding: 0;
      border: 1px solid var(--line);
      border-radius: 5px;
      color: var(--text);
      background: rgba(8,13,21,.8);
      cursor: pointer;
      font-family: var(--mono);
      font-size: .84rem;
      font-weight: 800;
    }

    .rhythm-step:hover:not(:disabled) {
      color: var(--phase-accent);
      border-color: var(--phase-accent);
      background: color-mix(in srgb, var(--phase-accent) 10%, transparent);
    }

    .rhythm-step:disabled {
      opacity: .25;
      cursor: not-allowed;
    }

    .rhythm-value {
      min-width: 0;
      color: var(--text);
      font-size: 1.25rem;
      font-weight: 800;
      line-height: 1;
      text-align: center;
    }

    .rhythm-value small {
      margin-left: 2px;
      color: var(--muted);
      font-size: .48rem;
      font-weight: 500;
    }

    .rhythm-control-note {
      display: block;
      margin-top: 6px;
      padding-left: 10px;
      border-left: 2px solid var(--amber);
      color: var(--muted);
      font-size: .5rem;
      letter-spacing: .04em;
    }

    .protocol-custom-badge {
      display: inline-flex;
      align-items: center;
      width: max-content;
      margin-top: 8px;
      padding: 3px 6px;
      border: 1px solid rgba(255,176,32,.4);
      border-radius: 4px;
      color: var(--amber);
      background: rgba(255,176,32,.07);
      font-family: var(--mono);
      font-size: .49rem;
      font-weight: 800;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .session-stage {
      position: relative;
      display: grid;
      place-items: center;
      min-height: 0;
      overflow: hidden;
    }

    .session-stage::after {
      content: "";
      position: absolute;
      pointer-events: none;
      transition: transform var(--phase-duration, 4s) ease-in-out, opacity .6s ease;
    }

    .session-stage::after {
      width: 80vw;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--cyan), var(--lime), transparent);
      box-shadow: 0 0 28px rgba(0,217,255,.34);
    }

    .session-stage[data-phase="inhale"]::after { transform: scaleX(1); }
    .session-stage[data-phase="holdFull"]::after { transform: scaleX(1); opacity: .72; }
    .session-stage[data-phase="exhale"]::after { transform: scaleX(.48); }
    .session-stage[data-phase="holdEmpty"]::after { transform: scaleX(.48); opacity: .36; }
    .session-stage[data-phase="recovery"]::after { transform: scaleX(.7); opacity: .42; }
    .session-stage[data-phase="paused"]::after { transform: scaleX(.6); opacity: .2; transition-duration: .2s; }

    .breath-ring {
      --breath-ring-color: var(--lime);
      position: absolute;
      z-index: 2;
      inset: 12px;
      display: grid;
      place-items: center;
      pointer-events: none;
      opacity: .92;
      transition: filter 90ms linear, opacity 90ms linear;
    }

    .breath-ring[data-phase="holdFull"] { --breath-ring-color: var(--cyan); }
    .breath-ring[data-phase="exhale"] { --breath-ring-color: var(--coral); }
    .breath-ring[data-phase="holdEmpty"] { --breath-ring-color: var(--amber); }
    .breath-ring[data-phase="recovery"] {
      --breath-ring-color: color-mix(in srgb, var(--cyan) 58%, var(--muted));
    }

    .breath-ring__svg {
      display: block;
      width: 100%;
      height: 100%;
      max-width: 430px;
      max-height: 430px;
      overflow: hidden;
    }

    .breath-ring__chassis {
      fill: none;
      stroke: var(--muted);
      /* V10: espessura 4x a original (era 1) — a linha fina sumia em tela de celular. */
      stroke-width: 4;
      opacity: .68;
      vector-effect: non-scaling-stroke;
    }

    .breath-ring__chassis-inner {
      fill: none;
      stroke: rgba(255,255,255,.055);
      stroke-width: .75;
      stroke-dasharray: 1 4;
      vector-effect: non-scaling-stroke;
    }

    .breath-ring__tick {
      stroke: var(--muted);
      /* V10: espessura 4x a original (era 1.25). */
      stroke-width: 5;
      stroke-linecap: round;
      opacity: .68;
      vector-effect: non-scaling-stroke;
      transition: stroke 90ms linear, stroke-width 90ms linear, opacity 90ms linear;
    }

    .breath-ring__tick.is-passed {
      stroke: var(--breath-ring-color);
      opacity: .72;
    }

    .breath-ring__tick.is-tail-3 { stroke: var(--breath-ring-color); opacity: .74; }
    .breath-ring__tick.is-tail-2 { stroke: var(--breath-ring-color); opacity: .84; }
    .breath-ring__tick.is-tail-1 { stroke: var(--breath-ring-color); opacity: .94; }

    .breath-ring__tick.is-head {
      stroke: var(--breath-ring-color);
      /* V10: 4x a original (era 2.6) para a cabeça seguir se destacando dos demais. */
      stroke-width: 10.4;
      opacity: 1;
      filter: url(#breath-ring-head-glow);
    }

    .breath-ring__core,
    .breath-ring__halo {
      transform: scale(var(--breath-ring-scale, .8059));
      transform-box: view-box;
      transform-origin: 100px 100px;
      transition: transform 90ms linear;
    }

    .breath-ring__halo-circle {
      fill: none;
      stroke: var(--breath-ring-color);
      stroke-width: 8;
      opacity: .1;
      vector-effect: non-scaling-stroke;
    }

    .breath-ring__core-fill {
      fill: url(#breath-ring-core-fill);
      opacity: .72;
    }

    .breath-ring__core-rim {
      fill: none;
      stroke: url(#breath-ring-core-stroke);
      stroke-width: 1.8;
      opacity: .78;
      vector-effect: non-scaling-stroke;
    }

    .breath-ring__core-detail {
      fill: none;
      stroke: var(--breath-ring-color);
      stroke-width: .7;
      stroke-dasharray: 2 5;
      opacity: .22;
      vector-effect: non-scaling-stroke;
    }

    .breath-ring__fill-start,
    .breath-ring__stroke-start { stop-color: var(--breath-ring-color); }
    .breath-ring__fill-end,
    .breath-ring__stroke-end { stop-color: var(--breath-ring-color); }

    .session-stage[data-phase="paused"] .breath-ring,
    .breath-ring[data-frozen="true"] {
      filter: saturate(.25);
      opacity: .58;
    }

    .breath-ring.is-reduced .breath-ring__core,
    .breath-ring.is-reduced .breath-ring__halo {
      transform: scale(.8059);
      transition: none;
    }

    .breath-ring.is-reduced .breath-ring__halo-circle { opacity: 0; }
    .breath-ring.is-reduced .breath-ring__tick {
      stroke: var(--breath-ring-color);
      opacity: .22;
      transition: none;
    }
    .breath-ring.is-reduced .breath-ring__tick.is-head {
      stroke-width: 1.8;
      opacity: .62;
      filter: none;
    }

    .session-focus {
      position: relative;
      z-index: 3;
      width: min(92vw, 1120px);
      padding-inline: 24px;
      text-align: center;
    }

    .phase-kicker {
      color: var(--muted);
      font-family: var(--mono);
      font-size: .64rem;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .phase-name {
      display: block;
      max-width: 100%;
      margin: 15px auto 10px;
      font-size: clamp(3rem, min(7.2vw, 14vh), 7.25rem);
      line-height: .88;
      letter-spacing: -.055em;
      text-wrap: balance;
      text-transform: uppercase;
    }

    .phase-count {
      color: var(--lime);
      font-family: var(--mono);
      font-size: clamp(1.8rem, min(3.2vw, 6vh), 3rem);
      line-height: 1;
    }

    .cycle-readout {
      margin-top: 17px;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .62rem;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .session-bottom {
      position: relative;
      z-index: 5;
      padding: 18px 25px 24px;
      border-top: 1px solid var(--line);
      background: rgba(2,3,5,.78);
    }

    .session-progress {
      position: relative;
      height: 5px;
      overflow: hidden;
      border-radius: 99px;
      background: rgba(255,255,255,.08);
    }

    .session-progress i {
      display: block;
      width: 0;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--cyan), var(--lime));
      box-shadow: 0 0 14px rgba(0,217,255,.35);
    }

    .session-bottom-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin-top: 13px;
    }

    .session-tip {
      color: var(--muted);
      font-family: var(--mono);
      font-size: .58rem;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .lane {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      opacity: .16;
      mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
    }

    .lane i {
      width: 3px;
      height: var(--h);
      border-radius: 4px;
      background: var(--cyan);
      transition: height var(--phase-duration, 4s) ease, opacity .5s ease;
    }

    .session-stage[data-phase="holdFull"] .lane i { opacity: .72; }
    .session-stage[data-phase="exhale"] .lane i { height: calc(var(--h) * .34); opacity: .4; }
    .session-stage[data-phase="holdEmpty"] .lane i { height: calc(var(--h) * .34); opacity: .22; }
    .session-stage[data-phase="recovery"] .lane i { height: calc(var(--h) * .58); opacity: .32; }
    .session-stage[data-phase="paused"] .lane i { height: calc(var(--h) * .5); opacity: .16; transition-duration: .2s; }

    .round-gate {
      position: absolute;
      z-index: 12;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 24px;
      background: rgba(1,2,4,.88);
      backdrop-filter: blur(18px);
    }

    .round-gate[hidden] { display: none; }
    .round-gate-card {
      width: min(100%, 640px);
      padding: clamp(26px, 5vw, 48px);
      border: 1px solid var(--line-strong);
      border-radius: 20px;
      background: var(--surface);
      box-shadow: var(--shadow);
      text-align: left;
    }

    .round-gate-card h3 {
      margin: 12px 0;
      font-size: clamp(2rem, 5vw, 4rem);
      line-height: .92;
      letter-spacing: -.045em;
      text-transform: uppercase;
    }

    .round-gate-card p { color: var(--muted); }
    .round-gate-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
    .checkout-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 27px 0; }
    .checkout-btn {
      min-height: 104px;
      padding: 15px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--bg);
      cursor: pointer;
      text-align: left;
    }

    .checkout-btn:hover { border-color: var(--cyan); background: var(--cyan-soft); }
    .checkout-btn.selected { border-color: var(--lime); background: var(--lime-soft); }
    .checkout-btn strong { display: block; margin-bottom: 6px; text-transform: uppercase; }
    .checkout-btn span { color: var(--muted); font-size: .78rem; }
    .micro-copy {
      margin: 16px 0 0;
      font-family: var(--mono);
      font-size: .61rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
    .cta-row .btn { flex: 1 1 220px; }
    .execution-report {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 9px;
      margin: 24px 0;
    }

    .report-stat {
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: var(--bg);
    }

    .report-stat span { display: block; color: var(--muted); font-family: var(--mono); font-size: .55rem; text-transform: uppercase; }
    .report-stat strong { display: block; margin-top: 5px; font-family: var(--mono); font-size: 1.3rem; }

    .toast {
      position: fixed;
      z-index: 160;
      right: 20px;
      /* Rodapé: em cima o aviso cobria os botões VIS/SND/SEC/HPT do player.
         pointer-events: none deixa o toque passar para o botão PAUSAR embaixo. */
      bottom: calc(20px + env(safe-area-inset-bottom, 0px));
      pointer-events: none;
      max-width: min(380px, calc(100vw - 40px));
      padding: 14px 16px;
      border: 1px solid rgba(183,255,60,.32);
      border-radius: 10px;
      color: var(--text);
      background: rgba(11,20,12,.96);
      box-shadow: var(--shadow);
      font-family: var(--mono);
      font-size: .66rem;
      letter-spacing: .04em;
      transform: translateY(150%);
      opacity: 0;
      transition: .25s ease;
    }

    .toast.show { transform: translateY(0); opacity: 1; }
    @media (max-width: 1100px) {
      .hero-content { width: min(700px, 70vw); }
      .hero-telemetry { display: none; }
      .protocol-grid, .compact-protocol-grid { grid-template-columns: repeat(2, 1fr); }
      .tape-events { grid-template-columns: repeat(2, 1fr); }
      .tape-event { border-bottom: 1px solid var(--line); }
      .hidden-grid, .compounding-layout, .evidence-grid { grid-template-columns: 1fr; }
      .editorial-image, .editorial-image img { min-height: 560px; }
      .compound-image, .compound-image img { min-height: 520px; }
      .evidence-statement { position: static; }
      .dashboard-grid { grid-template-columns: 1fr; }
      .stat-grid { grid-template-columns: repeat(4, 1fr); }
    }

    @media (max-width: 820px) {
      .container { width: min(calc(100% - 28px), var(--max)); }
      .section { padding: 84px 0; }
      .section-head { grid-template-columns: 1fr; gap: 24px; }
      .nav-links a:not(.btn) { display: none; }
      .nav-inner { min-height: 70px; }
      .hero-content { width: 100%; padding: 128px 0 105px; }
      .hero-media img { object-position: 70% center; opacity: .67; }
      .hero-media::after {
        background:
          linear-gradient(90deg, rgba(2,3,5,.96), rgba(2,3,5,.6)),
          linear-gradient(0deg, #020305 0, transparent 35%, rgba(2,3,5,.45));
      }
      .thesis-grid { grid-template-columns: 1fr; }
      .thesis-code { display: none; }
      .demo-panel { grid-template-columns: 1fr; }
      .demo-copy { min-height: 460px; border-right: 0; border-bottom: 1px solid var(--line); }
      .demo-visual { min-height: 520px; }
      .app-shell { display: block; }
      .app-sidebar { display: none; }
      .app-main { padding: 0 14px 94px; }
      .app-topbar { min-height: 68px; margin: 0 -14px 22px; padding: 0 14px; }
      .topbar-copy span { display: none; }
      .topbar-actions .btn { display: none; }
      .mobile-app-nav {
        position: fixed;
        z-index: 40;
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        min-height: 62px;
        padding: 5px;
        border: 1px solid var(--line-strong);
        border-radius: 15px;
        background: rgba(5,7,10,.94);
        box-shadow: var(--shadow);
        backdrop-filter: blur(18px);
      }
      .mobile-nav-btn {
        border: 0;
        border-radius: 10px;
        color: var(--muted);
        background: transparent;
        font-family: var(--mono);
        font-size: .52rem;
        font-weight: 800;
        letter-spacing: .03em;
        text-transform: uppercase;
      }
      .mobile-nav-btn.active { color: var(--bg); background: var(--lime); }
      .circuit-button { right: 15px; bottom: 86px; width: 66px; height: 66px; }
      .app-page-head { display: block; }
      .app-page-head p { margin-top: 14px; }
      .readiness-panel { grid-template-columns: 1fr; }
      .readiness-gauge-wrap { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--line); }
      .gauge { width: 190px; }
      .stat-grid, .last-state-grid { grid-template-columns: repeat(2, 1fr); }
      .dashboard-lower, .portfolio-overview, .settings-grid { grid-template-columns: 1fr; }
      .rhythm-control { padding-inline: 10px; }
      .rhythm-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .breath-ring__svg { max-width: 380px; max-height: 380px; }
      .session-bottom-row { align-items: start; flex-direction: column; }
      #precheckModal .modal-body { padding: 20px; }
      #precheckModal .modal-body h2 { font-size: clamp(2.35rem, 7vw, 3.25rem); }
      #precheckModal .context-gate .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      #checkoutModal .modal-body { padding: 20px; }
      #checkoutModal .modal-body h2 { font-size: clamp(2.3rem, 7vw, 3.1rem); }
    }

    @media (max-width: 560px) {
      .section h2 { font-size: clamp(2.4rem, 14vw, 4rem); }
      .hero h1 { font-size: clamp(3.4rem, 18vw, 5.9rem); }
      .hero-actions { display: grid; }
      .hero-actions .btn { width: 100%; }
      .hero-proof { align-items: start; }
      .protocol-grid, .compact-protocol-grid { grid-template-columns: 1fr; }
      .protocol-card, .compact-protocol { min-height: 280px; }
      .editorial-image, .editorial-image img { min-height: 480px; }
      .protocol-image { height: 420px; }
      .compound-image, .compound-image img { min-height: 500px; }
      .portfolio-mock { min-height: 560px; }
      .demo-visual { min-height: 440px; }
      .breath-core { width: 180px; }
      .checkout-options, .execution-report { grid-template-columns: 1fr; }
      .checkout-btn { min-height: 78px; }
      .history-grid { gap: 4px; padding: 12px; }
      .history-day { min-height: 130px; padding: 6px; }
      .history-day span { display: none; }
      .session-top { padding: 0 14px; }
      .session-bottom { padding-inline: 14px; }
      .session-focus { width: 100%; padding-inline: 16px; }
      .rhythm-control-head { align-items: flex-start; }
      .rhythm-control-status { gap: 4px 10px; font-size: .5rem; }
      .rhythm-control-title { flex-basis: 100%; }
      .rhythm-phase-control { padding-inline: 7px; }
      .rhythm-phase-row { grid-template-columns: 26px minmax(0, 1fr) 26px; gap: 5px; }
      .rhythm-step { width: 26px; height: 26px; }
      .rhythm-value { font-size: 1.05rem; }
      .rhythm-control-note { font-size: .45rem; }
      .phase-name { font-size: clamp(2.75rem, 12vw, 4rem); }
      .breath-ring { inset: 12px; }
      .breath-ring__svg { max-width: 310px; max-height: 310px; }
      .tape-events { grid-template-columns: 1fr; }
      .tape-event { min-height: 110px; border-right: 0; }
      .replay-item { grid-template-columns: 72px 1fr auto; }
      .replay-item strong { display: none; }
      .state-range { grid-template-columns: 76px minmax(0, 1fr) 32px; }
      #precheckModal { place-items: start center; padding: 10px; }
      #precheckModal .modal-head { min-height: 48px; padding: 0 16px; }
      #precheckModal .modal-body { padding: 17px; }
      #precheckModal .modal-body h2 { font-size: clamp(2rem, 11vw, 2.75rem); }
      #precheckModal .state-vector { grid-template-columns: 1fr; gap: 8px; }
      #precheckModal .state-range { min-height: 46px; }
      #precheckModal .context-gate { padding: 12px; }
      .precheck-safety-copy { font-size: .72rem; }
      #checkoutModal { place-items: start center; padding: 10px; }
      #checkoutModal .modal-head { min-height: 48px; padding: 0 16px; }
      #checkoutModal .modal-body { padding: 17px; }
      #checkoutModal .modal-body h2 { font-size: clamp(2rem, 11vw, 2.75rem); }
      #checkoutModal .state-vector { grid-template-columns: 1fr; gap: 8px; }
      #checkoutModal .state-range { min-height: 46px; }
      #checkoutModal .checkout-options { gap: 8px; }
      #checkoutModal .checkout-btn { min-height: 70px; }
      .range-scale { gap: 5px; font-size: .52rem; }
      #precheckModal .state-range.checkin-range,
      #checkoutModal .state-range.checkin-range { padding: 12px; }
    }

    @media (max-height: 767px) {
      .session-top { min-height: 58px; }
      .rhythm-control { padding-block: 6px 7px; }
      .rhythm-control-head { margin-bottom: 5px; }
      .rhythm-phase-control { padding-block: 4px 5px; }
      .rhythm-phase-label { margin-bottom: 2px; }
      .rhythm-phase-row { grid-template-columns: 24px minmax(0, 1fr) 24px; }
      .rhythm-step { width: 24px; height: 24px; }
      .rhythm-value { font-size: 1rem; }
      .rhythm-control-note { margin-top: 4px; }
      .phase-name { font-size: clamp(2.15rem, min(6vw, 8vh), 4rem); }
      .phase-count { font-size: clamp(1.4rem, min(2.5vw, 4vh), 2.1rem); }
      .cycle-readout { margin-top: 9px; }
      .breath-ring__svg { max-width: 340px; max-height: 340px; }
      .session-bottom { padding-block: 11px 13px; }
      #precheckModal { place-items: start center; padding: 10px; }
      #precheckModal .modal-head { min-height: 48px; }
      #precheckModal .modal-body { padding-block: 16px; }
      #precheckModal .modal-body h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
      #precheckModal .state-vector { margin-block: 8px 12px; }
      #precheckModal .context-gate { margin-block: 12px 10px; }
      #checkoutModal { place-items: start center; padding: 10px; }
      #checkoutModal .modal-head { min-height: 48px; }
      #checkoutModal .modal-body { padding-block: 16px; }
      #checkoutModal .modal-body h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
      #checkoutModal .state-vector { margin-block: 8px 10px; }
      #checkoutModal .checkout-options { margin-block: 10px; }
    }

    @media (forced-colors: active) {
      .checkin-range input[type="range"] {
        appearance: auto;
        background: transparent;
      }
    }

    @media print {
      .site-nav, .market-strip, .hero-actions, .circuit-button, .mobile-app-nav { display: none !important; }
      body { color: #111; background: #fff; }
    }
