/* Prowira Graduan app site - shared styles.
   Identity follows the app: navy #1E3A5F, gold #E3B23C as the single accent,
   Bricolage Grotesque headings, Inter body, stamp chips and ledger rules. */

:root {
  --paper: #F5F6F9;
  --surface: #FFFFFF;
  --rule: #DFE4EB;
  --rule-strong: #C3CCD8;
  --ink: #13233A;
  --ink-2: #3F4F66;
  --ink-3: #56657A;
  --navy: #1E3A5F;
  --navy-deep: #13263F;
  --navy-soft: #E7EDF5;
  --gold: #E3B23C;
  --gold-ink: #835D00;
  --gold-soft: #FBF2DB;
  --ok: #2A6A45;
  --ok-soft: #E2F0E7;
  --bad: #A1272B;
  --bad-soft: #F8E4E3;
  --focus: #1E3A5F;
  --head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --r-card: 16px;
  --r-ctl: 10px;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--body); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { font: 500 .9em ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--navy-soft); padding: .1em .4em; border-radius: 5px; word-break: break-all; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.on-dark { --focus: var(--gold); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--r-ctl); }
.skip:focus { top: 12px; }

/* ---------- stamps (status chips, as in the app) ---------- */
.stamp {
  display: inline-flex; align-items: center; gap: .4em;
  font: 700 .72rem/1 var(--body); letter-spacing: .09em; text-transform: uppercase;
  padding: .45em .7em; border: 1.5px solid currentColor; border-radius: 6px;
  color: var(--navy); background: var(--surface); white-space: nowrap;
}
.stamp--gold { color: var(--gold-ink); background: var(--gold-soft); }
.stamp--ok { color: var(--ok); background: var(--ok-soft); }
.stamp--bad { color: var(--bad); background: var(--bad-soft); }
.stamp--onnavy { color: var(--gold); background: transparent; }
.stamp--tilt { transform: rotate(-2.5deg); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(245, 246, 249, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav__inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1rem var(--head); }
.brand img { height: 30px; width: auto; }
.brand__app { font: 700 .68rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); border: 1.5px solid currentColor; border-radius: 5px; padding: .35em .5em; }
.nav__links { display: none; margin-left: auto; align-items: center; gap: 4px; }
.nav__links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 12px; border-radius: 8px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--navy); background: var(--navy-soft); }
.nav__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink); border-radius: var(--r-ctl); font: 600 .9rem var(--body); cursor: pointer; }
.nav.is-open .nav__links { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav.is-open .nav__links a { padding: 12px; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__tools { margin-left: 8px; }
  .nav__toggle { display: none; }
  .nav.is-open .nav__links { position: static; flex-direction: row; padding: 0; border: 0; background: none; }
}

.lang { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: var(--r-ctl); background: var(--surface); padding: 3px; }
.lang button { min-width: 40px; min-height: 36px; border: 0; background: none; border-radius: 7px; font: 700 .8rem var(--body); letter-spacing: .04em; color: var(--ink-3); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--r-ctl); font: 600 1rem var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); }
.btn--secondary { background: var(--surface); color: var(--navy); border-color: var(--rule-strong); }
.btn--secondary:hover { border-color: var(--navy); }
.btn--play { background: var(--gold); color: var(--navy-deep); }
.btn--play:hover { background: #EDC25A; }
.btn--store { padding: 0 20px 0 16px; text-align: left; line-height: 1.15; }
.btn--store small { display: block; font-size: .72rem; font-weight: 500; opacity: .85; letter-spacing: .02em; }
.btn--store span span { font-size: 1.05rem; font-weight: 700; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 32px 0 56px; overflow: hidden;
  background-image: repeating-linear-gradient(to bottom, transparent 0 43px, var(--rule) 43px 44px);
  background-position: 0 20px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(to bottom, rgba(245,246,249,0), var(--paper)); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero__copy { max-width: 600px; }
.hero__lockup { width: min(300px, 78%); margin: 18px 0 22px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; box-shadow: inset 0 -.2em 0 var(--gold); }
.hero__sub { font-size: 1.1rem; color: var(--ink-2); max-width: 54ch; }
.hero__note { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-3); margin-top: 18px; max-width: 52ch; }
.hero__note svg { flex: none; margin-top: 3px; color: var(--navy); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__art { position: relative; display: flex; justify-content: center; padding: 8px 0 30px; }
@media (min-width: 900px) {
  .hero { padding: 48px 0 88px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 32px; }
  .hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(8px, calc(50% - 600px)); width: 2px; background: var(--gold); opacity: .8; }
}

/* phone frame (CSS only) */
.phone { position: relative; width: clamp(230px, 64vw, 300px); padding: 10px; border-radius: 40px; background: var(--navy-deep); box-shadow: 0 30px 60px -28px rgba(19, 38, 63, .55), 0 2px 0 rgba(255,255,255,.08) inset; }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 64px; height: 5px; margin-left: -32px; border-radius: 3px; background: rgba(255,255,255,.22); z-index: 2; }
.phone__screen { border-radius: 31px; overflow: hidden; aspect-ratio: 540 / 960; background: var(--paper); }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }

.live { position: absolute; left: max(0px, calc(50% - 230px)); bottom: 6px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 10px; background: var(--navy); color: #fff; border-radius: 14px; box-shadow: 0 18px 34px -16px rgba(19, 38, 63, .6); max-width: 250px; }
.live::before { content: attr(data-tab); position: absolute; left: 14px; top: -20px; height: 20px; padding: 0 10px; border-radius: 6px 6px 0 0; background: var(--gold); color: var(--navy-deep); font: 800 .66rem/20px var(--body); letter-spacing: .12em; }
.live__anim { flex: none; width: 44px; height: 44px; }
.live__anim svg { display: block; }
.live strong { display: block; font: 700 .95rem/1.25 var(--head); }
.live span { display: block; font-size: .8rem; color: #C9D4E3; line-height: 1.35; }
@media (min-width: 900px) { .live { left: -6px; bottom: 64px; } }

/* one orchestrated hero motion; nothing else on the page animates on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-rise] { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
  .js .hero [data-rise="1"] { animation-delay: .05s; }
  .js .hero [data-rise="2"] { animation-delay: .12s; }
  .js .hero [data-rise="3"] { animation-delay: .2s; }
  .js .hero [data-rise="4"] { animation-delay: .28s; }
  .js .hero [data-rise="5"] { animation-delay: .36s; }
  .js .hero .phone { opacity: 0; transform: translateY(36px) rotate(-3deg); animation: phoneIn .95s cubic-bezier(.2, .75, .2, 1) .18s forwards; }
  .js .hero .live { opacity: 0; transform: translateY(10px) scale(.94); animation: liveIn .55s cubic-bezier(.3, 1.4, .5, 1) .95s forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes phoneIn { to { opacity: 1; transform: rotate(0); } }
@keyframes liveIn { to { opacity: 1; transform: none; } }

/* ---------- ledger facts strip ---------- */
.facts { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); background: var(--surface); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.facts li { display: flex; align-items: center; gap: 10px; padding: 16px 12px; font-weight: 600; font-size: .92rem; color: var(--ink); border-bottom: 1px solid var(--rule); }
.facts li:nth-child(odd) { border-right: 1px solid var(--rule); }
.facts svg { flex: none; color: var(--navy); }
@media (min-width: 900px) {
  .facts ul { grid-template-columns: repeat(4, 1fr); }
  .facts li { border-bottom: 0; border-right: 1px solid var(--rule); padding: 20px 18px; }
  .facts li:last-child { border-right: 0; }
}

/* ---------- sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section--white { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.kicker { display: flex; align-items: center; gap: 12px; font: 700 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.kicker::after { content: ""; flex: 0 0 48px; height: 2px; background: var(--gold); }
.section__head { max-width: 680px; margin-bottom: 36px; }
.section__head p { color: var(--ink-2); font-size: 1.05rem; }

/* roles: a ruled ledger, one row per desk */
.desks { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.desk { display: grid; gap: 10px 28px; padding: 24px 0; border-bottom: 1px solid var(--rule-strong); }
.desk__head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.desk__head h3 { margin: 0; font-size: 1.3rem; }
.desk__head .alt { font-size: .85rem; color: var(--ink-3); }
.desk p { margin: 0; color: var(--ink-2); }
.desk__shot { display: none; }
@media (min-width: 900px) {
  .desk { grid-template-columns: 250px 1fr 120px; align-items: center; padding: 28px 0; }
  .desk__shot { display: block; width: 92px; justify-self: end; border-radius: 12px; overflow: hidden; border: 4px solid var(--navy-deep); }
}

/* feature grid: ruled cells, one featured cell in navy */
.grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong); background: var(--surface); }
.cell { padding: 26px 22px; border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.cell h3 { margin: 14px 0 8px; }
.cell p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.cell__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--navy-soft); color: var(--navy); }
.cell--feature { background: var(--navy); color: #DCE4EF; position: relative; }
.cell--feature h3 { color: #fff; font-size: 1.45rem; }
.cell--feature p { color: #D3DDEA; font-size: 1rem; max-width: 46ch; }
.cell--feature .cell__icon { background: rgba(227, 178, 60, .16); color: var(--gold); }
.cell--feature .stamp { margin-top: 18px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } .cell--feature { grid-column: span 2; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid__also { margin-top: 18px; color: var(--ink-3); font-size: .95rem; }

/* allowance chart */
.chart-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .chart-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; } }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--navy-soft); gap: 4px; margin: 6px 0 18px; }
.seg button { min-height: 42px; padding: 0 16px; border: 0; border-radius: 9px; background: none; font: 600 .92rem var(--body); color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--navy); box-shadow: 0 1px 3px rgba(19,38,63,.15); }
.key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .9rem; color: var(--ink-2); }
.key i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 7px; }
.chart-card { position: relative; background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--r-card); padding: 20px 14px 12px; }
.chart-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 0 6px 10px; border-bottom: 1px solid var(--rule); }
.chart-card__head strong { font: 700 1.05rem var(--head); }
#allowance-chart { height: 320px; }
.chart-card figcaption { font-size: .82rem; color: var(--ink-3); padding: 8px 6px 0; }

/* live sync steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--navy); }
.steps li { counter-increment: s; position: relative; padding: 24px 0 24px 64px; border-bottom: 1px solid var(--rule-strong); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 22px; font: 800 1.6rem/1 var(--head); color: var(--gold-ink); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 64px 28px 28px 0; border-bottom: 0; }
  .steps li + li { padding-left: 28px; border-left: 1px solid var(--rule-strong); }
  .steps li::before { top: 24px; }
  .steps li + li::before { left: 28px; }
}
.banner-demo { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 10px 16px; border-radius: 12px; background: var(--gold-soft); border: 1px solid #EBD08F; font-weight: 600; font-size: .93rem; color: var(--ink); }
.banner-demo i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(227,178,60,.25); }

/* screenshots strip */
.strip { list-style: none; margin: 0; padding: 4px 16px 20px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; overscroll-behavior-x: contain; }
.strip:focus-visible { outline-offset: -3px; }
.strip li { flex: none; scroll-snap-align: start; }
.strip figure { margin: 0; width: 210px; }
.strip .phone { width: 210px; padding: 7px; border-radius: 30px; box-shadow: 0 16px 30px -20px rgba(19, 38, 63, .5); }
.strip .phone::before { display: none; }
.strip .phone__screen { border-radius: 23px; }
.strip figcaption { margin-top: 14px; font-size: .88rem; color: var(--ink-3); line-height: 1.4; }
.strip figcaption b { display: block; font: 700 1rem var(--head); color: var(--ink); }
@media (min-width: 1168px) { .strip { padding-left: calc(50% - 536px); scroll-padding-left: calc(50% - 536px); } }
.strip__note { margin-top: 6px; font-size: .88rem; color: var(--ink-3); }

/* data section */
.data-grid { display: grid; gap: 0; border: 1px solid var(--rule-strong); border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.data-col { padding: 26px 22px; }
.data-col + .data-col { border-top: 1px solid var(--rule-strong); }
.data-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.data-col ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.data-col li { margin: 4px 0; }
.data-col--phone { background: var(--navy-soft); }
@media (min-width: 900px) { .data-grid { grid-template-columns: 1.3fr 1fr; } .data-col + .data-col { border-top: 0; border-left: 1px solid var(--rule-strong); } .data-col { padding: 32px; } }
.data-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.data-links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }

/* FAQ */
.faq { border-top: 2px solid var(--navy); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font: 700 1.1rem/1.3 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid var(--rule-strong); border-radius: 8px; font: 600 1.1rem/1 var(--body); color: var(--navy); }
.faq details[open] summary::after { content: "\2212"; background: var(--navy); border-color: var(--navy); color: #fff; }
.faq .n { font: 800 .9rem var(--head); color: var(--gold-ink); min-width: 24px; }
.faq details > div { padding: 0 46px 20px 40px; color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* download band */
.download { padding: 0 0 72px; }
.band { position: relative; display: grid; gap: 24px; padding: 40px 24px; border-radius: 20px; background: var(--navy); color: #D3DDEA; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(255,255,255,.06) 35px 36px); pointer-events: none; }
.band > * { position: relative; }
.band h2 { color: #fff; }
.band__meta { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.band code { background: rgba(255,255,255,.1); color: #fff; }
.band__side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.band__small { font-size: .85rem; color: #BFCCDD; margin: 0; }
@media (min-width: 900px) { .band { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 56px; } .band__side { align-items: flex-end; text-align: right; } }

/* footer */
.footer { background: var(--navy-deep); color: #BFCCDD; padding: 44px 0 32px; font-size: .92rem; }
.footer a { color: #fff; }
.footer__top { display: grid; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__name { font: 800 1.25rem var(--head); color: #fff; margin: 0 0 4px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 4px; }
.footer__links a { display: inline-block; padding: 8px 10px; text-decoration: none; border-radius: 6px; }
.footer__links a:hover { background: rgba(255,255,255,.08); text-decoration: underline; }
.footer__fine { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 20px; font-size: .82rem; color: #A9B8CB; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- legal pages ---------- */
.legal-head { padding: 40px 0 28px; border-bottom: 1px solid var(--rule-strong);
  background-image: repeating-linear-gradient(to bottom, transparent 0 35px, var(--rule) 35px 36px); }
.legal-head h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); margin: 14px 0 12px; }
.legal-head .meta { margin: 0; color: var(--ink-2); font-size: .95rem; }
.legal { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 72px; }
.toc { font-size: .92rem; border-top: 2px solid var(--navy); padding-top: 12px; }
.toc strong { display: block; font: 700 .75rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin: 4px 0; color: var(--ink-3); }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--navy); text-decoration: underline; }
.prose { max-width: 70ch; min-width: 0; }
.prose section { padding-top: 8px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; padding-top: 14px; border-top: 1px solid var(--rule-strong); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 5px 0; }
.prose dt { font-weight: 700; margin-top: 12px; }
.prose dd { margin: 2px 0 0 0; color: var(--ink-2); }
.notice { border: 1px solid #EBD08F; border-left: 5px solid var(--gold); background: var(--gold-soft); border-radius: 10px; padding: 16px 18px; margin: 0 0 24px; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice--navy { border-color: var(--rule-strong); border-left-color: var(--navy); background: var(--surface); }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--rule-strong); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--rule); }
th { font: 700 .76rem var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--ink); }
.steps-list { counter-reset: n; list-style: none; padding: 0 !important; }
.steps-list > li { counter-increment: n; position: relative; padding: 4px 0 14px 48px; }
.steps-list > li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--navy); color: #fff; font: 800 .95rem var(--head); }
.mailbox { display: grid; gap: 4px; padding: 16px 18px; border: 1px dashed var(--rule-strong); border-radius: 10px; background: var(--paper); font-size: .95rem; }
.mailbox span { color: var(--ink-3); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.cols-2 { display: grid; gap: 16px; }
@media (min-width: 760px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
.box { border: 1px solid var(--rule-strong); border-radius: 12px; padding: 18px 18px 6px; background: var(--surface); }
.box h3 { display: flex; gap: 10px; align-items: center; margin-top: 0; }
@media (min-width: 1000px) {
  .legal { grid-template-columns: 230px minmax(0, 1fr); gap: 56px; }
  .toc { position: sticky; top: 88px; align-self: start; }
}

/* print: legal pages should print cleanly */
@media print {
  .nav, .footer, .toc, .lang { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .legal-head { background: none; }
}

/* long stamps (package name, BM) must wrap on phones */
.legal-head .stamp { white-space: normal; line-height: 1.35; max-width: 100%; overflow-wrap: anywhere; }
