/* The pages for people who work with students: universities.html and student-unions.html (21 Nov 2026). They
   follow the student landing page's look (teal header, layered bands with the same curve, cards on the page colour)
   with their own copy of those rules: classes use the un- prefix so they never meet the app's own or the lp- ones.
   Loaded after visa/app.css and before site-fixes.css. A change here changes both pages. */
.un-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.un-hero h1, .un-main h2, .un-main h3 { text-wrap: balance; }
.un-lead, .un-main p { text-wrap: pretty; }
.un-main a:focus-visible, .un-main summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.un-hero a:focus-visible, .un-end a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 999px; }

/* Header band */
.un-hero { position: relative; z-index: 6; background: var(--hero); color: #fff; border-radius: 0 0 64px 64px; }
.un-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 32px; }
.un-top img { height: 32px; width: auto; display: block; }
.un-top > a { display: inline-flex; align-items: center; min-height: 44px; }
.un-top nav { display: flex; align-items: center; gap: 24px; }
.un-top nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; font: 500 15px var(--font-body); }
.un-top nav .un-open { min-height: 0; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: #0d4b65; font-weight: 600; }
.un-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; padding: 48px 0 80px; }
.un-eyebrow { font: 500 15px/1.4 var(--font-body); color: #fff; }
.un-hero h1 { margin-top: 12px; font: 600 44px/1.14 var(--font-display); letter-spacing: -0.02em; color: #fff; max-width: 18ch; }
.un-lead { margin-top: 20px; font-size: 18px; line-height: 1.6; color: #fff; max-width: 34em; }
.un-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.un-btn { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 999px; background: #fff; color: #0d4b65; font: 600 16px var(--font-display); text-decoration: none; white-space: nowrap; transition: background-color .15s var(--ease), scale .15s ease-out; }
.un-btn .i { font-size: 14px; }
.un-link { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font: 500 16px var(--font-body); text-underline-offset: 4px; }
.un-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; padding: 0; }
.un-facts li { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: rgba(4,50,63,.12); color: #fff; font: 500 14px/1.3 var(--font-body); }
.un-facts .i { font-size: 12px; flex: none; }
.un-shot { margin: 0; }
.un-shot picture { display: block; }
.un-shot img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(16,24,40,.08); background: var(--card); box-shadow: var(--shadow-raised); }
.un-shot figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.un-hero .un-shot img { border-color: rgba(255,255,255,.3); box-shadow: 0 24px 56px rgba(4,50,63,.32); }
.un-hero .un-shot figcaption { text-align: center; color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .un-shot img { filter: brightness(.9); } }
:root[data-theme="dark"] .un-shot img { filter: brightness(.9); }

/* Bands: each curves at the bottom like the header, and the next runs up behind it */
.un-band { position: relative; margin-top: -64px; padding: 152px 0 88px; border-radius: 0 0 64px 64px; overflow-x: clip; }
.un-b1 { z-index: 5; background: var(--card); }
.un-b2 { z-index: 4; background: var(--page); }
.un-last { z-index: 2; background: color-mix(in srgb, var(--brand) 6%, var(--page)); border-radius: 0; padding-bottom: 0; }
.un-sect + .un-sect { margin-top: 96px; }
.un-sect > h2 { font: 600 32px/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--heading); max-width: 24ch; }
.un-intro { margin-top: 12px; font-size: 18px; line-height: 1.6; color: var(--body); max-width: 40em; }
.un-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--badge-teal-bg); color: var(--brand); font-size: 18px; }

/* A problem and its answer, side by side (23 Nov 2026, owner request: the problems were three cards at the top
   and the screens that answer them sat two sections later). Each row is one grey panel: the problem on the left
   with its chart and source, and Jurnified's answer on the right in a white card with a real screen. Stacked on
   tablets and phones, problem first. */
.un-duos { display: grid; gap: 24px; margin-top: 40px; }
.un-duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; padding: 32px; border-radius: 32px; background: var(--page); }
.un-prob { padding: 8px; }
.un-tag { display: flex; align-items: center; gap: 12px; font: 600 13px/1.3 var(--font-display); color: var(--muted); }
.un-prob h3 { margin-top: 16px; font: 600 24px/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--heading); }
.un-prob > p { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--body); }
.un-prob > .un-src { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.un-ans { padding: 28px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-card); }
.un-ans .un-tag { color: var(--brand-ink); }
.un-ans h4 { margin-top: 12px; font: 600 22px/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--heading); }
.un-ans > p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--body); }
.un-ans .un-shot { margin-top: 20px; }
.un-ans .un-shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-color: var(--border); box-shadow: none; }
.un-note { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 24px; padding: 28px 32px; border: 1px solid var(--border); border-radius: 24px; }
.un-note h3 { font: 600 18px/1.3 var(--font-display); color: var(--heading); }
.un-note p { margin-top: 6px; max-width: 72ch; font-size: 15px; line-height: 1.6; color: var(--body); }
.un-note .un-src { margin-top: 10px; font-size: 13px; color: var(--muted); }
/* Charts (21 Nov 2026, owner request: show the findings, don't only say them). Each is the simplest honest form
   for its figure: one share of a whole is a meter with its figure, several shares are a list of meters on one
   baseline, and a threshold is a strip with the Home Office's own red, amber and green bands. Every value is
   printed as text beside its mark, so nothing is read from colour alone. Figures and labels use the text colours;
   marks use the brand teal, with a lighter teal track. The red, amber and green are the rating names, not
   decoration. Movement is in teams.js and the block after this one. */
:root { --un-red: #c8372d; --un-amber: #b9650f; --un-green: #1f8554; --un-track: color-mix(in srgb, var(--brand) 16%, var(--card)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --un-red: #f0736a; --un-amber: #f2a94e; --un-green: #5fd893; } }
:root[data-theme="dark"] { --un-red: #f0736a; --un-amber: #f2a94e; --un-green: #5fd893; }
.un-viz { margin-top: 20px; padding: 20px; border-radius: 16px; background: var(--card); }
.un-fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; }
.un-num { font: 600 48px/1 var(--font-display); letter-spacing: -0.02em; color: var(--heading); }
.un-num.un-words { font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
.un-cap { flex: 1 1 120px; font-size: 14px; line-height: 1.4; color: var(--body); }
.un-meter { position: relative; height: 10px; margin-top: 14px; border-radius: 999px; background: var(--un-track); overflow: hidden; }
.un-meter > span { display: block; height: 100%; border-radius: 999px; background: var(--brand); transform: translateX(calc((var(--v) - 1) * 100%)); }
.un-meter.un-quiet > span { background: color-mix(in srgb, var(--brand) 45%, var(--un-track)); }
/* Several shares on one baseline: a name and a figure, then the bar */
.un-rows { display: grid; gap: 16px; }
.un-rowm { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 12px; }
.un-rl { font-size: 14px; line-height: 1.4; color: var(--body); }
.un-rv { font: 600 22px/1 var(--font-display); color: var(--heading); }
.un-rowm .un-meter { grid-column: 1 / -1; margin-top: 8px; }
.un-vt { margin-bottom: 14px; font: 600 13px/1.3 var(--font-display); color: var(--muted); }
.un-viz hr { height: 1px; margin: 20px 0; border: 0; background: var(--border); }

/* "More than half": solid to the halfway mark, then fading, because the source gives no exact figure */
.un-half .un-meter > span { width: 64%; background: linear-gradient(90deg, var(--brand) 0, var(--brand) 78%, transparent 100%); transform: none; }
.un-half .un-meter::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--card); }
.un-halfmark { position: relative; height: 18px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.un-halfmark span { position: absolute; left: 50%; translate: -50% 0; }
/* A threshold strip: the scale runs from 90% to 100%, and says so at its ends */
.un-track { position: relative; display: flex; gap: 2px; height: 14px; margin-top: 34px; }
.un-seg { flex: var(--w) 1 0; border-radius: 4px; }
.un-seg:first-child { border-radius: 999px 4px 4px 999px; }
.un-seg:nth-child(3) { border-radius: 4px 999px 999px 4px; }
.un-red { background: var(--un-red); } .un-amber { background: var(--un-amber); } .un-green { background: var(--un-green); }
.un-pin { position: absolute; inset: -8px 0 -6px; pointer-events: none; }
.un-pin::before { content: ""; position: absolute; left: calc(var(--at) * 1%); top: 0; bottom: 0; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--heading); }
.un-pin b { position: absolute; bottom: 100%; left: calc(var(--at) * 1%); translate: -50% -2px; white-space: nowrap; font: 600 12px/1.2 var(--font-body); color: var(--heading); }
.un-ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted); }
.un-key { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; padding: 0; list-style: none; }
.un-key li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.3; color: var(--body); }
.un-key i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
/* Things with no figure: a row of labelled tiles */
.un-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.un-chips li { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: var(--badge-teal-bg); color: var(--badge-teal-fg); font: 500 13px/1.3 var(--font-body); }
.un-chips .i { font-size: 12px; flex: none; }

/* Movement. Only while teams.js has marked the page (.un-js): cards and charts start a little small and clear
   (never from nothing: the site's rule), then ease in when they scroll into view (.un-in); meters slide to their
   value. Transform and opacity only. */
.un-js .un-rise { opacity: 0; scale: .97; }
.un-js .un-rise.un-in { opacity: 1; scale: 1; transition: opacity .45s var(--ease), scale .45s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.un-why > li:nth-child(2), .un-use > li:nth-child(2) { --i: 1; }
.un-why > li:nth-child(3), .un-use > li:nth-child(3) { --i: 2; }
.un-why > li:nth-child(4) { --i: 1; } .un-why > li:nth-child(5) { --i: 2; } .un-why > li:nth-child(6) { --i: 3; }
.un-js .un-viz .un-meter > span { transform: translateX(-100%); }
.un-js .un-viz.un-in .un-meter > span { transform: translateX(calc((var(--v) - 1) * 100%)); transition: transform .9s var(--ease) .15s; }
.un-js .un-viz .un-rowm:nth-child(2) .un-meter > span { transition-delay: .3s; }
.un-js .un-half .un-meter > span { transform: translateX(-100%); }
.un-js .un-half.un-in .un-meter > span { transform: none; }
.un-js .un-viz .un-pin { translate: calc(var(--at) * -1%) 0; opacity: 0; }
.un-js .un-viz.un-in .un-pin { translate: 0 0; opacity: 1; transition: translate .9s var(--ease) .2s, opacity .2s linear .2s; }
.un-js .un-viz .un-seg { opacity: 0; }
.un-js .un-viz.un-in .un-seg { opacity: 1; transition: opacity .4s linear; }
.un-js .un-viz.un-in .un-seg:nth-child(2) { transition-delay: .12s; } .un-js .un-viz.un-in .un-seg:nth-child(3) { transition-delay: .24s; }
.un-js .un-viz .un-chips li { opacity: 0; scale: .97; }
.un-js .un-viz.un-in .un-chips li { opacity: 1; scale: 1; transition: opacity .3s var(--ease), scale .3s var(--ease); transition-delay: calc(.2s + var(--n, 0) * 90ms); }
.un-chips li:nth-child(2) { --n: 1; } .un-chips li:nth-child(3) { --n: 2; } .un-chips li:nth-child(4) { --n: 3; } .un-chips li:nth-child(5) { --n: 4; }
.un-js .un-rise .un-pop { opacity: 0; scale: .97; }
.un-js .un-rise.un-in .un-pop { opacity: 1; scale: 1; transition: opacity .3s var(--ease), scale .3s var(--ease); transition-delay: calc(.5s + var(--i, 0) * 80ms + var(--s, 0) * .45s); }
@media (prefers-reduced-motion: reduce) { .un-js .un-rise .un-pop, .un-js .un-rise, .un-js .un-viz .un-seg, .un-js .un-viz .un-pin, .un-js .un-viz .un-chips li { opacity: 1; scale: 1; translate: 0 0; transition: none; } }

/* References (21 Nov 2026, owner request): a figure from outside Jurnified has its source on the card and in the
   list at the end of the page; a claim about Jurnified itself has a link to where it can be checked. */
.un-see { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; color: var(--brand-ink); font: 500 14px var(--font-body); text-decoration: none; }
.un-see .i { font-size: 10px; }
.un-lead-card .un-see { grid-column: 2; }
.un-sources { margin-top: 24px; padding: 28px 32px; border: 1px solid var(--border); border-radius: 24px; }
.un-sources ol, .un-sources p { max-width: 88ch; }
.un-sources h2 { font: 600 22px/1.3 var(--font-display); color: var(--heading); }
.un-sources ol { margin-top: 16px; padding-left: 22px; display: grid; gap: 10px; }
.un-sources li, .un-sources p { font-size: 15px; line-height: 1.6; color: var(--body); }
.un-sources p { margin-top: 16px; }
.un-sources + .un-end { margin-top: 64px; }
/* Reasons to trust it */
.un-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; list-style: none; padding: 0; }
.un-why li { padding: 28px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-card); }
.un-why h3 { margin-top: 16px; font: 600 18px/1.3 var(--font-display); color: var(--heading); }
.un-why p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--body); }
.un-why .un-lead-card { grid-column: span 2; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.un-why .un-lead-card h3 { margin-top: 0; font-size: 22px; }
.un-why .un-lead-card p { font-size: 16px; }
/* Links in sentences sit on the tinted last band, where --brand is just under 4.5:1, so they use the darker ink */
.un-main a.un-a { color: var(--brand-ink); font-weight: 500; text-underline-offset: 3px; }

.un-ticks { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 10px; }
.un-ticks li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--body); }
.un-ticks .i { margin-top: 4px; font-size: 13px; color: var(--brand); }
.un-guides { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; padding: 0; }
.un-guides a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--body); font: 500 14px var(--font-body); text-decoration: none; transition: border-color .15s var(--ease), scale .15s ease-out; }
.un-guides .i { font-size: 10px; color: var(--brand); }

/* How to use it: one card per kind of team */
.un-use { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; list-style: none; padding: 0; }
.un-use > li { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-card); }
.un-use h3 { font: 600 20px/1.3 var(--font-display); color: var(--heading); }
.un-use-body { padding: 24px 28px 28px; }
.un-use-p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--body); }
/* A small picture of each way to use it (23 Nov 2026, owner request: show how it would look, not a list of
   ticks). Each is a made-up example, labelled "Example": an email with the link, a question answered with a guide,
   an error report. Only the words the picture is about are real; the rest are grey lines. The email and report
   windows run off the right and bottom of their stage on purpose. No real name or logo of a university or union
   appears. The link card shows the real preview of that guide. */
.un-stage { position: relative; height: 256px; overflow: hidden; background: color-mix(in srgb, var(--brand) 10%, var(--page)); font: 400 13px/1.35 var(--font-body); color: var(--body); }
.un-ex { position: absolute; z-index: 3; left: 20px; top: 14px; padding: 3px 10px; border-radius: 999px; background: var(--card); color: var(--muted); font: 600 11px/1.4 var(--font-display); }
.un-win { position: absolute; left: 20px; top: 48px; right: -32px; bottom: -24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 50px 0 18px; border-radius: 16px 0 0 0; background: var(--card); box-shadow: var(--shadow-raised); }
.un-bar { display: block; flex: none; width: var(--w); height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--heading) 11%, transparent); }
.un-mrow { display: flex; align-items: center; gap: 10px; }
.un-av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--badge-teal-bg); color: var(--brand); font-size: 11px; }
.un-mfrom { font-weight: 600; color: var(--heading); }
.un-msub { font: 600 15px/1.3 var(--font-display); color: var(--heading); }
.un-mline { color: var(--heading); }
.un-mlink { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--badge-teal-bg); color: var(--badge-teal-fg); }
.un-mlink .i { font-size: 12px; flex: none; }
.un-field { display: flex; gap: 10px; align-self: stretch; padding-bottom: 9px; border-bottom: 1px solid var(--border); }
.un-field span { flex: none; width: 52px; color: var(--muted); }
.un-field b { font-weight: 600; color: var(--heading); }
.un-stamp { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--card); color: var(--heading); font: 600 12px/1.3 var(--font-body); box-shadow: var(--shadow-raised); }
.un-stamp .i { font-size: 12px; color: var(--brand); }
.un-thread { position: absolute; inset: 44px 20px 0; display: flex; flex-direction: column; gap: 10px; }
.un-thead { display: flex; align-items: center; gap: 8px; font: 600 12px/1.3 var(--font-display); color: var(--muted); }
.un-thead .i { font-size: 12px; }
.un-bub { max-width: 86%; padding: 9px 13px; border-radius: 16px; }
.un-bub-in { align-self: flex-start; border-bottom-left-radius: 6px; background: var(--card); color: var(--heading); }
.un-bub-out { align-self: flex-end; border-bottom-right-radius: 6px; background: #0b7a92; color: #fff; }
.un-bub-out > span { display: block; }
.un-lc { display: block; width: 190px; margin-top: 8px; overflow: hidden; border-radius: 10px; background: var(--card); }
.un-lc img { display: block; width: 100%; height: 40px; object-fit: cover; object-position: left top; }
.un-lc-t { display: block; padding: 7px 10px 8px; }
.un-lc b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 600 12.5px/1.3 var(--font-body); color: var(--heading); }
.un-lc i { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.un-who { margin-top: 2px; font-size: 14px; color: var(--muted); }
.un-nos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 24px; padding: 8px 0; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-card); list-style: none; }
.un-nos li { padding: 16px 24px; }
.un-other { margin-top: 20px; font-size: 15px; color: var(--body); }
.un-nos li + li { border-left: 1px solid var(--border); }
.un-nos strong { display: block; font: 600 18px/1.3 var(--font-display); color: var(--heading); }
.un-nos span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* Questions teams ask: the heading sits beside a white card that holds the questions, so the list has a surface
   of its own and uses the full width (21 Nov 2026: it was bare lines on the tinted band, which read as floating) */
.un-qa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.un-qa-head h2 { font: 600 32px/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--heading); max-width: 14ch; }
.un-qa-head p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--body); }
.un-qa-head .un-see { margin-top: 8px; }
.un-faq { padding: 8px 32px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-card); }
.un-faq details + details { border-top: 1px solid var(--border); }
.un-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 0; cursor: pointer; list-style: none; font: 600 17px/1.35 var(--font-display); color: var(--heading); }
.un-faq summary::-webkit-details-marker { display: none; }
.un-faq summary .i { flex: none; box-sizing: content-box; width: 12px; height: 12px; padding: 10px; border-radius: 50%; background: var(--badge-teal-bg); color: var(--brand); font-size: 12px; transition: rotate .2s var(--ease); }
.un-faq details[open] summary .i { rotate: 180deg; }
.un-faq details[open] summary { color: var(--brand-ink); }
.un-faq details p { padding-bottom: 20px; max-width: 68ch; font-size: 16px; line-height: 1.65; color: var(--body); }
.un-faq details p + p { margin-top: -8px; }

/* Closing panel in the header teal */
.un-end { margin-top: 96px; padding: 56px; border-radius: 32px; background: var(--hero); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.un-end h2 { font: 600 32px/1.2 var(--font-display); letter-spacing: -0.01em; color: #fff; }
.un-end p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: #fff; max-width: 34em; }
.un-end .un-actions { margin-top: 0; }
.un-foot { padding: 48px 0; font-size: 14px; line-height: 1.6; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.un-foot img { height: 28px; width: auto; }
.un-foot > a { display: inline-flex; align-items: center; min-height: 44px; }
.un-foot > div { flex: 1 1 320px; }

@media (hover: hover) and (pointer: fine) {
  .un-top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .un-top nav .un-open:hover { text-decoration: none; background: #eef9fc; }
  .un-btn:hover { background: #eef9fc; }
  .un-guides a:hover { border-color: var(--brand); color: var(--heading); }
  .un-faq summary:hover { color: var(--brand); }
  .un-see:hover { text-decoration: underline; text-underline-offset: 4px; }
}
.un-btn:active, .un-top nav .un-open:active, .un-guides a:active { scale: .97; }

@media (max-width: 960px) {
  .un-split { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 56px; }
  .un-why, .un-use { grid-template-columns: 1fr; }
  .un-duo { grid-template-columns: 1fr; gap: 24px; }
  .un-why .un-lead-card { grid-column: auto; }
  .un-nos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .un-qa { grid-template-columns: 1fr; gap: 24px; }
  .un-qa-head h2 { max-width: none; }
  .un-nos li:nth-child(3) { border-left: 0; }
  .un-nos li:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .un-wrap { padding: 0 16px; }
  .un-top { padding-top: 20px; }
  .un-top img { height: 26px; }
  .un-top nav { gap: 16px; }
  .un-top nav .un-students { display: none; } /* no room beside the button on phones; the footer logo goes there too */
  .un-hero { border-radius: 0 0 36px 36px; }
  .un-hero h1 { font-size: 32px; }
  .un-lead, .un-intro { font-size: 16px; }
  .un-btn { height: 48px; }
  .un-top nav .un-open { height: 44px; }
  .un-hero .un-shot img { width: 260px; margin: 0 auto; border-radius: 20px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
  .un-band { margin-top: -36px; padding: 92px 0 56px; border-radius: 0 0 36px 36px; }
  .un-last { border-radius: 0; padding-bottom: 0; }
  .un-sect + .un-sect { margin-top: 64px; }
  .un-sect > h2, .un-end h2 { font-size: 26px; }
  .un-why, .un-use, .un-duos { gap: 16px; margin-top: 28px; }
  .un-use-body { padding: 20px 24px 24px; }
  .un-stage { height: 256px; }
  .un-duo { padding: 16px; border-radius: 24px; gap: 16px; }
  .un-prob { padding: 8px 4px 0; }
  .un-prob h3 { font-size: 22px; }
  .un-ans { padding: 20px; border-radius: 20px; }
  .un-ans h4 { font-size: 20px; }
  .un-ans .un-shot img { width: 240px; margin: 0 auto; border-radius: 20px; aspect-ratio: 3 / 4; object-position: center top; }
  .un-why li { padding: 24px; }
  .un-why .un-lead-card { grid-template-columns: 1fr; }
  .un-note { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .un-lead-card .un-see { grid-column: auto; }
  .un-sources { margin-top: 16px; padding: 24px 20px; }
  .un-faq { padding: 4px 20px; }
  .un-qa-head h2 { font-size: 26px; max-width: none; }
  .un-why .un-lead-card h3 { margin-top: 16px; font-size: 20px; }
  .un-guides a, .un-see { min-height: 46px; }
  .un-nos { grid-template-columns: 1fr; padding: 4px 0; }
  .un-nos li { padding: 14px 20px; }
  .un-nos li + li { border-left: 0; border-top: 1px solid var(--border); }
  .un-end { margin-top: 64px; padding: 32px 24px; border-radius: 24px; }
  .un-foot { padding: 40px 0 48px; }
}
