:root {
  --ink: #0a1b2a;
  --ink-soft: #233746;
  --muted: #637786;
  --line: rgba(10, 27, 42, 0.12);
  --paper: #f4f7f9;
  --white: #ffffff;
  --ocean: #0e6674;
  --ocean-deep: #084552;
  --sand: #c8a15f;
  --sand-soft: #e7d2a6;
  --shadow: 0 24px 70px rgba(5, 24, 38, 0.16);
  --radius: 22px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p,
h1,
h2,
h3,
dl,
dd,
dt,
address {
  margin: 0;
}

address {
  font-style: normal;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 249, 0.9);
  border-bottom: 1px solid rgba(10, 27, 42, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 9px 8px;
  background: var(--ink);
  border-radius: 12px;
  overflow: hidden;
}

.brand-mark span {
  width: 6px;
  display: block;
  border-radius: 999px;
  background: var(--sand);
}

.brand-mark span:nth-child(1) {
  height: 12px;
  opacity: 0.72;
}

.brand-mark span:nth-child(2) {
  height: 20px;
}

.brand-mark span:nth-child(3) {
  height: 28px;
  opacity: 0.86;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-text small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.2em;
  line-height: 1.2;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--sand);
  transition: right 0.25s ease;
}

.site-nav a:hover {
  color: var(--ocean);
}

.site-nav a:hover::after {
  right: 0;
}

.nav-contact {
  padding: 9px 18px !important;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: 999px;
}

.nav-contact::after {
  display: none;
}

.nav-contact:hover {
  background: var(--ocean-deep);
}

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 77% 15%, rgba(200, 161, 95, 0.18), transparent 30%),
    radial-gradient(circle at 12% 78%, rgba(14, 102, 116, 0.5), transparent 38%),
    linear-gradient(135deg, #071b2b 0%, #0a2b3a 54%, #0b3c49 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 90%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(231, 210, 166, 0.2);
  pointer-events: none;
}

.hero-orb-one {
  width: 520px;
  height: 520px;
  top: -190px;
  right: -120px;
}

.hero-orb-two {
  width: 320px;
  height: 320px;
  right: 120px;
  bottom: -180px;
  background: rgba(200, 161, 95, 0.08);
  border-color: rgba(231, 210, 166, 0.12);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 72px;
  padding-top: 56px;
  padding-bottom: 82px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow,
.kicker {
  color: var(--sand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--sand);
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.035em;
}

.hero h1 span {
  color: var(--sand-soft);
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.hero-desc {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--sand-soft);
}

.button-primary:hover {
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel {
  position: relative;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: rgba(200, 161, 95, 0.18);
  filter: blur(8px);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 5px rgba(200, 161, 95, 0.12);
}

.panel-title {
  margin-top: 24px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.panel-facts {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 15px;
  margin-top: 32px;
}

.panel-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-facts dt {
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.panel-facts dd {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  text-align: right;
}

.panel-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  opacity: 0.5;
}

.panel-wave svg {
  width: 100%;
  height: 100%;
}

.panel-wave path {
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.panel-wave path:nth-child(2) {
  opacity: 0.55;
}

.panel-wave path:nth-child(3) {
  opacity: 0.3;
}

.hero-foot {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  letter-spacing: 0.18em;
  transform: translateX(-50%);
}

/* Sections */
.section {
  padding: 108px 0;
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.section-heading-wide {
  max-width: 620px;
  margin-bottom: 46px;
}

.section-intro {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.section-body {
  padding-top: 4px;
}

.section-body .lead {
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
}

.section-body p + p {
  margin-top: 20px;
}

.section-body p {
  color: var(--ink-soft);
}

.section-body .note {
  margin-top: 28px;
  padding-left: 16px;
  color: var(--muted);
  border-left: 2px solid var(--sand);
  font-size: 13px;
}

/* Services */
.services {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent 38%),
    var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 30px 26px;
  overflow: hidden;
  border: 1px solid rgba(10, 27, 42, 0.1);
  border-radius: 18px;
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 102, 116, 0.24);
  box-shadow: 0 20px 50px rgba(5, 24, 38, 0.08);
}

.service-no {
  display: block;
  color: var(--sand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.service-card h3 {
  margin: 28px 0 14px;
  font-size: 21px;
  font-weight: 550;
  letter-spacing: 0.03em;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.service-line {
  position: absolute;
  left: 26px;
  bottom: 26px;
  width: 68px;
  height: 2px;
  background: var(--ocean);
  transform: scaleX(0.52);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.service-card:hover .service-line {
  transform: scaleX(1);
}

/* Principles */
.principles {
  background: var(--ink);
  color: var(--white);
}

.principles-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
}

.principles .section-heading h2 {
  color: var(--white);
}

.principle-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.principle-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.principle-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--sand);
  border: 1px solid rgba(200, 161, 95, 0.38);
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.principle-item h3 {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 550;
}

.principle-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Contact */
.contact {
  background:
    radial-gradient(circle at 88% 18%, rgba(200, 161, 95, 0.14), transparent 28%),
    var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: 80px;
  align-items: start;
}

.contact-lead {
  max-width: 340px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

.contact-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 60px rgba(5, 24, 38, 0.07);
}

.contact-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-label {
  color: var(--muted);
  font-size: 12px;
}

.contact-row a {
  color: var(--ocean);
  font-weight: 500;
  word-break: break-all;
}

.contact-row a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-row address,
.contact-row p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.contact-note {
  margin-top: 20px;
  padding-top: 20px;
  color: var(--muted);
  border-top: 1px dashed rgba(10, 27, 42, 0.16);
  font-size: 12px;
  line-height: 1.8;
}

/* Footer */
.site-footer {
  padding: 40px 0 28px;
  color: rgba(255, 255, 255, 0.66);
  background: #06131f;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand-mark-small {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
}

.brand-mark-small span {
  width: 4px;
}

.brand-mark-small span:nth-child(1) {
  height: 8px;
}

.brand-mark-small span:nth-child(2) {
  height: 13px;
}

.brand-mark-small span:nth-child(3) {
  height: 18px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 12px;
}

.footer-nav a:hover {
  color: var(--sand-soft);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.footer-bottom .icp a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.footer-bottom .icp a:hover {
  color: var(--sand-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Privacy page */
.subpage {
  padding: 72px 0 100px;
}

.subpage-head {
  max-width: 800px;
  margin-bottom: 42px;
}

.subpage-head h1 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.subpage-head p {
  color: var(--muted);
  font-size: 14px;
}

.policy-card {
  max-width: 900px;
  padding: 38px clamp(22px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.policy-card h2 {
  margin: 30px 0 10px;
  font-size: 18px;
  font-weight: 550;
}

.policy-card h2:first-of-type {
  margin-top: 0;
}

.policy-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.policy-card p + p {
  margin-top: 12px;
}

.policy-card a {
  color: var(--ocean);
}

.policy-card a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--ocean);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 72px;
    padding-bottom: 100px;
  }

  .hero-panel {
    max-width: 620px;
  }

  .section-grid,
  .principles-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .section-heading-wide {
    margin-bottom: 36px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 210px;
  }

  .contact-lead {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .header-inner {
    min-height: 70px;
    gap: 14px;
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-text small {
    font-size: 8px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    padding: 7px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    min-height: 0;
    padding-top: 70px;
    padding-bottom: 112px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .hero-lead {
    font-size: 1.15rem;
  }

  .hero-panel {
    min-height: 350px;
    padding: 22px;
  }

  .panel-title {
    font-size: 21px;
  }

  .hero-foot {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .section-body .lead {
    font-size: 18px;
  }

  .principle-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
  }

  .principle-mark {
    width: 32px;
    height: 32px;
  }

  .contact-card {
    padding: 24px 20px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    gap: 14px 20px;
  }

  .subpage {
    padding: 46px 0 70px;
  }

  .policy-card {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
