/* VigiliaSDS inside pages: Production V1 design system (verbatim) + inside-page extension. Candidate 001. */
:root {
  --teal-900: #123f3d;
  --teal-800: #18514e;
  --teal-700: #216864;
  --teal-100: #dcecea;
  --teal-050: #eef7f6;
  --ink: #172326;
  --muted: #58686b;
  --line: #dbe3e3;
  --surface: #ffffff;
  --surface-soft: #f5f8f8;
  --shadow: 0 18px 50px rgba(24, 81, 78, 0.10);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: clip;
}
section[id], main[id], .steps[id] { scroll-margin-top: 92px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
main:focus { outline: none; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--teal-900); color: white; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-name { font-size: 1.25rem; font-weight: 780; letter-spacing: -.025em; color: var(--teal-900); }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a { text-decoration: none; color: #3f5154; font-size: .93rem; font-weight: 650; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--teal-700); }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 46px; padding: 11px 19px; border-radius: 9px; border: 1px solid transparent;
  font-weight: 750; font-size: .94rem; line-height: 1.2; text-decoration: none; transition: .18s ease;
}
.button-primary { background: var(--teal-700); color: white; box-shadow: 0 8px 20px rgba(33,104,100,.16); }
.button-primary:hover, .button-primary:focus-visible { background: var(--teal-800); transform: translateY(-1px); }
.button-secondary { background: white; color: var(--teal-800); border-color: #aac7c4; }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--teal-700); background: var(--teal-050); }
.menu-toggle { display: none; font: inherit; cursor: pointer; }

.hero {
  padding: 104px 0 94px;
  background:
    radial-gradient(circle at 86% 18%, rgba(33,104,100,.10), transparent 28%),
    linear-gradient(180deg, #fbfdfd 0%, #f3f8f7 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); align-items: center; gap: 74px; }
.eyebrow { margin: 0 0 18px; color: var(--teal-700); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2.55rem, 5vw, 4.65rem); line-height: 1.04; letter-spacing: -.055em; color: #102c2d; }
.hero-copy { max-width: 680px; margin-bottom: 32px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 22px 0 0; color: #627477; font-size: .86rem; }
.library-card { position: relative; padding: 26px; background: white; border: 1px solid #cfdddc; border-radius: 22px; box-shadow: var(--shadow); }
.library-card::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 1px solid #d8e8e6; border-radius: 22px; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.card-heading strong { font-size: 1.02rem; color: #173b3b; }
.status-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--teal-700); box-shadow: 0 0 0 5px var(--teal-100); }
.record-list { display: grid; gap: 12px; margin-top: 18px; }
.record { padding: 14px; border-radius: 10px; background: var(--surface-soft); border: 1px solid #e5ecec; }
.record-top { display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; font-weight: 750; color: #294143; }
.record-line { width: 72%; height: 7px; margin-top: 10px; border-radius: 99px; background: #d4e1e0; }
.record-line.short { width: 47%; }
.tag { color: var(--teal-700); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

.section { padding: 94px 0; }
.section-soft { background: var(--surface-soft); border-block: 1px solid #e5ebeb; }
.section-intro { max-width: 720px; margin-bottom: 54px; }
.section-intro.center { margin-inline: auto; text-align: center; }
h2 { margin-bottom: 18px; color: #142f30; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; letter-spacing: -.04em; }
.section-intro p, .service-copy > p { color: var(--muted); font-size: 1.04rem; }
.service-stack { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; box-shadow: 0 12px 34px rgba(25,55,56,.05); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 390px; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-copy { order: 2; }
.service-row:nth-child(even) .service-visual { order: 1; }
.service-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 6vw, 72px); }
.service-number { margin-bottom: 17px; color: var(--teal-700); font-weight: 820; font-size: .8rem; letter-spacing: .12em; }
.service-copy h3 { margin-bottom: 15px; color: #173435; font-size: clamp(1.55rem, 2.5vw, 2.05rem); line-height: 1.17; letter-spacing: -.025em; }
.text-link { align-self: flex-start; margin-top: 8px; color: var(--teal-700); font-weight: 780; text-decoration: none; border-bottom: 1px solid #9dc5c1; }
.text-link:hover, .text-link:focus-visible { color: var(--teal-900); border-color: var(--teal-900); }
.service-visual { display: grid; place-items: center; min-height: 360px; padding: 42px; background: linear-gradient(145deg, var(--teal-050), #e6f1f0); }
.service-row:nth-child(even) .service-visual { background: linear-gradient(145deg, #edf2f2, #f8faf9); }
.visual-panel { width: min(100%, 340px); padding: 22px; background: rgba(255,255,255,.92); border: 1px solid #cddcdb; border-radius: 15px; box-shadow: 0 16px 36px rgba(24,81,78,.09); }
.visual-label { margin-bottom: 16px; color: #627477; font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mini-row { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-top: 1px solid #e3eaea; color: #324a4c; font-size: .85rem; font-weight: 690; }
.mini-row:first-of-type { border-top: 0; }
.mini-icon { flex: 0 0 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; background: var(--teal-100); color: var(--teal-800); font-size: .8rem; font-weight: 850; }
.mini-meta { margin-left: auto; color: #627477; font-size: .72rem; font-weight: 650; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle { padding: 26px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.principle strong { display: block; margin-bottom: 8px; color: #193d3d; font-size: 1.04rem; }
.principle p { margin: 0; color: var(--muted); font-size: .92rem; }
.boundary { margin-top: 28px; padding: 22px 24px; border-left: 4px solid var(--teal-700); background: var(--teal-050); color: #395456; font-size: .93rem; }
.boundary strong { color: var(--teal-900); }

.saics-section { padding: 90px 0; background: white; }
.saics-intro { max-width: 750px; margin-bottom: 24px; }
.saics-intro h2 { max-width: 720px; margin-bottom: 22px; }
.saics-intro > p:not(.saics-label) { max-width: 730px; margin-bottom: 0; color: var(--muted); font-size: 1.01rem; line-height: 1.72; }
.saics-intro > p + p { margin-top: 14px; }
.saics-label { display: flex; align-items: baseline; gap: .42em; margin-bottom: 16px; }
.saics-name { color: var(--teal-800); font-weight: 900; letter-spacing: .16em; }
.saics-support-line { max-width: 790px; margin: 0 0 30px; color: #405b5d; font-size: .95rem; line-height: 1.65; }
.saics-intro strong, .saics-support-line strong, .saics-boundary strong { font-weight: 820; }
.saics-boundary { max-width: 880px; margin: 24px 0 0; padding-left: 16px; border-left: 3px solid #a6c9c6; color: #586b6d; font-size: .89rem; line-height: 1.62; text-align: left; }
.inquiry { padding: 84px 0; background: var(--teal-900); color: white; }
.inquiry-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 74px; align-items: center; }
.inquiry h2 { color: white; }
.inquiry-copy { color: #c9dddb; font-size: 1.05rem; }
.steps { display: grid; gap: 12px; }
.step { display: flex; gap: 15px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: rgba(255,255,255,.045); }
.step-num { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--teal-900); font-size: .78rem; font-weight: 850; }
.step strong { display: block; margin-bottom: 2px; }
.step span { color: #bfd3d1; font-size: .87rem; }
.inquiry .button-primary { background: white; color: var(--teal-900); box-shadow: none; }
.inquiry .button-primary:hover, .inquiry .button-primary:focus-visible { background: var(--teal-050); }

footer { padding: 58px 0 30px; background: #0d2929; color: #b7cac8; }
.footer-top { display: grid; grid-template-columns: 1.15fr .7fr .8fr; gap: 56px; padding-bottom: 40px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 15px; color: white; text-decoration: none; }
.footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand span { font-size: 1.08rem; font-weight: 770; }
.footer-about { max-width: 430px; margin: 0; color: #a9bfbd; font-size: .88rem; }
.footer-social { display: flex; gap: 4px; margin: 12px 0 0 -11px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; color: #ffffff; transition: background-color .18s ease; }
.footer-social a:hover { background: rgba(255,255,255,.12); }
.footer-social svg { width: 22px; height: 22px; fill: currentColor; }
.footer-title { margin: 0 0 12px; color: white; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { width: fit-content; color: #b7cac8; font-size: .86rem; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: white; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.11); color: #8fa8a6; font-size: .78rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 28px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { display: inline-block; padding: 6px 0; color: #8fa8a6; text-decoration: none; }
.footer-legal a:hover, .footer-legal a:focus-visible { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid #61a9a3; outline-offset: 3px; }
@media (max-width: 940px) {
  .nav { position: relative; }
  .nav-links { display: none; }
  .nav-links.is-open {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    display: grid; gap: 0; margin: 0; padding: 10px;
    border: 1px solid var(--line); border-radius: 0 0 12px 12px;
    background: rgba(255,255,255,.99); box-shadow: 0 18px 32px rgba(24,81,78,.12);
  }
  .nav-links.is-open a { min-height: 44px; display: flex; align-items: center; padding: 8px 12px; border-radius: 7px; }
  .nav-links.is-open a:hover, .nav-links.is-open a:focus-visible { background: var(--teal-050); }
  .nav > .menu-toggle { display: inline-flex; }
  .hero-grid, .inquiry-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 52px; }
  .hero { padding-top: 76px; }
  .library-card { max-width: 570px; }
  .service-row { grid-template-columns: 1fr; }
  .service-row .service-copy, .service-row:nth-child(even) .service-copy { order: 1; }
  .service-row .service-visual, .service-row:nth-child(even) .service-visual { order: 2; }
  .principles { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1.25fr .75fr; }
  .footer-top > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 68px; gap: 12px; }
  .brand img { width: 50px; height: 50px; }
  .brand-name { font-size: 1.08rem; }
  .nav > .button { display: none; }
  .nav > .menu-toggle { display: inline-flex; min-height: 44px; padding: 10px 12px; }
  .hero { padding: 62px 0 68px; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .section { padding: 70px 0; }
  .service-copy { padding: 34px 25px; }
  .service-visual { min-height: 300px; padding: 26px; }
  .inquiry { padding: 66px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-top > :last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ================= Inside pages: extension of the approved Production V1 design system ================= */
section[id], .detail-row[id], .service-row[id], .form-stage[id], .stage-nav[id] { scroll-margin-top: 92px; }
.nav-links a[aria-current="page"] { color: var(--teal-700); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: #9dc5c1; }
.page-hero { padding: 84px 0 76px; }
.page-hero h1 { max-width: 840px; font-size: clamp(2.3rem, 4.4vw, 3.7rem); }
.page-hero .hero-copy { max-width: 740px; }
.button-secondary.on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.button-secondary.on-dark:hover, .button-secondary.on-dark:focus-visible { background: rgba(255,255,255,.1); border-color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.section-intro h2 + p { margin-bottom: 0; }

.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 54px; padding: 0; list-style: none; }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #aac7c4; border-radius: 999px; background: white; color: var(--teal-800); font-size: .9rem; font-weight: 700; text-decoration: none; }
.jump-links a:hover, .jump-links a:focus-visible { background: var(--teal-050); border-color: var(--teal-700); }

.detail-stack { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; box-shadow: 0 12px 34px rgba(25,55,56,.05); }
.detail-row { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 5vw, 64px); padding: clamp(30px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.detail-row:last-child { border-bottom: 0; }
.detail-head h3 { margin-bottom: 15px; color: #173435; font-size: clamp(1.55rem, 2.5vw, 2.05rem); line-height: 1.17; letter-spacing: -.025em; }
.detail-head p { margin-bottom: 0; color: var(--muted); }
.facts { display: grid; margin: 0; }
.facts > div { padding: 16px 0; border-top: 1px solid #e3eaea; }
.facts > div:first-child { padding-top: 0; border-top: 0; }
.facts dt { margin: 0 0 4px; color: var(--teal-700); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.facts dd { margin: 0; color: #3f5154; font-size: .97rem; }
.facts .human { margin-top: 8px; padding: 16px 18px; border: 0; border-left: 4px solid var(--teal-700); background: var(--teal-050); }
.facts .human dt { color: var(--teal-900); }

.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.path-card.is-managed { border-color: #aac7c4; background: var(--teal-050); }
.path-letter { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); font-weight: 850; }
.path-card h3 { margin-bottom: 10px; color: #173435; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; }
.path-for { margin-bottom: 12px; color: #193d3d; font-weight: 700; }
.path-card p:not(.path-for) { color: var(--muted); font-size: .94rem; }
.path-uses { margin-top: auto; padding-top: 18px; border-top: 1px solid #dbe6e5; }
.path-uses strong { display: block; margin-bottom: 8px; color: var(--teal-700); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.path-uses ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.path-uses li { padding: 3px 10px; border: 1px solid #cbdad9; border-radius: 999px; background: white; color: #3f5154; font-size: .78rem; font-weight: 650; }
.path-note { margin-top: 24px; color: var(--muted); font-size: .95rem; }

.scope-note { margin-top: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 13px; background: white; color: #405b5d; font-size: .93rem; }
.scope-note strong { color: var(--teal-900); }
.scope-note p { margin: 0; }
.scope-note p + p { margin-top: 10px; }

.stage-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.stage-nav a { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 11px; background: white; color: #193d3d; font-size: .92rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.stage-nav a:hover, .stage-nav a:focus-visible { border-color: var(--teal-700); background: var(--teal-050); }
.stage-nav .step-num, .stage-head .step-num { background: var(--teal-700); color: white; }
.request-wrap { max-width: 920px; }
.notice { margin: 0 0 28px; padding: 20px 24px; border-left: 4px solid var(--teal-700); background: var(--teal-050); color: #395456; font-size: .95rem; }
.notice strong { color: var(--teal-900); }
.notice p { margin: 0; }
.notice p + p { margin-top: 10px; }
.form-stage { margin-bottom: 24px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 34px rgba(25,55,56,.05); }
.stage-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.stage-head .step-num { flex: 0 0 38px; height: 38px; font-size: .9rem; }
.stage-head h2 { margin: 0 0 6px; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.03em; }
.stage-head p { margin: 0; color: var(--muted); font-size: .97rem; }
.field-group { min-width: 0; margin: 0 0 30px; padding: 0; border: 0; }
.field-group:last-child { margin-bottom: 0; }
.group-title { display: block; width: 100%; margin: 0 0 14px; padding: 0; color: #193d3d; font-size: 1.04rem; font-weight: 780; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { color: #233b3d; font-size: .9rem; font-weight: 700; }
.opt, .req { margin-left: 6px; color: #58686b; font-size: .78rem; font-weight: 600; }
.hint { margin: 0; color: #58686b; font-size: .84rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #8fa8a6; border-radius: 9px; background: white; color: var(--ink); font: inherit; font-size: .96rem; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field [aria-invalid="true"] { border-color: #9b2c1b; box-shadow: 0 0 0 1px #9b2c1b; }
.error { margin: 0; color: #9b2c1b; font-size: .85rem; font-weight: 650; }
.error:empty { display: none; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.choice { display: flex; align-items: flex-start; gap: 12px; min-height: 56px; padding: 14px 16px; border: 1px solid #cbdad9; border-radius: 11px; background: var(--surface-soft); color: #233b3d; font-size: .94rem; font-weight: 650; line-height: 1.35; cursor: pointer; }
.choice input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal-700); }
.choice:hover { border-color: var(--teal-700); }
.choice:has(input:checked) { border-color: var(--teal-700); background: var(--teal-050); }
.choice.is-wide { grid-column: 1 / -1; }
.product-block { margin: 0 0 16px; padding: 22px; border: 1px solid #d7e4e3; border-radius: 13px; background: var(--surface-soft); }
.product-block legend { padding: 0 6px; color: #193d3d; font-size: .95rem; font-weight: 780; }
.product-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.product-head strong { color: #193d3d; font-size: .95rem; }
.button-small { min-height: 44px; padding: 8px 14px; font-size: .86rem; }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.next-steps { display: grid; gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; counter-reset: ns; }
.next-steps li { position: relative; padding: 16px 18px 16px 62px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); color: #3f5154; font-size: .96rem; counter-increment: ns; }
.next-steps li::before { content: counter(ns); position: absolute; left: 18px; top: 14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-700); color: white; font-size: .78rem; font-weight: 850; }
.next-steps strong { color: #193d3d; }
.dropzone { padding: 28px 24px; border: 2px dashed #b4cbc9; border-radius: 14px; background: var(--surface-soft); color: #4c5f62; text-align: center; }
.dropzone-title { margin: 0 0 6px; color: #193d3d; font-weight: 780; }
.dropzone p { margin: 0; font-size: .92rem; }
.dropzone ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.dropzone li { padding: 6px 12px; border: 1px solid #cbdad9; border-radius: 999px; background: white; color: #3f5154; font-size: .82rem; font-weight: 650; }
.status-pill { display: inline-block; margin-bottom: 12px; padding: 4px 11px; border-radius: 999px; background: var(--teal-100); color: var(--teal-900); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.send-panel { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.send-panel h3 { margin-bottom: 8px; color: #173435; font-size: 1.3rem; letter-spacing: -.02em; }
.send-panel > p { color: var(--muted); }
.form-errors { margin: 0 0 18px; padding: 16px 20px; border: 1px solid #d9a99f; border-left: 4px solid #9b2c1b; border-radius: 10px; background: #fdf4f2; color: #7a2316; font-size: .93rem; }
.form-errors:empty { display: none; }
.form-errors ul { margin: 6px 0 0; padding-left: 20px; }
.form-errors a { color: #7a2316; font-weight: 700; }
.output-panel { margin-top: 22px; }
.output-panel textarea { width: 100%; min-height: 260px; padding: 14px 16px; border: 1px solid #8fa8a6; border-radius: 9px; background: #fbfdfd; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; line-height: 1.55; }
.output-panel h4 { margin: 0 0 8px; color: #193d3d; font-size: 1rem; }
.status { min-height: 1.6em; margin: 12px 0 0; color: var(--teal-800); font-weight: 650; font-size: .93rem; }
.js-only { display: none; }
html.js .js-only { display: block; }
html.js .nojs-only { display: none; }
.nojs-only ul { margin: 12px 0 0; padding-left: 20px; color: #3f5154; }
[hidden] { display: none !important; }

.how-visual { --sai-teal: var(--teal-700); --sai-deep: var(--teal-900); --sai-soft: var(--teal-050); width: 100%; display: grid; place-items: center; }
.how-visual .sai-panel { width: min(100%, 360px); }
.mini-list { margin: 14px 0 0; padding-left: 20px; color: #3f5154; font-size: .95rem; }
.mini-list li { margin-bottom: 4px; }
.mini-list strong { color: #193d3d; }
.service-copy .stage-key { margin: 14px 0 0; padding: 14px 16px; border-left: 4px solid var(--teal-700); background: var(--teal-050); color: #254547; font-size: .95rem; }
.service-copy .service-number { text-transform: uppercase; }
.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deliver-grid .principle p { font-size: .9rem; }
.deliver-note { margin-top: 22px; padding: 22px 24px; border: 1px solid #cbdad9; border-radius: 13px; background: white; color: #405b5d; font-size: .95rem; }
.deliver-note strong { color: var(--teal-900); }
.deliver-note p { margin: 0; }
.saics-line { max-width: 800px; margin: 22px 0 0; padding-left: 16px; border-left: 3px solid #a6c9c6; color: #586b6d; font-size: .92rem; }
.section-intro + .saics-line { margin-top: -24px; margin-bottom: 40px; }
.closing-steps .step span { display: block; }

@media (max-width: 940px) {
  .detail-row { grid-template-columns: 1fr; gap: 26px; }
  .paths, .deliver-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 64px; }
}
@media (max-width: 620px) {
  .page-hero { padding: 52px 0 56px; }
  .stage-nav, .field-grid, .choices { grid-template-columns: 1fr; }
  .choice.is-wide { grid-column: auto; }
  .form-stage { padding: 22px 18px; }
  .stage-head { gap: 12px; }
  .product-block { padding: 16px; }
  .cta-row .button { width: 100%; }
  .jump-links { margin-bottom: 36px; }
}

/* ---- Legal pages (Privacy / Terms) ---- */
.legal-head { padding: 64px 0 40px; background: linear-gradient(180deg, #fbfdfd 0%, #f3f8f7 100%); border-bottom: 1px solid var(--line); }
.legal-head h1 { max-width: 760px; margin-bottom: 14px; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.08; }
.legal-head .legal-intro { max-width: 680px; margin-bottom: 10px; color: var(--muted); font-size: 1.08rem; }
.legal-head .legal-updated { margin: 0; color: #58686b; font-size: .88rem; }
.legal-body { padding: 56px 0 88px; }
.legal-text { max-width: 760px; }
.legal-text h2 { margin: 44px 0 12px; color: #173435; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -.025em; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p, .legal-text li { color: #33484b; font-size: 1.02rem; line-height: 1.7; }
.legal-text p { margin: 0 0 14px; }
.legal-text ul { margin: 0 0 14px; padding-left: 22px; }
.legal-text li { margin-bottom: 6px; }
.legal-text a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-text a:hover, .legal-text a:focus-visible { color: var(--teal-900); }
.legal-related { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 620px) {
  .legal-head { padding: 44px 0 30px; }
  .legal-body { padding: 40px 0 64px; }
  .footer-legal { gap: 18px; }
}
