/* KIREB MORTGAGES - the five pages under /mortgage/ (owner, 26 November 2026; site/families/mortgages.py).

   REPRODUCED from the owner's design, _reports/artifacts/mortgages-design-2026-11-26/ (boards 1440 wide): every
   size, gap, padding and weight below is the design's own inline style, moved into a class. The design is drawn in
   the dark skin with seven colours; none of them is written here. Each ROLE is one of the site's tokens
   (tokens.css), so the dark skin is the site's dark and the light skin is the site's light for the same role:

     the design                         its role                              the site's token
     #202020  the page                  the page's ground                     --bg
     #0d0d0d  the hero and form bands   a band that opens or closes a page    --hero-bg
     #141414  the alternate bands       a band set apart                      --band-alt
     #141414  a card on the page        a card                                --surface
     #1a1a1a  a card or cell in a band  a card on a band                      --card-on-tint
     #000     result boxes, dark cells  the deepest box                       --band-alt
     #000     a form's inputs           an input                              --input-bg
     #2e2e2e  hairlines                 a separator                           --sep
     #404040  card and input borders    a line                                --line
     #c09a14  gold                      gold                                  --gold  (--gold-hi under the pointer)
     #f4de93  the light gold of values  the emphasised ink                    --gold-deep
     #a7a9ab  the running text          the quieter ink                       --muted
     #000 on gold                       the ink on gold                       --on-gold

   The faces are the site's own files (Marcellus, Jost: --serif, --sans); the design's link to Google's font
   service is not reproduced. Nothing here styles a scrollbar or blurs a backdrop.

   BELOW 721px the design says nothing (it is drawn at 1440 only): the last block is this build's, and it changes
   sizes and paddings only - every section keeps its place and its order. */

/* SMALL GOLD WORDS (kickers, the crumb, links, line buttons, line chips, "or call") are drawn in the site's own
   role token for that job, --choice-ink (tokens.css: the deeper gold in the light skin, 5.46 to 1 on the cream; the
   gold itself in the dark skin), never in --gold, which is 3.25 to 3.48 to 1 on the light grounds (the review of
   26 November 2026, S8). Headings and figures at 24px and more stay --gold; the gold buttons' white words are the
   look the owner approved for the site's buttons and are not changed. ONE name here, --mg-ink, so the rule is one
   line; tests/test_the_mortgage_pages_small_gold_words_pass_contrast.py computes it from the tokens. */
.mg{--mg-ink:var(--choice-ink);font-family:var(--sans);font-weight:300;font-size:15px;line-height:1.6;color:var(--muted);background:var(--bg)}
.mg [hidden]{display:none !important}
.mg a{color:var(--mg-ink);text-decoration:none}
.mg a:hover{color:var(--gold-hi)}
.mg :where(p){margin:0}
.mg-wrap{max-width:1240px;margin:0 auto;padding-inline:24px;box-sizing:border-box}
.mg-wrap-900{max-width:900px}
.mg-hi{color:var(--gold-deep)}
.mg-gold{color:var(--mg-ink)}
.mg-center{text-align:center}
.mg-small{font-size:14px}
.mg .crumb{margin:0 0 22px;font-size:12px}
/* the crumb's current page is small gold words too (12px): the role token, not --gold */
.mg .crumb b{color:var(--mg-ink)}

/* ---- the sub-navigation of five links ---- */
.mg-sub{background:var(--band-alt);border-bottom:1px solid var(--sep)}
.mg-sub .mg-wrap{display:flex;flex-wrap:wrap;gap:0 30px;font-size:13px;letter-spacing:.06em}
.mg .mg-sub a{color:var(--muted);padding:14px 0;border-bottom:2px solid transparent}
.mg .mg-sub a:hover{color:var(--gold-deep)}
.mg .mg-sub a[aria-current="page"]{color:var(--gold-deep);border-bottom-color:var(--gold)}

/* ---- bands and sections ---- */
.mg-band{border-top:1px solid var(--sep);border-bottom:1px solid var(--sep)}
.mg-band > .mg-wrap{padding-block:70px}
.mg-hero{background:var(--hero-bg);border-top:0}
.mg-hero > .mg-wrap{padding-block:72px 80px}
.mg-band-alt{background:var(--band-alt)}
.mg-band-noline{border-bottom:0}
.mg-sec > .mg-wrap{padding-block:70px}
.mg-sec-paths > .mg-wrap{padding-block:80px 20px}
.mg-sec-lg > .mg-wrap{padding-block:80px}
.mg-sec-64 > .mg-wrap,.mg-sec-calc > .mg-wrap{padding-block:64px}
.mg-sec-calc > .mg-wrap{padding-block:56px}
.mg-head > .mg-wrap{padding-block:56px 20px}
.mg-wizsec > .mg-wrap{padding-block:24px 80px}
.mg-sec-flush > .mg-wrap{padding-block:0 40px}
.mg-sec-table > .mg-wrap{padding-block:0 30px}
.mg-sec-cards > .mg-wrap{padding-block:50px 70px}
.mg-apply > .mg-wrap{padding-block:80px}
.mg-close > .mg-wrap{padding-block:56px}
.mg-start > .mg-wrap{padding-block:64px}
.mg-close,.mg-apply,.mg-start{border-bottom:0}

/* ---- type ---- */
.mg-kick{font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--mg-ink)}
.mg-kick-sm{letter-spacing:.16em}
.mg-kick[data-verdict="short"],.mg-kick[data-verdict="term"],.mg-kick[data-verdict="close"],.mg-kick[data-verdict="weak"]{color:var(--gold-deep)}
.mg-h1,.mg-h2{font-family:var(--serif);font-weight:400;color:var(--gold)}
.mg-h1{font-size:48px;line-height:1.1;margin:12px 0}
.mg-h1-xl{font-size:58px;line-height:1.08;margin:18px 0 22px}
.mg-h1-lg{font-size:52px;margin:12px 0 14px}
.mg-max-820{max-width:820px}
.mg-h2{font-size:40px;line-height:1.2;margin:10px 0 34px}
.mg-h2-sm{font-size:24px;margin:0}
.mg-h2-md{font-size:34px;margin:10px 0 20px}
.mg-h2-xl{font-size:42px;margin:10px 0 18px}
.mg-h2-38{font-size:38px;margin:0 0 30px}
.mg-h2-32{font-size:32px;margin:0 0 18px}
.mg-h2-step{font-size:28px;color:var(--gold-deep);margin:0 0 24px}
.mg-h2-result{font-size:30px;color:var(--gold-deep);margin:8px 0 6px}
.mg-h2-flush{margin:0 0 8px}.mg-h2-flush8{margin:0 0 8px}.mg-h2-flush20{margin:0 0 20px}.mg-h2-flush28{margin:0 0 28px}
.mg-col-340 .mg-h2,.mg-col-380 .mg-h2,.mg-col-360 .mg-h2{margin-bottom:16px}
.mg-col-380 p + p{margin-top:16px}
.mg-lede{font-size:18px;margin:0 0 30px;max-width:560px}
.mg-head .mg-lede,.mg-lede-720{font-size:17px;margin:0}
.mg-lede-720{max-width:720px}
.mg-hero .mg-lede-720,.mg-col-560 .mg-lede{font-size:17px;margin:0 0 26px;max-width:none}
.mg-hero .mg-lede-720{max-width:720px}
.mg-head .mg-col-560 .mg-lede{margin:0}
.mg-note{font-size:13px;margin:14px 0 0}
.mg-note-sm{font-size:12px}
.mg-note-flat{margin:0}
.mg-example{font-size:12px;margin:6px 0 0;color:var(--gold-deep)}
.mg-cap{font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.mg-cap-sm{font-size:11px;letter-spacing:.14em}
.mg-tag{font-size:12px}

/* ---- layout ---- */
.mg-split{display:flex;flex-wrap:wrap;gap:48px}
.mg-hero-grid{gap:56px;align-items:center}
.mg-split-top{align-items:flex-start}
.mg-split-center{align-items:center}
.mg-split-end{gap:36px;align-items:flex-end}
.mg-split-stretch{align-items:stretch}
.mg-split-between{justify-content:space-between;gap:24px}
.mg-split-24{gap:24px}.mg-split-28{gap:28px}.mg-split-48{gap:48px}
.mg-apply .mg-split{gap:56px}
.mg-split > *{min-width:0}
.mg-hero-copy{flex:1 1 520px}
.mg-quick{flex:1 1 420px}
.mg-col-340{flex:1 1 340px}.mg-col-360{flex:1 1 360px}.mg-col-380{flex:1 1 380px}.mg-col-400{flex:1 1 400px}
.mg-col-420{flex:1 1 420px}.mg-col-460{flex:1 1 460px}.mg-col-480{flex:1 1 480px}.mg-col-520{flex:1 1 520px}
.mg-col-560{flex:1 1 560px}
.mg-col-340 + .mg-col-560{flex:2 1 560px}
.mg-calc-in,.mg-calc-out,.mg-explain{flex:1 1 460px}
.mg-explain{flex-basis:340px}
.mg .mg-wiz{flex:999 1 600px;padding:0}
.mg-aside{flex:1 1 300px;display:flex;flex-direction:column;gap:18px}
.mg-grid{display:grid;gap:18px}
.mg-grid-tight{gap:12px}
.mg-grid-230{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}
.mg-grid-260{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.mg-grid-280{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))}
.mg-cells{display:grid;gap:1px;background:var(--sep);border:1px solid var(--sep)}
.mg-cells-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.mg-cells-200{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));margin-bottom:24px}
.mg-cells-240{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
.mg-cells-260{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.mg-cell{background:var(--surface);padding:26px}
.mg-cells-dark .mg-cell{background:var(--band-alt);padding:20px}
.mg-bench .mg-cell{padding:16px}
.mg-cells-dark .mg-cell-22{padding:22px}
.mg-grow{flex:1}

/* ---- cards ---- */
.mg-card{background:var(--surface);border:1px solid var(--line);border-radius:2px;padding:30px;box-sizing:border-box}
.mg-card-tint{background:var(--card-on-tint)}
.mg-card-gold{background:var(--band-alt);border-color:var(--gold)}
.mg a.mg-card{display:block;color:var(--muted)}
.mg a.mg-card:hover{border-color:var(--gold);color:var(--muted)}
.mg-path{padding:28px}
.mg-path-tag{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--mg-ink)}
.mg-path-title{font-family:var(--serif);font-size:23px;color:var(--gold-deep);margin:10px 0 8px}
.mg-path-cta{margin-top:18px;color:var(--mg-ink);font-size:13px;letter-spacing:.08em}
.mg-why{padding:24px}
.mg-band-alt .mg-why{padding:26px}
.mg-cell-t{color:var(--gold-deep);font-size:17px;font-weight:400;margin:0 0 6px}
.mg-why-t{color:var(--gold-deep);font-size:18px;margin-bottom:8px}
.mg-step-n{font-family:var(--serif);font-size:30px;color:var(--gold)}
.mg-step-n + .mg-cell-t{margin:6px 0}
.mg-who{padding:28px}
.mg-who-t{font-family:var(--serif);font-size:22px;color:var(--gold-deep);margin:8px 0}
.mg-explain{padding:28px}
.mg-explain-t{font-family:var(--serif);font-size:24px;color:var(--gold);margin-bottom:10px}
.mg-explain p + p{margin-top:10px}
.mg-alert p{margin-bottom:14px}

/* ---- buttons and chips ---- */
.mg .mg-btn{display:inline-block;box-sizing:border-box;font-family:var(--sans);font-size:15px;line-height:1.6;border-radius:2px;cursor:pointer;text-align:center}
.mg .mg-btn-gold{background:var(--gold);color:var(--on-gold);border:0;padding:15px 26px;font-weight:500;letter-spacing:.06em}
.mg .mg-btn-gold:hover{background:var(--gold-hi);color:var(--on-gold)}
.mg .mg-btn-line{background:none;border:1px solid var(--gold);color:var(--mg-ink);padding:14px 26px;letter-spacing:.06em}
.mg .mg-btn-quiet{background:none;border:1px solid var(--line);color:var(--muted);padding:13px 24px}
.mg .mg-btn-text{background:none;border:0;color:var(--mg-ink);font-size:14px;padding:13px 0}
.mg .mg-btn-block{display:block;width:100%;margin-top:18px;padding-block:13px;letter-spacing:0}
.mg .mg-btn-sm{padding:9px 14px;white-space:nowrap;letter-spacing:0}
.mg .mg-send{margin-top:20px;padding-block:15px}
.mg-btns{display:flex;flex-wrap:wrap;gap:14px}
.mg-chips{display:flex;flex-wrap:wrap;gap:8px}
.mg .mg-chip{font-family:var(--sans);font-weight:300;font-size:14px;line-height:1.6;letter-spacing:0;text-transform:none;padding:10px 16px;border-radius:2px;cursor:pointer;border:1px solid var(--line);background:var(--input-bg);color:var(--muted)}
.mg .mg-chip[aria-pressed="true"],.mg .mg-chip:has(input:checked){background:var(--gold);border-color:var(--gold);color:var(--on-gold)}
.mg .mg-chip-line{border-color:var(--gold);background:none;color:var(--mg-ink);padding:11px 20px}
.mg-chips-lg{gap:10px;margin-bottom:28px}
.mg .mg-chips-lg .mg-chip{font-size:15px;padding:14px 22px}
.mg-chips-xl{gap:10px;margin-bottom:24px}
.mg .mg-chips-xl .mg-chip{font-size:16px;padding:14px 24px}
.mg-chips-sm{margin-bottom:18px}
.mg .mg-chips-sm .mg-chip{font-size:13px;padding:9px 14px;position:relative}
.mg-chips-sm input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.mg-chip:has(input:focus-visible){outline:2px solid var(--text);outline-offset:2px}
.mg-tabs{gap:10px;margin-bottom:26px}
.mg-chiplead{margin-bottom:10px}
.mg-controls .mg-chiplead{font-size:13px;margin-bottom:8px}

/* ---- a calculator's sliders and results ---- */
.mg .mg-range{display:block;margin-top:16px;font-family:var(--sans);font-weight:300;font-size:13px;line-height:1.6;letter-spacing:0;text-transform:none;color:var(--muted)}
.mg-range-h{display:flex;justify-content:space-between;gap:12px;font-size:13px}
/* A SLIDER IS NOT A TEXT BOX: the site's rule for every input (site.css: a border, a ground, 13px 15px of padding)
   made each slider a 26px taller box, and the calculators' cards that much taller for every slider in them - the
   refinance page's result card stood 150px short of its neighbour, with that gap above its button (26 November
   2026). The design's slider is the browser's own, the full width, with its own 2px above and below. */
.mg .mg-range input[type=range]{accent-color:var(--gold);width:100%;box-sizing:border-box;margin:2px 0;padding:0;border:0;background:none;height:auto}
.mg-quick .mg-quick-h + .mg-range{margin-top:22px}
.mg-quick-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.mg-wiz .mg-range,.mg-calc-in .mg-range,.mg-col-460 .mg-range{margin:0 0 24px}
.mg-wiz .mg-range-h,.mg-calc-in .mg-range-h,.mg-col-460 .mg-range-h{font-size:14px}
.mg-calc-in .mg-range{margin-bottom:20px}
.mg-col-460 .mg-range{margin-bottom:18px}
.mg-range-520{max-width:520px}
.mg-range-520 .mg-range{margin-bottom:0}
.mg-controls .mg-range,.mg-live-rate .mg-range{margin:0}
.mg-result{margin-top:24px;background:var(--band-alt);border:1px solid var(--sep);padding:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mg-result-foot{grid-column:span 2;font-size:13px;border-top:1px solid var(--sep);padding-top:12px}
.mg-big{font-family:var(--serif);font-size:32px;line-height:1.3}
.mg-mid{font-family:var(--serif);font-size:26px;line-height:1.3}
.mg-huge{font-family:var(--serif);font-size:46px;color:var(--gold-deep);line-height:1.1}
.mg-huge-s{font-size:20px}
.mg-giant{font-family:var(--serif);font-size:56px;color:var(--gold-deep);line-height:1.1;margin:8px 0}
.mg-out-lead{margin-top:16px}
.mg-out-sub{font-size:15px;margin-top:6px}
.mg-warn{font-size:13px;color:var(--gold-deep);margin:12px 0 0}
.mg-lines{font-size:14px;line-height:2;margin-bottom:28px}
.mg-lines-tall{line-height:2.1;margin:24px 0 0}
.mg-line{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--sep)}
.mg-col-400 .mg-line{padding:13px 0;font-size:14px}
.mg-col-400 .mg-line .mg-hi{text-align:end}
.mg-calc-out{display:flex;flex-direction:column}
.mg-cover-p{margin:0 0 24px}
.mg-controls{padding:26px;display:flex;flex-wrap:wrap;gap:28px;align-items:flex-end}
.mg-control-200{flex:1 1 200px}.mg-control-220{flex:1 1 220px}.mg-control-240{flex:1 1 240px}.mg-control-260{flex:1 1 260px}

/* ---- the hero's three figures, the benchmark strip ---- */
.mg-herostats{display:flex;flex-wrap:wrap;gap:34px;margin-top:40px;padding-top:28px;border-top:1px solid var(--sep)}
.mg-stat-v{font-family:var(--serif);font-size:26px;color:var(--gold-deep)}
.mg-stat-v28{font-size:28px}
.mg-stat-l{font-size:13px}
.mg-bench-v{font-family:var(--serif);font-size:24px;color:var(--gold-deep)}

/* ---- tables ---- */
.mg-tablebox{overflow-x:auto;border:1px solid var(--line)}
.mg-table{width:100%;border-collapse:collapse;font-size:14px;min-width:460px}
.mg-table th,.mg-table td{padding:14px;text-align:start;font-weight:300}
.mg-table thead tr{background:var(--band-alt)}
.mg-table thead th{color:var(--gold-deep);font-weight:400}
.mg-table tbody tr{border-top:1px solid var(--sep)}
.mg-table-limits td{color:var(--gold-deep)}
.mg-table-rates{min-width:900px}
.mg-table-rates th,.mg-table-rates td{padding:18px 16px}
.mg-table-rates thead th{padding:16px}
.mg-row-first{background:var(--card-on-tint)}
.mg-rate-name{color:var(--gold-deep);font-size:16px}
.mg-rate-note{font-size:12px}
.mg-rate-v{font-family:var(--serif);font-size:24px;color:var(--gold)}
.mg-rate-pay{color:var(--gold-deep);font-size:16px}
.mg-tablehead{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:14px}
.mg-tablehead .mg-note{font-size:13px}
.mg-empty{border:1px solid var(--line);padding:28px;text-align:center}

/* ---- documents, checks, steps ---- */
.mg-doc{display:flex;gap:12px;align-items:flex-start;background:var(--input-bg);border:1px solid var(--sep);padding:16px;font-size:14px}
.mg-doc svg,.mg-check svg{flex:none;margin-top:3px;color:var(--gold)}
.mg-check{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--sep)}
.mg-check-11{padding:11px 0}
.mg-check svg{margin-top:4px}
.mg-howstep{display:flex;gap:18px;padding:14px 0;border-bottom:1px solid var(--sep)}
.mg-howstep-n{font-family:var(--serif);font-size:26px;color:var(--gold);min-width:40px}
.mg-tabpanel + .mg-tabpanel{margin-top:26px}
.mg-tabpanel-h{font-family:var(--sans);font-weight:400;font-size:17px;color:var(--gold-deep);margin:0 0 12px}
.mg-js .mg-tabpanel-h{display:none}
.mg-js .mg-tabpanel + .mg-tabpanel{margin-top:0}

/* ---- questions ---- */
.mg-faqsec .mg-h2{margin-bottom:30px}
.mg-faq{border-bottom:1px solid var(--sep)}
.mg-faq summary{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 0;cursor:pointer;font-size:17px;color:var(--gold-deep);list-style:none}
.mg-faq summary::-webkit-details-marker{display:none}
.mg-faq summary::after{content:"+";color:var(--gold);font-size:22px;line-height:1}
/* THE DESIGN'S QUESTION: no line down its side, and the same words in the same colour open or shut. The site's own
   rules for every <details> (site.css: a 2px gold line at the start edge of an open one, its question in --gold)
   put the line against the answer's first letters, the design's padding being 0, and drew the open question in
   the gold that is 3.5 to 1 in the light skin. */
.mg .mg-faq::before{content:none}
.mg .mg-faq summary,.mg .mg-faq summary:hover,.mg .mg-faq[open] summary{color:var(--gold-deep)}
.mg-faq[open] summary::after{content:"\2212"}
.mg .mg-faq .ans{margin:0 0 20px;padding:0;max-width:none;font-size:15px;line-height:inherit;font-weight:inherit;color:inherit}

/* ---- the wizard ---- */
/* a step brought into view by the script lands below the sticky header: the site's own offset (owner.css) */
.mg-step{scroll-margin-top:90px}
.mg-bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid var(--sep)}
.mg-bar button{background:none;border:0;border-bottom:3px solid transparent;padding:16px 8px;cursor:pointer;font-family:var(--sans);font-weight:300;text-align:start;color:var(--muted)}
.mg-bar button[aria-current="step"]{color:var(--gold-deep)}
.mg-bar button[aria-current="step"],.mg-bar .mg-bar-done{border-bottom-color:var(--gold)}
.mg-bar-n{display:block;font-size:11px;letter-spacing:.14em}
.mg-bar-l{display:block;font-size:14px}
.mg-wiz-body{padding:36px}
.mg-step + .mg-step{margin-top:36px;padding-top:36px;border-top:1px solid var(--sep)}
.mg-js .mg-step + .mg-step{margin-top:0;padding-top:0;border-top:0}
.mg-step > p{margin:0 0 24px}
.mg-preform{background:var(--band-alt);border:1px solid var(--line);padding:24px}
.mg-preform-h{font-size:18px;margin-bottom:14px}
.mg-preform .mg-send{margin-top:16px;padding:14px 26px}
.mg-wiz-nav{display:flex;justify-content:space-between;gap:12px;margin-top:34px;padding-top:24px;border-top:1px solid var(--sep)}
.mg .mg-wiz-nav .mg-btn-gold{padding:13px 28px;letter-spacing:0}
.mg-live{padding:26px}
.mg-live-lead{font-size:13px;margin-top:14px}
.mg-live-v{font-family:var(--serif);font-size:34px;color:var(--gold-deep);line-height:1.2}
.mg-live-m{font-size:13px;margin-top:12px}
.mg-live-rate{margin-top:14px}
.mg-live-note{font-size:12px;margin-top:14px;border-top:1px solid var(--sep);padding-top:12px}
.mg-talk{padding:24px;font-size:14px}
.mg-talk-t{color:var(--gold-deep);font-size:16px;margin-bottom:10px}
.mg-talk p{margin:0 0 14px}
.mg .mg-talk .mg-btn-block{margin-top:0;padding:11px}
.mg-talk-call{display:block;text-align:center;margin-top:10px}

/* ---- forms (site.css gives every <form> a padding and a column of its own: not these) ---- */
.mg form.mg-form{padding:0;display:block}
.mg-formlead{font-size:13px;margin-bottom:10px}
.mg-fields{display:grid;gap:14px}
.mg-fields-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.mg-fields-auto{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:12px}
.mg-fields-auto240{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
.mg-span-2{grid-column:span 2}
.mg .field{margin:0}
.mg .field label{display:block;font-size:13px;font-weight:300;color:var(--muted);letter-spacing:0;text-transform:none;margin:0 0 6px}
.mg .field input[type=text],.mg .field input[type=email],.mg .field input[type=tel],.mg .field select{display:block;width:100%;box-sizing:border-box;background:var(--input-bg);border:1px solid var(--line);color:var(--gold-deep);padding:12px;font-family:var(--sans);font-size:15px;border-radius:2px}
.mg-preform .field input[type=text],.mg-preform .field input[type=email],.mg-preform .field input[type=tel],.mg-alert .field input[type=email]{background:var(--surface)}
.mg-formnote{font-size:12px;margin:12px 0 0}
/* the consent line: the site's own tick and sentence in the design's small type (the site's label rule is undone) */
/* 20px above and 20px below it in all four forms, whatever stands before it (a grid of fields with or without a
   bottom margin) and whatever the button's own top margin is */
.mg .mg-form > :has(+ .mg-consent){margin-bottom:0}
.mg .mg-form .mg-consent ~ .mg-send{margin-top:0}
.mg .mg-consent{display:flex;align-items:flex-start;gap:10px;margin:20px 0;font-family:var(--sans);font-weight:300;font-size:13px;line-height:1.5;letter-spacing:0;text-transform:none;color:var(--muted);cursor:pointer}
.mg .mg-consent input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:var(--gold)}
.mg-msg{font-size:14px;margin:12px 0 0}
.mg-msg:empty{display:none}
.mg-thanks{text-align:center;padding:40px 10px}
.mg-thanks-box{border:1px solid var(--gold);padding:30px}
.mg-thanks-h{font-family:var(--serif);font-size:28px;color:var(--gold)}
.mg-thanks p{margin:6px 0 0}
.mg-start-p{margin:0 0 28px}
.mg-contact{font-size:15px;line-height:2;margin-top:24px}

/* ---- the closing line ---- */
.mg-disc{background:var(--band-alt);border-top:1px solid var(--sep)}
.mg-disc .mg-wrap{padding-block:40px}
/* the design's strip: its block at the start (the wordmark, then the legal name, the ORN and the closing words),
   the disclaimer at the end, at most 560px wide */
.mg-disc .mg-wrap{display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;font-size:13px}
.mg-disc-name{font-family:var(--serif);color:var(--gold);font-size:20px;letter-spacing:.14em}
.mg-disc-line{margin-top:6px}
.mg-disc-words{max-width:560px}
.mg-disc p{font-size:13px}
.mg .mg-disc .mg-checked{margin-top:8px}

/* ---- phones and small tablets: this build's, sizes only (the design is drawn at 1440) ---- */
@media (max-width:720px){
  .mg-wrap{padding-inline:16px}
  .mg-h1-xl{font-size:38px}
  .mg-h1,.mg-h1-lg{font-size:34px}
  .mg-h2,.mg-h2-xl,.mg-h2-38{font-size:30px}
  .mg-h2-md,.mg-h2-32{font-size:27px}
  .mg-h2-step,.mg-h2-result{font-size:24px}
  .mg-huge{font-size:36px}
  .mg-giant{font-size:46px}
  .mg-big{font-size:26px}
  .mg-band > .mg-wrap,.mg-sec > .mg-wrap,.mg-sec-lg > .mg-wrap,.mg-apply > .mg-wrap{padding-block:48px}
  .mg-hero > .mg-wrap{padding-block:40px 48px}
  .mg-head > .mg-wrap{padding-block:36px 16px}
  .mg-wizsec > .mg-wrap{padding-block:16px 48px}
  .mg-sec-flush > .mg-wrap{padding-block:0 28px}
  .mg-sec-table > .mg-wrap{padding-block:0 24px}
  .mg-split,.mg-hero-grid,.mg-apply .mg-split{gap:32px}
  .mg-card{padding:20px}
  .mg-wiz-body{padding:20px}
  .mg-fields-2{grid-template-columns:minmax(0,1fr)}
  .mg-span-2{grid-column:auto}
  /* THE SUB-NAVIGATION ON A PHONE IS ONE LINE THAT SCROLLS INSIDE ITSELF (as the portal's tab strips do), its
     current link brought into view by the script; the page never scrolls sideways for it. Its own bar is hidden:
     the links cut by the edge are the cue. */
  .mg-sub .mg-wrap{flex-wrap:nowrap;gap:0 22px;overflow-x:auto;scrollbar-width:none;white-space:nowrap}
  .mg-sub .mg-wrap::-webkit-scrollbar{display:none}
  .mg .mg-sub a{flex:none;min-height:44px;display:flex;align-items:center;padding:0}
  /* A TABLE ON A PHONE IS A LIST OF ITS ROWS, every value under its own heading's words: the limits table hid
     its Expats column and the rates table every column after "Fixed for" inside a sideways scroller with no cue
     (26 November 2026). The same markup: each cell carries its column's words (data-th). Nothing above 720px. */
  .mg-tablebox{overflow-x:visible;border:0}
  .mg-table,.mg-table-rates{display:block;min-width:0}
  .mg-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .mg-table tbody{display:block}
  .mg-table tbody tr{display:block;border:1px solid var(--line);padding:4px 14px;margin:0 0 12px}
  .mg-table tbody tr:last-child{margin-bottom:0}
  .mg-table tbody th,.mg-table tbody td,.mg-table-rates tbody th,.mg-table-rates tbody td{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0;text-align:end}
  .mg-table tbody th{display:block;text-align:start}
  .mg-table tbody td{border-top:1px solid var(--sep)}
  .mg-table tbody td::before{content:attr(data-th);flex:0 1 55%;text-align:start;color:var(--muted);font-family:var(--sans);font-size:13px;font-weight:300}
  .mg-table tbody td:empty{display:none}
  .mg-table tbody td.mg-rate-cta{display:block}
  .mg-table tbody td.mg-rate-cta::before{content:none}
  .mg-table tbody td.mg-rate-cta .mg-btn{display:flex;justify-content:center;width:100%;box-sizing:border-box}
  .mg-disc .mg-wrap{flex-direction:column;gap:18px}
  .mg-bar-n{font-size:10px;letter-spacing:.08em}
  .mg-bar-l{font-size:12px}
  .mg-bar button{padding:12px 4px;min-height:44px}
  .mg-chip,.mg .mg-btn{min-height:44px}
  .mg-result{grid-template-columns:minmax(0,1fr)}
  .mg-result-foot{grid-column:auto}
}
