@font-face { font-family: "Rubik"; src: url("fonts/rubik-latin-variable.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Knewave"; src: url("fonts/knewave-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--its-bg); color: var(--its-ink); font-family: var(--its-font); font-size: 16px; line-height: 1.5; }
a { color: var(--its-pink-ink); }
a:hover { color: var(--its-navy); }
:focus-visible { outline: 3px solid var(--its-pink-ink); outline-offset: 3px; }
h1, h2, h3 { color: var(--its-navy); margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Banner */
.banner { position: relative; overflow: hidden; background: var(--its-navy); color: #fff; border-bottom: 5px solid var(--its-pink); }
.banner::after { content: ""; position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; border-radius: 9999px; border: 52px solid var(--its-blue); opacity: .16; pointer-events: none; }
.bar { display: flex; align-items: center; gap: 14px; padding: 18px 0; }
.bar img { height: 34px; width: auto; display: block; }
.bar .name { font-weight: 700; font-size: 17px; letter-spacing: -.2px; }
.bar .name span { color: #b9bad0; font-weight: 400; }
.hero { position: relative; z-index: 1; padding: 22px 0 40px; display: grid; gap: 14px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #b9bad0; }
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 48px); line-height: 1.05; font-weight: 800; letter-spacing: -1.5px; max-width: 760px; }
.hero p { margin: 0; color: #d6d7e6; max-width: 640px; font-size: 17px; }
.statement { font-family: var(--its-font-statement); text-transform: uppercase; color: var(--its-yellow); font-size: clamp(30px, 5vw, 44px); line-height: 1; transform: rotate(-4deg); transform-origin: left; display: inline-block; margin-top: 6px; }

/* Layout */
main { padding: 28px 0 56px; display: grid; gap: 24px; }
.layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.ask { flex: 1 1 340px; position: sticky; top: 16px; }
.results { flex: 999 1 520px; min-width: 0; display: grid; gap: 16px; }
@media (max-width: 900px) { .ask { position: static; } }

.card { background: var(--its-surface); border: 1px solid var(--its-line); border-radius: var(--its-radius-lg); padding: 24px; box-shadow: 0 4px 16px rgba(16, 18, 58, .04); }
.card h2 { font-size: 22px; font-weight: 650; letter-spacing: -.5px; line-height: 1.3; }
.muted { color: var(--its-muted); }
.small { font-size: 14px; }

/* Questions */
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-weight: 650; color: var(--its-navy); font-size: 17px; margin-bottom: 10px; padding: 0; }
.hint { font-size: 14px; color: var(--its-muted); margin: -6px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--its-line); border-radius: 9999px; background: #fff; color: var(--its-navy); font-weight: 500; font-size: 15px; transition: background .15s, border-color .15s; }
.chip input:checked + span { background: var(--its-navy); border-color: var(--its-navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--its-pink-ink); outline-offset: 3px; }
.level .chip span { min-width: 92px; justify-content: center; font-weight: 700; font-size: 17px; }

.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 44px; height: 44px; border-radius: 9999px; border: 1px solid var(--its-line); background: #fff; color: var(--its-navy); font: 700 22px var(--its-font); cursor: pointer; }
.stepper button:hover { background: var(--its-bg); }
.stepper input[type=number] { width: 84px; height: 52px; text-align: center; font: 750 28px var(--its-font); color: var(--its-navy); border: 1px solid var(--its-line); border-radius: var(--its-radius); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=range] { width: 100%; accent-color: var(--its-pink-ink); margin-top: 12px; }

/* Results */
.summary { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; }
.summary strong { color: var(--its-navy); }
.course { display: grid; gap: 12px; position: relative; }
.course.top { border-top: 6px solid var(--its-pink); }
.course-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; }
.course h3 { font-size: 19px; font-weight: 650; line-height: 1.3; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: var(--its-bg); color: var(--its-navy); }
.tag.lvl { background: var(--its-purple); color: #fff; }
.credits { text-align: right; min-width: 90px; }
.credits b { display: block; font-size: 34px; line-height: 1; font-weight: 750; letter-spacing: -1px; color: var(--its-navy); }
.credits small { font-size: 13px; color: var(--its-muted); }
.gap { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.meter { flex: 1; height: 10px; background: var(--its-bg); border-radius: 9999px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 9999px; background: var(--its-green); }
.meter.part i { background: var(--its-orange); }
.status { font-weight: 650; white-space: nowrap; }
.status.ok { color: var(--its-green-ink); }
.status.part { color: var(--its-orange-ink); }
details { border-top: 1px solid var(--its-line); padding-top: 10px; }
summary { cursor: pointer; color: var(--its-blue-ink); font-weight: 500; font-size: 15px; min-height: 32px; }
.units { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: 14px; }
.units li { display: flex; gap: 10px; justify-content: space-between; }
.units .id { color: var(--its-muted); font-variant-numeric: tabular-nums; min-width: 52px; }
.units .t { flex: 1; }
.units .c { color: var(--its-navy); font-weight: 600; white-space: nowrap; }
.pick { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--its-navy); cursor: pointer; }
.pick input { width: 22px; height: 22px; accent-color: var(--its-pink-ink); }
.alt { font-size: 14px; color: var(--its-muted); }

.callout { border-radius: var(--its-radius-lg); padding: 20px 22px; display: grid; gap: 8px; }
.callout.blue { background: #e5f6fd; }
.callout.yellow { background: #fffbcc; }
.callout h3 { font-size: 18px; font-weight: 650; }
.callout p { margin: 0; }

.section-title { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--its-muted); margin: 8px 0 2px; }
.others summary { font-size: 16px; color: var(--its-navy); font-weight: 650; }
.others .list { display: grid; gap: 12px; margin-top: 12px; }

/* Enquiry */
.enquiry { background: var(--its-navy); color: #fff; border: 0; }
.enquiry h2 { color: #fff; }
.enquiry p { color: #d6d7e6; margin: 6px 0 0; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: #fff; }
.field input, .field select, .field textarea { font: 400 16px var(--its-font); color: var(--its-navy); background: #fff; border: 1px solid var(--its-line); border-radius: var(--its-radius); padding: 11px 12px; min-height: 46px; width: 100%; }
.field textarea { min-height: 84px; resize: vertical; }
.privacy { font-size: 13px; color: #b9bad0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--its-radius); border: 0; font: 650 16px var(--its-font); cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--its-pink-ink); color: #fff; }
.btn.primary:hover { background: #95005a; color: #fff; }
.btn.secondary { background: transparent; color: #fff; border: 1px solid #4a4c7a; }
.btn.secondary:hover { background: var(--its-navy-2); color: #fff; }
.picked { margin-top: 14px; font-size: 14px; color: #d6d7e6; }
.picked b { color: #fff; }
.toast { color: var(--its-green); font-weight: 600; font-size: 14px; }

footer { background: #fff; border-top: 1px solid var(--its-line); padding: 24px 0 36px; font-size: 14px; color: var(--its-muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
footer strong { color: var(--its-navy); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .ask, .enquiry, .banner::after { display: none; } .banner { background: #fff; color: var(--its-navy); } }

/* Add buttons */
.btn.add { background: #fff; color: var(--its-navy); border: 1px solid var(--its-navy); min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn.add:hover { background: var(--its-bg); }
.btn.add.added { background: var(--its-navy); color: #fff; }
.btn.add .plus, .btn.add .tick { font-weight: 800; font-size: 18px; line-height: 1; }
.btn.add.added .tick { color: var(--its-green); }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Best-fit ribbon */
.course.top { padding-top: 30px; }
.ribbon { position: absolute; top: -1px; left: 24px; background: var(--its-pink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 0 0 8px 8px; }

/* Add-on */
.addon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #fffbcc; border-radius: var(--its-radius); padding: 14px 16px; font-size: 15px; }
.addon-k { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--its-orange-ink); }
.addon strong { color: var(--its-navy); }

/* Packages */
.bundles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.bundle { background: #fff; border: 1px solid var(--its-line); border-radius: var(--its-radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 4px 16px rgba(16,18,58,.04); }
.bundle-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.badge { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.b-most { background: var(--its-navy); color: #fff; }
.b-best { background: var(--its-purple); color: #fff; }
.b-quickest { background: var(--its-blue); color: var(--its-navy); }
.bundle-total { text-align: right; }
.bundle-total b { display: block; font-size: 36px; line-height: 1; font-weight: 750; letter-spacing: -1px; color: var(--its-navy); }
.bundle-total small { font-size: 13px; color: var(--its-muted); }
.bundle-blurb { margin: 0; font-size: 14px; color: var(--its-muted); }
.bundle-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex-grow: 1; }
.bundle-list li { display: grid; gap: 2px; padding: 10px 12px; background: var(--its-bg); border-radius: var(--its-radius); }
.bl-name { font-weight: 600; color: var(--its-navy); font-size: 15px; line-height: 1.3; }
.bl-meta { font-size: 13px; color: var(--its-muted); }
.bundle .btn.add { align-self: flex-start; }

/* Build your own */
.builder summary { list-style: none; display: grid; gap: 4px; cursor: pointer; padding-right: 36px; position: relative; }
.builder summary::-webkit-details-marker { display: none; }
.builder summary::after { content: "+"; position: absolute; right: 0; top: 0; width: 32px; height: 32px; border-radius: 9999px; background: var(--its-navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.builder[open] summary::after { content: "–"; }
.b-title { font-size: 22px; font-weight: 650; color: var(--its-navy); letter-spacing: -.5px; }
.b-sub { font-size: 15px; color: var(--its-muted); font-weight: 400; }
.b-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 12px; }
.b-tools input[type=search] { flex: 1 1 260px; font: 400 16px var(--its-font); color: var(--its-navy); border: 1px solid var(--its-line); border-radius: var(--its-radius); padding: 11px 14px; min-height: 46px; }
.b-total { position: sticky; top: 0; background: #fff; padding: 10px 0; z-index: 1; }
.unit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 460px; overflow: auto; }
.unit-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--its-line); border-radius: var(--its-radius); cursor: pointer; }
.unit-row:hover { background: var(--its-bg); }
.unit-row input { width: 22px; height: 22px; accent-color: var(--its-pink-ink); flex-shrink: 0; }
.unit-row:has(input:checked) { border-color: var(--its-navy); background: #f0f0f8; }
.ur-main { flex: 1; display: grid; gap: 2px; min-width: 0; }
.ur-title { color: var(--its-navy); font-weight: 500; font-size: 15px; }
.ur-sub { font-size: 12px; color: var(--its-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ur-cr { text-align: right; min-width: 52px; }
.ur-cr b { display: block; font-size: 20px; color: var(--its-navy); line-height: 1; }
.ur-cr small { font-size: 11px; color: var(--its-muted); }

/* Request panel and sticky bar */
.picked-k { font-weight: 700; color: #fff; margin-bottom: 4px; }
.picked ul { margin: 0; padding-left: 18px; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--its-navy); color: #fff; border-top: 4px solid var(--its-pink); box-shadow: 0 -8px 30px rgba(16,18,58,.18); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.bar b { color: var(--its-yellow); font-size: 18px; }
body.has-bar { padding-bottom: 76px; }
h2.section-title { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--its-muted); margin: 10px 0 0; }
@media print { .bar { display: none; } }
.bar .btn { white-space: nowrap; }
@media (max-width: 520px) { .bar-sub { display: none; } .bar .btn { padding: 12px 16px; } }
.bundle-days { font-size: 14px; font-weight: 600; color: var(--its-navy); margin-top: -4px; }
