:root {
  --ink: #16324f;
  --ink-light: #2d4a6b;
  --ink-muted: #5a7189;
  --amber: #e8a33d;
  --green: #2f7d5c;
  --rose: #c1495b;
  --paper: #f3f5f4;
  --white: #ffffff;
  --line: #dde3e6;
  --display: "Newsreader", serif;
  --body: "IBM Plex Sans", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.apps {
  a {
    color: inherit;
  }
  img,
  svg {
    display: block;
    max-width: 100%;
  }
  :focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
  }

  .wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(243, 245, 244, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
  }
  .brand svg {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }
  .brand-text .school {
    font-size: 12px;
    color: var(--ink-muted);
    font-weight: 500;
  }
  .brand-text .app {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 600;
  }
  .nav-cta {
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease;
  }
  .nav-cta:hover {
    background: var(--ink-light);
  }

  .hero {
    padding: 88px 0 64px;
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }
  .eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
  }
  h1 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.01em;
    margin: 18px 0 22px;
    color: var(--ink);
  }
  h1 em {
    font-style: italic;
    color: var(--green);
  }
  .hero p.lede {
    font-size: 17px;
    color: var(--ink-muted);
    max-width: 46ch;
    margin-bottom: 32px;
  }
  .hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition:
      transform 0.12s ease,
      box-shadow 0.12s ease;
  }
  .btn:hover {
    transform: translateY(-1px);
  }
  .btn-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(47, 125, 92, 0.28);
  }
  .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(47, 125, 92, 0.36);
  }
  .btn-ghost {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
  }
  .btn-ghost:hover {
    border-color: var(--ink-muted);
  }
  .btn svg {
    width: 18px;
    height: 18px;
  }
  .hero-note {
    font-size: 13px;
    color: var(--ink-muted);
    font-family: var(--mono);
  }

  .pulse-card {
    background: var(--ink);
    border-radius: 20px;
    padding: 38px 30px 30px;
    position: relative;
    overflow: hidden;
    color: var(--white);
    box-shadow: 0 24px 60px rgba(22, 50, 79, 0.35);
  }
  .pulse-card .cap {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 18px;
  }
  .pulse-line {
    width: 100%;
    height: 110px;
  }
  .pulse-path {
    fill: none;
    stroke: var(--amber);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: draw 2.1s ease-out forwards;
  }
  .pulse-mark {
    opacity: 0;
    animation: pop 0.5s ease-out 1.9s forwards;
  }
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes pop {
    0% {
      opacity: 0;
      transform: scale(0.6);
    }
    70% {
      opacity: 1;
      transform: scale(1.12);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .pulse-path {
      animation: none;
      stroke-dashoffset: 0;
    }
    .pulse-mark {
      animation: none;
      opacity: 1;
    }
  }
  .pulse-readout {
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
    font-family: var(--mono);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 16px;
  }
  .pulse-readout strong {
    color: var(--white);
    display: block;
    font-size: 15px;
    font-weight: 500;
  }

  .stats {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 30px 0;
  }
  .stat {
    padding: 0 24px;
    border-left: 1px solid var(--line);
  }
  .stat:first-child {
    border-left: none;
  }
  .stat .num {
    font-family: var(--mono);
    font-size: 26px;
    font-weight: 500;
    color: var(--ink);
  }
  .stat .label {
    font-size: 13px;
    color: var(--ink-muted);
    margin-top: 4px;
  }

  section {
    padding: 88px 0;
  }
  .section-head {
    max-width: 640px;
    margin-bottom: 52px;
  }
  .section-head .eyebrow {
    margin-bottom: 14px;
  }
  .section-head h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(28px, 3.4vw, 38px);
    letter-spacing: -0.01em;
    margin-bottom: 14px;
  }
  .section-head p {
    color: var(--ink-muted);
    font-size: 16px;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .step {
    position: relative;
    padding-top: 20px;
  }
  .step-num {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--amber);
    font-weight: 500;
    border: 1px solid var(--amber);
    border-radius: 20px;
    padding: 4px 12px;
    display: inline-block;
    margin-bottom: 18px;
  }
  .step h3 {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 10px;
  }
  .step p {
    color: var(--ink-muted);
    font-size: 15px;
  }
  @media (min-width: 820px) {
    .steps {
      position: relative;
    }
    .step:not(:last-child)::after {
      content: "";
      position: absolute;
      top: 30px;
      left: calc(100% + 4px);
      width: 24px;
      height: 1px;
      background: var(--line);
    }
  }

  .features {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
  }
  .feature {
    background: var(--white);
    padding: 32px;
    display: flex;
    gap: 18px;
  }
  .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .feature-icon svg {
    width: 22px;
    height: 22px;
  }
  .feature h3 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
  }
  .feature p {
    font-size: 14.5px;
    color: var(--ink-muted);
  }

  /* SCREENS GALLERY */
  .screens {
    background: var(--paper);
  }
  .screens-tabs {
    display: inline-flex;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 36px;
  }
  .screens-tab {
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 9px 16px;
    border-radius: 7px;
    border: none;
    background: transparent;
    color: var(--ink-muted);
    cursor: pointer;
    font-weight: 500;
    transition:
      background 0.15s ease,
      color 0.15s ease;
  }
  .screens-tab.active {
    background: var(--ink);
    color: var(--white);
  }
  .screens-row {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    padding: 6px 6px 18px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .screens-row::-webkit-scrollbar {
    height: 6px;
  }
  .screens-row::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 6px;
  }
  .screen-slot {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 224px;
  }
  .screen-caption {
    margin-top: 16px;
    text-align: center;
  }
  .screen-caption .name {
    font-size: 14px;
    font-weight: 600;
  }
  .screen-caption .desc {
    font-size: 12.5px;
    color: var(--ink-muted);
    margin-top: 2px;
    max-width: 200px;
  }

  .device {
    position: relative;
    width: 224px;
    height: 456px;
    background: #0d1e30;
    border-radius: 34px;
    padding: 9px;
    box-shadow:
      0 22px 44px rgba(22, 50, 79, 0.28),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
  .device-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--paper);
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .device-android .device-cam {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #000;
    z-index: 5;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
  }
  .device-android .device-navbar {
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    background: var(--paper);
  }
  .device-android .nav-back {
    width: 11px;
    height: 11px;
    border-left: 2px solid var(--ink-muted);
    border-bottom: 2px solid var(--ink-muted);
    transform: rotate(45deg);
    display: block;
  }
  .device-android .nav-home {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid var(--ink-muted);
    display: block;
  }
  .device-android .nav-recent {
    width: 11px;
    height: 11px;
    border: 2px solid var(--ink-muted);
    border-radius: 2px;
    display: block;
  }

  .device-ios .device-notch {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 22px;
    background: #0d1e30;
    border-radius: 14px;
    z-index: 5;
  }
  .device-ios .device-home-indicator {
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
  }
  .device-ios .device-home-indicator span {
    width: 96px;
    height: 4px;
    border-radius: 3px;
    background: var(--ink);
    opacity: 0.5;
    display: block;
  }

  .screen-status {
    padding: 20px 16px 10px;
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--ink-muted);
    display: flex;
    justify-content: space-between;
  }
  .device-ios .screen-status {
    padding-top: 30px;
  }
  .screen-body {
    flex: 1;
    padding: 6px 14px 10px;
    display: flex;
    flex-direction: column;
  }

  .app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }
  .app-topbar .app-title {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 600;
  }
  .app-topbar .app-badge {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .app-topbar .app-badge svg {
    width: 13px;
    height: 13px;
  }

  .scan-viewport {
    flex: 1;
    border-radius: 16px;
    background: linear-gradient(165deg, #16324f, #0d1e30);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
  }
  .scan-face {
    width: 78px;
    height: 96px;
    border: 2px dashed rgba(232, 163, 61, 0.85);
    border-radius: 50%/45%;
  }
  .scan-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--amber);
    border-style: solid;
    border-width: 0;
  }
  .scan-corner.tl {
    top: 14px;
    left: 14px;
    border-top-width: 2.5px;
    border-left-width: 2.5px;
    border-radius: 4px 0 0 0;
  }
  .scan-corner.tr {
    top: 14px;
    right: 14px;
    border-top-width: 2.5px;
    border-right-width: 2.5px;
    border-radius: 0 4px 0 0;
  }
  .scan-corner.bl {
    bottom: 14px;
    left: 14px;
    border-bottom-width: 2.5px;
    border-left-width: 2.5px;
    border-radius: 0 0 0 4px;
  }
  .scan-corner.br {
    bottom: 14px;
    right: 14px;
    border-bottom-width: 2.5px;
    border-right-width: 2.5px;
    border-radius: 0 0 4px 0;
  }
  .scan-status-pill {
    align-self: center;
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    padding: 5px 12px;
    border-radius: 20px;
    margin-top: auto;
    margin-bottom: 12px;
  }
  .scan-caption {
    text-align: center;
    font-size: 12.5px;
    color: var(--ink-muted);
  }

  .confirm-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
  }
  .confirm-tick {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
  }
  .confirm-tick svg {
    width: 28px;
    height: 28px;
  }
  .confirm-title {
    font-family: var(--display);
    font-size: 17px;
    font-weight: 600;
  }
  .confirm-sub {
    font-size: 12px;
    color: var(--ink-muted);
    margin-top: 3px;
  }
  .confirm-time {
    margin-top: 16px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-muted);
    background: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(22, 50, 79, 0.08);
  }

  .dash-search {
    background: var(--white);
    border-radius: 9px;
    padding: 8px 10px;
    font-size: 10.5px;
    color: var(--ink-muted);
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(22, 50, 79, 0.05);
  }
  .dash-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    overflow: hidden;
  }
  .dash-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border-radius: 9px;
    padding: 8px 9px;
    box-shadow: 0 1px 3px rgba(22, 50, 79, 0.05);
  }
  .dash-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
  }
  .dash-info {
    flex: 1;
    min-width: 0;
  }
  .dash-info .n {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dash-info .m {
    font-size: 9.5px;
    color: var(--ink-muted);
    font-family: var(--mono);
  }
  .dash-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .alert-thread {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
  }
  .alert-bubble {
    background: var(--white);
    border-radius: 12px 12px 12px 3px;
    padding: 10px 12px;
    box-shadow: 0 1px 3px rgba(22, 50, 79, 0.06);
    max-width: 88%;
  }
  .alert-bubble .sender {
    font-size: 9.5px;
    font-family: var(--mono);
    color: var(--green);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .alert-bubble .msg {
    font-size: 11.5px;
    line-height: 1.4;
  }
  .alert-bubble .stamp {
    font-size: 9px;
    color: var(--ink-muted);
    margin-top: 4px;
    text-align: right;
  }

  .screen-note {
    margin-top: 36px;
    font-size: 12.5px;
    color: var(--ink-muted);
    max-width: 60ch;
  }

  .preview-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
  }
  .phone {
    background: var(--ink);
    border-radius: 32px;
    padding: 14px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 30px 70px rgba(22, 50, 79, 0.3);
    margin: 0 auto;
  }
  .phone-screen {
    background: var(--paper);
    border-radius: 22px;
    overflow: hidden;
  }
  .phone-status {
    background: var(--ink);
    color: var(--white);
    padding: 16px 18px 40px;
    text-align: center;
    border-radius: 22px 22px 60% 60% / 22px 22px 26px 26px;
  }
  .phone-status .tick {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .phone-status .tick svg {
    width: 26px;
    height: 26px;
  }
  .phone-status .title {
    font-weight: 600;
    font-size: 15px;
  }
  .phone-status .sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
  }
  .phone-list {
    padding: 16px;
  }
  .ledger-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(22, 50, 79, 0.06);
  }
  .ledger-stripe {
    width: 4px;
    align-self: stretch;
    border-radius: 2px;
    background: var(--green);
    margin-right: 2px;
  }
  .ledger-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ink-light);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .ledger-info {
    flex: 1;
    min-width: 0;
  }
  .ledger-info .name {
    font-size: 13px;
    font-weight: 600;
  }
  .ledger-info .meta {
    font-size: 11px;
    color: var(--ink-muted);
    font-family: var(--mono);
  }
  .preview-copy .eyebrow {
    margin-bottom: 14px;
  }
  .preview-copy h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(26px, 3.2vw, 34px);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }
  .preview-copy p {
    color: var(--ink-muted);
    font-size: 16px;
    margin-bottom: 16px;
    max-width: 44ch;
  }
  .preview-list {
    list-style: none;
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .preview-list li {
    display: flex;
    gap: 12px;
    font-size: 14.5px;
    color: var(--ink);
  }
  .preview-list svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--green);
  }

  .download {
    background: var(--ink);
    color: var(--white);
  }
  .download .section-head p {
    color: rgba(255, 255, 255, 0.65);
  }
  .download .eyebrow {
    color: var(--amber);
  }
  .download .eyebrow::before {
    background: var(--amber);
  }
  .download-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
  .download-main {
    padding: 40px;
  }
  .download-main h3 {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
  }
  .download-main p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14.5px;
    margin-bottom: 26px;
    max-width: 42ch;
  }
  .apk-meta {
    display: flex;
    gap: 22px;
    margin-bottom: 26px;
    font-family: var(--mono);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    flex-wrap: wrap;
  }
  .apk-meta strong {
    color: var(--white);
    display: block;
    font-size: 14px;
    font-weight: 500;
  }
  .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--green);
    color: var(--white);
    padding: 16px 26px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15.5px;
    box-shadow: 0 10px 26px rgba(47, 125, 92, 0.35);
    transition: transform 0.12s ease;
  }
  .download-btn:hover {
    transform: translateY(-2px);
  }
  .download-btn svg {
    width: 22px;
    height: 22px;
  }
  .download-fine {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 14px;
    max-width: 42ch;
  }
  .download-side {
    background: rgba(0, 0, 0, 0.15);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
  .platform-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .platform-badge {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .platform-badge svg {
    width: 19px;
    height: 19px;
  }
  .platform-name {
    font-size: 14px;
    font-weight: 600;
  }
  .platform-status {
    font-size: 12px;
    font-family: var(--mono);
  }
  .platform-status.ready {
    color: var(--green);
  }
  .platform-status.soon {
    color: var(--amber);
  }
  .install-steps {
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
  }
  .install-steps strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
  }

  footer {
    padding: 48px 0;
    border-top: 1px solid var(--line);
  }
  .footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
  }
  .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .footer-brand svg {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }
  .footer-brand .school {
    font-weight: 600;
    font-size: 14px;
  }
  .footer-brand .sub {
    font-size: 12.5px;
    color: var(--ink-muted);
  }
  .footer-meta {
    font-size: 12.5px;
    color: var(--ink-muted);
    text-align: right;
  }
  .footer-meta a {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  @media (max-width: 860px) {
    .hero-grid,
    .preview-grid,
    .download-panel {
      grid-template-columns: 1fr;
    }
    .steps,
    .feature-grid,
    .stats-grid,
    .app-cards {
      grid-template-columns: 1fr;
    }
    .stat {
      border-left: none;
      border-top: 1px solid var(--line);
      padding: 20px 0 0;
    }
    .stat:first-child {
      border-top: none;
      padding-top: 0;
    }
    .step:not(:last-child)::after {
      display: none;
    }
    .download-side {
      border-left: none;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  70% {
    opacity: 1;
    transform: scale(1.12);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.release-notes {
  margin-top: 24px;
}
.release-notes h4 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #fff;
}
.release-notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.release-notes-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #fff;
}
.release-notes-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #2f7d5c;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

/* STUDENT LOGIN + ID CARD MOCKUPS (alliance-apps-student.html.twig) */
.login-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: center;
}
.login-field {
  background: var(--white);
  border-radius: 9px;
  padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(22, 50, 79, 0.05);
}
.login-field .lbl {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  font-family: var(--mono);
  margin-bottom: 3px;
}
.login-field .val {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.login-btn {
  margin-top: 4px;
  background: var(--green);
  color: var(--white);
  text-align: center;
  border-radius: 9px;
  padding: 10px;
  font-size: 11.5px;
  font-weight: 600;
}

.idcard {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
}
.idcard-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(165deg, var(--ink-light), var(--ink));
}
.idcard-name {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}
.idcard-meta {
  font-size: 10.5px;
  color: var(--ink-muted);
  font-family: var(--mono);
}
.idcard-status {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--green);
  background: rgba(47, 125, 92, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 2px;
}
.idcard-qr {
  width: 46px;
  height: 46px;
  margin-top: 8px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 6px),
    repeating-linear-gradient(0deg, var(--ink) 0 3px, transparent 3px 6px);
  background-blend-mode: multiply;
  border-radius: 4px;
  opacity: 0.85;
}

/* APPS INDEX — collection page (alliance-apps-index.html.twig) */
.apps-intro {
  padding: 88px 0 8px;
  text-align: center;
}
.apps-intro .eyebrow {
  justify-content: center;
}
.apps-intro h1 {
  margin-left: auto;
  margin-right: auto;
}
.apps-intro p.lede {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.app-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 48px 0 96px;
}
.app-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}
.app-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(22, 50, 79, 0.12);
}
.app-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-card-icon svg {
  width: 26px;
  height: 26px;
}
.app-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
}
.app-card p {
  color: var(--ink-muted);
  font-size: 14.5px;
  flex: 1;
}
.app-card .app-card-cta {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.app-card .app-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.12s ease;
}
.app-card:hover .app-card-cta svg {
  transform: translateX(3px);
}

/* BOT CHAT MOCKUPS (alliance-apps-bot.html.twig) */
.chat-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-end;
  overflow: hidden;
}
.chat-bubble {
  max-width: 84%;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 11.5px;
  line-height: 1.4;
  white-space: pre-line;
}
.chat-bubble.bot {
  align-self: flex-start;
  background: var(--white);
  border-radius: 12px 12px 12px 3px;
  box-shadow: 0 1px 3px rgba(22, 50, 79, 0.06);
  color: var(--ink);
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--green);
  color: var(--white);
  border-radius: 12px 12px 3px 12px;
}

.chat-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-preview .chat-bubble {
  font-size: 12.5px;
}

/* WHATSAPP CTA — replaces the APK download panel on the bot page */
.whatsapp-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 480px;
  margin: 0 auto;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: var(--white);
  padding: 14px 30px 14px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
  transition: transform 0.12s ease;
}
.whatsapp-btn:hover {
  transform: translateY(-2px);
}
.whatsapp-btn--disabled {
  opacity: 0.6;
  box-shadow: none;
}
/* Icon + pulsing ring — same visual language as the site's floating
   .wa-float chat button (belgrade theme's _vital-shared.scss), rebuilt
   here since this page doesn't load that theme's CSS. */
.whatsapp-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.whatsapp-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--white);
  animation: whatsappPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes whatsappPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-ring {
    animation: none;
  }
}
.whatsapp-btn svg {
  width: 22px;
  height: 22px;
  position: relative;
}
.whatsapp-cta .release-notes {
  text-align: left;
  width: 100%;
}
