/* Actiograph — Desktop-3 (Figma node 101:2), polished pass 2 */

@font-face {
  font-family: 'Coolvetica';
  src: url('assets/fonts/Coolvetica-Rg.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Araboto Medium';
  src: url('assets/fonts/Araboto-Medium.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Araboto Normal';
  src: url('assets/fonts/Araboto-Normal.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { background: linear-gradient(to bottom, #f3f4f7 0%, #fbfbfc 50%, #f3f4f7 100%); }

body { overflow-x: hidden; }

/* top nav — plain document flow, sits above the zoomed canvas */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 244, 247, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 84px;
  padding: 0 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  flex-shrink: 0;
}
.nav-logo-img { height: 60px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: #363636;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #0c8961; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  background: #000;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover, .nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.4);
}
.nav-cta .btn-icon { width: 15px; height: 18px; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; }
}

/* footer */
.site-footer { border-top: 1px solid rgba(0, 0, 0, 0.06); }
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 44px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-logo { height: 64px; width: auto; object-fit: contain; transform: translateY(-6px); }
.footer-copy { font-size: 14px; color: #9a9a9a; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  color: #363636;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #0c8961; }

@media (max-width: 640px) {
  .footer-inner { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 16px 24px; }
}

/* 1440-wide design canvas, scaled to viewport via JS zoom */
.canvas {
  position: relative;
  width: 1440px;
  height: 3560px;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(to bottom, #f3f4f7 0%, #fbfbfc 50%, #f3f4f7 100%);
}

/* card section scaled uniformly around its top-center */
#cards {
  transform: scale(0.78);
  transform-origin: 720px 1061px;
}

.abs { position: absolute; }

/* type */
.cool { font-family: 'Coolvetica', 'Arial Narrow', sans-serif; font-weight: 400; }
.am   { font-family: 'Araboto Medium', 'Poppins', sans-serif; font-weight: 400; }
.an   { font-family: 'Araboto Normal', 'Poppins', sans-serif; font-weight: 400; }

.nowrap { white-space: nowrap; }

/* headline highlight pill — hugs the word it wraps; sweeps in after reveal */
.hl {
  background: linear-gradient(rgba(12, 137, 97, 0.22), rgba(12, 137, 97, 0.22)) no-repeat 0 0 / 0% 100%;
  border-radius: 16px;
  padding: 0 10px 2px;
  margin-left: 3px;
  transition: background-size 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s;
}
.reveal.in .hl { background-size: 100% 100%; }

/* rotating word pill in the subhead */
.word-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 3px 16px 5px 12px;
  border-radius: 20px;
  vertical-align: 4px;
  box-sizing: border-box;
  overflow: hidden;
  transition: background-color 0.4s ease, width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.word-pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color 0.4s ease;
}
.word-pill-text {
  display: inline-block;
  white-space: nowrap;
  transition: opacity 0.22s ease, color 0.3s ease;
}
.word-pill-text.swap { opacity: 0; }

/* scroll/load reveal */
.reveal {
  opacity: 0;
  transform: translate(var(--tx, 0), 26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.reveal.in {
  opacity: 1;
  transform: translate(var(--tx, 0), 0);
}

/* buttons */
.btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  height: 57px;
  background: #000;
  border-radius: 50px;
  color: #fff;
  font-size: 25px;
  text-decoration: none;
  transform: translate(var(--tx, 0), 0);
}
.btn.in:hover, .btn.in:focus-visible {
  transform: translate(var(--tx, 0), -3px);
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.45);
}
.btn:focus-visible { outline: 3px solid rgba(12, 137, 97, 0.55); outline-offset: 3px; }
.btn-icon { width: 23px; height: 28px; object-fit: cover; }
.btn.btn-sm { height: 46px; font-size: 19px; gap: 9px; }
.btn.btn-sm .btn-icon { width: 17px; height: 21px; }

/* feature cards */
.card { border-radius: 50px; }
.card.in:hover {
  transform: translate(var(--tx, 0), -8px);
  box-shadow: 0 30px 50px -28px rgba(25, 30, 60, 0.22);
}
.card .title {
  position: absolute;
  left: 57px;
  top: 50px;
  font-size: 65px;
  line-height: 55px;
}
.card .body {
  position: absolute;
  left: 57px;
  font-size: 25px;
  line-height: 30px;
}

/* stat tiles (yellow card) */
.tile {
  width: 247px;
  height: 141px;
  background: #f9fafb;
  border-radius: 20px;
}
.tile, .tag, .school {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.tile:hover, .tag:hover, .school:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px -16px rgba(25, 30, 60, 0.25);
}
.stat { position: absolute; left: 69px; top: 30px; }
.stat-icon {
  position: absolute;
  left: 22px;
  top: 26px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-date { font-size: 13px; line-height: 30px; color: #8f8f8f; }

/* tag cards (pink card) */
.tag { height: 166px; background: #f9fafb; border-radius: 20px; }
.tag-icon {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tag-icon svg { width: 17px; height: 17px; }
.tag-name {
  position: absolute;
  left: 60px;
  top: 20px;
  font-size: 15px;
  line-height: 30px;
  letter-spacing: 0.3px;
  color: #363636;
}
.tag-pill {
  position: absolute;
  left: 60px;
  top: 57px;
  height: 17px;
  padding: 0 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
}
.tag-pill span { font-size: 10px; line-height: 1; }
.tag-desc {
  position: absolute;
  left: 24px;
  top: 80px;
  font-size: 12px;
  line-height: 21px;
  letter-spacing: 0.4px;
  color: #858585;
}

/* voice reflection → entry (blue card): the recording lands in a real entry */
.voice-entry {
  position: absolute;
  left: 57px;
  top: 668px;
  width: 523px;
  height: 86px;
  background: #f9fafb;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.voice-entry.flash {
  box-shadow: 0 0 0 3px rgba(1, 62, 204, 0.3), 0 14px 28px -18px rgba(18, 48, 101, 0.5);
  transform: translateY(-2px);
}
.ve-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #e9f7f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ve-icon svg { width: 24px; height: 24px; }
.ve-title { font-size: 16px; line-height: 22px; color: #363636; }
.ve-status {
  font-size: 13px;
  line-height: 20px;
  min-height: 20px;
  color: #8f8f8f;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ve-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5484d;
  flex-shrink: 0;
  animation: vepulse 1.1s ease-in-out infinite;
}
@keyframes vepulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}
.ve-count {
  margin-left: auto;
  height: 26px;
  padding: 0 13px;
  border-radius: 13px;
  background: #e9f7f2;
  color: #0c8961;
  font-size: 13px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ve-count.tick { transform: scale(1.18); }
.ve-fly {
  position: absolute;
  left: 462px;
  top: 521px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #013ecc;
  box-shadow: 0 0 12px 2px rgba(1, 62, 204, 0.45);
  opacity: 0;
  pointer-events: none;
}
.ve-fly.go { animation: vefly 0.75s cubic-bezier(0.5, 0, 0.6, 1) forwards; }
@keyframes vefly {
  0%   { opacity: 1; transform: translate(0, 0) scale(1); }
  45%  { opacity: 1; transform: translate(-160px, 30px) scale(1.3); }
  100% { opacity: 0; transform: translate(-372px, 187px) scale(0.35); }
}

/* the recording scene as one stage: dims behind a notification, fades away
   when the typing pane takes over */
.voice-stage { transition: opacity 0.5s ease, filter 0.5s ease; }
.voice-stage.dim { opacity: 0.3; filter: blur(4px) saturate(0.8); }
.voice-stage.away { opacity: 0; filter: blur(2px); }

/* push notification from Actiograph */
.rnotif {
  position: absolute;
  left: 57px;
  top: 348px;
  width: 523px;
  z-index: 6;
  background: #f9fafb;
  border-radius: 22px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 26px 50px -22px rgba(18, 48, 101, 0.5);
  opacity: 0;
  transform: translateY(-32px) scale(0.95);
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.34, 1.45, 0.64, 1);
  pointer-events: none;
}
.rnotif.show { opacity: 1; transform: translateY(0) scale(1); }
.rnotif.tap { transform: translateY(0) scale(0.96); transition: transform 0.18s ease; }
/* tapped: the notification sinks into the app instead of springing back up */
.rnotif.hide {
  opacity: 0;
  transform: translateY(8px) scale(0.88);
  transition: opacity 0.28s ease, transform 0.3s ease-in;
}
.rnotif-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rnotif-icon svg { width: 24px; height: 24px; }
.rnotif-main { flex: 1; min-width: 0; }
.rnotif-app {
  font-size: 10px;
  line-height: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9a9aa2;
}
.rnotif-title { font-size: 17px; line-height: 24px; color: #123065; margin-top: 2px; }
.rnotif-sub { font-size: 13.5px; line-height: 19px; color: #55565e; margin-top: 3px; }
.rnotif-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e5484d;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rnotif-days { display: flex; gap: 8px; align-items: center; margin-top: 9px; }
.rn-day {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #8f8f8f;
  background: #eef0f4;
}
.rn-day.sel { background: #0c8961; color: #fff; animation: rnring 1.6s ease-out infinite; }
.rn-day-label { font-size: 11px; color: #0c8961; margin-left: 4px; letter-spacing: 0.3px; }
@keyframes rnring {
  0% { box-shadow: 0 0 0 0 rgba(12, 137, 97, 0.45); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(12, 137, 97, 0); }
}

/* typed reflection pane: unfolds upward out of the entry row */
.ve-panel {
  position: absolute;
  left: 57px;
  top: 536px;
  width: 523px;
  height: 136px;
  background: #f9fafb;
  border-radius: 18px 18px 0 0;
  padding: 16px 20px 0;
  opacity: 0;
  transform: translateY(28px) scaleY(0.5);
  transform-origin: bottom center;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.3, 0.64, 1);
  pointer-events: none;
}
.ve-panel.open { opacity: 1; transform: none; }
.ve-modes { display: flex; gap: 8px; }
.ve-mode {
  height: 26px;
  padding: 0 12px;
  border-radius: 13px;
  background: #eef0f4;
  color: #8f8f8f;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ve-mode svg { width: 14px; height: 14px; }
.ve-mode.active { background: #e5ecff; color: #013ecc; }
.ve-typed {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 23px;
  letter-spacing: 0.2px;
  color: #363636;
  min-height: 46px;
}
.ve-caret {
  display: inline-block;
  width: 2px;
  height: 17px;
  background: #013ecc;
  margin-left: 2px;
  vertical-align: -3px;
  animation: vecaret 1s steps(1) infinite;
}
.ve-panel.done .ve-caret { display: none; }
@keyframes vecaret { 50% { opacity: 0; } }

/* Sunday round-up: how many reflections are left to do */
.ve-todo {
  height: 26px;
  padding: 0 13px;
  border-radius: 13px;
  background: #fff1d7;
  color: #c98a12;
  font-size: 13px;
  display: none;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ve-todo.show { display: flex; }
.ve-todo.done { background: #e9f7f2; color: #0c8961; }
.ve-todo.tick { transform: scale(1.18); }

/* CanMEDS coach demo: chat rewrite with live role detection + impact gauge */
.coach-panel { display: flex; gap: 16px; align-items: stretch; }
.coach-left { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.cb-user {
  margin-left: auto;
  max-width: 400px;
  background: #e3e5ee;
  border-radius: 18px 18px 4px 18px;
  padding: 9px 16px;
  font-size: 14px;
  line-height: 21px;
  color: #55565e;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cb-coach {
  position: relative;
  margin-top: 12px;
  width: 100%;
  background: #fdfdff;
  border-radius: 18px 18px 18px 4px;
  padding: 14px 18px 14px 52px;
  box-shadow: 0 14px 30px -22px rgba(75, 42, 145, 0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cb-user.show, .cb-coach.show { opacity: 1; transform: none; }
.cb-tag-label {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9a9aa2;
  margin-bottom: 2px;
}
.cl-chip {
  height: 26px;
  padding: 0 13px;
  border-radius: 13px;
  font-size: 13px;
  display: flex;
  align-items: center;
}

/* impact gauge: numeric power level that climbs with each suggestion */
.coach-gauge {
  width: 150px;
  flex-shrink: 0;
  background: #fdfdff;
  border-radius: 18px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  box-shadow: 0 14px 30px -22px rgba(75, 42, 145, 0.4);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.coach-gauge.show { opacity: 1; transform: none; }
.cg-title { font-size: 12px; letter-spacing: 0.4px; color: #7d6ba8; }
.cg-num-row { display: flex; align-items: baseline; gap: 3px; }
.cg-num {
  font-size: 46px;
  line-height: 46px;
  color: #8f8f9b;
  transition: color 0.5s ease;
  font-variant-numeric: tabular-nums;
}
.cg-den { font-size: 14px; color: #b6b0c6; }
.cg-track {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: #eceaf4;
  overflow: hidden;
}
.cg-fill {
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: #8f8f9b;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.5s ease;
}
.cg-verdict { font-size: 13px; color: #8f8f9b; transition: color 0.5s ease; min-height: 18px; }
.cg-bump {
  position: absolute;
  right: 12px;
  top: 34px;
  height: 22px;
  padding: 0 9px;
  border-radius: 11px;
  background: #6642b9;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
}
.cg-bump.go { animation: cgbump 1.1s ease forwards; }
@keyframes cgbump {
  0%   { opacity: 0; transform: translateY(8px) scale(0.8); }
  22%  { opacity: 1; transform: translateY(0) scale(1.05); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1); }
  100% { opacity: 0; transform: translateY(-18px) scale(0.95); }
}
.cb-avatar {
  position: absolute;
  left: 14px;
  top: 15px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6642b9;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cb-text { font-size: 15px; line-height: 27px; color: #363636; }
.cchar { opacity: 0; }
.cchar.on { opacity: 1; }
.cm-role {
  background: linear-gradient(var(--cm-bg), var(--cm-bg)) no-repeat 0 60% / 0% 100%;
  border-radius: 6px;
  padding: 0 3px;
  transition: background-size 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}
.cm-role.lit { background-size: 100% 100%; color: var(--cm-fg); }
.cm-tag {
  display: inline-block;
  height: 17px;
  line-height: 17px;
  padding: 0 8px;
  margin-left: 6px;
  border-radius: 9px;
  background: #fff;
  color: var(--cm-fg);
  font-size: 10px;
  letter-spacing: 0.3px;
  vertical-align: 2px;
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cm-role.lit .cm-tag { transform: scale(1); }
.cb-stamp {
  position: absolute;
  right: 16px;
  bottom: -14px;
  height: 34px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  background: #6642b9;
  color: #fff;
  font-size: 14px;
  border-radius: 17px;
  box-shadow: 0 10px 20px -12px rgba(75, 42, 145, 0.6);
  transform: rotate(6deg) scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cb-stamp.on { transform: rotate(6deg) scale(1); }

/* OMSAS preview */
.omsas-tab { top: 61px; font-size: 13px; line-height: 30px; letter-spacing: 0.3px; color: #6b6b6b; }
.omsas-row { font-size: 13px; line-height: 30px; letter-spacing: 0.3px; color: #363636; }

/* school cards (green card) */
.school { width: 134px; height: 194px; border-radius: 20px; }
.school-tile { position: absolute; left: 13px; top: 10px; width: 36px; height: 41px; border-radius: 8px; }
.school-name   { position: absolute; left: 13px; top: 59px;  font-size: 15px; line-height: 30px; }
.school-sub    { position: absolute; left: 13px; top: 78px;  font-size: 10px; line-height: 30px; }
.school-status { position: absolute; left: 13px; top: 123px; font-size: 10px; line-height: 30px; }
.school-track  { position: absolute; left: 13px; top: 153px; width: 107px; height: 9px; border: 0.6px solid; border-radius: 10px; }
.school-fill   { position: absolute; left: 13px; top: 153px; height: 9px; border-radius: 10px; transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.school-pct    { position: absolute; left: 13px; top: 164px; font-size: 10px; line-height: 30px; }

/* images */
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; max-width: none; }

/* figma line pattern: zero-height box + bleed wrapper holding the stroke svg */
.ins { position: absolute; }
.ins img { display: block; width: 100%; height: 100%; max-width: none; }

/* rotated-content wrapper (bounding box centers rotated child) */
.rotwrap { position: absolute; display: flex; align-items: center; justify-content: center; }
.rotwrap > div { flex: none; }
.linebox { position: relative; height: 0; }

/* waveform: recording playback sweep (bars turn on left -> right) */
.wbar {
  position: absolute;
  width: 8px;
  border-radius: 4px;
  background: #99bbff;
  transition: background-color 0.22s ease;
}
.wbar.on { background: #013ecc; }

/* reflection quote: letters appear in sync with the waveform sweep */
.qchar { opacity: 0; transition: opacity 0.15s ease; }
.qchar.on { opacity: 1; }

/* trusted-by logo carousel */
.trustedby-mask {
  overflow: hidden;
  width: 100%;
  height: 56px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.trustedby-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: trustedby-scroll 36s linear infinite;
}
.trustedby-track:hover { animation-play-state: paused; }
.trustedby-track img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}
.trustedby-track img:hover { opacity: 1; }
@keyframes trustedby-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .trustedby-track { animation: none; }
}

/* side-margin decorative icons — only shown when the gutters are wide enough */
.side-deco { display: none; }
@media (min-width: 1820px) {
  .side-deco { display: block; }
}
.deco-icon {
  position: absolute;
  pointer-events: none;
  color: #e4e5eb;
}
.deco-icon svg { display: block; width: 100%; height: 100%; }

/* OMSAS preview: tab cycle + skeleton lines that extend one at a time */
.omsas-tab { transition: color 0.3s ease; }
.omsas-tab.active { color: #ba1d8c; }
#tab-underline { transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1), width 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.sk {
  position: absolute;
  height: 5px;
  border-radius: 2.5px;
  background: #fee4f4;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.sk.go { transform: scaleX(1); }

/* per-tab content panes */
.tabpane { position: absolute; display: none; }
.tabpane.cur { display: block; }
.thin { position: absolute; height: 1px; background: #fbeaf6; }
.chip {
  position: absolute;
  height: 22px;
  line-height: 22px;
  padding: 0 12px;
  border-radius: 11px;
  font-size: 11px;
}
.pop {
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pop.go { transform: scale(1); }

/* OMSAS Application Draft paper */
.paper {
  position: absolute;
  left: 340px;
  top: 410px;
  width: 340px;
  height: 336px;
  background: #fdfdff;
  border-radius: 18px;
  transform: rotate(-7deg) scale(0.62);
  box-shadow: 0 24px 44px -26px rgba(80, 20, 60, 0.35);
  z-index: 3;
}
.paper::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52px;
  height: 52px;
  border-bottom-right-radius: 18px;
  background: linear-gradient(to left top, #ffdff7 49%, #f4cfe8 50%, #fbe9f5 100%);
}
.paper-title { position: absolute; left: 36px; top: 26px; font-size: 34px; line-height: 40px; letter-spacing: 1.5px; color: #23213c; }
.paper-sub   { position: absolute; left: 36px; top: 68px; font-size: 20px; line-height: 30px; color: #ee55a2; }
.paper-div   { position: absolute; left: 24px; right: 24px; top: 110px; height: 1px; background: #f2e9f0; }
.prow { position: absolute; left: 24px; right: 24px; height: 48px; border-bottom: 1px solid #f7f2f6; }
.prow.last { border-bottom: none; }
.prow-t { position: absolute; left: 64px; top: 2px;  font-size: 16px; line-height: 24px; color: #2b2937; }
.prow-s { position: absolute; left: 64px; top: 24px; font-size: 12px; line-height: 18px; color: #9a93a4; }
.circ {
  position: absolute;
  left: 12px;
  top: 7px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px dashed #f6a8d2;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.circ::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  width: 12px;
  height: 7px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.prow.done .circ { background: #f45fa8; border: 2px solid #f45fa8; }
.prow.done .circ::after { transform: rotate(-45deg) scale(1); }
@keyframes circspin { to { transform: rotate(360deg); } }
.prow.working .circ { animation: circspin 1.6s linear infinite; }

/* Application-Ready pill */
.appready {
  position: absolute;
  left: 400px;
  top: 668px;
  width: 220px;
  height: 36px;
  background: #f45fa8;
  border-radius: 18px;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: rotate(-4deg) scale(0.96);
  opacity: 0.4;
  z-index: 4;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.appready.on { opacity: 1; transform: rotate(-4deg) scale(1); }
.spark { font-size: 13px; }

/* ===== hero live pipeline: three streams in, one optimized application out ===== */
.hero-viz { pointer-events: none; }
.hv-svg { position: absolute; inset: 0; overflow: visible; }
.hv-path {
  fill: none;
  stroke: #ccd2dd;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 0.5 10;
}
/* the dots only flow while an entry is actually travelling the path */
.hv-path.live { animation: hvdash 1.3s linear infinite; }
.hv-path-out { stroke: #a9d4c1; }
@keyframes hvdash { to { stroke-dashoffset: -10.5; } }

/* input chips — still by default; they lift for the cursor and pulse on send */
.hv-chip-f {
  position: absolute;
  left: 20px;
  width: 262px;
  height: 78px;
}
.hv-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 0 18px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 14px 30px -22px rgba(25, 30, 60, 0.35);
  pointer-events: auto;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.hv-chip:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -20px rgba(25, 30, 60, 0.45); }
.hv-chip.emit { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 34px -20px rgba(25, 30, 60, 0.45); }
.hv-chip-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hv-chip-icon svg { width: 24px; height: 24px; }
.hv-chip-t { font-size: 20px; line-height: 26px; color: #232733; }
.hv-chip-s { font-size: 13px; line-height: 18px; color: #8b8f9c; }

/* ring ripple when the logo absorbs a mote */
.hv-ripple {
  position: absolute;
  left: 559.5px;
  top: 145.5px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1.5px solid rgba(12, 137, 97, 0.35);
  opacity: 0;
}
.hv-ripple.go { animation: hvripple 0.8s ease-out; }
@keyframes hvripple {
  0% { opacity: 0.5; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(1.18); }
}
.hero-logo img { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-logo.gulp img { transform: scale(1.045); }

/* traveling data motes (positioned along the svg curves via offset-path) */
.hv-mote {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  offset-rotate: 0deg;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  box-shadow: 0 2px 6px rgba(25, 30, 60, 0.25);
  animation: hvmote var(--dur, 1500ms) cubic-bezier(0.45, 0.05, 0.4, 1) forwards;
}
@keyframes hvmote {
  0% { offset-distance: 0%; opacity: 0; }
  12% { offset-distance: 10%; opacity: 1; }
  86% { offset-distance: 86%; opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.hv-mote-tag {
  position: absolute;
  left: 14px;
  top: -6px;
  height: 21px;
  padding: 0 9px;
  border-radius: 11px;
  background: #fff;
  color: #55565e;
  box-shadow: 0 4px 10px -4px rgba(25, 30, 60, 0.25);
  font-size: 11px;
  line-height: 21px;
  white-space: nowrap;
}

/* the OMSAS application card that assembles itself */
.hv-card {
  position: absolute;
  left: 826px;
  top: 58px;
  width: 334px;
  height: 344px;
  background: #fff;
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 24px 48px -30px rgba(25, 30, 60, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.8) 50%, transparent 65%);
  transform: translateX(-130%);
  pointer-events: none;
}
.hv-card.done::after { animation: hvshine 0.9s ease 0.15s; }
@keyframes hvshine { to { transform: translateX(130%); } }
.hv-card-head { display: flex; align-items: center; gap: 14px; }
.hv-check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0c8961;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hv-check svg { width: 22px; height: 22px; }
.hv-card-title { font-size: 21px; line-height: 26px; color: #1f2937; }
.hv-rows {
  margin-top: 14px;
  border: 1.3px solid #eef1f7;
  border-radius: 16px;
  padding: 6px 14px;
}
.hv-row { display: flex; align-items: center; gap: 12px; height: 44px; }
.hv-row p { font-size: 15px; color: #363636; }
.hv-circ {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px dashed #cfd6e4;
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s cubic-bezier(0.3, 1.25, 0.5, 1);
}
.hv-circ::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 6.5px;
  width: 9px;
  height: 5px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.3s cubic-bezier(0.3, 1.25, 0.5, 1);
}
.hv-row.done .hv-circ { background: #0c8961; border: 2px solid #0c8961; }
.hv-row.done .hv-circ::after { transform: rotate(-45deg) scale(1); }
/* a hover-sent entry gets a small acknowledgement from its row */
.hv-row.ping .hv-circ { transform: scale(1.15); }
.hv-progress {
  margin-top: 12px;
  height: 8px;
  border-radius: 4px;
  background: #eef1f7;
  overflow: hidden;
}
.hv-bar {
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: #0c8961;
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hv-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hv-status { font-size: 13px; color: #8f8f9c; transition: color 0.3s ease; }
.hv-status.on { color: #0c8961; }
.hv-shield {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #0c8961;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  box-shadow: 0 8px 18px -12px rgba(25, 30, 60, 0.5);
}
.hv-shield svg { width: 26px; height: 26px; }
.hv-shield.on { transform: scale(1); opacity: 1; }

/* static fallback (reduced motion): pipeline lands in its finished state */
.hv-static .hv-path, .hv-static .hv-chip-f { animation: none; }
.hv-static .hv-circ { background: #0c8961; border: 2px solid #0c8961; }
.hv-static .hv-circ::after { transform: rotate(-45deg) scale(1); }
.hv-static .hv-bar { width: 100%; transition: none; }
.hv-static .hv-shield { transform: scale(1); opacity: 1; transition: none; }
.hv-static .hv-status { color: #0c8961; }

/* reduced motion: everything lands in its final state */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: translate(var(--tx, 0), 0); transition: none; }
  .hl { background-size: 100% 100%; transition: none; }
  .school-fill { transition: none; }
  .sk { transform: none; transition: none; }
  .pop { transform: scale(1); transition: none; }
  .wbar { transition: none; }
  .prow.working .circ { animation: none; }
  .appready { opacity: 1; transform: rotate(-2deg); transition: none; }
  .tile, .tag, .school, .btn, .card { transition: none; }
}

/* ===================== MOBILE — single-column canvas =====================
   At <=720px the JS fits a narrow 717px canvas to the viewport instead of the
   1440px desktop one, so everything renders ~2x larger. These rules restack
   the absolutely-positioned sections into one column (!important is needed
   to beat the inline left/top coordinates). */
@media (max-width: 720px) {
  .canvas { width: 717px; height: 4600px; }
  #cards { transform: none; }

  /* hero: headline flows and wraps, phone stands alone, side graphics hidden */
  .hero-headline { left: 50% !important; top: 30px !important; width: 660px; }
  .hero-headline p { display: inline; font-size: 46px !important; line-height: 54px !important; white-space: normal; }
  .hero-headline p + p::before { content: ' '; }
  .hero-headline p span { font-size: 44px !important; }

  .hero-subhead { top: 224px !important; width: 480px; white-space: normal; text-align: center; }

  .btn.btn-sm { top: 322px !important; }

  .hero-viz { display: none !important; }
  .hero-backdrop { left: 205px !important; top: 421px !important; }
  .hero-phone { left: 142px !important; top: 400px !important; }
  .hero-logo { left: 280px !important; top: 527px !important; }

  .trustedby { top: 845px !important; width: 717px !important; }

  /* feature cards: one column, 40px gutters */
  .card-yellow { left: 40px !important; top: 970px !important; }
  .card-blue   { left: 40px !important; top: 1556px !important; }
  .card-pink   { left: 40px !important; top: 2371px !important; }
  #green-card  { left: 40px !important; top: 3154px !important; }

  /* purple coach card: demo panel drops below the copy */
  #coach-card { left: 40px !important; top: 3708px !important; width: 637px !important; height: 500px !important; }
  #coach-card .title { font-size: 52px; }
  #coach-card .coach-demo { left: 27px !important; top: 230px !important; }

  /* coral CTA: stacks copy, logo, and a centered button */
  #download { left: 40px !important; top: 4248px !important; width: 637px !important; height: 300px !important; }
  #download .ready-logo { left: 477px !important; top: 25px !important; width: 130px !important; height: 130px !important; }
  #download .btn { left: 170px !important; top: 205px !important; }
}

/* ===================== OPEN SECTIONS — GPA + Calendar =====================
   The two headline features sit directly on the page background in the hero's
   open style (black Coolvetica + green accent), each with one white demo tile
   that borrows the cards' inner-tile chrome. */

.osec { left: 0; width: 1440px; }
.osec-inner { width: 1014px; margin: 0 auto; height: 100%; display: flex; align-items: center; gap: 44px; }
.osec-copy { width: 372px; flex-shrink: 0; }
.osec-title { font-size: 47px; line-height: 44px; letter-spacing: 1px; color: #000; }
.osec-body { font-size: 19px; line-height: 27px; margin-top: 16px; color: #55565e; }
.osec-tile {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 24px;
  box-shadow: 0 24px 44px -34px rgba(25, 30, 60, 0.35);
}

/* ---- GPA: transcript column | schools column, one tile ---- */
.gpa-tile { display: flex; padding: 18px 22px; gap: 22px; }
.gpa-col-l { flex: 1.15; min-width: 0; border-right: 1px solid #eef0f5; padding-right: 22px; }
.gpa-col-r { flex: 1; min-width: 0; }
.gpa-panel-title { font-size: 10px; letter-spacing: 2.2px; color: #9a9fa9; margin-bottom: 6px; }
.gpa-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f3f7;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s ease;
}
.gpa-row:last-of-type { border-bottom: none; }
.gpa-row.in { opacity: 1; transform: none; }
.gpa-row.bump { background: #e9f7f2; border-radius: 8px; }
.gpa-yr {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: #8b8f9c;
  background: #eef1f6;
  border-radius: 6px;
  padding: 2px 5px;
  flex-shrink: 0;
}
.gpa-course { flex: 1; min-width: 0; font-size: 13.5px; color: #363636; white-space: nowrap; overflow: hidden; }
.gstep {
  width: 20px;
  height: 20px;
  border: 1px solid #e3e6ec;
  border-radius: 7px;
  background: #fff;
  color: #55565e;
  font-size: 13px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.gstep:hover { background: #e9f7f2; border-color: #0c8961; color: #0c8961; }
.gstep:active { transform: scale(0.9); }
.gpa-pct { width: 36px; text-align: center; font-size: 13.5px; color: #232733; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.gpa-conv {
  width: 38px;
  text-align: center;
  font-size: 13px;
  color: #0c8961;
  background: #e9f7f2;
  border-radius: 8px;
  padding: 2px 0;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.gpa-conv.flip { animation: gflip 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes gflip {
  0% { transform: scaleY(0.1); }
  100% { transform: scaleY(1); }
}
.gpa-hint { margin-top: 9px; font-size: 11px; color: #9a9fa9; opacity: 0; transition: opacity 0.5s ease; }
.gpa-hint.on { opacity: 1; }
.gpa-hint .pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0c8961;
  margin-right: 6px;
  vertical-align: 1px;
  animation: vepulse 1.4s ease-in-out infinite;
}
.gpa-omsas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 8px;
  border-bottom: 1px solid #f1f3f7;
}
.gpa-omsas-label { font-size: 13px; color: #363636; }
.gpa-omsas-sub { font-size: 10px; color: #9a9fa9; }
.gpa-big { font-size: 40px; line-height: 40px; color: #0c8961; font-variant-numeric: tabular-nums; }
.gpa-school {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
  border-bottom: 1px solid #f1f3f7;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.gpa-school:last-of-type { border-bottom: none; }
.gpa-school.in { opacity: 1; transform: none; }
.gpa-mono {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  flex-shrink: 0;
}
.gpa-sname { font-size: 13.5px; line-height: 16px; color: #363636; }
.gpa-srule { font-size: 10px; line-height: 13px; color: #9a9fa9; }
.gpa-sval { margin-left: auto; font-size: 21px; line-height: 24px; color: #232733; font-variant-numeric: tabular-nums; }
.gpa-delta {
  position: absolute;
  right: 0;
  top: -6px;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 8px;
  background: #0c8961;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.gpa-delta.go { animation: gdelta 1.25s ease forwards; }
@keyframes gdelta {
  0% { opacity: 0; transform: translateY(8px); }
  22% { opacity: 1; transform: translateY(0); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-12px); }
}
.gpa-note { margin-top: 8px; font-size: 10px; line-height: 14px; color: #b0b4bd; }

/* ---- Calendar: week board tile + countdown pills under the copy ---- */
.cal-counts { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.cal-count {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 14px;
  padding: 7px 16px 7px 12px;
  box-shadow: 0 14px 26px -24px rgba(25, 30, 60, 0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cal-count.in { opacity: 1; transform: none; }
.cal-count.next { border-color: rgba(12, 137, 97, 0.45); }
.cal-count.next .cd-num { color: #0c8961; }
.cd-next-tag {
  position: absolute;
  top: -8px;
  right: 10px;
  font-size: 8px;
  letter-spacing: 1px;
  background: #0c8961;
  color: #fff;
  border-radius: 7px;
  padding: 2px 7px;
}
.cd-numwrap { display: flex; align-items: baseline; gap: 4px; flex-shrink: 0; }
.cd-num { font-size: 24px; line-height: 24px; color: #232733; font-variant-numeric: tabular-nums; }
.cd-word { font-size: 9px; letter-spacing: 1px; color: #9aa6a0; }
.cd-lab { font-size: 12.5px; line-height: 16px; color: #363636; }
.cd-date { font-size: 10px; line-height: 13px; color: #9a9fa9; }

.cal-tile { position: relative; padding: 16px 18px 12px; overflow: hidden; }
.cal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cal-month { font-size: 15px; color: #1c2a24; }
.cal-total {
  margin-left: auto;
  background: #e9f7f2;
  color: #0c8961;
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cal-total.tick { transform: scale(1.14); }
.cal-grid { display: flex; }
.cal-day {
  flex: 1;
  min-width: 0;
  min-height: 196px;
  border-left: 1px solid #f1f3f7;
  border-radius: 10px;
  padding: 6px 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cal-day:first-child { border-left: none; }
.cal-day.today { background: #f2fbf7; box-shadow: inset 0 0 0 1.5px #bfe8d9; }
.cal-dow { font-size: 9px; letter-spacing: 1.3px; color: #9aa6a0; text-transform: uppercase; }
.cal-date { font-size: 17px; line-height: 19px; color: #22302a; }
.cal-day.today .cal-date { color: #0c8961; }
.cal-today-pill {
  width: max-content;
  font-size: 8px;
  letter-spacing: 0.8px;
  background: #0c8961;
  color: #fff;
  border-radius: 7px;
  padding: 1px 6px;
}
.cal-chip {
  border-radius: 9px;
  padding: 5px 7px 4px;
  font-size: 10.5px;
  line-height: 13px;
  color: #fff;
  opacity: 0;
  transform: translateY(-10px) scale(0.92);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.3s ease;
}
.cal-chip.in { opacity: 1; transform: none; }
.cal-chip:hover { box-shadow: 0 8px 14px -10px rgba(20, 60, 45, 0.55); }
.cal-chip .ch-h { display: block; font-size: 9px; opacity: 0.82; margin-top: 1px; }
.cc-green  { background: #0c8961; --cc: #0c8961; }
.cc-purple { background: #6642b9; --cc: #6642b9; }
.cc-blue   { background: #2e5bff; --cc: #2e5bff; }
.cc-coral  { background: #e2574a; --cc: #e2574a; }
.cc-gold   { background: #c98a12; --cc: #c98a12; }
.cal-chip.ghost {
  background: #fff;
  border: 1.3px dashed var(--cc);
  color: var(--cc);
  padding: 3.7px 6px 2.7px;
}
.cal-chip.cc-dead {
  background: #fff;
  border: 1.3px dashed #c00071;
  color: #ba1d8c;
  padding: 3.7px 6px 2.7px;
}
.cal-dtotal { margin-top: auto; font-size: 9.5px; color: #9aa6a0; font-variant-numeric: tabular-nums; }
.cal-toast {
  position: absolute;
  right: 12px;
  bottom: 10px;
  max-width: 275px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #132a20;
  color: #dff2ea;
  border-radius: 13px;
  padding: 8px 13px 8px 8px;
  font-size: 11px;
  line-height: 15px;
  box-shadow: 0 14px 26px -14px rgba(19, 42, 32, 0.6);
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}
.cal-toast.show { opacity: 1; transform: none; }
.cal-toast b { color: #fff; font-weight: 400; }
.ct-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #0c8961;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}
.ct-ico svg { width: 13px; height: 13px; }

/* open sections: reduced motion lands in final state */
@media (prefers-reduced-motion: reduce) {
  .gpa-row, .gpa-school, .cal-chip, .cal-count { opacity: 1; transform: none; transition: none; }
  .gpa-conv.flip { animation: none; }
  .gpa-hint .pulse-dot { animation: none; }
  .cal-toast { transition: none; }
}

/* open sections: mobile single-column restack */
@media (max-width: 720px) {
  .canvas { height: 6560px; }
  .osec { width: 717px; }
  .osec-inner { width: 637px; flex-direction: column; align-items: stretch; gap: 26px; }
  .osec-copy { width: 100%; }
  .osec-title { font-size: 46px; line-height: 44px; }
  .osec-body { font-size: 23px; line-height: 32px; }

  #gpa-band { top: 4270px !important; height: 1000px !important; }
  .gpa-tile { flex-direction: column; padding: 24px 26px 20px; gap: 20px; }
  .gpa-col-l { border-right: none; border-bottom: 1px solid #eef0f5; padding-right: 0; padding-bottom: 18px; }
  .gpa-panel-title { font-size: 12px; }
  .gpa-row { gap: 11px; padding: 9px 0; }
  .gpa-yr { font-size: 11px; }
  .gpa-course { font-size: 17px; }
  .gstep { width: 28px; height: 28px; font-size: 17px; border-radius: 9px; }
  .gpa-pct { font-size: 17px; width: 48px; }
  .gpa-conv { font-size: 16px; width: 48px; }
  .gpa-hint { font-size: 14px; }
  .gpa-omsas-label { font-size: 16px; }
  .gpa-omsas-sub { font-size: 12px; }
  .gpa-big { font-size: 50px; line-height: 50px; }
  .gpa-mono { width: 36px; height: 36px; font-size: 15px; }
  .gpa-sname { font-size: 17px; line-height: 21px; }
  .gpa-srule { font-size: 12px; line-height: 16px; }
  .gpa-sval { font-size: 26px; }
  .gpa-note { font-size: 12px; line-height: 16px; }

  #cal-band { top: 5330px !important; height: 800px !important; }
  .cal-counts { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .cal-count { padding: 9px 18px 9px 14px; }
  .cd-num { font-size: 28px; }
  .cd-lab { font-size: 14px; line-height: 18px; }
  .cd-date { font-size: 12px; }
  .cal-tile { padding: 20px 16px 14px; }
  .cal-month { font-size: 18px; }
  .cal-total { font-size: 14px; }
  .cal-day { min-height: 250px; padding: 7px 4px; }
  .cal-date { font-size: 20px; }
  .cal-chip { font-size: 12px; line-height: 15px; padding: 6px 6px 5px; }
  .cal-chip .ch-h { font-size: 10px; }
  .cal-dtotal { font-size: 11px; }
  .cal-toast { max-width: 300px; font-size: 13px; }

  #download { top: 6190px !important; }
}
