/* MedEdfill – dark navy theme with colourful gradients, glass cards and a five-tab bottom bar. */
:root {
  color-scheme: dark;
  --bg: #070b16;
  --card: rgba(255, 255, 255, .055);
  --card-hi: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .11);
  --text: #eef3ff;
  --muted: #9fb0d0;
  --teal: #2dd4bf; --sky: #38bdf8; --violet: #a78bfa; --pink: #f472b6; --amber: #fbbf24; --green: #4ade80; --rose: #fb7185;
  --grad: linear-gradient(90deg, #5eead4, #60a5fa 52%, #c4b5fd);
  --ios: cubic-bezier(.32, .72, 0, 1);
  --spring: cubic-bezier(.34, 1.56, .5, 1);
  --disp: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Inter, system-ui, sans-serif;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Inter, system-ui, "Segoe UI", Roboto, sans-serif;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root { --spring: linear(0, .2 4%, .55 9%, .93 15%, 1.1 20%, 1.12 25%, 1.05 32%, .98 40%, .985 50%, 1.004 62%, 1 80%, 1); }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg); font: 500 17px/1.5 var(--font); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; padding-bottom: calc(104px + env(safe-area-inset-bottom));
}
/* colour glow behind everything */
body::before {
  content: ""; position: fixed; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 38%, rgba(37, 99, 235, .30), transparent 70%),
    radial-gradient(45% 35% at 8% 6%, rgba(45, 212, 191, .26), transparent 70%),
    radial-gradient(45% 38% at 96% 22%, rgba(167, 139, 250, .26), transparent 70%),
    radial-gradient(50% 40% at 85% 96%, rgba(244, 114, 182, .20), transparent 70%),
    radial-gradient(45% 35% at 4% 88%, rgba(251, 191, 36, .13), transparent 70%);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(-2%, 0, 0) scale(1); } to { transform: translate3d(2%, -2%, 0) scale(1.08); } }
.wrap { width: min(1000px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.hdr { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top);
  background: rgba(9, 14, 30, .72); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); min-width: 0; }
.logo { flex: none; width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; font-size: 28px;
  background: linear-gradient(135deg, #2dd4bf, #3b82f6 60%, #7c3aed); box-shadow: 0 8px 22px rgba(59, 130, 246, .4), inset 0 1px 0 rgba(255,255,255,.4); }
.brand-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand-name { font: 800 26px var(--disp); letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.count { flex: none; color: var(--muted); font: 600 17px var(--disp); }
.count b { color: var(--teal); font-weight: 800; font-size: 20px; }

/* titles */
.panel { padding-top: 26px; }
.panel[hidden] { display: none; }
.panel.viewin { animation: viewin .55s var(--ios) both; }
@keyframes viewin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.title { margin: 0 0 10px; font: 800 clamp(34px, 9vw, 52px)/1.06 var(--disp); letter-spacing: -.03em; }
.title .emo { display: inline-block; margin-right: 4px; animation: bob 3.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-6deg); } }
.grad { background: linear-gradient(90deg, #5eead4, #60a5fa, #c4b5fd, #f9a8d4, #5eead4); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 9s linear infinite; }
@keyframes flow { to { background-position: -250% 0; } }
.sub { margin: 0 0 20px; color: var(--muted); font-size: 18px; max-width: 54ch; }
.section { margin: 30px 2px 12px; font: 700 20px var(--disp); letter-spacing: -.01em; }
.hint { color: var(--muted); font: 500 14px var(--font); margin-left: 6px; }
.fine { margin: 14px 2px 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* course chips */
.chips { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px 18px; padding: 4px 16px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { --cc: #2dd4bf; flex: none; appearance: none; cursor: pointer; font: 700 15.5px var(--disp); color: var(--text);
  padding: 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--cc) 14%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--cc) 45%, transparent);
  transition: transform .5s var(--spring), background .3s, color .3s, box-shadow .3s; }
.chip:active { transform: scale(.92); }
.chip[aria-pressed="true"] { color: #06101f; background: var(--cc); border-color: var(--cc); box-shadow: 0 6px 20px color-mix(in srgb, var(--cc) 55%, transparent); transform: translateY(-2px); }
.chip small { font-weight: 600; opacity: .75; margin-left: 4px; }

/* fields */
.filters { display: grid; gap: 12px; margin-bottom: 12px; }
.filters.two { grid-template-columns: 1fr 1fr; }
.field { display: block; position: relative; }
.flab { display: block; margin: 0 4px 6px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
input[type="search"], input[type="number"], select {
  width: 100%; min-height: 56px; padding: 14px 18px; font: 500 17px var(--font); color: var(--text);
  background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .25s, box-shadow .25s, background .25s, transform .4s var(--spring); }
input::placeholder { color: #7d8db0; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
select { padding-right: 46px; cursor: pointer;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239fb0d0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E") no-repeat right 16px center; }
select option { color: #000; background: #fff; }
input:focus, select:focus { border-color: var(--sky); background-color: var(--card-hi); box-shadow: 0 0 0 4px rgba(56, 189, 248, .18); }
@media (min-width: 760px) { .filters:not(.two) { grid-template-columns: 2fr 1fr 1fr; } }

.showing { margin: 6px 4px 14px; color: var(--muted); font-size: 14.5px; }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.ccard { --cc: #38bdf8; position: relative; overflow: hidden; border-radius: 26px; background: var(--card); border: 1px solid var(--line);
  transition: transform .5s var(--spring), border-color .3s, background .3s; }
.ccard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--cc), transparent 85%); opacity: .95; }
.ccard:hover { border-color: color-mix(in srgb, var(--cc) 50%, transparent); }
.ccard.enter, .ncard.enter { animation: rise .6s var(--spring) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
.ch { margin: 0; font: inherit; }
.cname { display: block; }
.chead { display: block; width: 100%; text-align: left; appearance: none; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 20px 20px 18px; }
.chead:active { background: var(--card-hi); }
.r1 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.city { color: var(--muted); font-size: 16px; }
.chev { margin-left: auto; width: 24px; height: 24px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  transform: rotate(90deg); transition: transform .5s var(--spring); }
.ccard.open .chev { transform: rotate(-90deg); }
.cname { margin: 0 0 8px; font: 700 21px/1.25 var(--disp); letter-spacing: -.015em; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; }
.badge { --bc: #2dd4bf; display: inline-block; font: 700 14.5px var(--font); padding: 5px 14px; border-radius: 999px; color: var(--bc);
  background: color-mix(in srgb, var(--bc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--bc) 45%, transparent); white-space: nowrap; }
.t-gov { --bc: #2dd4bf; } .t-gmers { --bc: #38bdf8; } .t-mun { --bc: #fbbf24; } .t-pvt { --bc: #f0abfc; }
.cpill { --bc: #fb7185; font-size: 13px; padding: 3px 11px; }
.qchip { font: 600 12.5px var(--font); padding: 3px 9px; border-radius: 8px; background: var(--card-hi); color: var(--text); }
.cbody { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ios); }
.ccard.open .cbody { grid-template-rows: 1fr; }
.cinner { overflow: hidden; min-height: 0; }
.cpad { padding: 4px 20px 20px; border-top: 1px solid var(--line); }
.qtitle { margin: 16px 0 8px; font: 700 15px var(--disp); color: var(--cc); }
.ctable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ctable th { text-align: left; padding: 6px 4px; color: var(--muted); font: 600 12.5px var(--font); letter-spacing: .05em; text-transform: uppercase; }
.ctable td { padding: 9px 4px; border-top: 1px solid var(--line); vertical-align: top; }
.ctable td:first-child { color: var(--muted); font-weight: 600; width: 22%; }
.ctable b { display: block; font: 800 18px var(--disp); }
.ctable small { color: var(--muted); font-size: 12px; font-weight: 500; }
.note-tiny { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; }

/* neet matcher */
.form { display: grid; gap: 14px; }
.scorebox { padding: 6px 4px 2px; }
.lbl { display: block; color: var(--muted); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.lbl small { text-transform: none; letter-spacing: 0; margin-left: 6px; font-weight: 500; }
input.bigscore { min-height: 84px; margin: 6px 0 4px; padding: 0 4px; border: 0; border-radius: 0; background: none; box-shadow: none; font: 800 64px var(--disp);
  letter-spacing: -.03em; background-image: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
input.bigscore:focus { background-color: transparent; box-shadow: none; border: 0; }
input.bigscore::placeholder { -webkit-text-fill-color: #3b4a6e; color: #3b4a6e; }
.range { --p: 50%; width: 100%; height: 34px; margin: 0; padding: 0; min-height: 0; background: transparent; border: 0; box-shadow: none; appearance: none; -webkit-appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 6px; background: linear-gradient(90deg, #2dd4bf, #60a5fa var(--p), rgba(255,255,255,.12) var(--p)); }
.range::-moz-range-track { height: 8px; border-radius: 6px; background: rgba(255,255,255,.12); }
.range::-moz-range-progress { height: 8px; border-radius: 6px; background: linear-gradient(90deg, #2dd4bf, #60a5fa); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: #fff; border: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45), 0 0 0 5px rgba(96, 165, 250, .28); transition: transform .4s var(--spring); }
.range::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 4px 14px rgba(0,0,0,.45); }
.range:active::-webkit-slider-thumb { transform: scale(1.25); }
.error { color: #fda4af; margin: 12px 4px 0; font-size: 15px; font-weight: 600; }
.summary { margin: 26px 4px 12px; font: 700 19px/1.3 var(--disp); letter-spacing: -.01em; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 16px; padding: 14px 18px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line); cursor: pointer; font-weight: 600; }
.switch { flex: none; position: relative; width: 54px; height: 32px; min-height: 0; padding: 0; border-radius: 16px; background: rgba(255,255,255,.16); border: 0;
  margin: 0; appearance: none; -webkit-appearance: none; cursor: pointer; transition: background .3s var(--ios); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.35); transition: transform .4s var(--spring); }
.switch:checked { background: linear-gradient(90deg, #2dd4bf, #3b82f6); }
.switch:checked::after { transform: translateX(22px); }
.ncard { --cc: #38bdf8; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 20px; border-radius: 26px;
  background: var(--card); border: 1px solid var(--line); }
.ncard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--sc, var(--sky)); }
.ncard.s-eligible { --sc: #4ade80; } .ncard.s-close { --sc: #fbbf24; } .ncard.s-below { --sc: #64748b; }
.ncard .r1 { grid-column: 1 / -1; margin-bottom: 2px; }
.ncard .cname { grid-column: 1; margin: 0; font-size: 19px; }
.status { align-self: start; justify-self: end; font: 800 13.5px var(--disp); padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.status.eligible { background: rgba(74, 222, 128, .18); color: #86efac; border: 1px solid rgba(74, 222, 128, .5); }
.status.close { background: rgba(251, 191, 36, .16); color: #fcd34d; border: 1px solid rgba(251, 191, 36, .5); }
.status.below { background: rgba(148, 163, 184, .14); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, .35); }
.ncard .yrs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: 15px; margin-top: 4px; }
.ncard .yrs b { color: var(--text); font: 800 17px var(--disp); }
.ncard .mg { grid-column: 1 / -1; font-size: 15px; font-weight: 600; }
.ncard .fb { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.legend { margin: 20px 4px 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: baseline; }
.dot.ok { background: #4ade80; } .dot.close { background: #fbbf24; margin-left: 8px; }
.empty { margin: 22px 8px; text-align: center; color: var(--muted); }

/* colourful tiles */
.tiles { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 8px 16px 28px; margin: -4px -16px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tiles::-webkit-scrollbar { display: none; }
.tile { --c1: #2b9fe3; --c2: #0d3b5c; position: relative; flex: none; scroll-snap-align: center; overflow: hidden; width: min(78vw, 280px); min-height: 300px; padding: 20px;
  border-radius: 32px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, var(--c1), var(--c2));
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35); transition: transform .55s var(--spring); }
.tile:active { transform: scale(.96); }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.05) 40%, rgba(255,255,255,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.tile .menu { position: absolute; top: 20px; right: 20px; width: 30px; height: 30px; stroke: rgba(255,255,255,.9); stroke-width: 2; fill: none; stroke-linecap: round; }
.tile .big { position: absolute; left: 20px; top: 24px; width: 104px; height: 104px; fill: none; stroke: rgba(255,255,255,.55); stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { position: relative; margin: 0 0 8px; font: 800 21px/1.15 var(--disp); letter-spacing: -.02em; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.tile p { position: relative; margin: 0; font-size: 14px; line-height: 1.38; font-weight: 500; opacity: .93; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.tile.green { --c1: #26b843; --c2: #09420f; } .tile.blue { --c1: #30a4ea; --c2: #0b3556; } .tile.indigo { --c1: #5560f0; --c2: #0b1148; }
.tile.orange { --c1: #ffa51a; --c2: #5c3000; } .tile.teal { --c1: #1fbfb3; --c2: #053f3a; } .tile.pink { --c1: #ff5f8f; --c2: #570d29; }

/* link lists */
.note { margin: 0; font-weight: 600; line-height: 1.5; }
.links { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; padding: 16px 18px; border-radius: 22px; background: var(--card);
  border: 1px solid var(--line); transition: transform .5s var(--spring), border-color .3s; }
.link:active { transform: scale(.97); }
.link:hover { border-color: rgba(96, 165, 250, .6); }
.link .main { flex: 1; min-width: 0; }
.link h3 { margin: 0 0 2px; font: 700 18px var(--disp); }
.link p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.tags { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font: 700 11.5px var(--font); padding: 3px 10px; border-radius: 999px; background: rgba(45, 212, 191, .15); color: #5eead4; border: 1px solid rgba(45, 212, 191, .4); }
.link .go { width: 18px; height: 18px; flex: none; stroke: var(--muted); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* about */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 6px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { --cc: #2dd4bf; padding: 18px 16px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--cc) 40%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--cc) 24%, transparent), color-mix(in srgb, var(--cc) 5%, transparent)); }
.stat b { display: block; font: 800 40px/1 var(--disp); color: var(--cc); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-weight: 600; font-size: 14.5px; }
.prose p { margin: 0 0 12px; color: #d3def5; font-size: 16px; line-height: 1.55; font-weight: 500; }
.prose p:last-child { margin-bottom: 0; }
.prose b { color: var(--text); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 70px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); color: #d3def5; font-size: 15.5px; line-height: 1.45; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 13px;
  display: grid; place-items: center; font: 800 18px var(--disp); color: #06101f; background: var(--grad); }
.steps b { color: var(--text); }

/* bottom navigation */
.nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 0 8px env(safe-area-inset-bottom);
  background: rgba(10, 16, 34, .8); -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%); border-top: 1px solid var(--line); }
.nav-in { position: relative; display: flex; max-width: 640px; margin: 0 auto; }
.nav button { flex: 1 1 0; appearance: none; border: 0; background: none; cursor: pointer; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 2px 12px; font: 600 14px var(--disp); transition: color .3s; }
.nav .emo { font-size: 28px; line-height: 1; filter: saturate(.85) opacity(.8); transition: transform .5s var(--spring), filter .3s; }
.nav button[aria-selected="true"] { color: var(--teal); }
.nav button[aria-selected="true"] .emo { transform: translateY(-3px) scale(1.18); filter: none; }
.nav button:active .emo { transform: scale(.85); }
.ind { position: absolute; top: 0; left: 0; width: 56px; height: 4px; border-radius: 0 0 6px 6px; background: var(--grad); box-shadow: 0 4px 16px rgba(45, 212, 191, .7);
  transition: left .6s var(--spring), width .6s var(--spring); }

/* skip link, noscript */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 12px 18px; border-radius: 14px; background: #fff; color: #06101f; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.noscript { margin: 0; padding: 12px 16px; text-align: center; background: rgba(251, 191, 36, .16); color: #fcd34d; font-size: 15px; }
main:focus { outline: none; }

/* call-to-action buttons */
.cta-row, .share-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.share-row { margin: 14px 0 0; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 22px; border-radius: 999px; cursor: pointer;
  font: 700 16px var(--disp); color: var(--text); text-decoration: none; background: var(--card); border: 1.5px solid var(--line);
  transition: transform .5s var(--spring), border-color .3s, background .3s; }
.cta:hover { border-color: rgba(96, 165, 250, .7); background: var(--card-hi); }
.cta:active { transform: scale(.95); }
.cta.primary { color: #06101f; border-color: transparent; background: linear-gradient(90deg, #5eead4, #60a5fa); box-shadow: 0 8px 22px rgba(59, 130, 246, .35); }
.cta.primary:hover { background: linear-gradient(90deg, #7ff0dd, #7ab4ff); }

/* city list (crawlable) */
.citysec { margin-top: 40px; }
.cities { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); align-items: start; margin-top: 14px; }
.cities details, .faqs details { border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.cities summary, .faqs summary { cursor: pointer; list-style: none; padding: 16px 18px; font: 700 17px var(--disp); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cities summary::-webkit-details-marker, .faqs summary::-webkit-details-marker { display: none; }
.cities summary::after, .faqs summary::after { content: "+"; flex: none; font: 600 22px var(--disp); color: var(--teal); transition: transform .4s var(--spring); }
.cities details[open] summary::after, .faqs details[open] summary::after { transform: rotate(45deg); }
.cities summary small { margin-left: auto; margin-right: 6px; color: var(--muted); font: 600 13.5px var(--font); }
.cities ul { margin: 0; padding: 0 18px 8px; list-style: none; }
.cities li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.cities li span { color: var(--muted); font-size: 13px; }
.cities button { margin: 4px 18px 16px; padding: 9px 16px; border-radius: 999px; cursor: pointer; font: 700 14px var(--disp); color: var(--text); background: color-mix(in srgb, var(--teal) 16%, transparent); border: 1px solid color-mix(in srgb, var(--teal) 45%, transparent); }
.faqs { display: grid; gap: 10px; }
.faqs p { margin: 0; padding: 0 18px 16px; color: #d3def5; font-size: 15.5px; line-height: 1.55; }

/* share + footer */
.share p { margin: 0; color: #d3def5; }
.foot { margin: 48px 0 8px; padding: 22px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.foot p { margin: 0 0 10px; }
.foot a { color: var(--sky); }
.foot .copy { font-size: 12.5px; }

:focus-visible { outline: 3px solid rgba(96, 165, 250, .7); outline-offset: 2px; border-radius: 10px; }
@media (min-width: 900px) { body { font-size: 18px; } .wrap { width: min(1000px, 100% - 64px); } }
@media (max-width: 380px) { .brand-sub { display: none; } input.bigscore { font-size: 54px; } }
@media (max-width: 520px) { .filters.two { grid-template-columns: 1fr; } }
@media print { .nav, .hdr, .cta-row, .chips, .filters { display: none; } body { background: #fff; color: #000; padding: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
