:root {
  color-scheme: light;
  --ink: #111820;
  --muted: #66717d;
  --line: rgba(17, 24, 32, 0.12);
  --navy: #0b1d30;
  --navy-soft: #123651;
  --blue: #139fdb;
  --paper: #f4f5f7;
  --white: #fff;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: #000;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  background: rgba(6, 15, 24, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(250, 250, 252, 0.88);
  border-color: rgba(17, 24, 32, 0.1);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--max));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand span,
.footer-brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.brand small {
  font-size: 11px;
  opacity: 0.72;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
}

.nav-links > a:not(.nav-cta) {
  opacity: 0.82;
  transition: opacity 180ms ease;
}

.nav-links > a:not(.nav-cta):hover {
  opacity: 1;
}

.nav-cta {
  padding: 8px 16px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: max(720px, 100svh);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #06111d;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("/assets/hero.webp") center 52% / cover no-repeat;
  transform: scale(1.025);
  animation: hero-settle 1.4s var(--ease) both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 12, 21, 0.88) 0%, rgba(3, 12, 21, 0.57) 43%, rgba(3, 12, 21, 0.08) 74%),
    linear-gradient(180deg, rgba(3, 12, 21, 0.22), rgba(3, 12, 21, 0.15) 56%, rgba(3, 12, 21, 0.64));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--max));
  padding-top: 48px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(58px, 7.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 span + span {
  margin-left: 0.16em;
}

.hero-subtitle {
  margin: 28px 0 0;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero-copy {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-primary:hover {
  background: #1babeb;
}

.button-quiet {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
}

.button-quiet span {
  margin-left: 8px;
  font-size: 22px;
  line-height: 1;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 2;
  width: 28px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.section-pad {
  padding: 144px 24px;
}

.narrow {
  width: min(100%, 940px);
  margin: 0 auto;
  text-align: center;
}

.section-kicker {
  color: var(--blue);
}

.statement {
  background: #fff;
}

.statement h2,
.quote-copy h2,
.membership-copy h2,
.miniapp h2 {
  margin: 0;
  font-size: clamp(44px, 5.1vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.statement .narrow > p:last-child,
.miniapp .narrow > p {
  max-width: 720px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.8;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  background: #fff;
}

.feature {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #e8edf1;
}

.feature-wide {
  grid-column: 1 / -1;
  min-height: min(82vw, 920px);
}

.feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.feature:hover img {
  transform: scale(1.018);
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 20, 0.02) 38%, rgba(4, 12, 20, 0.82) 100%);
}

.feature-wide .feature-overlay {
  background: linear-gradient(90deg, rgba(4, 12, 20, 0.7), rgba(4, 12, 20, 0.04) 62%);
}

.feature-copy {
  position: absolute;
  z-index: 2;
  inset: auto 7% 7%;
  max-width: 620px;
}

.feature-wide .feature-copy {
  inset: 0 auto 0 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}

.feature-copy h3 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.feature-copy p:last-child {
  max-width: 520px;
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.7;
}

.feature-copy.light {
  color: #fff;
}

.feature-copy.light .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.feature-copy.light p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.feature-clean {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px 7% 72px;
  color: var(--ink);
  background: #eef5f8;
}

.feature-clean .feature-copy {
  position: static;
}

.feature-clean .feature-copy p:last-child {
  color: var(--muted);
}

.progress-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 90px;
}

.progress-line {
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(17, 24, 32, 0.18);
}

.progress-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  color: #89939c;
  text-align: center;
}

.progress-step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #70808e;
  background: #fff;
  border: 1px solid rgba(17, 24, 32, 0.14);
  border-radius: 50%;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(17, 24, 32, 0.08);
}

.progress-step.complete,
.progress-step.active {
  color: var(--ink);
}

.progress-step.complete span {
  color: #fff;
  background: var(--navy-soft);
}

.progress-step.active span {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 22px rgba(19, 159, 219, 0.3);
}

.progress-step strong {
  font-size: 13px;
}

.quote-section {
  overflow: hidden;
  color: #fff;
  background: #071522;
}

.quote-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 10vw;
}

.quote-copy p:last-child {
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
  line-height: 1.8;
}

.quote-card {
  padding: 34px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
  transform: rotate(1.5deg);
}

.quote-card-head,
.quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.quote-card-head {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.quote-card-head span {
  font-size: 24px;
  font-weight: 750;
}

.quote-card-head small {
  padding: 7px 12px;
  color: #936d00;
  background: #fff6d9;
  border-radius: 999px;
}

.quote-row {
  padding: 24px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.quote-row strong {
  color: var(--ink);
}

.quote-row.total {
  border-bottom: 0;
  padding-bottom: 4px;
}

.quote-row.total strong {
  padding: 11px 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
}

.membership {
  background: #fff;
}

.membership-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 9vw;
}

.membership-photo {
  height: min(70vw, 760px);
  min-height: 560px;
  overflow: hidden;
}

.membership-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.membership-copy > p:not(.section-kicker) {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.benefit-list {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.benefit-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.benefit-list li > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.benefit-list div {
  display: grid;
  gap: 5px;
}

.benefit-list strong {
  font-size: 17px;
}

.benefit-list small {
  color: var(--muted);
  font-size: 14px;
}

.miniapp {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 25% 5%, rgba(27, 167, 226, 0.34), transparent 34%),
    linear-gradient(145deg, #071522, #123d5a);
}

.miniapp::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 46vw;
  height: 46vw;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.025), 0 0 0 160px rgba(255, 255, 255, 0.018);
}

.miniapp .narrow {
  position: relative;
  z-index: 1;
}

.miniapp .narrow > p {
  color: rgba(255, 255, 255, 0.66);
}

.miniapp-mark {
  position: relative;
  z-index: 1;
  width: 142px;
  height: 142px;
  margin: 0 auto 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  backdrop-filter: blur(14px);
}

.miniapp-mark img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.search-pill {
  width: min(100%, 360px);
  height: 58px;
  margin: 38px auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  text-align: left;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
}

.search-pill svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-pill span {
  font-weight: 650;
}

.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 52px 0 40px;
  color: var(--muted);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  font-size: 12px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.footer-brand strong {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.footer-brand small {
  color: var(--muted);
}

.site-footer > p {
  grid-column: 1;
  margin: 0;
}

.footer-meta {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  gap: 22px;
}

.footer-meta a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-settle {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.025); }
}

@keyframes scroll-dot {
  0%, 100% { opacity: 0.35; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 15px); }
}

@media (max-width: 900px) {
  .section-pad {
    padding: 110px 24px;
  }

  .service-gallery,
  .quote-inner,
  .membership-shell {
    grid-template-columns: 1fr;
  }

  .feature-wide {
    grid-column: auto;
    min-height: 720px;
  }

  .feature,
  .feature-clean {
    min-height: 660px;
  }

  .feature-wide .feature-copy {
    inset: auto 7% 8%;
    display: block;
  }

  .feature-wide .feature-overlay {
    background: linear-gradient(180deg, transparent 24%, rgba(4, 12, 20, 0.86) 100%);
  }

  .quote-inner {
    gap: 72px;
  }

  .quote-copy {
    text-align: center;
  }

  .quote-copy p:last-child {
    max-width: 680px;
    margin-inline: auto;
  }

  .quote-card {
    width: min(100%, 680px);
    margin: 0 auto;
    transform: none;
  }

  .membership-shell {
    gap: 70px;
  }

  .membership-photo {
    height: 78vw;
    min-height: 480px;
  }

  .membership-copy {
    max-width: 680px;
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .nav-shell {
    width: calc(100% - 32px);
    height: 58px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    gap: 0;
    transform: none;
  }

  .nav-links > a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 10px 17px;
    color: #fff;
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
    align-items: end;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(3, 12, 21, 0.08) 22%, rgba(3, 12, 21, 0.46) 52%, rgba(3, 12, 21, 0.96) 100%);
  }

  .hero-content {
    width: calc(100% - 40px);
    padding: 0 0 102px;
  }

  .hero h1 {
    max-width: 330px;
    font-size: clamp(48px, 13.2vw, 60px);
    line-height: 1.04;
  }

  .hero h1 span {
    display: block;
    white-space: nowrap;
  }

  .hero h1 span + span {
    margin: 0;
  }

  .hero-subtitle {
    margin-top: 22px;
    font-size: 19px;
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 300px);
    margin-top: 26px;
  }

  .section-pad {
    padding: 92px 20px;
  }

  .statement h2,
  .quote-copy h2,
  .membership-copy h2,
  .miniapp h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .statement .narrow > p:last-child,
  .miniapp .narrow > p,
  .quote-copy p:last-child,
  .membership-copy > p:not(.section-kicker) {
    font-size: 16px;
  }

  .service-gallery {
    gap: 8px;
    padding: 8px;
  }

  .feature,
  .feature-wide,
  .feature-clean {
    min-height: 570px;
  }

  .feature-copy,
  .feature-wide .feature-copy {
    inset: auto 24px 32px;
  }

  .feature-copy h3 {
    font-size: 38px;
  }

  .feature-copy p:last-child {
    font-size: 15px;
  }

  .feature-clean {
    padding: 52px 24px 48px;
  }

  .feature-clean .feature-copy {
    position: static;
  }

  .progress-visual {
    margin-top: 72px;
  }

  .progress-step strong {
    max-width: 52px;
    line-height: 1.35;
  }

  .quote-inner,
  .membership-shell {
    gap: 58px;
  }

  .quote-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .quote-card-head span {
    font-size: 19px;
  }

  .quote-row {
    font-size: 14px;
  }

  .membership-photo {
    height: 115vw;
    min-height: 480px;
  }

  .benefit-list li {
    padding: 20px 0;
  }

  .miniapp-mark {
    width: 124px;
    height: 124px;
    margin-bottom: 36px;
    border-radius: 28px;
  }

  .miniapp-mark img {
    width: 96px;
    height: 96px;
  }

  .site-footer {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    align-items: start;
    padding: 42px 0 34px;
  }

  .footer-meta {
    grid-column: 1;
    grid-row: auto;
  }
}

.care-showcase { margin: 0 auto 100px; max-width: 1600px; background: #11171c; color: #f5f6f7; overflow: hidden; }
.care-heading { padding: 64px 24px 40px; text-align: center; }
.care-heading .section-kicker { color: #a9bcc9; font-size: 12px; letter-spacing: .2em; }
.care-heading h2 { font-size: clamp(26px, 3.2vw, 48px); margin: 16px 0; letter-spacing: -.035em; }
.care-heading > p:last-child { color: #bdc4cb; font-size: 16px; }
.care-showcase > img { display: block; width: 100%; height: auto; }
.care-notes { display: flex; justify-content: center; gap: 48px; padding: 28px 24px 36px; font-size: 14px; color: #c3ccd3; }
@media (max-width: 600px) {
  .care-showcase { margin-bottom: 56px; }
  .care-heading { padding: 40px 20px 24px; }
  .care-notes { gap: 12px; padding: 22px 16px 28px; font-size: 12px; text-align: center; }
  .care-notes span { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
