@font-face { font-family: "Bricolage"; src: url(/fonts/bricolage.woff2) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #142a5c;
  --navy-2: #2f4474;
  --sky-1: #79c2f4;
  --sky-2: #b5e0fa;
  --sky-3: #eaf7ff;
  --blue: #1668c7;
  --violet: #d98a12;
  --line: rgba(20, 42, 92, .16);
  --field: rgba(255, 255, 255, .92);
  --glass: rgba(255, 255, 255, .86);
  --danger: #b3263c;
  --radius: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --display: "Bricolage", ui-rounded, "Segoe UI", system-ui, Roboto, sans-serif;
  --bar: rgba(255, 255, 255, .84);
  --cloud-top: #fff;
  --cloud-bottom: #e4f2fd;
  --body-soft: #1c3468;
  --accent-text: #123f8f;
  --tint: rgba(226, 242, 253, .72);
  --tint-strong: rgba(190, 222, 246, .6);
  --control: rgba(255, 255, 255, .62);
  --control-hover: rgba(255, 255, 255, .9);
  --field-line: rgba(20, 42, 92, .36);
  --popover: #fff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: clip;
  color: var(--navy);
  background: var(--sky-2);
  font: 400 16px/1.55 var(--font);
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.defs { position: absolute; }
.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--navy); color: #fff; }
.skip:focus { top: 12px; }

/* Sky */
.sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  --s1: var(--sky-1); --s2: var(--sky-2); --s3: var(--sky-3);
  background: linear-gradient(180deg, var(--s1) 0%, var(--s2) 48%, var(--s3) 100%);
}
.sun {
  position: absolute; top: -18vmax; right: -12vmax; width: 52vmax; height: 52vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 205, .85) 0%, rgba(255, 244, 205, 0) 66%);
}
.c { position: absolute; overflow: visible; animation: drift 58s ease-in-out infinite alternate; will-change: transform; }
.c1 { width: 340px; height: 194px; left: -70px; top: 7%; opacity: .92; }
.c2 { width: 210px; height: 120px; right: 4%; top: 25%; opacity: .8; animation-duration: 74s; animation-delay: -20s; }
.c3 { width: 460px; height: 262px; left: 26%; top: 54%; opacity: .62; animation-duration: 92s; animation-delay: -41s; }
.c4 { width: 150px; height: 86px; left: 44%; top: 4%; opacity: .72; animation-duration: 66s; animation-delay: -12s; }
.c5 { width: 380px; height: 216px; right: -100px; bottom: -3%; opacity: .85; animation-duration: 82s; animation-delay: -33s; }
@keyframes drift { from { transform: translate3d(-7vw, 0, 0); } to { transform: translate3d(7vw, 10px, 0); } }

/* Header and hero */
.top { position: sticky; top: max(8px, env(safe-area-inset-top)); z-index: 15; margin-top: 8px; }
.top-in {
  display: flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border-radius: 19px;
  background: var(--bar); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 10px 26px -18px rgba(10, 22, 50, .7);
}
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--navy); text-decoration: none; font: 800 21px/1 var(--display); letter-spacing: -.02em; }
.toplink { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; color: var(--navy); font-weight: 600; font-size: 15px; text-underline-offset: 4px; }
.hero { padding-block: 8px 20px; }
.hero h1 { max-width: 15ch; font: 800 clamp(30px, 9.6vw, 78px)/1 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.hero h1 .w { display: inline-block; animation: wordIn .75s var(--ease) backwards; animation-delay: calc(var(--i) * 55ms); }
.under { position: relative; display: inline-block; white-space: nowrap; }
.under svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .28em; overflow: visible; pointer-events: none; }
.under path { fill: none; stroke: #ffb938; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 320; animation: swash .9s var(--ease) .55s backwards; }
@keyframes wordIn { from { opacity: .01; transform: translateY(.42em) rotate(2deg); } }
@keyframes swash { from { stroke-dashoffset: 320; } }
.hero em { font-style: normal; color: var(--accent-text); }
.hero p { margin-top: 10px; max-width: 46ch; font-size: clamp(15.5px, 2vw, 18px); color: var(--body-soft); }

/* Layout: phone shows result, inputs, planner */
.tool { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "result" "inputs" "plan"; }
.result { grid-area: result; }
.inputs { grid-area: inputs; }
.plan { grid-area: plan; }
.card {
  min-width: 0; padding: 18px; border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 44px -22px rgba(20, 60, 120, .5);
}

/* Result */
.result { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.result-mascot { position: absolute; top: -26px; right: 14px; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 5px 6px rgba(20, 60, 120, .22)); }
.eyes { transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97.5% { transform: scaleY(.1); } }
.eyebrow { align-self: flex-start; font: 700 15px/1.3 var(--font); }
.ring { position: relative; width: min(62vw, 232px); aspect-ratio: 1; margin-top: 6px; }
.ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 15; }
.ring-track { stroke: rgba(20, 42, 92, .1); }
.ring-value { stroke: url(#ringFill); stroke-linecap: round; stroke-dasharray: 0 100; }
.ring-value.empty { opacity: 0; }
.ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13.5px; color: var(--navy-2); }
.big { font: 800 clamp(46px, 14vw, 60px)/1 var(--display); letter-spacing: -.04em; color: var(--navy); font-variant-numeric: tabular-nums; }
.cheer { min-height: 1.5em; margin-top: 10px; font-weight: 650; font-size: 16.5px; text-wrap: balance; }
.cheer.pop { animation: rise .42s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin: 14px 0 0; }
.stats div { padding: 9px 8px; border-radius: 14px; background: var(--tint); }
.stats dt { font-size: 13px; color: var(--navy-2); }
.stats abbr { text-decoration: none; }
.stats dd { margin: 0; font: 800 22px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.fine { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--navy-2); }
.result .btn { width: 100%; margin-top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 10px 20px; border: 0; border-radius: 15px;
  font-weight: 700; text-decoration: none;
  transition: transform .14s var(--ease), background-color .18s, box-shadow .18s;
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn.primary { color: #fff; background: linear-gradient(120deg, #1660c4, #5b49e0); box-shadow: 0 10px 20px -10px rgba(10, 22, 50, .6); }
.btn.primary:disabled { color: #43557f; background: #dbe6f2; box-shadow: none; cursor: not-allowed; }
.btn.soft { color: var(--navy); background: #d9eefc; }
.link { min-height: 44px; padding: 4px 6px; border: 0; background: none; color: #164e9f; font-weight: 650; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) {
  .btn.primary:hover:not(:disabled) { box-shadow: 0 14px 24px -10px rgba(10, 22, 50, .72); }
  .btn.soft:hover { background: #c6e5fa; }
  .link:hover { color: var(--navy); }
  .icon:hover, .step:hover { background: #d9eefc; }
}

/* Tabs */
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 16px; background: var(--tint-strong); }
.tabs button { position: relative; min-height: 46px; border: 0; border-radius: 12px; background: none; color: var(--navy-2); font-weight: 700; transition: color .2s; }
.tabs button[aria-selected="true"] { color: var(--navy); }
.tab-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 12px; background: #fff; box-shadow: 0 3px 10px -3px rgba(20, 60, 120, .4); transition: transform .28s var(--ease); }
.tabs[data-mode="semester"] .tab-pill { transform: translateX(100%); }
[role="tabpanel"]:focus { outline: none; }
.hint { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: var(--navy-2); }

/* Rows */
.heads { display: none; }
.rows { display: grid; gap: 10px; margin-top: 12px; }
.row { display: grid; gap: 8px; align-items: center; padding: 10px; border-radius: 16px; background: var(--tint); }
.row.new { animation: rise .3s var(--ease); }
.row-subject { grid-template-columns: auto minmax(0, 1fr) 44px; grid-template-areas: "name name del" "cred grade grade" "note note note"; }
.row-semester { grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1fr) 44px; grid-template-areas: "label sgpa cred del" "note note note note"; }
.f-name { grid-area: name; }
.f-cred { grid-area: cred; }
.f-grade { grid-area: grade; }
.f-sgpa { grid-area: sgpa; }
.f-label { grid-area: label; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.icon { grid-area: del; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; color: var(--navy-2); transition: background-color .15s, color .15s; }
.icon:active { transform: scale(.94); }
.row-note { grid-area: note; font-size: 13.5px; line-height: 1.35; color: var(--danger); font-weight: 600; }
.row-note:empty { display: none; }
input[type="text"], select, textarea.f-name {
  width: 100%; min-width: 0; height: 46px; padding: 0 12px;
  border: 1.5px solid var(--field-line); border-radius: 12px;
  background-color: var(--field); font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
textarea.f-name { display: block; min-height: 46px; padding-block: 10.5px; line-height: 22px; overflow: hidden; resize: none; overflow-wrap: anywhere; }
input::placeholder, textarea::placeholder { color: #566a93; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 104, 199, .25); }
input[aria-invalid="true"], .stepper:has(input[aria-invalid="true"]) { border-color: var(--danger); }
select {
  appearance: none; padding-right: 34px; font-weight: 650; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath fill='none' stroke='%23142a5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.stepper { display: grid; grid-template-columns: 44px 48px 44px; align-items: center; height: 46px; border: 1.5px solid var(--field-line); border-radius: 12px; background: var(--field); overflow: hidden; }
.stepper:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 104, 199, .25); }
.stepper input { height: 43px; padding: 0; border: 0; border-radius: 0; background: none; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper input:focus { box-shadow: none; }
.step { height: 43px; border: 0; background: none; font-size: 20px; font-weight: 600; line-height: 1; transition: background-color .15s; }
.step:active { background: #c6e5fa; }
.step:focus-visible { outline-offset: -3px; }
.row-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.total { font-size: 14.5px; color: var(--navy-2); text-align: right; }
.total strong { color: var(--navy); font: 800 19px var(--display); margin-left: 3px; }
.scale { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 4px; }
.scale summary { display: flex; align-items: center; min-height: 44px; font-weight: 650; font-size: 15px; cursor: pointer; list-style: none; }
.scale summary::-webkit-details-marker { display: none; }
.scale summary::after { content: "+"; margin-left: auto; font-size: 21px; font-weight: 500; transition: transform .2s var(--ease); }
.scale[open] summary::after { transform: rotate(45deg); }
.scale .hint { margin-top: 0; }
.scale-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.scale-grid label { display: grid; gap: 3px; font-weight: 700; font-size: 14px; text-align: center; }
.scale-grid input { padding: 0 4px; text-align: center; }
.tool-foot { display: flex; justify-content: space-between; margin-top: 8px; }

/* Planner */
.plan h2 { font: 800 22px/1.2 var(--display); letter-spacing: -.02em; }
.plan-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.plan label { display: grid; align-content: end; gap: 5px; font-size: 14px; font-weight: 600; color: var(--navy-2); }
.plan input { color: var(--navy); }
.plan-out { margin-top: 12px; padding: 14px; border-radius: 16px; background: var(--tint); font-size: 15px; line-height: 1.45; }
.plan-out .need { display: block; font: 800 38px/1.1 var(--display); letter-spacing: -.03em; color: #2c3bb8; font-variant-numeric: tabular-nums; }
.plan-out.warm { background: #fff1dd; }
.plan-out.good { background: #dff6e9; }
.plan-out strong { font-weight: 750; }

/* Explainer */
.how { padding-block: 44px 12px; }
.how > p { max-width: 62ch; }
.how h2 { font: 800 clamp(26px, 5vw, 36px)/1.12 var(--display); letter-spacing: -.03em; }
.how h3 { margin-top: 24px; font: 750 18.5px/1.3 var(--display); }
.how p { margin-top: 8px; color: var(--body-soft); }
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; padding: 16px 18px; border-radius: 18px; background: var(--glass); font-weight: 700; font-size: clamp(15.5px, 4vw, 19px); }
.frac { display: inline-grid; text-align: center; }
.frac span:first-child { padding: 0 6px 4px; border-bottom: 2px solid var(--navy); }
.frac span:last-child { padding-top: 4px; }
.worked { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.how-grid { display: grid; gap: 0 28px; }
.grades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.grades li { padding: 8px 4px; border-radius: 12px; background: var(--glass); text-align: center; font-variant-numeric: tabular-nums; }
.grades b { margin-right: 4px; }
.foot { padding-block: 22px calc(24px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--body-soft); }

/* Sticky phone result */
/* Appears briefly after a change, then gets out of the way */
.mini {
  position: fixed; left: 50%; top: max(10px, env(safe-area-inset-top)); z-index: 25;
  display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 99px;
  background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; text-decoration: none;
  box-shadow: 0 12px 24px -12px rgba(10, 22, 50, .8);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -10px);
  transition: opacity .2s ease, transform .3s var(--ease), visibility 0s .3s;
}
.mini.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s ease, transform .3s var(--ease); }
.mini.low { top: auto; bottom: calc(var(--mini-bottom, 0px) + max(14px, env(safe-area-inset-bottom))); }
.mini strong { font: 800 18px/1 var(--display); font-variant-numeric: tabular-nums; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 32px);
  padding: 6px 8px 6px 16px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 15px;
  box-shadow: 0 14px 30px -10px rgba(20, 42, 92, .8); animation: toast .28s var(--ease);
}
@keyframes toast { from { opacity: 0; transform: translate(-50%, 10px); } }
.toast button { min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 700; }
.toast :focus-visible { outline-color: #fff; }

/* Share dialog */
dialog { width: min(420px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 14px; border: 0; border-radius: 24px; color: var(--navy); background: var(--popover); overflow-y: auto; }
dialog[open] { animation: rise .3s var(--ease); }
dialog::backdrop { background: rgba(14, 32, 72, .55); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dialog-head h2 { font: 800 20px var(--display); }
#sharePreview { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 240px); margin-inline: auto; border-radius: 14px; }
.dialog-actions { display: grid; gap: 8px; margin-top: 12px; }

/* Larger screens */
@media (min-width: 640px) {
  .card { padding: 24px; }
  .row-subject { grid-template-columns: minmax(0, 1fr) 140px 100px 44px; grid-template-areas: "name cred grade del" "note note note note"; }
  .row-semester { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr) 44px; }
  .heads { display: grid; gap: 8px; margin-top: 14px; padding-inline: 10px; font-size: 13.5px; font-weight: 650; color: var(--navy-2); }
  .heads-subject { grid-template-columns: minmax(0, 1fr) 140px 100px 44px; }
  .heads-semester { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr) 44px; }
  .heads + .rows { margin-top: 5px; }
  .scale-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .how-grid { grid-template-columns: 1fr 1fr; max-width: none; }
  .how > .how-grid { max-width: 880px; }
  .grades { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
/* Blur stays on larger screens, where moving clouds behind it will not slow a phone */
@media (min-width: 720px) {
  :root { --glass: rgba(255, 255, 255, .72); }
  .card, .formula { -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
}
@media (min-width: 960px) {
  .hero { padding-block: 22px 32px; }
  .tool { gap: 20px; grid-template-columns: minmax(0, 1.42fr) minmax(340px, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "inputs result" "plan result"; }
  .result { position: sticky; top: 20px; align-self: start; padding-block: 34px 30px; }
  .ring { width: 262px; margin-top: 10px; }
  .big { font-size: 72px; }
  .cheer { margin-top: 14px; }
  .stats { margin-top: 18px; }
  .stats div { padding-block: 12px; }
  .plan { align-self: start; }
  .mini { display: none; }
  .how { padding-top: 64px; }
}

/* Header controls */
.brand { margin-right: auto; }
.topnav { display: none; gap: 2px; margin-right: 6px; }
.topnav .toplink { display: inline-flex; margin: 0; padding-inline: 12px; border-radius: 11px; text-decoration: none; transition: background-color .16s; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.toplink { display: none; margin-right: 4px; }
.ctl {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 14px;
  background: var(--control); color: var(--navy);
  transition: background-color .16s, transform .14s var(--ease);
}
.ctl:active { transform: scale(.94); }
.sky-control { position: relative; }
.sky-menu {
  position: absolute; top: calc(100% + 8px); right: -52px; display: grid; gap: 2px; width: 156px; padding: 6px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--popover);
  box-shadow: 0 18px 36px -14px rgba(10, 30, 70, .6);
  transform-origin: 70% 0; animation: menu .18s var(--ease);
}
@keyframes menu { from { opacity: 0; transform: translateY(-4px) scale(.97); } }
.sky-menu button {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 11px; background: none; color: var(--navy); font-size: 15px; font-weight: 650; text-align: left;
}
.sky-menu button[aria-pressed="true"] { background: var(--tint-strong); }
@media (hover: hover) {
  .ctl:hover { background: var(--control-hover); }
  .sky-menu button:hover { background: var(--tint); }
  .sky-menu button[aria-pressed="true"]:hover { background: var(--tint-strong); }
}
@media (min-width: 520px) { .sky-menu { right: 0; } }
@media (min-width: 960px) { .topnav { display: flex; } }
@media (hover: hover) { .topnav .toplink:hover { background: var(--tint-strong); } }

/* FAQ */
.how > .faq-title { margin-top: 40px; font-size: clamp(23px, 4.4vw, 30px); }
.faq { display: grid; gap: 8px; margin-top: 14px; }
.faq details { border-radius: 16px; background: var(--glass); }
.faq summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; font-weight: 650; cursor: pointer; list-style: none; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 500; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 16px 14px; }

/* Skies */
@property --s1 { syntax: "<color>"; inherits: true; initial-value: #79c2f4; }
@property --s2 { syntax: "<color>"; inherits: true; initial-value: #b5e0fa; }
@property --s3 { syntax: "<color>"; inherits: true; initial-value: #eaf7ff; }
.sky { transition: --s1 .5s ease, --s2 .5s ease, --s3 .5s ease; }
.theming main *, .theming header *, .theming footer * {
  transition: background-color .28s ease, color .28s ease, border-color .28s ease !important;
}
.stars {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 90px 120px, #dfe9ff, transparent),
    radial-gradient(1.5px 1.5px at 170px 60px, #fff, transparent), radial-gradient(1px 1px at 240px 190px, #fff, transparent),
    radial-gradient(1px 1px at 300px 40px, #cfe0ff, transparent), radial-gradient(1.5px 1.5px at 60px 240px, #fff, transparent);
  background-size: 340px 280px;
}
.c { transition: opacity .5s; }
.c6 { width: 520px; height: 296px; left: -130px; top: 34%; opacity: 0; animation-duration: 86s; animation-delay: -18s; }
.c7 { width: 430px; height: 245px; right: -120px; top: 2%; opacity: 0; animation-duration: 70s; animation-delay: -47s; }
[data-sky="clear"] .sky { --s1: #58aeee; --s2: #93d2f8; --s3: #e2f5ff; }
[data-sky="clear"] .sun, [data-sky="cloudy"] .sun { opacity: 0; }
[data-sky="clear"] .c1 { opacity: .42; }
[data-sky="clear"] .c4 { opacity: .3; }
[data-sky="clear"] .c2, [data-sky="clear"] .c3, [data-sky="clear"] .c5 { opacity: 0; }
[data-sky="cloudy"] .sky { --s1: #a9c4dc; --s2: #c9dbe9; --s3: #e9f0f6; }
[data-sky="cloudy"] .c { opacity: .96; }
[data-sky="cloudy"] .c3 { opacity: .8; }
.sun { transition: opacity .5s; }

/* Dark mode */
:root[data-theme="dark"] {
  color-scheme: dark;
  --navy: #eaf2ff;
  --navy-2: #bdcbe6;
  --blue: #78b8ff;
  --violet: #b3a8ff;
  --line: rgba(220, 232, 255, .18);
  --field: rgba(13, 25, 54, .88);
  --glass: rgba(22, 37, 74, .84);
  --danger: #ffa4b1;
  --cloud-top: #3c5080;
  --cloud-bottom: #26365e;
  --body-soft: #d3dff5;
  --accent-text: #93cbff;
  --tint: rgba(125, 165, 235, .15);
  --tint-strong: rgba(125, 165, 235, .24);
  --control: rgba(26, 43, 84, .72);
  --control-hover: rgba(44, 67, 120, .95);
  --field-line: rgba(210, 225, 255, .42);
  --popover: #1a2b56;
}
[data-theme="dark"] body { background: #0e1a3d; }
[data-theme="dark"] .sky { --s1: #0b1738; --s2: #172a58; --s3: #2a3f73; }
[data-theme="dark"][data-sky="clear"] .sky { --s1: #060d24; --s2: #0e1a3d; --s3: #1b2d59; }
[data-theme="dark"][data-sky="cloudy"] .sky { --s1: #1a2436; --s2: #27344b; --s3: #38465f; }
[data-theme="dark"][data-sky="cloudy"] { --cloud-top: #4a566e; --cloud-bottom: #323d52; }
[data-theme="dark"] .stars { opacity: .55; }
[data-theme="dark"][data-sky="clear"] .stars { opacity: 1; }
[data-theme="dark"][data-sky="cloudy"] .stars { opacity: 0; }
[data-theme="dark"] .sun { background: radial-gradient(circle, rgba(214, 226, 255, .34) 0%, rgba(214, 226, 255, 0) 62%); }
[data-theme="dark"] .ctl { border-color: rgba(220, 232, 255, .2); }
[data-theme="dark"] .card { border-color: rgba(220, 232, 255, .12); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 18px 44px -22px rgba(0, 0, 0, .8); }
[data-theme="dark"] .ring-track { stroke: rgba(255, 255, 255, .13); }
[data-theme="dark"] .btn.primary:disabled { color: #b4c2de; background: #2a3a60; }
[data-theme="dark"] .btn.primary { background: linear-gradient(120deg, #1d67cc, #5b49e0); }
[data-theme="dark"] .btn.soft { background: #27436f; }
[data-theme="dark"] .link { color: #a5d3ff; }
[data-theme="dark"] .tab-pill { background: #37558f; }
[data-theme="dark"] .step:active { background: rgba(125, 165, 235, .28); }
[data-theme="dark"] input::placeholder, [data-theme="dark"] textarea::placeholder { color: #a9b8d6; }
[data-theme="dark"] select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath fill='none' stroke='%23eaf2ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E"); }
[data-theme="dark"] .plan-out .need { color: #c3bcff; }
[data-theme="dark"] .plan-out.warm { background: #4a3719; }
[data-theme="dark"] .plan-out.good { background: #143f31; }
[data-theme="dark"] .skip, [data-theme="dark"] .mini, [data-theme="dark"] .toast { background: #eaf2ff; color: #142a5c; }
[data-theme="dark"] .toast button { background: rgba(20, 42, 92, .12); color: #142a5c; }
[data-theme="dark"] .toast :focus-visible { outline-color: #142a5c; }
[data-theme="dark"] dialog { background: #16264f; }
@media (hover: hover) {
  [data-theme="dark"] .btn.soft:hover { background: #315383; }
  [data-theme="dark"] .icon:hover, [data-theme="dark"] .step:hover { background: rgba(125, 165, 235, .22); }
  [data-theme="dark"] .link:hover { color: #fff; }
}
@media (min-width: 720px) {
  :root[data-theme="dark"] { --glass: rgba(22, 37, 74, .72); }
}

@media (min-width: 640px) {
  .row-subject, .heads-subject { grid-template-columns: minmax(0, 1fr) 136px 122px 44px; }
}

/* Mascot moods */
.result-mascot { overflow: visible; width: 96px; height: 73px; top: -34px; }
.m-float, .m-cap, .m-tassel { transform-box: fill-box; }
.m-float { transform-origin: 50% 100%; }
.m-cap { transform-origin: 50% 80%; }
.m-tassel { transform-origin: 0 0; animation: sway 3.4s ease-in-out infinite; }
.eyes, .f-happy, .f-shut, .f-wink, .f-star, .f-smile, .f-grin, .f-big, .f-flat, .f-frown, .f-o, .f-wow,
.b-worried, .b-set, .b-up, .m-sweat, .m-spark, .m-z { display: none; }
[data-mood="sleep"] :is(.f-shut, .f-o, .m-z),
[data-mood="worried"] :is(.eyes, .b-worried, .f-frown, .m-sweat),
[data-mood="determined"] :is(.eyes, .b-set, .f-flat),
[data-mood="ok"] :is(.eyes, .f-smile),
[data-mood="happy"] :is(.eyes, .b-up, .f-grin),
[data-mood="great"] :is(.f-happy, .f-grin),
[data-mood="star"] :is(.f-star, .f-big, .m-spark),
[data-mood="wow"] :is(.eyes, .b-up, .f-wow),
[data-mood="oops"] :is(.eyes, .b-worried, .f-o, .m-sweat),
[data-mood="wink"] :is(.eyes, .b-up, .f-wink, .f-grin) { display: inline; }
[data-mood="wink"] .eye-r { display: none; }
.eye-gaze { transition: transform .16s ease-out; }
.m-sweat { transform-box: fill-box; animation: sweat 1.5s ease-in infinite; }
.m-spark path { transform-box: fill-box; transform-origin: center; animation: twinkle 1.7s ease-in-out infinite; }
.m-spark path:nth-child(2) { animation-delay: .45s; }
.m-spark path:nth-child(3) { animation-delay: .9s; }
@keyframes sweat { 0% { opacity: 0; transform: translateY(-3px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.08) rotate(25deg); } }
.m-z text { font: 700 13px var(--font); fill: var(--navy); animation: snooze 2.6s ease-in-out infinite; }
.m-z text:last-child { font-size: 10px; animation-delay: .6s; }
.m-float.hop { animation: hop .68s var(--ease); }
.m-cap.toss { animation: toss .95s cubic-bezier(.3, .7, .3, 1); }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(6deg); } }
@keyframes snooze { 0% { opacity: 0; transform: translateY(4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-7px); } }
@keyframes hop { 25% { transform: translateY(2px) scale(1.07, .91); } 55% { transform: translateY(-15px) scale(.96, 1.05); } 100% { transform: none; } }
@keyframes toss { 45% { transform: translateY(-20px) rotate(200deg); } 72% { transform: translateY(-5px) rotate(350deg); } 100% { transform: rotate(360deg); } }

/* Ring details */
.ring-ticks { stroke: rgba(20, 42, 92, .28); stroke-width: 5 !important; stroke-dasharray: .4 9.6; stroke-dashoffset: .2; }
.ring-knob { fill: #fff !important; stroke: none; }
.ring-value.empty + .ring-knob { opacity: 0; }
/* 800 is the font's heaviest weight, so a hairline stroke adds the extra weight */
.big { font-weight: 800; letter-spacing: -.045em; -webkit-text-stroke: .7px currentColor; }
.eyebrow { padding-right: 84px; text-align: left; }
.stats dd { font-weight: 800; letter-spacing: -.025em; }
.btn { font-size: 16px; }

/* Entrance */
.tool > .card { animation: cardIn .72s var(--ease) backwards; }
.tool > .result { animation-delay: .16s; }
.tool > .inputs { animation-delay: .25s; }
.tool > .plan { animation-delay: .34s; }
@keyframes cardIn { from { opacity: .01; transform: translateY(20px) scale(.985); } }
.row.leaving { opacity: 0; transform: translateX(14px); transition: opacity .16s ease, transform .16s ease; }
@supports (animation-timeline: view()) {
  .reveal { animation: revealIn linear both; animation-timeline: view(); animation-range: entry 0% entry 42%; }
  @keyframes revealIn { from { opacity: 0; transform: translateY(24px); } }
}

/* Maths and planner details */
.working { margin-top: 12px; }
.work-table { width: 100%; margin-top: 4px; border-collapse: collapse; table-layout: fixed; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.work-table th, .work-table td { padding: 7px 4px; border-bottom: 1px solid var(--line); text-align: right; }
.work-table th { font-size: 13px; color: var(--navy-2); font-weight: 650; }
.work-table th:first-child, .work-table td:first-child { width: 42%; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-sum { margin: 10px 0 6px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gauge { margin-top: 12px; }
.g-track { position: relative; height: 10px; border-radius: 99px; background: rgba(20, 42, 92, .1); }
.g-track span { position: absolute; inset: 0; border-radius: 99px; background: linear-gradient(90deg, #22b8e6, #1d6fd6 60%, #f5a422); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.g-track i { position: absolute; top: -4px; width: 4px; height: 18px; margin-left: -2px; border-radius: 2px; background: var(--navy); transition: left .55s var(--ease); }
.g-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--navy-2); font-variant-numeric: tabular-nums; }
.g-scale b { color: var(--navy); }

/* Ending sections */
.how { padding-top: 56px; }
.how > p { font-size: 17px; }
.how-cards { display: grid; gap: 12px; margin-top: 20px; }
.how-card, .scale-card, .cta { border-radius: var(--radius); background: var(--glass); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 16px 36px -26px rgba(10, 22, 50, .7); }
.how-card { position: relative; padding: 20px; }
.how .how-card h3, .how .scale-card h3 { margin-top: 0; font-size: 21px; }
.step-no { position: absolute; top: 16px; right: 18px; font: 800 34px/1 var(--display); color: var(--navy); opacity: .6; }
.how-card p { font-size: 15.5px; }
.how .eq { margin-top: 12px; padding: 11px 13px; border-radius: 13px; background: var(--navy); color: #fff; font: 700 14.5px/1.35 var(--display); }
.how .ex { margin-top: 10px; font-size: 14.5px; color: var(--navy-2); overflow-wrap: anywhere; }
.ex strong { color: var(--navy); }
.scale-card { margin-top: 12px; padding: 20px; }
.scale-card .grades li { background: var(--tint); font-size: 16px; }
.how > .faq-title { margin-top: 48px; font-size: clamp(27px, 5vw, 42px); scroll-margin-top: 88px; }
.faq summary { font-size: 16px; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; padding: 24px 20px; text-align: center; }
.cta h2 { font-size: clamp(22px, 4vw, 30px); line-height: 1.12; letter-spacing: -.03em; }
.how .cta p { margin-top: 4px; }
.cta .btn { width: 100%; }
.foot { text-align: center; }
@media (min-width: 720px) {
  .top-in, .how-card, .scale-card, .cta { -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25); }
  .cta { flex-direction: row; text-align: left; padding: 22px 26px; }
  .cta > div { flex: 1; }
  .cta .btn { width: auto; flex: none; }
}
@media (min-width: 900px) { .how-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .mini { display: none; } }

:root[data-theme="dark"] { --bar: rgba(18, 31, 64, .88); }
[data-theme="dark"] .top-in, [data-theme="dark"] .how-card, [data-theme="dark"] .scale-card, [data-theme="dark"] .cta { border-color: rgba(220, 232, 255, .12); }
[data-theme="dark"] .ring-ticks { stroke: rgba(255, 255, 255, .3); }
[data-theme="dark"] .g-track { background: rgba(255, 255, 255, .14); }
[data-theme="dark"] .how .eq { background: rgba(125, 165, 235, .22); color: #eaf2ff; }
[data-theme="dark"] .mini { background: #eaf2ff; color: #142a5c; }

/* ==========================================================
   Material layer. Glass is tuned per surface:
   result 85, calculator 50, ending sections 30, fields solid.
   ========================================================== */
:root {
  --hero-a: rgba(255, 255, 255, .68); --hero-b: rgba(255, 255, 255, .4);
  --frost: rgba(255, 255, 255, .82); --quiet: rgba(255, 255, 255, .76);
  --edge: rgba(255, 255, 255, .86); --hairline: rgba(20, 42, 92, .11);
  --solid: rgba(255, 255, 255, .95); --grade: #e1eefb; --field-line: rgba(20, 42, 92, .3);
}
:root[data-theme="dark"] {
  --hero-a: rgba(40, 60, 112, .72); --hero-b: rgba(22, 36, 78, .52);
  --frost: rgba(20, 34, 70, .86); --quiet: rgba(20, 34, 70, .78);
  --edge: rgba(205, 222, 255, .2); --hairline: rgba(220, 232, 255, .13);
  --solid: rgba(11, 22, 50, .82); --grade: #2c4678; --field-line: rgba(210, 225, 255, .36);
}
@media (min-width: 720px) {
  :root { --frost: rgba(255, 255, 255, .66); --quiet: rgba(255, 255, 255, .6); }
  :root[data-theme="dark"] { --frost: rgba(20, 34, 70, .7); --quiet: rgba(20, 34, 70, .62); }
}
html { scroll-padding-top: 16px; }
.how > .faq-title { scroll-margin-top: 16px; }

/* Sky */
.c {
  left: 0; right: auto; bottom: auto; height: auto; max-width: none; user-select: none;
  transform: translate3d(var(--x), 0, 0);
  animation: cloudDrift var(--d) linear infinite; animation-delay: var(--dl);
}
@keyframes cloudDrift { from { transform: translate3d(-75vw, 0, 0); } to { transform: translate3d(125vw, 0, 0); } }
.c1 { top: 6%; width: min(78vw, 640px); --d: 170s; --dl: -50s; --x: 6vw; opacity: .98; }
.c2 { top: 31%; width: min(48vw, 380px); --d: 120s; --dl: -85s; --x: 62vw; opacity: .88; }
.c3 { top: 58%; width: min(94vw, 860px); --d: 210s; --dl: -125s; --x: 8vw; opacity: .84; }
.c4 { top: 2%; width: min(36vw, 280px); --d: 250s; --dl: -190s; --x: 50vw; opacity: .62; }
.c5 { top: 78%; width: min(82vw, 720px); --d: 150s; --dl: -20s; --x: 42vw; opacity: .94; }
.c6 { top: 40%; width: min(112vw, 980px); --d: 280s; --dl: -150s; --x: -18vw; opacity: 0; }
.c7 { top: 14%; width: min(98vw, 820px); --d: 230s; --dl: -35s; --x: 38vw; opacity: 0; }
[data-sky="cloudy"] .c { filter: saturate(.62) brightness(.97); }
[data-theme="dark"] .c { filter: brightness(.6) sepia(1) hue-rotate(178deg) saturate(2.1) brightness(.72) opacity(.72); }
[data-theme="dark"][data-sky="cloudy"] .c { filter: brightness(.62) sepia(1) hue-rotate(178deg) saturate(.9) brightness(.82) opacity(.8); }
@media (max-width: 959px) { .hero { padding-bottom: 64px; } }

/* Header sits on the sky and scrolls away */
.top { position: relative; top: auto; margin-top: 4px; }
.top-in { padding: 6px 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.brand { font-size: 23px; }
.ctl { background: rgba(255, 255, 255, .36); border-color: var(--edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 16px -12px rgba(10, 22, 50, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
[data-theme="dark"] .ctl { background: rgba(40, 60, 112, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }

/* Surfaces */
.card {
  background: var(--frost); border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 26px 50px -32px rgba(12, 34, 80, .62);
}
[data-theme="dark"] .card { border-color: var(--edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 26px 50px -30px rgba(0, 0, 0, .85); }
.tool > .result {
  isolation: isolate; border-radius: 28px;
  background: linear-gradient(150deg, var(--hero-a), var(--hero-b));
  -webkit-backdrop-filter: blur(22px) saturate(1.45); backdrop-filter: blur(22px) saturate(1.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .28), 0 30px 60px -32px rgba(12, 34, 80, .72);
}
[data-theme="dark"] .tool > .result { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.result::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, 0) 46%);
}
[data-theme="dark"] .result::before { opacity: .28; }
.how-card, .scale-card, .cta, .faq details {
  background: var(--quiet); border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 18px 36px -30px rgba(12, 34, 80, .6);
}
[data-theme="dark"] .how-card, [data-theme="dark"] .scale-card, [data-theme="dark"] .cta, [data-theme="dark"] .faq details { border-color: var(--edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }

/* Mascot depth */
.result-mascot { width: 112px; height: 97px; top: -52px; right: 10px; animation: none; filter: none; }
.eyebrow { padding-right: 104px; }
.m-bob { animation: bob 4.6s ease-in-out infinite; }
.m-shadow { transform-box: fill-box; transform-origin: center; animation: groundShadow 4.6s ease-in-out infinite; }
@keyframes groundShadow { 50% { transform: scaleX(.84); opacity: .66; } }
.eyes { transform-box: fill-box; transform-origin: center; }
.m-z text { fill: #102450; }
[data-theme="dark"] .m-z text { fill: #eaf2ff; }

/* Clean, flat score ring */
.ring .ring-track, .ring .ring-value { stroke-width: 11; }
.ring .ring-track { stroke: rgba(30, 70, 130, .12); }
[data-theme="dark"] .ring .ring-track { stroke: rgba(255, 255, 255, .14); }
.ring .ring-ticks { stroke: rgba(20, 42, 92, .22); stroke-width: 4 !important; }
[data-theme="dark"] .ring .ring-ticks { stroke: rgba(255, 255, 255, .24); }
.ring .ring-knob { r: 3.1px; }
@media (min-width: 960px) {
  .tool > .result { top: 84px; }
}
@media (min-width: 960px) and (max-height: 780px) {
  .tool > .result { top: 64px; padding-block: 24px 20px; }
  /* Grows with the screen height, so the card never runs off the bottom */
  .ring { width: clamp(178px, calc(100vh - 540px), 228px); margin-top: 6px; }
  .big { font-size: 62px; }
  .cheer { margin-top: 10px; }
  .stats { margin-top: 12px; }
  .stats div { padding-block: 9px; }
}

/* Calculator: open rows, solid fields */
.rows { gap: 0; }
.row { padding: 12px 0; border-radius: 0; background: none; border-bottom: 1px solid var(--hairline); }
.row:last-child { border-bottom: 0; }
input[type="text"], textarea.f-name, .stepper { background: var(--solid); border-width: 1px; box-shadow: inset 0 1px 2px rgba(20, 42, 92, .08); }
.stepper input[type="text"] { background: none; box-shadow: none; }
select { background-color: var(--grade); border-width: 1px; font-weight: 750; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
[data-theme="dark"] select { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.tabs { background: rgba(30, 70, 130, .1); box-shadow: inset 0 1px 2px rgba(20, 42, 92, .1); }
.tab-pill { background: linear-gradient(180deg, #fff, #f1f7fd); box-shadow: inset 0 1px 0 #fff, 0 5px 12px -5px rgba(12, 34, 80, .5); }
[data-theme="dark"] .tabs { background: rgba(125, 165, 235, .16); }
[data-theme="dark"] .tab-pill { background: linear-gradient(180deg, #446399, #324f86); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.stats { gap: 0; padding-block: 2px; border-block: 1px solid var(--hairline); }
.stats div { background: none; border-radius: 0; }
.stats div + div { border-left: 1px solid var(--hairline); }
.plan-out { background: var(--tint); border: 1px solid var(--hairline); }
.btn.primary {
  background: linear-gradient(180deg, #1f5fc4 0%, #17489e 55%, #12214e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(10, 20, 70, .24), 0 12px 22px -14px rgba(10, 22, 50, .85);
}
[data-theme="dark"] .btn.primary { background: linear-gradient(180deg, #2a6fd2 0%, #1d55b8 55%, #17346f 100%); }
.btn.primary:disabled, [data-theme="dark"] .btn.primary:disabled { background: var(--tint-strong); color: var(--navy-2); box-shadow: none; }
.btn.soft { background: rgba(30, 90, 170, .12); box-shadow: inset 0 0 0 1px rgba(30, 90, 170, .16); }
[data-theme="dark"] .btn.soft { background: rgba(125, 165, 235, .2); box-shadow: inset 0 0 0 1px rgba(205, 222, 255, .16); }
@media (hover: hover) { .btn.soft:hover { background: rgba(30, 90, 170, .2); } [data-theme="dark"] .btn.soft:hover { background: rgba(125, 165, 235, .3); } }
.how .eq { background: rgba(30, 70, 130, .1); color: var(--navy); box-shadow: inset 0 0 0 1px var(--hairline); }
[data-theme="dark"] .how .eq { background: rgba(125, 165, 235, .18); color: #eaf2ff; }

/* Flat inner content: spacing and dividers instead of boxes inside cards */
.plan-out { padding: 14px 0 0; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; background: none; }
.plan-out.warm, .plan-out.good { padding: 12px 14px; border: 0; border-radius: 14px; }
.scale-card .grades { gap: 4px 0; }
.scale-card .grades li { padding: 7px 2px; border-radius: 0; background: none; }

/* Accent colours: amber for badges and markers, mint for good news only */
:root { --amber: #f5a524; --amber-soft: #fff1d2; --amber-ink: #8a5300; --amber-line: rgba(245, 165, 36, .4); --mint: #22b07d; --mint-soft: #dcf5ea; --mint-ink: #0c6a49; }
[data-theme="dark"] { --amber-soft: rgba(245, 165, 36, .16); --amber-ink: #ffcf7a; --amber-line: rgba(245, 165, 36, .32); --mint-soft: rgba(34, 176, 125, .2); --mint-ink: #86e3bf; }
.step-no { color: #b8680a; opacity: 1; }
[data-theme="dark"] .step-no { color: #ffc14d; }
[data-theme="dark"] .step-no { color: #ffbf4d; }
.how-card .ex strong { color: var(--mint-ink); }
.plan-out.good { background: var(--mint-soft); box-shadow: inset 0 0 0 1px rgba(34, 176, 125, .35); }

/* Likely class badge */
.tier { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 5px 13px 5px 10px; border-radius: 99px; background: var(--amber-soft); color: var(--amber-ink); box-shadow: inset 0 0 0 1px var(--amber-line); font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.tier[hidden] { display: none; }
.tier-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

/* Percentage formula picker */
.formula-line { margin-top: 10px; }
.formula-line strong { color: var(--navy); font-weight: 700; white-space: nowrap; }
.formula-line .link { color: var(--accent-text); font-weight: 700; }
.formula-pick { width: 100%; margin-top: 10px; text-align: left; }
.formula-pick[hidden] { display: none; }
.formula-pick label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 650; color: var(--navy-2); }
.formula-pick select { height: 42px; font-size: 14.5px; }
.custom-formula { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14.5px; font-weight: 650; }
.custom-formula[hidden] { display: none; }
.custom-formula input[type="text"] { width: 76px; height: 40px; padding: 0 6px; text-align: center; }
.formula-pick .fine { margin-top: 6px; }

/* Percentage to CGPA */
.convert { grid-area: convert; }
.convert h2 { font: 800 22px/1.2 var(--display); letter-spacing: -.02em; }
.convert .hint { margin-top: 6px; }
.conv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 12px; }
.conv-row label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; color: var(--navy-2); }
.conv-row input { color: var(--navy); }
.conv-out { min-width: 112px; padding: 5px 14px 6px; border-radius: 14px; background: var(--tint); text-align: center; }
.conv-out span { display: block; font-size: 12.5px; font-weight: 650; color: var(--navy-2); }
.conv-out strong { font: 800 26px/1.15 var(--display); letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.convert .row-note { margin-top: 8px; }
.convert .fine { margin-top: 10px; }
.link.inline { min-height: 0; padding: 2px 0; font-size: inherit; }
.tool { grid-template-areas: "result" "inputs" "next" "plan" "convert"; }
.tool > .convert { animation-delay: .4s; }
@media (min-width: 960px) {
  .tool { grid-template-rows: auto auto auto auto 1fr; grid-template-areas: "inputs result" "next result" "plan result" "convert result" ". result"; }
  .convert, .next { align-self: start; }
}
.tool-foot { gap: 6px; }
.cta > .cta-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; flex: none; }
@media (min-width: 720px) { .cta > .cta-actions { flex-direction: row; width: auto; } }

/* Your next steps */
.next { grid-area: next; }
.next[hidden] { display: none; }
.next h2 { font: 800 22px/1.2 var(--display); letter-spacing: -.02em; }
.seg { display: flex; gap: 4px; margin-top: 12px; padding: 4px; border-radius: 14px; background: rgba(30, 70, 130, .1); overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: 1 0 auto; min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--navy-2); font-size: 14.5px; font-weight: 700; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button[hidden] { display: none; }
.seg button[aria-selected="true"] { color: var(--navy); background: linear-gradient(180deg, #fff, #f1f7fd); box-shadow: inset 0 1px 0 #fff, 0 4px 10px -5px rgba(12, 34, 80, .5); }
[data-theme="dark"] .seg { background: rgba(125, 165, 235, .16); }
[data-theme="dark"] .seg button[aria-selected="true"] { background: linear-gradient(180deg, #446399, #324f86); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
@media (hover: hover) { .seg button:hover:not([aria-selected="true"]) { color: var(--navy); } }
.np { margin-top: 14px; }
.np:focus-visible { outline-offset: 4px; }
.np[hidden] { display: none; }
.np-lead { font-size: 14px; font-weight: 700; color: var(--navy-2); }
.np .fine { margin-top: 10px; }

.cuts { margin: 6px 0 0; padding: 0; list-style: none; }
.cuts li { display: flex; align-items: center; gap: 10px; min-height: 44px; border-top: 1px solid var(--hairline); font-size: 15px; font-weight: 650; }
.cuts .mark { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(20, 42, 92, .1); color: var(--navy-2); font-size: 12.5px; font-weight: 800; }
.cuts li.met .mark { background: var(--mint); color: #fff; }
.cuts b { flex: none; min-width: 34px; font: 800 16.5px var(--display); font-variant-numeric: tabular-nums; }
.cuts .cut-label { flex: 1; min-width: 0; }
.cuts em { flex: none; font-style: normal; font-size: 13px; font-weight: 600; color: var(--navy-2); font-variant-numeric: tabular-nums; }
.np-sum { margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: var(--tint); font-size: 14.5px; font-weight: 650; line-height: 1.4; }
.np-sum.good { background: var(--mint-soft); color: var(--mint-ink); box-shadow: inset 0 0 0 1px rgba(34, 176, 125, .3); }
.np-sum.warm { background: var(--amber-soft); color: var(--amber-ink); box-shadow: inset 0 0 0 1px var(--amber-line); }

.boosts { display: grid; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.boost { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 12px; padding: 10px 12px; border-radius: 14px; background: var(--tint); }
.boost strong { font-size: 15px; overflow-wrap: anywhere; }
.boost small { grid-column: 1; font-size: 13px; color: var(--navy-2); }
.boost .gain { grid-column: 2; grid-row: 1 / span 3; align-self: center; font: 800 21px var(--display); color: var(--mint-ink); font-variant-numeric: tabular-nums; }
.boost.top { background: var(--amber-soft); box-shadow: inset 0 0 0 1px var(--amber-line); }
.boost .chip { grid-column: 1; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--amber-ink); }
.boost-done { padding: 12px; border-radius: 14px; background: var(--mint-soft); color: var(--mint-ink); font-weight: 650; }

.bl-rows { display: grid; gap: 8px; margin-top: 8px; }
.bl-row { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 10px; align-items: center; }
.bl-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 650; font-size: 14.5px; overflow-wrap: anywhere; }
.bl-name small { font-size: 13px; font-weight: 600; color: var(--navy-2); white-space: nowrap; }
.bl-f { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #fde3e6; color: var(--danger); font: 800 13px var(--display); }
[data-theme="dark"] .bl-f { background: rgba(255, 140, 160, .18); }
.bl-compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 12px; text-align: center; }
.bl-compare > span { font: 800 18px var(--display); color: var(--navy-2); }
.bl-compare div { padding: 8px; border-radius: 14px; background: var(--tint); }
.bl-compare small { display: block; font-size: 12.5px; font-weight: 650; color: var(--navy-2); }
.bl-compare strong { font: 800 28px/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bl-compare .after { background: var(--mint-soft); box-shadow: inset 0 0 0 1px rgba(34, 176, 125, .3); }
.bl-compare .after strong { color: var(--mint-ink); }

.trend { display: block; width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.t-grid { stroke: var(--hairline); stroke-width: 1; }
.t-axis { fill: var(--navy-2); font: 600 10.5px var(--font); }
.t-area { fill: url(#trendArea); }
.t-line { fill: none; stroke: url(#trendLine); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.t-dot { fill: var(--solid, #fff); stroke: #1d6fd6; stroke-width: 2.5; }
.t-dot.last { fill: var(--amber); stroke: #fff; }
.t-value { fill: var(--navy); font: 800 13px var(--display); }
.trend-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 6px; font-size: 14px; font-weight: 700; }
.trend-legend .up { color: var(--mint-ink); }
.trend-legend .down { color: var(--navy-2); }

/* Printable summary: hidden on screen, the only thing printed */
.print-sheet { display: none; }
@media print {
  @page { margin: 16mm; }
  html, body { background: #fff !important; color: #000; }
  body > *:not(.print-sheet) { display: none !important; }
  .print-sheet { display: block; font: 12pt/1.45 var(--font); color: #142a5c; }
  .print-sheet h1 { font: 800 24pt/1.1 var(--display); letter-spacing: -.02em; }
  .ps-meta { display: flex; justify-content: space-between; margin: 6pt 0 14pt; color: #3a4d75; }
  .print-sheet table { width: 100%; border-collapse: collapse; }
  .print-sheet th, .print-sheet td { padding: 6pt 4pt; border-bottom: 1px solid #d5deeb; text-align: left; }
  .print-sheet th { font-size: 9.5pt; text-transform: uppercase; letter-spacing: .05em; color: #3a4d75; }
  .print-sheet th:not(:first-child), .print-sheet td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
  .ps-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8pt; margin-top: 16pt; }
  .ps-stats div { padding: 8pt; border: 1px solid #d5deeb; border-radius: 6pt; }
  .ps-stats span { display: block; font-size: 9.5pt; color: #3a4d75; }
  .ps-stats strong { font: 800 15pt var(--display); }
  .ps-foot { margin-top: 18pt; font-size: 9pt; color: #55688f; }
}

/* ---------- Calczora sky: flat drifting clouds, sun and moon (matches the homepage) ---------- */
:root { --sky-1: #5c92d1; --sky-2: #62aef0; --sky-3: #d6ebfa; }
.sun { display: none; }
.sky { transition: --s1 1.1s ease, --s2 1.1s ease, --s3 1.1s ease; }
.c { height: auto; aspect-ratio: 107 / 76; filter: none !important; transition: opacity .9s ease; }
.c1 { width: min(42vw, 300px); }
.c2 { width: min(30vw, 190px); }
.c3 { width: min(52vw, 380px); }
.c4 { width: min(24vw, 140px); }
.c5 { width: min(46vw, 330px); }
.c6 { width: min(56vw, 420px); }
.c7 { width: min(48vw, 340px); }
[data-sky="cloudy"] .c { filter: none !important; }
[data-theme="dark"] .sky { --s1: #0a1433; --s2: #132257; --s3: #1c2f6b; }
[data-theme="dark"] { --cloud-top: #34477a; --cloud-bottom: #22325c; }
[data-theme="dark"] .stars { opacity: .8; }

.orb { position: absolute; top: 92px; right: 6%; width: 96px; height: 96px; transition: opacity .6s ease; }
.orb-sun, .orb-moon { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.orb-sun { background: radial-gradient(circle at 40% 38%, #ffe7a3 0%, #ffc94a 45%, #f5a422 100%); box-shadow: 0 0 24px 4px rgba(255,200,90,.45); }
.orb-moon { filter: drop-shadow(0 0 22px rgba(255,248,214,.35)); opacity: 0; transform: translateY(150px) rotate(-25deg); }
[data-theme="dark"] .orb-sun { opacity: 0; transform: translateY(150px) scale(.9); }
[data-theme="dark"] .orb-moon { opacity: 1; transform: none; }
/* going to night: sun sinks first, then the moon rises; reversed for day */
[data-theme="dark"] .orb-sun { transition: transform .9s cubic-bezier(.55,0,.75,.35), opacity .6s ease .3s; }
[data-theme="dark"] .orb-moon { transition: transform 1s cubic-bezier(.2,.75,.3,1) .55s, opacity .6s ease .55s; }
:root:not([data-theme="dark"]) .orb-moon { transition: transform .8s cubic-bezier(.55,0,.75,.35), opacity .5s ease .25s; }
:root:not([data-theme="dark"]) .orb-sun { transition: transform 1s cubic-bezier(.2,.75,.3,1) .5s, opacity .6s ease .5s; }
[data-sky="clear"] .orb, [data-sky="cloudy"] .orb { opacity: 0; }
.theming main *, .theming header *, .theming footer * { transition: background-color .7s ease, color .7s ease, border-color .7s ease, box-shadow .7s ease, text-shadow .7s ease, stroke .7s ease, fill .7s ease, filter .7s ease, stop-color .7s ease !important; }

/* heading: white words with an orange underline by day, banana yellow by night */
:root:not([data-theme="dark"]) .hero em { color: #fff; text-shadow: 0 2px 14px rgba(10,40,100,.25); }
[data-theme="dark"] .hero em { color: #ffd66b; }
.under path { stroke: #f5a422; }
@media (min-width: 960px) and (max-width: 1240px) { .orb { top: 84px; right: 2.5%; width: 72px; height: 72px; } }
@media (max-width: 959px) {
  .orb { top: 70px; right: 12px; width: 38px; height: 38px; }
  .orb-sun { box-shadow: 0 0 14px 2px rgba(255,200,90,.45); }
  [data-theme="dark"] .orb-sun, .orb-moon { transform: translateY(110px); }
  [data-theme="dark"] .orb-moon { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Calczora wordmark */
.brand .tw { font: 500 23px/1 var(--display); letter-spacing: -.035em; white-space: nowrap; }
.brand .tw b { font-weight: 800; color: #f5a422; }
.foot a { color: inherit; }

/* soft coloured glow behind the sun (warm) and the moon (cool) */
.orb::before, .orb::after { content: ""; position: absolute; inset: -95%; border-radius: 50%; pointer-events: none; transition: opacity 1.1s ease; }
.orb::before { background: radial-gradient(circle, rgba(255,203,92,.42) 0%, rgba(255,190,70,.16) 38%, rgba(255,190,70,0) 68%); }
.orb::after { background: radial-gradient(circle, rgba(200,220,255,.3) 0%, rgba(170,195,255,.11) 40%, rgba(170,195,255,0) 68%); opacity: 0; }
[data-theme="dark"] .orb::before { opacity: 0; }
[data-theme="dark"] .orb::after { opacity: 1; }
:root:not([data-sky]) .c6, [data-sky="sunny"] .c6 { opacity: .7; }
[data-sky="sunny"] .c7 { opacity: .5; }

/* plush CGPA buddy: notebook by day, book and chai on exam night */
.result-mascot { overflow: visible; }
.m-night { display: none; }
[data-theme="dark"] .m-night { display: inline; }
[data-theme="dark"] .m-book { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .m-steam { animation: steam 2.6s ease-in-out infinite; }
  @keyframes steam { 0%, 100% { opacity: .2; transform: translateY(1px); } 50% { opacity: 1; transform: translateY(-2px); } }
}

/* One heading scale, shared with the homepage (home.css uses the same numbers).
   Page title > section titles > card titles, and the FAQ title is no bigger than its section. */
:root { --t-h1: clamp(36px, 6.4vw, 72px); --t-h2: clamp(28px, 3.4vw, 36px); --t-card: 22px; }
.hero h1 { font-size: var(--t-h1); }
.how h2, .how > .faq-title { font-size: var(--t-h2); line-height: 1.1; }
.cta h2 { font-size: clamp(24px, 2.6vw, 30px); }
.plan h2, .convert h2, .next h2 { font-size: var(--t-card); }

/* Score card at night: a lit window in the dark sky.
   Deeper, more solid surface so it stands apart from the input card,
   a soft moonlight pool behind the ring, and the ring runs sky blue into banana yellow. */
[data-theme="dark"] .tool > .result {
  background:
    radial-gradient(70% 46% at 50% 30%, rgba(110, 170, 255, .2) 0%, rgba(110, 170, 255, 0) 70%),
    linear-gradient(180deg, rgba(30, 50, 104, .94) 0%, rgba(14, 26, 62, .96) 100%);
  border-color: rgba(205, 222, 255, .16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 0 0 1px rgba(255, 214, 107, .05),
    0 0 0 1px rgba(6, 12, 32, .4),
    0 34px 70px -28px rgba(0, 0, 0, .95);
}
[data-theme="dark"] .result::before {
  opacity: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 22%);
}
[data-theme="dark"] .eyebrow { color: #c9d7f2; letter-spacing: .01em; }
[data-theme="dark"] #ringFill stop:nth-child(1) { stop-color: #6fd0ff; }
[data-theme="dark"] #ringFill stop:nth-child(2) { stop-color: #4a8ff0; }
[data-theme="dark"] #ringFill stop:nth-child(3) { stop-color: #ffd66b; }
[data-theme="dark"] .ring .ring-value { filter: drop-shadow(0 0 6px rgba(111, 190, 255, .45)); }
[data-theme="dark"] .ring .ring-track { stroke: rgba(160, 190, 255, .1); }
[data-theme="dark"] .ring .ring-ticks { stroke: rgba(200, 220, 255, .2); }
[data-theme="dark"] .big { color: #fff; -webkit-text-stroke: 0; text-shadow: 0 0 28px rgba(140, 190, 255, .35); }
[data-theme="dark"] .ring-text { color: #a9bbdf; }
[data-theme="dark"] .cheer { color: #f1f5ff; }
[data-theme="dark"] .stats { border-block-color: rgba(205, 222, 255, .1); }
[data-theme="dark"] .stats div + div { border-left-color: rgba(205, 222, 255, .1); }
[data-theme="dark"] .stats dt { color: #a9bbdf; }
[data-theme="dark"] .stats dd { color: #fff; }
[data-theme="dark"] .stats div:first-child dd { color: #ffd66b; }
[data-theme="dark"] .fine { color: #a9bbdf; }
[data-theme="dark"] .result .btn.primary:not(:disabled) {
  background: linear-gradient(180deg, #4a95f5 0%, #2d6fdb 60%, #2459bd 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 14px 26px -14px rgba(40, 110, 230, .75);
}

/* ---------- Three skies, matched to the homepage ----------
   Beams, wisps, twinkling stars and the cloud deck come from /sky.css.
   Every sky sits at half strength, so each stays close to the original look. */
.orb .rays { z-index: -1; }
/* Clear: a bit deeper blue, clouds fainter, the sun stays */
[data-sky="clear"] .sky { --s1: #529de3; --s2: #78bcf3; --s3: #dcf0fe; }
[data-sky="clear"] .c { opacity: .42; }
[data-sky="clear"] .c6, [data-sky="clear"] .c7 { opacity: 0; }
[data-sky="clear"] .orb { opacity: 1; }
/* Cloudy: a soft grey cast, grey-bottomed clouds, the sun dimmed by haze */
[data-sky="cloudy"] .sky { --s1: #7cacd0; --s2: #adcbe0; --s3: #e2ecf3; }
[data-sky="cloudy"] { --cloud-top: #f9fafb; --cloud-bottom: #cedbe6; }
[data-sky="cloudy"] .orb { opacity: .55; }
/* Night versions */
[data-theme="dark"][data-sky="clear"] .sky { --s1: #08102a; --s2: #101c48; --s3: #1a2c62; }
[data-theme="dark"][data-sky="cloudy"] .sky { --s1: #101a32; --s2: #1b284e; --s3: #283862; }
[data-theme="dark"][data-sky="cloudy"] { --cloud-top: #3f4e74; --cloud-bottom: #273452; }
/* fade the sun or moon in and out with the sky, instead of popping */
.orb { transition: opacity 1.1s ease; }

/* ---------- Smooth day/night on the score card ----------
   Gradients can't fade, so the night surface is its own layer that fades in. */
.tool > .result::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .8s ease;
  background:
    radial-gradient(70% 46% at 50% 30%, rgba(110, 170, 255, .2) 0%, rgba(110, 170, 255, 0) 70%),
    linear-gradient(180deg, rgba(30, 50, 104, .94) 0%, rgba(14, 26, 62, .96) 100%);
}
[data-theme="dark"] .tool > .result::after { opacity: 1; }
[data-theme="dark"] .tool > .result { background: linear-gradient(150deg, var(--hero-a), var(--hero-b)); }
.tool > .result { transition: box-shadow .8s ease, border-color .8s ease; }
#ringFill stop { transition: stop-color .8s ease; }
.ring .ring-value, .ring .ring-track, .ring .ring-ticks { transition: stroke .8s ease, filter .8s ease; }
.big, .ring-text, .cheer, .stats dt, .stats dd, .fine, .eyebrow { transition: color .8s ease, text-shadow .8s ease; }
