:root {
  --bg: #f4f7f9;
  --panel: #ffffff;
  --ink: #11273a;
  --muted: #4f6272;
  --line: #d9e2e9;
  --navy: #0b1f4a;
  --brand: #0b1f4a;
  --brand-deep: #071735;
  --accent: #e8a200;
  --accent-ink: #1a1300;
  --soft: #e7eff5;
  --on-navy: #f4f8fb;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1528; --panel: #10213c; --ink: #e8eff4; --muted: #9fb1c9;
    --line: #1f3354; --navy: #9cc4e4; --soft: #14284a;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1528; --panel: #10213c; --ink: #e8eff4; --muted: #9fb1c9;
  --line: #1f3354; --navy: #9cc4e4; --soft: #14284a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.narrow { max-width: 780px; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* header */
header { position: sticky; top: 0; z-index: 20; background: var(--brand); color: #fff; border-bottom: 1px solid rgba(255,255,255,0.14); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; flex: none; }
nav.main { display: flex; align-items: center; gap: 24px; font-size: 16px; font-weight: 500; }
nav.main a { text-decoration: none; color: rgba(255,255,255,0.78); }
nav.main a:hover, nav.main a[aria-current="page"] { color: #fff; }
nav.main a[aria-current="page"] { box-shadow: 0 2px 0 var(--accent); padding-bottom: 4px; }
nav.main a.cta, .m-panel a.cta { color: var(--accent-ink); background: var(--accent); padding: 9px 16px; border-radius: 6px; font-weight: 600; box-shadow: none; }
.m-menu { display: none; position: relative; }
.m-menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 16px; padding: 9px 16px; border-radius: 6px; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.45); }
.m-menu summary::-webkit-details-marker { display: none; }
.m-panel { color: var(--ink); position: absolute; right: 0; top: 52px; width: min(280px, 86vw); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 2px; box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.m-panel a { text-decoration: none; padding: 12px 14px; border-radius: 6px; font-weight: 500; }
.m-panel a:hover { background: var(--soft); }
.m-panel a.cta { text-align: center; margin-top: 6px; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; padding: 14px 24px; border-radius: 6px; font-size: 17px; border: 0; cursor: pointer; font-family: var(--body); line-height: 1.2; }
.btn:hover { filter: brightness(0.95); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.line:hover { box-shadow: inset 0 0 0 1.5px var(--navy); filter: none; }

/* hero */
.hero-band { background: var(--brand); color: #fff; }
.hero-band .eyebrow { color: rgba(255,255,255,0.68); }
.hero-band .lead { color: rgba(255,255,255,0.84); }
.hero-band .hero-note { color: rgba(255,255,255,0.7); }
.hero-band .btn.line, .page-hero .btn.line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5); }
.hero-band .btn.line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.hero { padding-top: 64px; padding-bottom: 72px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 18px; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5.6vw, 60px); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 22px; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); }
.lead { font-size: 20px; color: var(--muted); max-width: 58ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 16px 0 0; font-size: 15px; color: var(--muted); }

.page-hero { background: var(--brand); color: #fff; padding: 56px 0 52px; }
.page-hero .eyebrow { color: rgba(255,255,255,0.68); }
.page-hero .lead { color: rgba(255,255,255,0.84); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); max-width: 22ch; margin-bottom: 18px; }
.page-hero .lead { margin: 0; }

.brief { background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 26px; box-shadow: 0 18px 40px rgba(0,0,0,0.25); }
.brief h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 14px; }
.brief ul { list-style: none; margin: 0; padding: 0; }
.brief li { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 17px; }
.brief li:first-child { border-top: 0; }
.brief li b { font-family: var(--display); font-weight: 700; min-width: 128px; }
.brief li span { color: var(--muted); }
.brief p { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.strip .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; }
.strip div.item { padding: 22px 20px; border-left: 1px solid var(--line); }
.strip div.item:first-child { border-left: 0; padding-left: 0; }
.strip b { display: block; font-family: var(--display); font-size: 18px; }
.strip span { color: var(--muted); font-size: 16px; }

section { padding: 72px 0; scroll-margin-top: 80px; }
main > section + section, main > .strip + section { border-top: 1px solid var(--line); }
main > .page-hero + section { border-top: 0; }
h2.title { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4.4vw, 40px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 12px; text-wrap: balance; }
.sub { color: var(--muted); max-width: 66ch; margin: 0 0 20px; }
.after { margin: 28px 0 0; font-weight: 600; }
.after a, a.plain { text-underline-offset: 4px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.card h3 { font-family: var(--display); font-size: 21px; margin: 0 0 8px; }
.card p { margin: 0 0 14px; color: var(--muted); }
a.card.link { text-decoration: none; display: block; }
a.card.link:hover { border-color: var(--navy); }
.card .more { font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.process { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); overflow: hidden; }
.process .step { padding: 28px 24px; border-left: 1px solid var(--line); counter-increment: s; }
.process .step:first-child { border-left: 0; }
.process .step::before { content: "Step " counter(s); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); background: var(--soft); padding: 3px 9px; border-radius: 4px; display: inline-block; margin-bottom: 14px; }
.process h3 { font-family: var(--display); font-size: 20px; margin: 0 0 8px; }
.process p { margin: 0; color: var(--muted); font-size: 17px; }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 16px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; padding-top: 0; }
.list b { font-family: var(--display); font-weight: 700; display: block; font-size: 19px; }
.list span { color: var(--muted); font-size: 17px; }
.no b::before { content: "No "; color: var(--muted); font-weight: 600; }
.check { list-style: none; margin: 14px 0 0; padding: 0; }
.check li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--line); }
.check li:first-child { border-top: 0; }
.check li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(-45deg); }

/* service detail */
.detail { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.detail-head .sub { margin-bottom: 0; }
.cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.cols3 h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 10px; }
.cols3 p { margin: 0; font-size: 17px; }
.cols3 ul { margin: 0; padding-left: 18px; font-size: 17px; }
.cols3 li { margin: 5px 0; }
.note { margin: 28px 0 0; padding: 14px 18px; background: var(--soft); border-radius: 8px; font-size: 16px; color: var(--ink); }

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 17px; min-width: 520px; }
th, td { text-align: left; padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font-family: var(--display); font-size: 18px; background: var(--soft); }
tbody th { font-weight: 600; width: 28%; color: var(--muted); font-size: 16px; }

/* long process */
.steps-long { display: grid; gap: 0; max-width: 820px; }
.sl { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.sl:first-child { border-top: 0; padding-top: 0; }
.sl-n { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--display); font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.sl-n { box-shadow: 0 0 0 1px rgba(255,255,255,0.18); }
.sl h2 { font-family: var(--display); font-size: 26px; margin: 0 0 8px; letter-spacing: -0.01em; }
.sl p { margin: 0 0 10px; color: var(--muted); max-width: 64ch; }
.sl p.you { font-size: 16px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin-top: 12px; }

.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 12px 0 0; color: var(--muted); max-width: 70ch; }
.faq p.after { margin-top: 28px; color: var(--ink); }

.prose h2 { font-family: var(--display); font-size: 24px; margin: 36px 0 8px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin: 0 0 12px; }
.prose a { text-underline-offset: 3px; text-decoration-color: var(--accent); }

/* CTA band */
.band { background: var(--navy); color: var(--on-navy); padding: 52px 0; border-top: 0 !important; }
.band { background: var(--brand); }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.6vw, 32px); margin: 0 0 6px; line-height: 1.15; }
.band p { margin: 0; opacity: 0.92; max-width: 56ch; }

/* contact */
.contact { background: var(--navy); color: var(--on-navy); border-radius: 12px; padding: 44px 32px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.contact { background: var(--brand); }
.contact h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vw, 34px); line-height: 1.12; margin: 0 0 14px; }
.contact p { margin: 0 0 16px; opacity: 0.92; }
.contact .what { font-size: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.22); }
.contact .direct { font-family: var(--mono); font-size: 17px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent); overflow-wrap: anywhere; white-space: nowrap; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
input, select, textarea { width: 100%; font: inherit; font-weight: 400; color: #11273a; background: #f7fafc; border: 1.5px solid transparent; border-radius: 6px; padding: 12px 14px; }
textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.contact .btn.line { color: var(--on-navy); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5); }
.contact .btn.line:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.formnote { font-size: 14px; opacity: 0.85; margin: 0; }
.formnote a { text-underline-offset: 3px; }
.status { min-height: 1.5em; font-size: 15px; margin: 0; }

/* footer */
footer { padding: 52px 0 36px; color: rgba(255,255,255,0.72); font-size: 16px; background: var(--brand-deep); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.8fr; gap: 32px; }
footer .brand { color: #fff; margin-bottom: 12px; }
footer h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: #fff; margin: 0 0 12px; }
footer .foot-grid a { display: block; text-decoration: none; padding: 4px 0; }
footer .foot-grid a:hover { color: #fff; text-decoration: underline; }
footer .foot-grid a.brand { display: flex; padding: 0; }
footer .foot-grid a.brand:hover { text-decoration: none; }
.foot-about { margin: 0 0 12px; max-width: 34ch; }
footer a.mail { font-family: var(--mono); font-size: 15px; color: #fff; overflow-wrap: anywhere; }
.copy { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 14px; }

@media (max-width: 860px) {
  nav.main { display: none; }
  .m-menu { display: block; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 52px; }
  .detail { grid-template-columns: 1fr; gap: 24px; }
  .contact { grid-template-columns: 1fr; padding: 32px 22px; }
  .process .step { border-left: 0; border-top: 1px solid var(--line); }
  .process .step:first-child { border-top: 0; }
  .strip div.item { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .strip div.item:first-child { border-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  section { padding: 52px 0; }
  .page-hero { padding: 40px 0 38px; }
  .row2 { grid-template-columns: 1fr; }
  .brief li { flex-direction: column; gap: 2px; }
  .contact .direct { font-size: 15px; display: inline-block; margin-top: 4px; }
  .sl { grid-template-columns: 1fr; gap: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  .band-in { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* order-focused additions */
.brief li a { display: flex; gap: 12px; align-items: baseline; width: 100%; text-decoration: none; color: inherit; }
.brief li a::after { content: "\2192"; margin-left: auto; color: var(--navy); font-weight: 600; }
.brief li a:hover b { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.tier { display: flex; flex-direction: column; align-items: flex-start; }
.tier .tag { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); background: var(--soft); padding: 3px 9px; border-radius: 4px; margin: 0 0 14px; }
.tier p:not(.tag) { flex: 1; }
.tier .btn { margin-top: 6px; }
.small { font-size: 15px; color: var(--muted); font-weight: 400; max-width: 70ch; }
.ostep { list-style: none; counter-reset: o; margin: 0 0 22px; padding: 0; }
.ostep li { counter-increment: o; position: relative; padding: 12px 0 12px 44px; border-top: 1px solid rgba(255,255,255,0.18); }
.ostep li:first-child { border-top: 0; }
.ostep li::before { content: counter(o); position: absolute; left: 0; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 800; display: grid; place-items: center; }
.ostep b { display: block; font-family: var(--display); font-size: 18px; }
.ostep span { opacity: 0.9; font-size: 16px; }
.contact.order { grid-template-columns: 0.8fr 1.2fr; }
@media (max-width: 860px) { .contact.order { grid-template-columns: 1fr; } }
