/* Tungsten Assets — "tungsten filament in Pacific fog".
   Graphite + fog neutrals, Burrard-inlet slate as support, one amber accent reserved for the main action.
   Single light theme on purpose: this is a brand site. */
:root {
  --ink: #1b2328;
  --muted: #56636a;
  --fog: #f4f5f3;
  --white: #ffffff;
  --line: #dfe3e0;
  --graphite: #2c3a42;
  --graphite-deep: #141c20;
  --sea: #3f6670;
  --amber: #a9661f;        /* AA on white for text-sized use */
  --amber-hover: #8f5518;
  --amber-text: #8f5518;   /* amber for text on fog/white: 6:1 */
  --amber-glow: #e7a865;
  --on-mark: #f4f5f3;
  --display: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --body: "Figtree", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --radius: 10px;
  --wrap: 1120px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fog); color: var(--ink); font: 400 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--graphite); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .cta-band :focus-visible, .dark-box :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.005em; }
.lang-zh h1, .lang-zh h2 { font-family: var(--display), var(--body); font-weight: 500; letter-spacing: 0; line-height: 1.3; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1px solid transparent; font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-hover); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { color: var(--graphite); border-color: var(--graphite); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* header */
.site-header { background: var(--fog); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--graphite); text-decoration: none; }
.brand b { display: block; font-size: 15px; letter-spacing: .06em; color: var(--ink); }
.brand small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lang-zh .brand small { letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--amber-text); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber-text); }
.nav-links .lang { border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px !important; font-size: 13px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font: 600 14px var(--body); color: var(--ink); cursor: pointer; min-height: 40px; }

/* hero */
.hero { position: relative; color: #fff; background: linear-gradient(160deg, #6f8c93 0%, #3d555d 45%, #1f2c32 100%); overflow: hidden; }
.hero.has-photo { background: linear-gradient(180deg, rgba(20,28,32,.2), rgba(20,28,32,.78)), var(--hero-img) center / cover no-repeat; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.03; max-width: 15ch; }
.lang-zh .hero h1 { max-width: 14em; line-height: 1.2; font-size: clamp(34px, 5vw, 58px); }
.hero h1 em { color: var(--amber-glow); }
.lang-zh .hero h1 em { font-style: normal; display: block; }
.lang-zh .hero h1 { word-break: keep-all; overflow-wrap: anywhere; }
.hero p { max-width: 54ch; font-size: 19px; color: #e2e9e7; margin: 20px 0 30px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* proof bar */
.proof { background: var(--white); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.proof-grid div { padding: 24px 20px; border-left: 1px solid var(--line); }
.proof-grid div:first-child { border-left: 0; padding-left: 0; }
.proof b { display: block; font: 400 36px/1.1 var(--display); color: var(--graphite); font-variant-numeric: tabular-nums; }
.proof span { font-size: 14px; color: var(--muted); }

/* sections */
.sec { padding: clamp(56px, 7vw, 96px) 0; }
.sec.alt { background: var(--white); }
.eyebrow { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text); font-weight: 700; margin-bottom: 10px; }
.lang-zh .eyebrow { letter-spacing: .08em; }
.sec h2 { max-width: 22ch; margin-bottom: 14px; }
.lang-zh .sec h2 { max-width: 20em; }
.sub { color: var(--muted); max-width: 62ch; margin-bottom: 36px; }
.more { margin-top: 28px; font-weight: 600; }
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 32px; }
.svc > div { border-top: 2px solid var(--graphite); padding-top: 18px; }
.svc h3 { margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 16px; }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: s; }
.process li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.process li::before { counter-increment: s; content: "0" counter(s); display: block; font: 400 32px/1 var(--display); color: var(--amber); margin-bottom: 12px; }
.process h3 { margin-bottom: 6px; }
.process p { color: var(--muted); font-size: 15.5px; }

.comply { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.dark-box { background: var(--graphite); color: #e3eae8; border-radius: 14px; padding: 30px; }
.dark-box h2, .dark-box h3 { color: #fff; margin-bottom: 14px; }
.dark-box h2 { font-size: 28px; }
.dark-box h3 { font-size: 19px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 11px; height: 11px; border-radius: 2px; background: var(--amber-glow); }
.checks.light li { border-color: var(--line); }
.checks.light li::before { background: var(--amber); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-block; padding: 8px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: 15.5px; }
.chips a:hover { border-color: var(--graphite); }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.quotes figure { margin: 0; background: var(--fog); border-radius: var(--radius); padding: 26px; }
.quotes blockquote { margin: 0; font: 400 23px/1.35 var(--display); }
.quotes figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--display); color: var(--amber); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 68ch; }

.cta-band { background: var(--graphite); color: #dfe7e5; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { max-width: 56ch; color: #c5d0cd; }

/* inner pages */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(38px, 5vw, 60px); max-width: 20ch; }
.lang-zh .page-head h1 { max-width: 18em; }
.page-head .lead { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 62ch; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.plan h2 { font-size: 34px; }
.plan-for { color: var(--muted); margin: 6px 0 18px; }
.fee { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.fee span { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fee b { font-weight: 600; text-align: right; }

.comply-page { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.rules { display: grid; gap: 36px; }
.rules h2 { font-size: 28px; margin-bottom: 10px; display: flex; gap: 14px; align-items: baseline; }
.rules .idx { font-size: 18px; color: var(--amber-text); font-variant-numeric: tabular-nums; }
.rules p { color: var(--muted); max-width: 64ch; }
.sources ul { margin: 0 0 12px; padding-left: 20px; }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.quiz { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; position: sticky; top: 96px; scroll-margin-top: 96px; }
.quiz h2 { font-size: 28px; margin-bottom: 18px; }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.quiz legend { font-weight: 600; font-size: 16px; margin-bottom: 10px; display: flex; gap: 10px; }
.qn { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--graphite); color: #fff; font-size: 13px; display: grid; place-items: center; margin-top: 1px; }
.opts { display: flex; gap: 8px; flex-wrap: wrap; padding-left: 34px; }
.opts label { cursor: pointer; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span { display: inline-block; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: 15px; min-height: 40px; }
.opts input:checked + span { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.opts input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.quiz-result { padding: 14px 16px; border-radius: 8px; background: var(--fog); margin-bottom: 16px; border-left: 3px solid var(--line); }
.quiz-result[data-state="good"] { border-left-color: #3d7a52; background: #edf5ef; }
.quiz-result[data-state="maybe"] { border-left-color: var(--amber); background: #faf1e6; }
.quiz-result[data-state="no"] { border-left-color: #a24a3c; background: #f8ecea; }

.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 28px; }
.area { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; scroll-margin-top: 96px; }
.area h2 { font-size: 30px; margin-bottom: 8px; }
.area h2 small { font: 500 14px var(--body); color: var(--muted); margin-left: 6px; }
.area p { color: var(--muted); }
.area:target { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(169,102,31,.15); }

.prose p { font-size: 19px; margin-bottom: 18px; max-width: 64ch; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; }
.field input, .field select, .field textarea { font: 16px var(--body); color: var(--ink); background: var(--fog); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; min-height: 46px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--graphite); background: var(--white); outline: none; box-shadow: 0 0 0 3px rgba(44,58,66,.15); }
.field input[aria-invalid="true"] { border-color: #a24a3c; }
.form-msg { font-size: 15px; min-height: 1.5em; }
.form-msg.ok { color: #2f6b45; font-weight: 600; }
.form-msg.err { color: #a24a3c; }
.direct { list-style: none; padding: 0; margin: 0; }
.direct li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; }
.direct li:last-child { border-bottom: 0; }
.direct span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: #a8b5b2; }
.direct a { color: #fff; font-size: 17px; word-break: break-all; }

/* footer */
.site-footer { background: var(--graphite-deep); color: #a2afb2; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.brand-foot { color: #3b4c55; margin-bottom: 14px; }
.brand-foot b { color: #fff; }
.brand-foot small { color: #8d9a9e; }
.site-footer h2 { font: 600 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #cbd5d6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { max-width: 40ch; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid #26323a; font-size: 13px; color: #7f8d91; }

/* responsive */
@media (max-width: 940px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 18px; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { box-shadow: none; }
  .nav-links .lang { align-self: flex-start; margin: 12px 0; border-bottom: 1px solid var(--line) !important; }
  .comply, .comply-page, .contact-grid { grid-template-columns: 1fr; }
  .quiz { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .brand small { display: none; }
  .proof-grid div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .proof-grid div:first-child { border-top: 0; }
  .lead-form { grid-template-columns: 1fr; padding: 22px; }
  .opts { padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .ctas .btn, .cta-inner .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
