/* Roleback MMO — site officiel. Aucune ressource externe : polices système, images locales. */
:root {
  --bg: #0a1020;
  --bg-2: #0d1730;
  --surface: #111c35;
  --surface-2: #17264a;
  --line: #263b66;
  --line-soft: #1b2c50;
  --text: #eaf0fc;
  --muted: #a6b5d3;
  --gold: #e8c65a;
  --gold-deep: #c49a2c;
  --gold-ink: #241a04;
  --teal: #43d3cc;
  --teal-deep: #1b9e99;
  --green: #6fd694;
  --red: #ff8c8c;
  --amber: #ffcb6b;
  --common: #bac6de;
  --uncommon: #6fd694;
  --rare: #5eaaff;
  --epic: #b78fff;
  --legendary: #ffb347;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(2, 6, 18, .55);
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(1100px 520px at 12% -8%, rgba(67, 211, 204, .10), transparent 60%),
    radial-gradient(900px 480px at 100% 0%, rgba(232, 198, 90, .08), transparent 55%),
    var(--bg);
  color: var(--text); font: 16px/1.6 var(--sans);
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #8be9e4; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(560px, 100% - 32px); margin-inline: auto; }
.mid { width: min(820px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 16, 32, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.bar { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(232, 198, 90, .35); }
.brand b { font: 700 1.2rem/1 var(--serif); letter-spacing: .12em; color: var(--gold); }
.brand small { display: block; font: 600 .62rem/1 var(--sans); letter-spacing: .32em; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 9px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); color: #fff; }
.bar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.menu-panel a, .menu-panel button { display: block; width: 100%; text-align: left; padding: 11px 12px; border-radius: 9px; color: var(--text); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--surface-2); }
.menu-panel hr { border: 0; border-top: 1px solid var(--line-soft); margin: 6px 0; }
@media (max-width: 860px) {
  .nav, .bar-actions { display: none; }
  .menu { display: block; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 11px; border: 1px solid transparent; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #f1d476, var(--gold-deep)); color: var(--gold-ink); box-shadow: 0 6px 22px rgba(232, 198, 90, .22), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-primary:hover { color: var(--gold-ink); box-shadow: 0 8px 28px rgba(232, 198, 90, .34), inset 0 1px 0 rgba(255, 255, 255, .45); transform: translateY(-1px); }
.btn-secondary { background: rgba(67, 211, 204, .08); border-color: rgba(67, 211, 204, .55); color: var(--teal); }
.btn-secondary:hover { background: rgba(67, 211, 204, .16); color: #9bf0eb; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); color: #fff; }
.btn-danger { background: rgba(255, 140, 140, .08); border-color: rgba(255, 140, 140, .5); color: var(--red); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.inline-form { display: inline; margin: 0; }

/* ---------- Messages ---------- */
.notice { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-weight: 500; }
.notice .wrap { display: flex; gap: 10px; align-items: flex-start; }
.notice-good { background: rgba(111, 214, 148, .10); color: var(--green); }
.notice-info { background: rgba(67, 211, 204, .09); color: var(--teal); }
.notice-warn { background: rgba(255, 203, 107, .10); color: var(--amber); }
.alert { padding: 12px 14px; border-radius: 11px; border: 1px solid; margin: 0 0 18px; font-weight: 500; }
.alert-error { background: rgba(255, 140, 140, .09); border-color: rgba(255, 140, 140, .45); color: var(--red); }
.alert-warn { background: rgba(255, 203, 107, .09); border-color: rgba(255, 203, 107, .4); color: var(--amber); }
.alert-good { background: rgba(111, 214, 148, .09); border-color: rgba(111, 214, 148, .4); color: var(--green); }
.alert-info { background: rgba(67, 211, 204, .08); border-color: rgba(67, 211, 204, .4); color: var(--teal); }

/* ---------- Cartes & mise en page ---------- */
.card { background: linear-gradient(180deg, rgba(23, 38, 74, .75), rgba(17, 28, 53, .92)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card-flat { box-shadow: none; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.eyebrow { display: inline-block; font: 700 .76rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.page { padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 8vw, 96px); }
.page-title { margin-bottom: 8px; }
.page-lead { color: var(--muted); max-width: 62ch; margin-bottom: 28px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font: 600 .8rem/1.3 var(--sans); border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.pill-good { color: var(--green); border-color: rgba(111, 214, 148, .4); background: rgba(111, 214, 148, .08); }
.pill-warn { color: var(--amber); border-color: rgba(255, 203, 107, .4); background: rgba(255, 203, 107, .08); }
.pill-gold { color: var(--gold); border-color: rgba(232, 198, 90, .45); background: rgba(232, 198, 90, .08); }
.pill-muted { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(111, 214, 148, .2); }

/* ---------- Accueil ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; }
.store small { display: block; font-weight: 500; font-size: .7rem; color: var(--muted); }
.store:hover { border-color: var(--teal); color: #fff; }
.store.soon { opacity: .6; pointer-events: none; }
.frame { position: relative; border-radius: 18px; padding: 8px; background: linear-gradient(145deg, rgba(232, 198, 90, .55), rgba(67, 211, 204, .35)); box-shadow: 0 30px 80px rgba(2, 6, 18, .7), 0 0 80px rgba(67, 211, 204, .12); }
.frame img { border-radius: 12px; width: 100%; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.feature { display: grid; gap: 10px; align-content: start; }
.feature .badge { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: rgba(67, 211, 204, .1); border: 1px solid rgba(67, 211, 204, .4); color: var(--teal); }
.feature .badge .icon { width: 24px; height: 24px; }
.feature h3 { margin: 4px 0 0; }
.feature p { color: var(--muted); margin: 0; }
.class-card { text-align: center; }
.class-card .badge { margin-inline: auto; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shots figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.shots figcaption { padding: 12px 14px; font-size: .9rem; color: var(--muted); }
.shots img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shots { grid-template-columns: minmax(0, 1fr); } }
.cta-band { text-align: center; padding: clamp(32px, 6vw, 56px) 24px; border-radius: 22px; background: radial-gradient(520px 220px at 50% 0%, rgba(232, 198, 90, .16), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.cta-band p { color: var(--muted); max-width: 56ch; margin-inline: auto; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .label { font-weight: 600; font-size: .95rem; }
.field .hint { color: var(--muted); font-size: .85rem; }
.input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line); background: #0b1428; color: var(--text); font: inherit; }
.input::placeholder { color: #6479a3; }
.input:hover { border-color: #38548d; }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(67, 211, 204, .25); }
.input[aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: .88rem; font-weight: 500; }
.field-ok { color: var(--green); font-size: .88rem; font-weight: 500; }
.password-wrap { position: relative; }
.password-wrap .input { padding-right: 78px; }
.toggle-pw { position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--surface-2); color: var(--muted); font: 600 .82rem var(--sans); cursor: pointer; }
.toggle-pw:hover { color: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--gold-deep); flex: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: .92rem; color: var(--muted); }
.divider { height: 1px; background: var(--line-soft); margin: 22px 0; border: 0; }
.strength { height: 6px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.strength span { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s, background .2s; }
.strength[data-level="1"] span { width: 25%; background: var(--red); }
.strength[data-level="2"] span { width: 50%; background: var(--amber); }
.strength[data-level="3"] span { width: 75%; background: var(--teal); }
.strength[data-level="4"] span { width: 100%; background: var(--green); }

/* ---------- Espace joueur ---------- */
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.subnav a { padding: 9px 15px; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 600; }
.subnav a:hover { color: #fff; background: var(--surface); }
.subnav a[aria-current="page"] { color: var(--gold-ink); background: var(--gold); }
.stat { display: grid; gap: 4px; }
.stat b { font: 700 1.5rem/1.1 var(--serif); }
.stat span { color: var(--muted); font-size: .88rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 11px; background: rgba(11, 20, 40, .55); }
.empty { text-align: center; padding: 38px 18px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty .icon { width: 38px; height: 38px; color: var(--teal); margin: 0 auto 10px; }
.empty h3 { color: var(--text); }

.char { display: grid; gap: 18px; }
.char-head { display: flex; gap: 14px; align-items: center; }
.avatar { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; flex: none; background: linear-gradient(145deg, rgba(232, 198, 90, .25), rgba(67, 211, 204, .15)); border: 1px solid rgba(232, 198, 90, .5); color: var(--gold); }
.avatar .icon { width: 30px; height: 30px; }
.char-head h3 { margin: 0; font-size: 1.35rem; }
.meter-row { display: grid; gap: 6px; }
.meter-row > div { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); }
progress { appearance: none; -webkit-appearance: none; width: 100%; height: 10px; border: 0; border-radius: 8px; background: var(--line-soft); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--line-soft); border-radius: 8px; }
progress::-webkit-progress-value { background: linear-gradient(90deg, var(--teal-deep), var(--teal)); border-radius: 8px; }
progress::-moz-progress-bar { background: linear-gradient(90deg, var(--teal-deep), var(--teal)); border-radius: 8px; }
progress.hp-bar::-webkit-progress-value { background: linear-gradient(90deg, #c94f4f, #ff8c8c); }
progress.hp-bar::-moz-progress-bar { background: linear-gradient(90deg, #c94f4f, #ff8c8c); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.attrs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.attrs div { text-align: center; padding: 9px 4px; border-radius: 10px; background: rgba(11, 20, 40, .7); border: 1px solid var(--line-soft); }
.attrs b { display: block; font: 700 1.15rem/1.2 var(--serif); }
.attrs span { font-size: .72rem; color: var(--muted); }
@media (max-width: 460px) { .attrs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gear { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gear div { padding: 9px 12px; border-radius: 10px; background: rgba(11, 20, 40, .7); border: 1px solid var(--line-soft); min-width: 0; }
.gear small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.gear b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.rarity-common { color: var(--common); } .rarity-uncommon { color: var(--uncommon); } .rarity-rare { color: var(--rare); }
.rarity-epic { color: var(--epic); } .rarity-legendary { color: var(--legendary); }
.gear .none { color: #6479a3; font-weight: 500; }
@media (max-width: 460px) { .gear { grid-template-columns: minmax(0, 1fr); } }

.class-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.class-pick input { position: absolute; opacity: 0; pointer-events: none; }
.class-pick label { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 16px 10px; border-radius: 13px; border: 1px solid var(--line); background: #0b1428; cursor: pointer; }
.class-pick label .avatar { margin-bottom: 4px; }
.class-pick label small { color: var(--muted); font-size: .8rem; font-weight: 400; }
.class-pick input:checked + label { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 198, 90, .22); background: rgba(232, 198, 90, .06); }
.class-pick input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (max-width: 560px) { .class-pick { grid-template-columns: minmax(0, 1fr); } .class-pick label { grid-template-columns: auto 1fr; justify-items: start; text-align: left; } }

/* ---------- Boutique ---------- */
.product { display: grid; gap: 14px; align-content: start; }
.product-art { display: grid; place-items: center; height: 140px; border-radius: 12px; background: radial-gradient(180px 90px at 50% 40%, rgba(232, 198, 90, .22), transparent 70%), #0b1428; border: 1px solid var(--line-soft); color: var(--gold); }
.product-art .icon { width: 64px; height: 64px; stroke-width: 1.4; }
.product h3 { margin: 0; }
.product p { color: var(--muted); margin: 0; }
.price { font: 700 1.6rem/1 var(--serif); color: var(--gold); }
.price small { font: 500 .8rem var(--sans); color: var(--muted); margin-left: 6px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.summary { display: grid; gap: 12px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.summary-row:last-child { border-bottom: 0; padding-bottom: 0; }
.status-big { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 18px 0; }
.status-big .icon { width: 56px; height: 56px; }
.status-good .icon { color: var(--green); } .status-warn .icon { color: var(--amber); } .status-muted .icon { color: var(--muted); }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--gold); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } html { scroll-behavior: auto; } .btn, .strength span { transition: none; } }
table.orders { width: 100%; border-collapse: collapse; }
table.orders th { text-align: left; color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; padding: 0 12px 10px; }
table.orders td { padding: 14px 12px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
@media (max-width: 640px) {
  table.orders thead { display: none; }
  table.orders, table.orders tbody, table.orders tr, table.orders td { display: block; width: 100%; }
  table.orders tr { padding: 12px 0; border-top: 1px solid var(--line-soft); }
  table.orders td { border: 0; padding: 3px 0; }
}

/* ---------- Pages de texte ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; color: var(--gold); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .todo { background: rgba(255, 203, 107, .14); color: var(--amber); padding: 1px 7px; border-radius: 6px; font-weight: 600; }
.faq details { border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(11, 20, 40, .55); padding: 4px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.faq details[open] summary { color: var(--gold); }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: rgba(6, 10, 22, .6); padding: 40px 0 28px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-grid h4 { margin: 0 0 12px; font: 700 .78rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--text); text-decoration: none; }
.foot-grid a:hover { color: var(--teal); text-decoration: underline; }
.foot-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.foot-tag { margin-top: 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.cta-left { justify-content: flex-start; margin-top: 14px; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 8px; }
.todo { background: rgba(255, 203, 107, .14); color: var(--amber); padding: 1px 7px; border-radius: 6px; font-weight: 600; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.section-title-gap { margin-top: 44px; }
.support-cards { margin-bottom: 36px; }
.faq-title { margin-top: 8px; }
.product-title { margin-top: 10px; }
.checkout-grid { align-items: start; }
.shop-note { margin-top: 24px; font-size: .9rem; }
.class-card .avatar { margin-inline: auto; }
.char { align-content: start; }
.grid + .muted, .grid + p { margin-top: 22px; }
.product .pill { justify-self: start; }
