/* vuzio.app landing — friendly and rounded, light only (owner, 2026-10-11).
   Soft grey page, white rounded panels, Nunito. Tokens beyond these live in vuzio.css. */

:root {
  --font-head: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  --font-body: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  --page: #f3f5fa;
  --card: #ffffff;
  --well: #f3f5fa;
  --line: #e6e9f2;
  --ink: #12142b;
  --ink-2: #5d6377;
  --ink-3: #8b91a5;
  --blue: #2f5bff;
  --blue-deep: #1d3fd8;
  --blue-soft: #eaf0ff;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 14px;
  --lift: 0 1px 2px rgba(18, 20, 43, .04), 0 8px 24px -10px rgba(18, 20, 43, .14);
  --pop: 0 2px 6px rgba(18, 20, 43, .06), 0 20px 44px -16px rgba(18, 20, 43, .28);
  color-scheme: light;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--page); color: var(--ink);
  font: 600 15px/22px var(--font-body);
  -webkit-font-smoothing: antialiased; font-feature-settings: normal;
}
::selection { background: #cfdcff; color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
a { color: var(--blue); }
.wrap { width: min(1080px, 100% - 24px); margin-inline: auto; }
.accent { color: var(--blue); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; z-index: 60; background: #fff; padding: 8px 12px; border-radius: 12px; }
.panel { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--lift); }
.title-xl { margin: 0; font: 900 30px/34px var(--font-head); letter-spacing: -0.02em; text-wrap: balance; }
.title-lg { margin: 0; font: 900 26px/30px var(--font-head); letter-spacing: -0.02em; }
.muted-line { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
main > section { margin-top: 16px; }
main > section.features, main > section.how, main > section.intro { margin-top: 64px; }

/* ---------- buttons ---------- */
.btn-main {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; font: 800 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn-main:hover { text-decoration: none; background: #26294a; }
.btn-main:active { transform: scale(.97); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef1f8; }
.btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-outline:hover { background: rgba(255, 255, 255, .08); }
.icon-btn {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--well); color: var(--ink); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.icon-btn:hover { background: #e7eaf3; }
.icon-btn:active { transform: scale(.94); }
.icon-btn[disabled] { opacity: .35; cursor: default; }
.link-btn { border: 0; background: none; padding: 6px 4px; font: 700 14px/20px var(--font-body); color: var(--ink-2); cursor: pointer; }
.link-btn:hover { color: var(--blue); }

/* ---------- header: a floating pill ---------- */
.site-head { position: sticky; top: 0; z-index: 40; padding: 10px 12px 0; }
.head-bar {
  display: flex; align-items: center; gap: 12px; width: min(1080px, 100%); margin: 0 auto;
  height: 56px; padding: 0 8px 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .86); box-shadow: var(--lift);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
}
.logo { gap: 8px; }
.logo-word { font: 800 20px/1 "Manrope", var(--font-head); letter-spacing: -0.03em; }
.head-nav { display: none; gap: 2px; margin: 0 auto; }
.head-nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.head-nav a:hover { color: var(--ink); background: var(--well); }
.head-cta {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--blue); color: #fff; font: 800 14px/1 var(--font-body); text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.head-cta:hover { background: var(--blue-deep); text-decoration: none; }
.head-cta:active { transform: scale(.97); }

/* ---------- finder ---------- */
.finder { position: relative; margin-top: 14px; padding: 26px 14px 16px; }
.finder h1 { margin: 0; text-align: center; font: 900 30px/34px var(--font-head); letter-spacing: -0.025em; text-wrap: balance; }
.hero-sub { margin: 8px 0 0; text-align: center; color: var(--ink-2); font-size: 15px; }
.finder-top { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 12px; position: relative; }
.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--well); border-radius: 999px; }
.seg button {
  min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 800 14px/1 var(--font-body); color: var(--ink-2);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.seg button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(18, 20, 43, .1); }

.steps { display: grid; gap: 10px; padding: 10px; border-radius: var(--r-lg); background: var(--well); }
.step { position: relative; min-width: 0; }
.combo { position: relative; }
.combo-input {
  width: 100%; height: 52px; padding: 0 44px 0 44px;
  border: 0; border-radius: var(--r-md); background: #fff; box-shadow: 0 1px 2px rgba(18, 20, 43, .06);
  font: 700 16px/1 var(--font-body); color: var(--ink); text-overflow: ellipsis;
  transition: box-shadow var(--dur-fast) var(--ease-out);
}
.combo-input::placeholder { color: var(--ink-3); font-weight: 700; }
.combo-input:focus { outline: none; box-shadow: 0 0 0 2px var(--blue), 0 4px 14px -4px rgba(47, 91, 255, .35); }
.combo-input:disabled { cursor: not-allowed; background: rgba(255, 255, 255, .55); box-shadow: none; }
.combo-ic { position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.step.is-done .combo-ic, .combo:focus-within .combo-ic { color: var(--blue); }
.combo-ic { top: 17px; }
.combo-clear {
  position: absolute; right: 6px; top: 6px; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: none; color: var(--ink-3); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.combo-clear:hover { background: var(--well); color: var(--ink); }
.combo-clear[hidden] { display: none; }

/* examples under the search: one tap picks a university */
.quick { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; }
.quick[hidden] { display: none; }
.quick-label { color: var(--ink-2); font-size: 13.5px; margin-right: 2px; }
.quick-chip {
  min-height: 34px; padding: 0 13px; border: 0; border-radius: 999px; background: var(--well); cursor: pointer;
  font: 800 13.5px/34px var(--font-body); color: var(--ink); text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.quick-chip:hover { background: var(--blue-soft); color: var(--blue); text-decoration: none; }
.quick-chip:active { transform: scale(.96); }
.combo-list {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px);
  max-height: min(320px, 50vh); overflow: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px; list-style: none;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--pop);
  animation: vz-drop var(--dur-base) var(--ease-out);
}
.combo-list li[role="option"] {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 8px 12px; border-radius: 12px; cursor: pointer;
  font-size: 15px; line-height: 20px; font-weight: 700;
}
.combo-list li[role="option"] small { color: var(--ink-3); font-size: 13px; font-weight: 600; white-space: nowrap; }
.combo-list .opt-main { min-width: 0; display: grid; }
.combo-list .opt-main span { color: var(--ink-2); font-size: 13px; line-height: 17px; font-weight: 600; }
.combo-list li[role="option"]:hover { background: var(--well); }
.combo-list li.is-active { background: var(--blue-soft); }
.combo-list .opt-note { padding: 12px; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.finder-hint { margin: 12px 0 0; text-align: center; color: var(--ink-2); font-size: 13.5px; }
.finder-hint[hidden] { display: none; }
.finder-hint.is-error { color: var(--error); }

.finder-summary {
  display: none; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border: 0; border-radius: var(--r-md); background: var(--well);
  text-align: left; cursor: pointer; font: inherit; color: var(--ink);
}
.finder-summary-txt { display: grid; min-width: 0; }
.finder-summary-txt b { font: 900 17px/22px var(--font-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.finder-summary-txt span { font-size: 13px; line-height: 18px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.finder-summary-edit { flex: none; font: 800 14px/20px var(--font-body); color: var(--blue); }

/* ---------- the week ---------- */
.week { margin-top: 16px; animation: vz-rise var(--dur-slow) var(--ease-out); }
.week-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px; }
.week-uni { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.week-group { margin: 0; font: 900 20px/26px var(--font-head); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.week-nav { display: flex; align-items: center; gap: 6px; }
.pill-btn {
  min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--blue-soft); color: var(--blue);
  font: 800 13.5px/1 var(--font-body); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.pill-btn:hover { background: #dce6ff; }
.pill-btn:active { transform: scale(.96); }
.pill-btn[hidden] { display: none; }
.toast {
  position: fixed; z-index: 70; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  margin: 0; padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff;
  font: 800 14px/20px var(--font-body); box-shadow: var(--pop); white-space: nowrap;
  animation: vz-rise var(--dur-base) var(--ease-out);
}
.toast[hidden] { display: none; }
.week-range { min-width: 108px; text-align: center; font: 800 14px/20px var(--font-body); font-variant-numeric: tabular-nums; }
.days { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.days button {
  display: grid; justify-items: center; gap: 1px; padding: 7px 2px 8px; min-width: 0;
  border: 0; border-radius: var(--r-sm); background: var(--well); cursor: pointer;
  font: 700 11.5px/14px var(--font-body); color: var(--ink-2);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.days button b { font: 900 17px/21px var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.days button .cnt { font: 800 10.5px/13px var(--font-body); color: var(--blue); font-variant-numeric: tabular-nums; }
.days button .cnt.is-none { color: var(--ink-3); }
.days button:hover { background: #e9ecf5; }
.days button:active { transform: scale(.96); }
.days button[aria-selected="true"] { background: var(--blue); color: rgba(255, 255, 255, .85); }
.days button[aria-selected="true"] b { color: #fff; }
.days button[aria-selected="true"] .cnt { color: rgba(255, 255, 255, .85); }
.days button.is-today:not([aria-selected="true"]) { box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); }

.day { display: grid; gap: 8px; margin-top: 10px; min-height: 76px; }
.day-empty {
  display: grid; place-items: center; text-align: center; gap: 2px; padding: 22px 14px;
  border-radius: var(--r-md); background: var(--well); color: var(--ink-2); font-size: 14px;
}
.day-empty b { color: var(--ink); font: 800 16px/22px var(--font-head); }
.day-note { margin: 0; padding: 10px 14px; border-radius: var(--r-sm); background: #fff6e5; color: #8a5300; font-size: 13px; line-height: 18px; }
.day-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 2px 4px 0; font-size: 13.5px; color: var(--ink-2); }
.day-sum b { color: var(--ink); font: 800 14px/20px var(--font-head); }
.day-sum span { font-variant-numeric: tabular-nums; }
.gap { display: flex; align-items: center; gap: 8px; margin: 0; padding: 2px 16px; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.gap .icon { width: 15px; height: 15px; color: var(--ink-3); }
.day-foot { margin: 2px 4px 0; font-size: 12.5px; line-height: 17px; color: var(--ink-2); }
.day-empty .btn { margin-top: 10px; }
.class-body { min-width: 0; }
.lesson { animation: vz-rise var(--dur-slow) var(--ease-out) both; }
.lesson:nth-child(2) { animation-delay: 50ms; }
.lesson:nth-child(3) { animation-delay: 100ms; }
.lesson:nth-child(n+4) { animation-delay: 150ms; }
.finder .class-card {
  grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 12px 14px 12px 16px;
  border: 0; border-radius: var(--r-md); background: var(--well);
}
.finder .class-card::before { width: 4px; top: 12px; bottom: 12px; border-radius: 0 4px 4px 0; }
.finder .class-card.is-now { background: #e9f8ef; }
.finder .class-time strong { font: 900 15px/20px var(--font-head); }
.finder .class-time span { font-size: 12.5px; line-height: 17px; color: var(--ink-2); }
.finder .class-title { font: 800 15px/20px var(--font-head); }
.finder .class-card .badge { height: 22px; padding: 0 9px; font: 800 11px/1 var(--font-body); background: #fff; }
.class-line { display: flex; gap: 5px; align-items: flex-start; margin: 3px 0 0; min-width: 0; overflow-wrap: anywhere; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.class-line .icon { width: 14px; height: 14px; margin-top: 2px; flex: none; }
.class-sub { color: var(--purple-text); }
.skeleton { height: 70px; border-radius: var(--r-md); background: linear-gradient(90deg, #eef1f7 0%, #f7f8fc 50%, #eef1f7 100%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.week-cta {
  display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 16px 12px 12px;
  border-radius: var(--r-md); background: var(--blue); color: #fff; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.week-cta:hover { background: var(--blue-deep); text-decoration: none; }
.week-cta:active { transform: scale(.99); }
.week-cta-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18); flex: none; }
.week-cta-txt { display: grid; flex: 1; min-width: 0; }
.week-cta-txt b { font: 800 15px/20px var(--font-body); }
.week-cta-txt span { font-size: 13px; line-height: 18px; opacity: .85; }

/* ---------- intro: the bot in one look ---------- */
.intro { display: grid; gap: 28px; align-items: center; }
.intro-copy { text-align: center; }
.lead { margin: 12px auto 18px; max-width: 30em; color: var(--ink-2); font-size: 16px; line-height: 24px; }
.facts { display: grid; gap: 8px; justify-items: center; margin: 0 0 22px; padding: 0; list-style: none; color: var(--ink-2); font-size: 14.5px; line-height: 21px; }
.facts li { position: relative; padding-left: 14px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.facts b { color: var(--ink); font-weight: 800; }
.intro-visual { position: relative; display: grid; place-items: center; padding: 8px 0 16px; }
.phone {
  width: min(300px, 82vw); border-radius: 40px; padding: 8px; background: #12142b;
  box-shadow: 0 30px 60px -28px rgba(18, 20, 43, .45);
}
.phone-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 32px 32px 0 0; background: #fff; }
.phone-bar img { border-radius: 50%; }
.phone-bar b { display: block; font-size: 15px; line-height: 18px; }
.phone-bar span { display: block; font-size: 12.5px; line-height: 15px; color: var(--ink-3); font-weight: 600; }
.phone-chat {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 400px;
  padding: 12px 10px 0; border-radius: 0 0 32px 32px; overflow: hidden; background: #dfe8f1;
}

/* Telegram bubbles: used in the phone and in the feature cards */
.msg {
  align-self: flex-start; max-width: 94%; background: #fff; border-radius: 16px 16px 16px 6px;
  padding: 8px 11px 7px; font: 500 13px/18px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #10141a;
  box-shadow: 0 1px 1px rgba(16, 20, 26, .08); overflow-wrap: anywhere; text-align: left;
}
.msg b { font-weight: 600; }
.msg time { float: right; margin: 6px 0 0 10px; font-size: 11px; line-height: 14px; color: #8a96a3; }
.msg-alert { box-shadow: 0 0 0 1.5px #ffc2c2, 0 1px 1px rgba(16, 20, 26, .08); }
.msg-ghost { box-shadow: 0 0 0 1.5px #b9ccff, 0 1px 1px rgba(16, 20, 26, .08); }
.ghost-note { font-size: 11.5px; font-weight: 600; color: #3390ec; }
.kb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 8px; clear: both; }
.kb span { display: grid; place-items: center; min-height: 30px; padding: 0 4px; border-radius: 9px; background: #edf2f7; font-size: 11.5px; font-weight: 500; color: #2a7bd6; text-align: center; }
.reply-kb { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 2px -10px 0; padding: 7px; background: #f1f3f6; }
.reply-kb span { display: grid; place-items: center; min-height: 34px; border-radius: 9px; background: #fff; font: 500 12.5px/1 system-ui, -apple-system, sans-serif; box-shadow: 0 1px 0 rgba(16, 20, 26, .08); }

/* messages arrive like messages, once, when the phone comes into view */
.js-anim .phone-chat > * { opacity: 0; transform: translateY(10px) scale(.97); transform-origin: 0 100%; }
.js-anim .intro.is-in .phone-chat > * { opacity: 1; transform: none; transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); }
.js-anim .intro.is-in .phone-chat > :nth-child(2) { transition-delay: 700ms; }
.js-anim .intro.is-in .phone-chat > :nth-child(3) { transition-delay: 1000ms; }

/* ---------- feature cards ---------- */
.features .title-xl { margin-bottom: 24px; }
.bento { display: grid; gap: 12px; }
.card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-width: 0;
  padding: 22px 20px 20px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--lift); overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); box-shadow: var(--pop); }
}
.card h3 { margin: 0; font: 900 21px/25px var(--font-head); letter-spacing: -0.015em; }
.card p { margin: 6px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 21px; }
.card-art { display: grid; gap: 8px; justify-items: start; padding: 14px; border-radius: var(--r-lg); background: #dfe8f1; }
.card-blue { background: linear-gradient(160deg, #3d6bff, #2447e6); color: #fff; }
.card-blue p { color: rgba(255, 255, 255, .82); }
.card-blue .card-art { background: rgba(255, 255, 255, .16); }
.card-lilac { background: #efeaff; }
.card-lilac .card-art { background: #fff; }
.card-mint { background: #e6f7ee; }
.card-mint .card-art { background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; background: var(--well); }
.chip { padding: 8px 12px; border-radius: 999px; background: #fff; font: 800 13px/1 var(--font-body); color: var(--ink-2); }
.chip.is-on { background: var(--blue); color: #fff; }
.ev { display: grid; grid-template-columns: 44px 1fr; width: 100%; padding: 9px 12px; border-radius: 12px; background: #fff; box-shadow: inset 4px 0 0 var(--blue); font-size: 13.5px; line-height: 18px; }
.ev b { font-weight: 900; padding-left: 4px; }
.ev-green { box-shadow: inset 4px 0 0 var(--success); }

/* ---------- how ---------- */
.how .title-xl { margin-bottom: 24px; }
.how-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.how-list li { padding: 20px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--lift); }
.how-n { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font: 900 16px/1 var(--font-head); }
.how-list h3 { margin: 0 0 4px; font: 900 18px/23px var(--font-head); }
.how-list p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 21px; }
.how-note { margin: 16px auto 0; max-width: 36em; text-align: center; color: var(--ink-2); font-size: 14px; line-height: 21px; }

/* ---------- universities ---------- */
.unis-panel { padding: 24px 18px; }
.unis-panel .title-lg { margin-bottom: 14px; }
.unis-tools { display: grid; gap: 8px; margin-bottom: 20px; }
.unis-search { max-width: 420px; min-height: 48px; border: 0; border-radius: 999px; background: var(--well); color: var(--ink-3); }
.unis-search:focus-within { box-shadow: 0 0 0 2px var(--blue); }
.unis-search input { font: 700 16px/1 var(--font-body); }
.unis-lead { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.unis-groups { display: grid; gap: 24px; }
.unis-country h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; font: 900 18px/24px var(--font-head); }
.unis-country h3 small { font: 700 13px/18px var(--font-body); color: var(--ink-3); }
.unis { display: grid; margin: 0; }
.unis > div { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); align-content: start; }
.unis > div.is-wide { grid-column: 1 / -1; }
.unis dt { font: 800 15px/21px var(--font-head); }
.unis dd { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 22px; font-weight: 600; }
.unis dd a { color: var(--ink-2); text-decoration: none; border-radius: 4px; }
.unis dd a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.unis > div.is-folded, .unis > div.is-hidden, .unis-country.is-hidden { display: none; }
.unis-more { margin-top: 18px; border-radius: 999px; font-weight: 800; }
.unis-empty { color: var(--ink-2); margin: 0; }

/* ---------- faq ---------- */
.faq-panel { display: grid; gap: 16px; padding: 24px 18px; }
.faq { display: grid; gap: 8px; }
.faq details { border-radius: var(--r-md); background: var(--well); transition: background-color var(--dur-fast) var(--ease-out); }
.faq details[open] { background: var(--blue-soft); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 14px 18px; font: 800 15.5px/21px var(--font-head); }
.faq summary .chev { flex: none; color: var(--blue); transition: transform var(--dur-base) var(--ease-out); }
details[open] > summary .chev { transform: rotate(45deg); }
.faq .details-body { padding: 0 18px 16px; }
.faq .details-body p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 22px; }

/* ---------- final ---------- */
.final {
  display: grid; justify-items: center; gap: 10px; text-align: center; padding: 36px 20px;
  border-radius: var(--r-xl); background: var(--ink); color: #fff;
}
.final img { border-radius: 16px; }
.final h2 { margin: 6px 0 0; font: 900 26px/30px var(--font-head); letter-spacing: -0.02em; }
.final p { margin: 0; max-width: 30em; color: rgba(255, 255, 255, .72); }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }

/* ---------- a university's page ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; padding: 0 6px; font-size: 13.5px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 700; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { color: var(--ink-3); }
.crumbs [aria-current] { color: var(--ink); font-weight: 800; }
.crumbs + section .finder { margin-top: 10px; }
.uni-about { display: grid; gap: 18px; padding: 24px 18px; }
.uni-facts { display: grid; margin: 0; }
.uni-facts > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.uni-facts dt { color: var(--ink-2); font-size: 13.5px; line-height: 18px; }
.uni-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.uni-cta { display: grid; gap: 8px; justify-items: start; }
.uni-cta .muted-line { margin: 0; }
.title-sm { margin: 8px 0 0; font: 900 18px/24px var(--font-head); }
.uni-others { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 0; padding: 0; list-style: none; }
.uni-others a { display: inline-block; padding: 0 13px; border-radius: 999px; background: var(--well); color: var(--ink); font: 800 13.5px/34px var(--font-body); text-decoration: none; }
.uni-others a:hover { background: var(--blue-soft); color: var(--blue); }
.uni-all { margin: 0; font-weight: 800; }
.lost { display: grid; justify-items: center; gap: 10px; margin-top: 16px; padding: 48px 20px; text-align: center; }
.lost h1 { margin: 0; font: 900 30px/36px var(--font-head); letter-spacing: -0.02em; }
.btn-soft { background: var(--blue-soft); color: var(--blue); }
.btn-soft:hover { background: #dce6ff; }

/* ---------- footer ---------- */
.site-foot { padding: 28px 0 36px; font-size: 13.5px; color: var(--ink-2); }
.foot-row { display: grid; gap: 12px; }
.foot-row p { margin: 0; }
.foot-row .logo-word { font-size: 18px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-nav a { color: var(--ink); font-weight: 700; text-decoration: none; }
.foot-nav a:hover { color: var(--blue); }

/* ---------- one gentle entrance per block, only once JS opted in ---------- */
.js-anim [data-reveal]:not(.intro) { opacity: 0; transform: translateY(18px); }
.js-anim [data-reveal].is-in:not(.intro) { opacity: 1; transform: none; transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }

/* ---------- phones: the finder folds once a week is open ---------- */
@media (max-width: 719px) {
  .head-cta span { display: none; }
  .head-cta { width: 40px; padding: 0; justify-content: center; }
  .finder.is-compact .finder-summary { display: flex; }
  .finder.is-compact .steps, .finder.is-compact .finder-top, .finder.is-compact .finder-hint { display: none; }
  .finder.is-compact .week-title { display: none; }
  .finder.is-compact .week-nav { width: 100%; justify-content: space-between; }
  .finder.is-compact .week { margin-top: 12px; }
}

/* ---------- tablets and up ---------- */
@media (min-width: 720px) {
  .wrap { width: min(1080px, 100% - 40px); }
  .site-head { padding: 14px 20px 0; }
  .finder { padding: 36px 28px 24px; }
  .finder h1 { font-size: 40px; line-height: 46px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .uni-about { padding: 32px; }
  .uni-facts { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .title-xl { font-size: 36px; line-height: 42px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .how-list { grid-template-columns: repeat(3, 1fr); }
  .unis-panel, .faq-panel { padding: 32px; }
  .unis { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .foot-row { grid-template-columns: auto auto 1fr; align-items: center; gap: 24px; }
  .foot-row p { text-align: right; }
  .final { padding: 48px 32px; }
  .final h2 { font-size: 32px; line-height: 38px; }
}

/* ---------- desktop ---------- */
@media (min-width: 980px) {
  .head-nav { display: flex; }
  .head-cta { margin-left: 0; }
  .finder { padding: 44px 40px 28px; }
  .finder h1 { font-size: 46px; line-height: 52px; }
  .hero-sub { font-size: 16px; }
  .steps { grid-template-columns: 1.15fr 1fr; max-width: 820px; margin-inline: auto; }
  .finder .week { max-width: 820px; margin-inline: auto; }
  .intro { grid-template-columns: 1fr 1fr; gap: 40px; }
  .intro-copy { text-align: left; }
  .lead { margin-left: 0; }
  .facts { justify-items: start; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .card.span-2 { grid-column: span 2; flex-direction: row; align-items: center; }
  .card.span-2 .card-copy { flex: 1; }
  .card.span-2 .card-art { flex: 1.1; }
  .unis { grid-template-columns: repeat(3, 1fr); }
  .faq-panel { grid-template-columns: 1fr 1.7fr; gap: 40px; align-items: start; padding: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim [data-reveal], .js-anim .phone-chat > * { opacity: 1 !important; transform: none !important; }
}
