:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.11);
  --surface: #ffffff;
  --canvas: #f5f5f7;
  --blue: #0071e3;
  --cyan: #62c7ff;
  --violet: #a98dff;
  --radius-lg: 34px;
  --radius-md: 24px;
  --shadow: 0 24px 70px rgba(29, 29, 31, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 100%; height: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.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;
}

.section-shell,
.nav-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: border-color 240ms ease, background 240ms ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.nav-shell {
  height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.brand-name { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }

.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a,
.nav-contact { font-size: 14px; color: #424245; transition: color 160ms ease; }
.desktop-nav a:hover,
.nav-contact:hover { color: var(--blue); }
.nav-contact { justify-self: end; }

.menu-button,
.mobile-nav { display: none; }

.hero {
  min-height: 100svh;
  padding: 150px 24px 64px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fafaff 62%, #f5f5f7 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin-top: -5vh;
  text-align: center;
}

.eyebrow,
.section-label,
.service-en,
.detail-label {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(52px, 7.1vw, 100px);
  line-height: 0.98;
  font-weight: 650;
  letter-spacing: -0.065em;
}

.hero-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.hero-actions { margin-top: 38px; display: flex; justify-content: center; align-items: center; gap: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 550;
}
.button-primary { color: #fff; background: var(--blue); transition: transform 180ms ease, background 180ms ease; }
.button-primary:hover { background: #0077ed; transform: translateY(-2px); }
.text-link { color: var(--blue); font-size: 17px; }
.text-link span { display: inline-block; margin-left: 4px; transition: transform 160ms ease; }
.text-link:hover span { transform: translate(2px, -2px); }

.hero-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, 86vw);
  aspect-ratio: 1;
  transform: translate(-50%, -49%);
  opacity: 0.85;
  filter: blur(0.1px);
}

.aura-core {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.05) 20%, rgba(255,255,255,.9) 60%, rgba(255,255,255,0) 74%), conic-gradient(from 180deg, rgba(98,199,255,.35), rgba(169,141,255,.24), rgba(73,124,255,.25), rgba(98,199,255,.35));
  filter: blur(28px);
}

.aura-orbit {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(0, 113, 227, 0.09);
  border-radius: 46% 54% 56% 44%;
  transform: rotate(12deg);
}
.orbit-two { inset: 1%; border-color: rgba(169,141,255,.09); transform: rotate(-18deg); }

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #86868b;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.scroll-cue span { width: 28px; height: 1px; background: #b9b9be; }

.intro { padding-block: 150px; }
.section-label { color: #86868b; }
.intro-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 11vw;
  align-items: start;
}
.intro h2,
.section-heading h2,
.principles-panel h2,
.contact h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.06;
  font-weight: 620;
  letter-spacing: -0.055em;
}
.intro-copy { padding-top: 4px; color: #515154; font-size: 18px; line-height: 1.8; }
.intro-copy p { margin: 0 0 1.2em; }
.legal-strip { margin-top: 84px; padding-top: 30px; display: grid; grid-template-columns: 1.25fr .8fr .65fr; gap: 32px; border-top: 1px solid var(--line); }
.legal-strip div { display: flex; flex-direction: column; gap: 10px; }
.legal-strip span { color: #86868b; font-size: 13px; }
.legal-strip strong { font-size: 17px; font-weight: 560; letter-spacing: -0.01em; }

.services { padding: 140px 0; background: var(--canvas); }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 60px; }
.section-heading .section-label { margin-bottom: 22px; }
.section-summary { max-width: 300px; margin: 0 0 8px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.service-card {
  position: relative;
  min-height: 430px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(29,29,31,.04);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 34px rgba(29, 29, 31, 0.035);
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card-primary {
  color: #fff;
  background: radial-gradient(circle at 82% 18%, rgba(122, 206, 255, 0.85), transparent 34%), linear-gradient(145deg, #0071e3 0%, #1267d2 48%, #6b55d9 100%);
}
.service-card-dark { color: #fff; background: radial-gradient(circle at 74% 12%, #3b3b40, #171719 54%); }
.service-icon { width: 48px; height: 48px; color: var(--blue); }
.service-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card-primary .service-icon,
.service-card-dark .service-icon { color: rgba(255,255,255,.94); }
.service-en { margin-bottom: 12px; color: #86868b; font-size: 12px; }
.service-card-primary .service-en,
.service-card-dark .service-en { color: rgba(255,255,255,.64); }
.service-card h3 { margin: 0 0 15px; font-size: clamp(31px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.045em; }
.service-card p:last-child { max-width: 430px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.72; }
.service-card-primary p:last-child,
.service-card-dark p:last-child { color: rgba(255,255,255,.76); }
.card-index { position: absolute; top: 36px; right: 38px; color: #b5b5b9; font-size: 13px; font-variant-numeric: tabular-nums; }
.service-card-primary .card-index,
.service-card-dark .card-index { color: rgba(255,255,255,.5); }
.license-note { margin: 26px 8px 0; color: #86868b; font-size: 13px; line-height: 1.65; }

.principles { padding-block: 24px 150px; background: var(--canvas); }
.principles-panel {
  padding: clamp(46px, 7vw, 88px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: white;
  background: radial-gradient(circle at 82% 25%, rgba(0,113,227,.34), transparent 29%), radial-gradient(circle at 58% 100%, rgba(125,83,255,.24), transparent 36%), #08080a;
}
.section-label.light { color: rgba(255,255,255,.5); }
.principles-panel h2 { margin-top: 30px; max-width: 600px; }
.principle-list { margin-top: 84px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.principle-list > div { min-height: 145px; padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.principle-list > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.principle-list strong { font-size: 20px; font-weight: 600; }
.principle-list span { max-width: 250px; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.65; }

.contact { position: relative; padding: 150px 0 130px; overflow: hidden; text-align: center; }
.contact-inner { position: relative; z-index: 2; }
.contact h2 { margin-top: 25px; font-size: clamp(46px, 6.4vw, 88px); }
.email-link {
  margin: 54px auto 110px;
  padding-bottom: 8px;
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #b8b8bd;
  color: var(--blue);
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: -0.02em;
}
.email-link span:last-child { transition: transform 160ms ease; }
.email-link:hover span:last-child { transform: translate(3px, -3px); }
.company-details { display: grid; grid-template-columns: .8fr 1.2fr; text-align: left; border-top: 1px solid var(--line); }
.detail-block { padding: 34px 50px 0 0; }
.detail-block + .detail-block { padding-left: 50px; border-left: 1px solid var(--line); }
.detail-label { margin-bottom: 20px; color: #86868b; font-size: 12px; }
.detail-primary { margin: 0 0 9px; font-size: 18px; line-height: 1.65; font-weight: 560; }
.detail-secondary { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.contact-glow { position: absolute; width: 720px; height: 280px; left: 50%; bottom: -180px; transform: translateX(-50%); border-radius: 50%; background: rgba(0,113,227,.18); filter: blur(80px); }

footer { background: var(--canvas); }
.footer-inner { min-height: 112px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; color: #6e6e73; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 560; }
.footer-brand .brand-mark { width: 25px; height: 25px; border-radius: 7px; font-size: 13px; }
.footer-inner p { margin: 0; }
.footer-inner > a { justify-self: end; }

.reveal { opacity: 1; transform: none; }
.hero-content { animation: hero-rise 760ms cubic-bezier(.2,.7,.2,1) both; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

a:focus-visible,
button:focus-visible { outline: 3px solid rgba(0,113,227,.4); outline-offset: 4px; }

@media (max-width: 800px) {
  .section-shell,
  .nav-shell { width: min(100% - 32px, 680px); }
  .nav-shell { grid-template-columns: 1fr auto; }
  .desktop-nav,
  .nav-contact { display: none; }
  .menu-button {
    display: grid;
    width: 40px;
    height: 40px;
    place-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
  }
  .menu-button span:not(.sr-only) { width: 19px; height: 1px; background: var(--ink); transition: transform 180ms ease; }
  .menu-button[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-nav { padding: 8px 24px 24px; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); }
  .mobile-nav:not([hidden]) { display: flex; }
  .mobile-nav a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .hero { padding-inline: 16px; }
  .hero h1 { letter-spacing: -0.055em; }
  .desktop-break { display: none; }
  .intro,
  .services,
  .contact { padding-block: 104px; }
  .intro-grid { grid-template-columns: 1fr; gap: 42px; }
  .legal-strip { margin-top: 54px; grid-template-columns: 1fr; gap: 24px; }
  .section-heading { align-items: start; flex-direction: column; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 390px; padding: 30px; }
  .card-index { top: 30px; right: 30px; }
  .principles { padding-bottom: 104px; }
  .principle-list { margin-top: 60px; grid-template-columns: 1fr; }
  .principle-list > div { min-height: auto; padding: 24px 0; }
  .principle-list > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .email-link { margin-bottom: 80px; }
  .company-details { grid-template-columns: 1fr; }
  .detail-block { padding: 28px 0; }
  .detail-block + .detail-block { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer-inner { padding: 30px 0; grid-template-columns: 1fr; justify-items: start; }
  .footer-inner > a { justify-self: start; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 43px; }
  .hero-actions { gap: 20px; }
  .service-card { min-height: 360px; }
  .principles-panel { border-radius: 26px; }
  .email-link { width: 100%; justify-content: space-between; }
}

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