/* Spectrum Group careers.
   Same palette as spectrumgroup.id; its own layout and type. Spectrum colours
   mark disciplines, soft spectrum tones mark links and states. */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  font-stretch: 85% 100%;
  src: url('/fonts/sans-latin.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  font-stretch: 85% 100%;
  src: url('/fonts/sans-latin-ext.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Palette shared with spectrumgroup.id */
  --paper: #202020;        /* page */
  --surface: #202020;      /* panels share the page colour; borders separate them */
  --surface-2: #202020;
  --ink: #F2F2F2;          /* text */
  --graphite: #B4B4B4;     /* secondary text */
  --dim: #7A7A7A;
  --rule: rgba(255, 255, 255, .10);
  --rule-strong: rgba(255, 255, 255, .22);
  --white: #FFFFFF;
  --link: #5EBFC0;         /* soft cyan */
  --link-2: #8384E2;       /* soft blue */
  --warn: #C08D5E;         /* soft orange */
  --ok: #5EC060;           /* soft green */
  --font: 'IBM Plex Sans', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --radius: 3px;
  --radius-lg: 12px;
  color-scheme: dark;
}

/* Section accents: spectrumgroup.id's soft spectrum, in reverse order.
   --link follows the accent so links, focus and states match their section. */
:root { --a: #5EBFC0; }
.ac-s-orange { --a: #C08D5E; --link: #C08D5E; }
.ac-s-blue { --a: #8384E2; --link: #8384E2; }
.ac-s-yellow { --a: #BFC05E; --link: #BFC05E; }
.ac-s-magenta { --a: #C05EBF; --link: #C05EBF; }
.ac-s-green { --a: #5EC060; --link: #5EC060; }
.ac-s-cyan { --a: #5EBFC0; --link: #5EBFC0; }

/* Discipline swatches: the logo's spectrum. */
.sw-s-magenta { --sw: #D926D8; }
.sw-s-blue { --sw: #2626D9; }
.sw-s-cyan { --sw: #26D8D9; }
.sw-s-green { --sw: #26D92A; }
.sw-s-yellow { --sw: #D8D926; }
.sw-s-orange { --sw: #D97D26; }
.sw-s-red { --sw: #D92626; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
main:focus { outline: none; }
::selection { background: var(--link); color: var(--paper); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.wrap.narrow { max-width: 780px; }

h1, h2, h3 { font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6.4vw, 88px); letter-spacing: -0.035em; line-height: 1.0; font-stretch: 92%; }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.3; }
p { max-width: 68ch; }
.lead { font-size: 19px; color: var(--graphite); }
.aside { font-size: 15px; color: var(--graphite); margin-top: 32px; }
.aside a, .prose a, .note a, .consent-lead a, .pool-line a, .no-match a { color: var(--link); text-underline-offset: 3px; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  background: var(--white); color: var(--paper); border: 1px solid var(--white);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.button:hover { background: transparent; color: var(--white); }
.button.ghost { background: transparent; color: var(--white); border-color: var(--white); }
.button.ghost:hover { background: var(--white); color: var(--paper); }
.button.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.button.wide { width: 100%; }
.button[aria-busy="true"] { opacity: .65; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(32, 32, 32, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; gap: 32px; height: 72px; position: relative; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 28px; width: auto; }
.brand-tag { font-size: 15px; font-weight: 500; color: var(--graphite); padding-left: 14px; border-left: 1px solid var(--rule-strong); line-height: 1.2; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--link); }
.head-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 7px 14px; font-size: 15px; font-weight: 500; cursor: pointer; }

/* ---------- intro ---------- */
.intro { padding: 88px 0 72px; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.intro h1 { max-width: 11ch; }

/* ---------- blocks ---------- */
.block { padding: 88px 0; border-top: 1px solid var(--rule); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.count { font-size: .55em; font-weight: 500; color: var(--graphite); vertical-align: .35em; margin-left: 6px; letter-spacing: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.split > div > h2, .split > h2 { max-width: 14ch; }

/* ---------- roles table (the main event) ---------- */
.roles-block { padding-top: 64px; background: var(--surface); }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--sw, var(--link)); flex: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-size: 15px;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.roles-head, .role { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, .9fr); gap: 24px; align-items: center; }
.roles-head { padding: 0 20px 12px; font-size: 14px; color: var(--graphite); border-bottom: 2px solid var(--ink); }
.role-list li { border-bottom: 1px solid var(--rule); }
.role { padding: 24px 20px; text-decoration: none; position: relative; transition: background .15s; }
.role:hover { background: rgba(255, 255, 255, .035); }
.role:hover .role-title { color: var(--link); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.role-title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.role-disc { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.role-loc, .role-type { font-size: 15px; }
.role-loc small { display: block; font-size: 14px; color: var(--graphite); }
.no-match, .pool-line { margin-top: 28px; color: var(--graphite); font-size: 16px; }
.empty { display: grid; gap: 14px; justify-items: start; padding: 40px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
.empty h3, .empty h2 { font-size: 24px; }

/* ---------- section headings carry the accent ---------- */
.block-head h2::before, .split > h2::before, .split > div > h2::before, .intro h1::before, .page-head h1::before {
  content: ""; display: block; width: 28px; height: 4px; background: var(--a); margin-bottom: 20px; border-radius: 1px;
}
.intro h1::before, .page-head h1::before { width: 40px; height: 6px; margin-bottom: 28px; }
.showing { font-size: 15px; color: var(--graphite); }

/* roles: accent bar on hover/focus */
.role::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--a); transform: scaleY(0); transform-origin: top; transition: transform .25s; }
.role:hover::before, .role:focus-visible::before { transform: scaleY(1); }
.filter:focus-visible { outline-color: var(--a); }

/* ---------- working here: tabs ---------- */
.tab-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.tab-panel { padding-top: 18px; border-top: 2px solid var(--ink); }
.tab-panel h3 { margin-bottom: 8px; }
.tab-panel p { color: var(--graphite); font-size: 16px; }
.tabs.on { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
.tabs.on .tab-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 18px 4px; background: none; border: 0;
  border-bottom: 1px solid var(--rule); font-size: 18px; font-weight: 500; color: var(--graphite); cursor: pointer; transition: color .15s;
}
.tab::before { content: ""; width: 4px; height: 22px; background: var(--rule-strong); border-radius: 1px; transition: background .2s, height .2s; flex: none; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::before { background: var(--a); height: 28px; }
.tabs.on .tab-panels { display: block; }
.tabs.on .tab-panel { border: 1px solid var(--rule); border-top: 4px solid var(--a); border-radius: var(--radius-lg); padding: 32px; min-height: 220px; }
.tabs.on .tab-panel h3 { font-size: 26px; margin-bottom: 14px; }
.tabs.on .tab-panel p { font-size: 18px; max-width: 46ch; }
.tabs.on .tab-panel[hidden] { display: none; }

/* ---------- how we hire: stepper (a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { padding: 0 28px 0 0; position: relative; }
.steps li::before { content: ""; position: absolute; left: 44px; right: 0; top: 21px; height: 2px; background: var(--rule-strong); }
.steps li:last-child::before { display: none; }
.steps li.done::before { background: var(--a); }
.step-btn { display: grid; gap: 14px; justify-items: start; background: none; border: 0; padding: 0; text-align: left; color: inherit; font: inherit; }
.step-btn:not([disabled]) { cursor: pointer; }
.step-n {
  display: grid; place-content: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--rule-strong); background: var(--paper); font-weight: 600; font-size: 18px; position: relative; transition: border-color .2s, background .2s, color .2s;
}
.step-title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.steps p { font-size: 16px; color: var(--graphite); margin-top: 6px; }
.steps li.done .step-n { border-color: var(--a); color: var(--a); }
.steps li.current .step-n { border-color: var(--a); background: var(--a); color: var(--paper); }
.step-btn:not([disabled]):hover .step-n { border-color: var(--a); }
.step-btn:not([disabled]):hover .step-title { color: var(--a); }
.step-details { margin-top: 40px; display: grid; gap: 16px; }
.step-detail { border: 1px solid var(--rule); border-left: 4px solid var(--a); border-radius: var(--radius-lg); padding: 28px 32px; }
.step-detail h3 { font-size: 24px; margin: 4px 0 18px; }
.step-of { font-size: 14px; color: var(--a); font-weight: 500; }
.step-detail dl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.step-detail dt { font-size: 14px; color: var(--graphite); margin-bottom: 4px; }
.step-detail dd { font-size: 17px; }
.step-nav { display: flex; gap: 12px; justify-content: flex-end; }
.step-nav .button[disabled] { opacity: .35; pointer-events: none; }

/* ---------- your data: expandable points ---------- */
.ticks { display: grid; }
.ticks details { border-bottom: 1px solid var(--rule); }
.ticks details:first-child { border-top: 1px solid var(--rule); }
.ticks summary {
  list-style: none; cursor: pointer; position: relative; padding: 18px 40px 18px 36px; font-size: 18px;
}
.ticks summary::-webkit-details-marker { display: none; }
.ticks summary::before { content: ""; position: absolute; left: 4px; top: 27px; width: 14px; height: 7px; border-left: 2px solid var(--a); border-bottom: 2px solid var(--a); transform: rotate(-45deg); }
.ticks summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font-size: 24px; font-weight: 300; color: var(--graphite); transition: transform .2s; }
.ticks details[open] summary::after { transform: rotate(45deg); color: var(--a); }
.ticks summary:hover { color: var(--a); }
.ticks details p { padding: 0 40px 20px 36px; color: var(--graphite); font-size: 16px; }
.ticks details a { color: var(--link); text-underline-offset: 3px; }

/* ---------- highlighted phrase and spectrum divider ---------- */
.hl { color: var(--a); }
.spectrum { display: flex; gap: 5px; height: 4px; }
.spectrum i { display: block; height: 100%; transform-origin: left; animation: spectrum-in .9s cubic-bezier(.2, .7, .2, 1) both; }
.spectrum i:nth-child(1) { flex: 64; background: #D926D8; }
.spectrum i:nth-child(2) { flex: 101; background: #2626D9; animation-delay: .06s; }
.spectrum i:nth-child(3) { flex: 145; background: #26D8D9; animation-delay: .12s; }
.spectrum i:nth-child(4) { flex: 205; background: #26D92A; animation-delay: .18s; }
.spectrum i:nth-child(5) { flex: 290; background: #D8D926; animation-delay: .24s; }
.spectrum i:nth-child(6) { flex: 430; background: #D97D26; animation-delay: .30s; }
.spectrum i:nth-child(7) { flex: 621; background: #D92626; animation-delay: .36s; }
@keyframes spectrum-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.spectrum + .block { border-top: 0; }

/* ---------- page head (inner pages) ---------- */
.page-head { padding: 64px 0 56px; }
.page-head h1 { font-size: clamp(36px, 5.2vw, 68px); max-width: 18ch; }
.page-head .lead { margin-top: 20px; }
.lang-toggle { display: inline-flex; margin-top: 24px; border: 1px solid var(--rule-strong); border-radius: var(--radius); overflow: hidden; }
.lang-toggle a, .lang-toggle span { padding: 9px 16px; font-size: 15px; font-weight: 500; text-decoration: none; }
.lang-toggle a { color: var(--graphite); }
.lang-toggle a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.lang-toggle span { background: var(--white); color: var(--paper); }
.back { display: block; width: max-content; font-size: 15px; color: var(--graphite); margin-bottom: 32px; text-underline-offset: 3px; }
.back::before { content: "← "; }
.back:hover { color: var(--link); }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; margin-bottom: 16px; }

/* ---------- role page ---------- */
.role-body { background: var(--surface); }
.role-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.prose h2 { font-size: 22px; margin: 40px 0 14px; letter-spacing: -0.015em; }
.prose > :first-child { margin-top: 0; }
.prose p + p { margin-top: 14px; }
.bullets li, .prose ul li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.bullets li::before, .prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 2px; background: var(--ink); }
.facts { position: sticky; top: 96px; border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 24px; background: var(--paper); }
.facts dl { display: grid; gap: 14px; margin-bottom: 24px; }
.facts dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: 15px; }
.facts dt { color: var(--graphite); }
.facts dd { font-weight: 500; }

/* ---------- forms ---------- */
.apply-block { background: var(--paper); }
.apply-block h2 { margin-bottom: 32px; }
.form { display: grid; gap: 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 40px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 6px; align-content: start; }
.field > label, .field .label, .consents legend, .choice legend { font-size: 15px; font-weight: 600; }
.opt { font-weight: 400; color: var(--graphite); font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; background: var(--paper);
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius); font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field ::placeholder { color: var(--dim); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--graphite); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 25%, transparent); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.bad input, .bad select, .bad textarea { border-color: var(--warn); }
.hint { font-size: 14px; color: var(--graphite); }
.err { font-size: 14px; color: var(--warn); font-weight: 500; }
.err:empty { display: none; }
.drop {
  position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 20px; border: 1px dashed var(--rule-strong); border-radius: var(--radius-lg); background: var(--paper);
  transition: border-color .15s, background .15s;
}
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.drop-text { font-size: 15px; color: var(--graphite); }
.drop.over { border-color: var(--link); border-style: solid; background: color-mix(in srgb, var(--link) 8%, transparent); }
.drop:focus-within { border-color: var(--link); border-style: solid; }
.drop.has-file { border-style: solid; border-color: var(--rule-strong); }
.drop.has-file .drop-text { display: none; }
.drop.many.has-file .drop-text { display: inline; }
.drop-clear { margin-left: auto; background: none; border: 0; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 15px; }
.bad .drop { border-color: var(--warn); }
.file-list { flex-basis: 100%; display: grid; gap: 6px; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: var(--radius); font-size: 15px; }
.file-list li span { overflow-wrap: anywhere; }
.file-list .drop-clear { margin-left: auto; font-size: 14px; }
.file-name { font-size: 15px; color: var(--graphite); overflow-wrap: anywhere; }
.drop.has-file .file-name { color: var(--ink); font-weight: 500; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.note { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; font-size: 15px; color: var(--graphite); max-width: none; }
.note p { font-size: 15px; }
.note p + p { margin-top: 8px; }
.note strong { color: var(--ink); }

.consents { border: 0; border-top: 2px solid var(--ink); padding-top: 20px; display: grid; gap: 16px; }
.consents legend { float: left; width: 100%; margin-bottom: 4px; }
.consent-lead { font-size: 15px; color: var(--graphite); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; align-items: start; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--link); cursor: pointer; }
.check label { font-size: 15px; cursor: pointer; }
.check .err { grid-column: 2; }
.check.bad input { outline: 2px solid var(--warn); outline-offset: 1px; }
.version { font-size: 13px; color: var(--graphite); }

.choice { border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice legend { margin-bottom: 10px; float: left; width: 100%; }
.radio { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--rule-strong); border-radius: var(--radius); cursor: pointer; font-size: 15px; }
.radio:hover { border-color: var(--graphite); }
.radio input { width: 18px; height: 18px; accent-color: var(--link); flex: none; }
.radio:has(input:checked) { border-color: var(--link); background: color-mix(in srgb, var(--link) 8%, transparent); }
.choice .err { grid-column: 1 / -1; }

.form-error { padding: 14px 16px; border: 1.5px solid var(--warn); border-radius: var(--radius); color: var(--warn); font-size: 15px; font-weight: 500; }
.form .button[type=submit] { justify-self: start; }

.success { display: grid; gap: 14px; justify-items: start; padding: 40px; background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--ok); border-radius: var(--radius-lg); }
.success h1, .success h3 { font-size: 28px; }
.success .ref { font-size: 26px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* ---------- privacy notice ---------- */
.notice-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; }
.toc { position: sticky; top: 96px; }
.toc h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 12px; color: var(--graphite); font-weight: 500; }
.toc li { border-top: 1px solid var(--rule); }
.toc ol { list-style: none; }
.toc a { display: flex; gap: 12px; padding: 8px 0; font-size: 15px; text-decoration: none; }
.num { color: var(--a); font-weight: 600; font-variant-numeric: tabular-nums; flex: none; }
.toc .num { font-size: 13px; letter-spacing: .06em; padding-top: 2px; min-width: 20px; }
.notice h2 .num { font-size: .62em; letter-spacing: .06em; margin-right: 14px; vertical-align: .22em; }
.toc a:hover { color: var(--link); }
.notice section { padding-bottom: 40px; }
.notice section + section { padding-top: 40px; border-top: 1px solid var(--rule); }
.notice h2 { margin-top: 0; font-size: 24px; }
.notice p + p, .notice table + p, .notice ul + p { margin-top: 14px; }
.notice table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; background: var(--surface); }
.notice th { text-align: left; font-weight: 600; padding: 10px 14px; border-bottom: 2px solid var(--ink); }
.notice td { vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.notice td:first-child { font-weight: 500; }
.notice .addr { margin: 12px 0; }
.notice ul { margin: 12px 0; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid rgba(255, 255, 255, .14); background: var(--paper); color: var(--graphite); padding: 64px 0 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 28px; width: auto; margin-bottom: 18px; }
.foot-brand p { color: #fff; }
.site-foot address { font-style: normal; margin-top: 10px; font-size: 14px; }
.site-foot h2 { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 14px; }
.site-foot ul { display: grid; gap: 8px; }
.site-foot a { color: rgba(255, 255, 255, .78); text-decoration: none; overflow-wrap: anywhere; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; }
.foot-base p { max-width: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .roles-head { display: none; }
  .role { grid-template-columns: 1fr auto; grid-template-areas: "title title" "disc disc" "loc type"; gap: 8px 16px; }
  .role-title { grid-area: title; }
  .role-disc { grid-area: disc; }
  .role-loc { grid-area: loc; }
  .role-type { grid-area: type; text-align: right; align-self: end; }
  .role-loc small { display: inline; margin-left: 6px; }
  .role-list { border-top: 2px solid var(--ink); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .head-row { height: 64px; gap: 12px; }
  .site-nav ul { display: none; }
  .head-actions .button { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .head-actions { margin-left: auto; }
  .site-nav.open ul { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px 20px 16px; gap: 0; }
  .site-nav.open a { display: block; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 17px; }
  .intro { padding: 56px 0 48px; }
  .intro-grid, .split, .role-grid, .notice-grid { grid-template-columns: 1fr; gap: 32px; }
  .block { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0 0 0 0; }
  .steps li::before { left: 21px; top: 44px; bottom: -28px; right: auto; width: 2px; height: auto; }
  .step-btn { grid-template-columns: 44px 1fr; align-items: center; gap: 16px; }
  .steps p { margin-left: 60px; }
  .step-detail dl { grid-template-columns: 1fr; }
  .tabs.on, .tab-panels { grid-template-columns: 1fr; }
  .tabs.on .tab-panel { min-height: 0; padding: 24px; }
  .facts, .toc { position: static; }
  .form { padding: 24px 18px; }
}
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .grid2, .choice, .foot-grid { grid-template-columns: 1fr; }
  .facts dl div { grid-template-columns: 1fr; gap: 2px; }
  .notice table, .notice thead, .notice tbody, .notice tr, .notice th, .notice td { display: block; }
  .notice thead { display: none; }
  .notice tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .notice td { border: 0; padding: 2px 0; }
  .foot-base { flex-direction: column; }
  .success, .empty { padding: 24px 20px; }
}

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

@media print {
  .site-head, .site-foot, .toc, .skip { display: none; }
  body { background: #fff; }
}
