:root {
  --ink: #0a0a0b;
  --navy: #151b3a;
  --warm: #f5f0e8;
  --paper: #fcfbf8;
  --gray: #676b72;
  --mist: #dde5ef;
  --gold: #c6a15b;
  --line: #d8d4cd;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(21, 27, 58, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 88px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { position: relative; display: block; width: 34px; height: 34px; color: currentColor; }
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 1px;
  width: 29px;
  height: 14px;
  border: 4px solid currentColor;
}
.brand-mark::before { top: 0; border-radius: 3px 12px 12px 3px; }
.brand-mark::after { bottom: 0; border-radius: 3px 14px 14px 3px; transform: skewY(-8deg); }
.brand-mark i:first-child { position: absolute; z-index: 2; width: 31px; height: 3px; left: 1px; top: 16px; background: var(--gold); transform: rotate(-11deg); }
.brand-mark i:last-child { display: none; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy b { font-size: 17px; letter-spacing: .12em; }
.brand-copy small { margin-top: 5px; font: 500 7px/1 Arial, sans-serif; letter-spacing: .25em; opacity: .62; }
.header-action { font-size: 13px; letter-spacing: .08em; }
.header-action span { display: inline-block; margin-left: 10px; color: var(--gold); transition: transform .25s ease; }
.header-action:hover span { transform: translate(3px, 3px); }

.hero {
  position: relative;
  min-height: 760px;
  height: min(900px, 100svh);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 74% 42%, rgba(198,161,91,.17), transparent 22%),
    linear-gradient(135deg, #11162f 0%, var(--navy) 58%, #1c234a 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent 8%, black 80%);
}
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.orbit-one { width: 580px; height: 580px; right: -70px; top: 120px; }
.orbit-one::before,
.orbit-one::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; }
.orbit-one::before { inset: 72px; }
.orbit-one::after { inset: 148px; background: rgba(255,255,255,.018); }
.orbit-two { width: 14px; height: 14px; right: 235px; top: 194px; background: var(--gold); border: 0; box-shadow: 0 0 0 9px rgba(198,161,91,.14); }
.hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(24px, calc((100% - 1180px) / 2));
  max-width: 760px;
  transform: translateY(-42%);
}
.eyebrow,
.kicker { margin: 0 0 24px; font: 700 12px/1.2 Arial, sans-serif; letter-spacing: .24em; color: var(--gold); }
.eyebrow { display: flex; align-items: center; }
.eyebrow span { width: 28px; height: 1px; margin-right: 12px; background: currentColor; }
.hero h1 { margin: 0; font-size: clamp(52px, 7.3vw, 96px); line-height: 1.08; letter-spacing: -.055em; font-weight: 800; }
.hero h1 em { color: var(--warm); font-style: normal; font-weight: 300; }
.hero-lead { max-width: 610px; margin: 34px 0 0; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 210px; padding: 18px 20px; border-radius: 4px; font-size: 14px; font-weight: 700; }
.button-gold { background: var(--gold); color: #15120b; }
.button span { font-size: 20px; transition: transform .25s ease; }
.button:hover span { transform: translateX(4px); }
.text-link { position: relative; font-size: 14px; color: rgba(255,255,255,.78); }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: rgba(255,255,255,.34); }
.hero-note { position: absolute; z-index: 2; right: max(24px, calc((100% - 1180px) / 2)); bottom: 86px; display: flex; gap: 16px; align-items: flex-start; }
.hero-note span { padding-top: 3px; color: var(--gold); font: 700 11px/1 Arial; }
.hero-note p { margin: 0; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.7; }
.scroll-cue { position: absolute; z-index: 2; bottom: 70px; left: max(24px, calc((100% - 1180px) / 2)); font: 600 9px/1 Arial; letter-spacing: .25em; color: rgba(255,255,255,.42); transform: rotate(-90deg) translateX(-100%); transform-origin: left bottom; }
.scroll-cue span { display: inline-block; width: 28px; height: 1px; margin: 0 10px 3px 0; background: currentColor; }

.section { padding: 120px max(24px, calc((100% - 1180px) / 2)); }
.intro { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; }
.section-heading .kicker { grid-column: 1 / -1; margin-bottom: -70px; }
.section-heading h2,
.community-heading h2,
.promise h2 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.17; letter-spacing: -.05em; }
.section-heading > p:last-child,
.community-heading > p { margin: 0; color: var(--gray); font-size: 16px; line-height: 1.85; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 76px; }
.service-card { position: relative; min-height: 370px; padding: 32px; overflow: hidden; background: var(--white); border: 1px solid #e6e2dc; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-index { position: absolute; top: 32px; right: 32px; font: 600 11px/1 Arial; color: #a5a19b; }
.service-icon { width: 64px; height: 64px; display: grid; place-items: center; color: var(--navy); background: var(--warm); border-radius: 50%; }
.service-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 68px 0 14px; font-size: 25px; letter-spacing: -.02em; }
.service-card p { margin: 0; color: var(--gray); line-height: 1.75; font-size: 15px; }
.service-tag { position: absolute; left: 32px; bottom: 28px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .06em; }

.path-section { padding-top: 0; }
.path-panel { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 520px; overflow: hidden; background: var(--warm); }
.path-copy { padding: 62px; background: linear-gradient(145deg, #e8dfcf, var(--warm)); }
.path-copy h2 { margin: 0; font-size: clamp(36px, 4.5vw, 57px); line-height: 1.22; letter-spacing: -.05em; }
.path-steps { margin: 0; padding: 40px 56px; list-style: none; background: var(--navy); color: var(--white); }
.path-steps li { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; min-height: 105px; border-bottom: 1px solid rgba(255,255,255,.13); }
.path-steps li:last-child { border-bottom: 0; }
.path-steps span { color: var(--gold); font: 600 11px/1 Arial; }
.path-steps b { font-size: 18px; }
.path-steps small { color: rgba(255,255,255,.42); font-size: 12px; letter-spacing: .08em; }

.community { position: relative; background: #f1eee8; }
.community::before { content: ""; position: absolute; left: 0; top: 0; width: 28%; height: 5px; background: var(--gold); }
.community-heading { display: grid; grid-template-columns: 1fr 430px; gap: 60px; align-items: end; }
.filter-row { display: flex; gap: 8px; margin: 54px 0 28px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter { flex: 0 0 auto; padding: 11px 20px; color: var(--gray); background: transparent; border: 1px solid #cbc6bd; border-radius: 999px; cursor: pointer; transition: .2s ease; }
.filter.active { color: var(--white); background: var(--navy); border-color: var(--navy); }
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qr-card { position: relative; display: flex; flex-direction: column; padding: 22px; min-width: 0; background: var(--white); border: 1px solid #dedad3; box-shadow: 0 10px 40px rgba(21,27,58,.035); animation: card-in .35s both; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } }
.qr-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qr-type { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.qr-status { display: inline-flex; align-items: center; gap: 6px; color: #5f745e; font-size: 11px; }
.qr-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6d8d6a; box-shadow: 0 0 0 3px #edf3ec; }
.qr-status.is-pending { color: #8f7748; }
.qr-status.is-pending::before { background: var(--gold); box-shadow: 0 0 0 3px #f5efe3; }
.qr-card h3 { margin: 22px 0 9px; font-size: 22px; letter-spacing: -.02em; }
.qr-audience { margin: 0 0 20px; color: var(--gray); font-size: 13px; line-height: 1.65; }
.qr-box { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; margin-top: auto; background: #f7f6f3; border: 1px solid #ebe8e2; cursor: zoom-in; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 24px; color: #858178; text-align: center; background-image: linear-gradient(45deg, #efede8 25%, transparent 25%), linear-gradient(-45deg, #efede8 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #efede8 75%), linear-gradient(-45deg, transparent 75%, #efede8 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.qr-placeholder span { display: grid; place-items: center; width: 112px; height: 112px; padding: 18px; background: rgba(255,255,255,.94); border: 1px solid #d9d4cb; font-size: 12px; line-height: 1.6; }
.qr-button { width: 100%; margin-top: 14px; padding: 14px 12px; color: var(--navy); background: transparent; border: 1px solid var(--navy); cursor: pointer; font-size: 13px; font-weight: 700; transition: .2s ease; }
.qr-button:hover { color: var(--white); background: var(--navy); }
.qr-reminder { margin: 26px 0 0; color: #89847c; font-size: 12px; text-align: center; }

.promise { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; overflow: hidden; color: var(--white); background: var(--ink); }
.promise-mark { position: absolute; right: -20px; top: -180px; color: rgba(255,255,255,.035); font: 900 650px/.8 Arial; }
.kicker.light { color: var(--gold); }
.promise-copy,
.promise-points { position: relative; z-index: 1; }
.promise-points { align-self: end; }
.promise-points p { display: flex; gap: 22px; margin: 0; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.78); }
.promise-points span { color: var(--gold); font: 600 11px/1.8 Arial; }

.faq-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.section-heading.compact { display: block; }
.section-heading.compact .kicker { margin-bottom: 24px; }
.section-heading.compact h2 { font-size: clamp(36px, 4vw, 52px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 27px 44px 27px 0; cursor: pointer; font-size: 17px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span::before,
.faq-list summary span::after { content: ""; position: absolute; right: 4px; top: 50%; width: 15px; height: 1px; background: var(--ink); transition: .2s ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { margin: -4px 50px 25px 0; color: var(--gray); font-size: 14px; line-height: 1.85; }

footer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; padding: 64px max(24px, calc((100% - 1180px) / 2)); color: var(--white); background: var(--navy); }
.footer-brand { grid-row: span 2; align-self: center; }
footer > p { margin: 0; text-align: right; color: rgba(255,255,255,.68); font-size: 14px; }
footer > small { text-align: right; color: rgba(255,255,255,.36); font-size: 10px; letter-spacing: .08em; }
.mobile-dock { display: none; }

.qr-modal { width: min(430px, calc(100% - 32px)); padding: 34px; color: var(--ink); background: var(--paper); border: 0; border-radius: 8px; box-shadow: 0 30px 100px rgba(0,0,0,.35); text-align: center; }
.qr-modal::backdrop { background: rgba(8,11,23,.76); backdrop-filter: blur(6px); }
.modal-close { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; padding: 0; color: #777; background: transparent; border: 0; cursor: pointer; font-size: 28px; font-weight: 300; }
.modal-kicker { margin: 0 0 8px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.qr-modal h2 { margin: 0 0 22px; font-size: 25px; }
.modal-qr { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: white; border: 1px solid #e2ded7; }
.modal-qr img { width: 100%; height: 100%; object-fit: contain; }
.modal-qr .qr-placeholder span { width: 150px; height: 150px; }
.qr-modal > p:not(.modal-kicker) { margin: 18px 0 0; color: var(--gray); font-size: 13px; line-height: 1.6; }
.copy-button { width: 100%; margin-top: 18px; padding: 14px; color: var(--white); background: var(--navy); border: 0; cursor: pointer; font-weight: 700; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 34px; padding: 11px 18px; color: white; background: rgba(10,10,11,.92); border-radius: 999px; opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: .25s ease; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .section { padding-top: 88px; padding-bottom: 88px; }
  .section-heading,
  .community-heading,
  .promise,
  .faq-section { grid-template-columns: 1fr; gap: 38px; }
  .section-heading .kicker { margin-bottom: -18px; }
  .service-list { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .service-card h3 { margin-top: 46px; }
  .path-panel { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-mark { font-size: 500px; }
}

@media (max-width: 620px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .site-header { width: calc(100% - 36px); height: 72px; }
  .header-action { font-size: 12px; }
  .hero { min-height: 700px; height: 94svh; max-height: 820px; }
  .hero-grid { background-size: 54px 54px; }
  .orbit-one { width: 390px; height: 390px; right: -205px; top: 190px; }
  .orbit-two { right: 77px; top: 239px; }
  .hero-content { left: 20px; right: 20px; top: 47%; transform: translateY(-42%); }
  .hero h1 { font-size: clamp(40px, 11vw, 50px); line-height: 1.12; }
  .hero-lead { margin-top: 26px; font-size: 15px; line-height: 1.8; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 32px; }
  .button { min-width: 200px; padding: 16px 18px; }
  .hero-note { display: none; }
  .scroll-cue { display: none; }
  .section { padding: 76px 20px; }
  .section-heading { gap: 28px; }
  .section-heading .kicker { margin-bottom: -10px; }
  .section-heading h2,
  .community-heading h2,
  .promise h2 { font-size: 38px; }
  .section-heading > p:last-child,
  .community-heading > p { font-size: 14px; }
  .service-list { margin-top: 48px; gap: 12px; }
  .service-card { min-height: 286px; padding: 26px; }
  .service-tag { left: 26px; bottom: 24px; }
  .path-section { padding: 0; }
  .path-panel { min-height: 0; }
  .path-copy { padding: 62px 20px; }
  .path-steps { padding: 22px 20px; }
  .path-steps li { grid-template-columns: 34px 1fr; gap: 10px; min-height: 96px; }
  .path-steps small { grid-column: 2; }
  .community::before { width: 48%; }
  .community-heading { gap: 24px; }
  .filter-row { margin-top: 40px; }
  .qr-grid { grid-template-columns: 1fr; }
  .qr-card { padding: 20px; }
  .qr-box { aspect-ratio: 1.1; }
  .promise { gap: 42px; }
  .promise-mark { top: -50px; right: -40px; font-size: 330px; }
  .faq-section { gap: 34px; }
  .faq-list summary { font-size: 15px; }
  footer { grid-template-columns: 1fr; padding-top: 50px; padding-bottom: 50px; }
  .footer-brand { grid-row: auto; }
  footer > p,
  footer > small { text-align: left; }
  .mobile-dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: .85fr 1.15fr; height: calc(64px + env(safe-area-inset-bottom)); padding: 7px 10px calc(7px + env(safe-area-inset-bottom)); background: rgba(252,251,248,.94); border-top: 1px solid rgba(21,27,58,.12); backdrop-filter: blur(16px); }
  .mobile-dock a,
  .mobile-dock button { display: grid; place-items: center; border: 0; font-size: 14px; font-weight: 700; }
  .mobile-dock a { color: var(--navy); }
  .mobile-dock button { display: flex; justify-content: center; gap: 24px; color: var(--white); background: var(--navy); }
  .mobile-dock button span { color: var(--gold); font-size: 20px; }
  .toast { bottom: 88px; }
}

@media (max-width: 420px) {
  .header-action { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
