:root {
  --bg: #e7eef6;
  --bg-elev: #f6f9fc;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --ink: #0c1730;
  --muted: #44566e;
  --line: rgba(16, 36, 68, 0.12);
  --cyan: #007eaf;
  --cyan-bright: #0096d4;
  --link: #0a6798;
  --navy: #10233f;
  --shadow: 0 16px 40px rgba(18, 42, 74, 0.07);
  --grid: rgba(16, 42, 84, 0.055);
  --glow: rgba(0, 158, 220, 0.22);
  --glow-2: rgba(16, 42, 84, 0.06);
  --btn: linear-gradient(180deg, #21c4ff 0%, #0090d8 100%);
  --btn-ink: #042033;
  --hex-bg: #e5f5fc;
  --field: #ffffff;
  --field-ink: #0c1730;
  --ok: #0f7a45;
  --ok-bg: #e7f7ee;
  --err: #a32626;
  --err-bg: #fdecec;
  --header: rgba(246, 249, 252, 0.82);
  --chip: rgba(255, 255, 255, 0.9);
  --radius: 22px;
  color-scheme: light;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  --bg: #07111e;
  --bg-elev: #0a1626;
  --surface: rgba(12, 26, 46, 0.72);
  --surface-solid: #0e1c31;
  --ink: #f4f8fc;
  --muted: #b7c6d8;
  --line: rgba(168, 214, 255, 0.16);
  --cyan: #5ad4ff;
  --cyan-bright: #8ae4ff;
  --link: #9ae7ff;
  --navy: #e7f2fb;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.32);
  --grid: rgba(140, 196, 255, 0.055);
  --glow: rgba(62, 203, 255, 0.18);
  --glow-2: rgba(8, 20, 40, 0.2);
  --btn: linear-gradient(180deg, #49d4ff 0%, #1496e8 100%);
  --btn-ink: #041422;
  --hex-bg: rgba(90, 212, 255, 0.12);
  --field: rgba(5, 14, 26, 0.55);
  --field-ink: #f4f8fc;
  --ok: #8ee0b2;
  --ok-bg: rgba(20, 90, 55, 0.45);
  --err: #ffb4b4;
  --err-bg: rgba(120, 24, 24, 0.45);
  --header: rgba(7, 17, 30, 0.78);
  --chip: rgba(14, 28, 48, 0.86);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(0, 166, 232, 0.28); }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--navy);
  color: var(--bg-elev);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(920px 540px at 92% -8%, var(--glow), transparent 62%),
    radial-gradient(720px 480px at -8% 18%, var(--glow-2), transparent 58%),
    linear-gradient(180deg, var(--bg-elev), var(--bg) 32%, var(--bg));
}
.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  min-width: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand > span { min-width: 0; white-space: nowrap; }
.brand-mark { width: 44px; height: 44px; flex: none; border-radius: 12px; }
html[data-theme="dark"] .brand-mark { box-shadow: 0 0 0 1px rgba(90, 212, 255, 0.28); }
.brand-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 18px;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 14.5px;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { display: none; }
.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
}
.theme-toggle svg { width: 18px; height: 18px; }
.icon-moon { display: none; }
html[data-theme="dark"] .icon-sun { display: none; }
html[data-theme="dark"] .icon-moon { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--btn);
  color: var(--btn-ink);
  box-shadow: 0 10px 24px rgba(0, 148, 216, 0.28);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn:disabled { opacity: 0.65; cursor: progress; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 36px;
}
.kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}
h1, h2, h3 { font-family: "Sora", sans-serif; letter-spacing: -0.035em; line-height: 1.08; }
h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 4.35rem);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.accent {
  color: var(--cyan-bright);
}
.lead {
  margin: 18px 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-panel {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px 24px 22px;
  backdrop-filter: blur(16px);
}
.panel-mark {
  width: 92px;
  height: 92px;
  margin: 8px auto 18px;
  border-radius: 22px;
  filter: drop-shadow(0 10px 18px rgba(12, 40, 72, 0.16));
}
html[data-theme="dark"] .panel-mark {
  filter: drop-shadow(0 12px 22px rgba(40, 180, 255, 0.2));
}
.panel-caption {
  text-align: center;
  margin: 0 0 18px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.chip-list {
  display: grid;
  gap: 10px;
}
.chip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  background: var(--chip);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
}
.chip strong { font-weight: 750; }
.chip span { color: var(--muted); font-size: 13px; }

.section { padding: 64px 0; }
.section-head {
  max-width: 680px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}
.section-head p { margin: 12px 0 0; color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-card, .detail-card, .why-card, .who-card, .pillar, .step {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.service-card, .pillar {
  padding: 24px 22px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover, .pillar:hover, .who-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 160, 220, 0.45);
}
.hex {
  width: 48px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--cyan);
  background: var(--hex-bg);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hex svg { width: 20px; height: 20px; }
.service-card h3, .pillar h3, .detail-card h3, .who-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.service-card p, .pillar p, .detail-card p, .who-card p, .why-card p, .step p {
  margin: 0;
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.detail-card { padding: 26px 24px 22px; }
.tick-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.tick-list li {
  position: relative;
  padding-left: 18px;
  margin: 10px 0;
  color: var(--muted);
}
.tick-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--cyan-bright);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step { padding: 22px 20px 24px; }
.step-no {
  font-family: "Sora", sans-serif;
  color: var(--cyan);
  font-weight: 650;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; }

.why-grid, .who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.who-grid { grid-template-columns: repeat(3, 1fr); }
.why-card, .who-card { padding: 24px 22px 26px; }
.why-card strong, .who-card h3 {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.contact-points { margin: 22px 0 0; padding: 0; list-style: none; }
.contact-points li {
  margin: 14px 0;
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}
.contact-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--cyan-bright);
  position: absolute;
  left: 0;
  top: 0.5em;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px 24px 24px;
  backdrop-filter: blur(16px);
}
.contact-card .panel-mark { width: 72px; height: 72px; }
.contact-card h2 { text-align: center; margin: 0 0 6px; font-size: 1.7rem; }
.contact-card .quiet {
  text-align: center;
  color: var(--muted);
  margin: 0 0 18px;
}
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 750; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, select, textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--field-ink);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 16px;
  outline: none;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--cyan-bright);
  box-shadow: 0 0 0 4px rgba(0, 160, 220, 0.15);
}
.is-invalid { border-color: var(--err) !important; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form .btn { width: 100%; margin-top: 4px; }
.form-status {
  margin: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
}
.form-status.is-ok { background: var(--ok-bg); color: var(--ok); }
.form-status.is-error { background: var(--err-bg); color: var(--err); }
.form-status.is-pending { color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}
.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}
.site-footer p { margin: 0; }
.fine { color: var(--muted); font-size: 14px; margin-top: 6px; overflow-wrap: anywhere; }
.footer-meta { text-align: right; }

:focus-visible {
  outline: 3px solid var(--cyan-bright);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .service-grid, .steps, .why-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { gap: 14px; }
  .site-nav { gap: 12px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-inner { min-height: 68px; }
  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(68px + env(safe-area-inset-top));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: min(70vh, 520px);
    overflow: auto;
    padding: 12px;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 8px; }
  .site-nav .nav-cta { display: inline-flex; margin-top: 6px; }
  .hero, .contact-grid, .service-grid, .detail-grid, .pillar-grid, .steps, .why-grid, .who-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero { grid-template-columns: 1fr; padding-top: 42px; gap: 28px; }
  .why-grid, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .wrap { width: min(1140px, calc(100% - 28px)); }
  .brand-sub { display: none; }
  .hero, .service-grid, .detail-grid, .pillar-grid, .steps, .why-grid, .who-grid, .contact-grid, .row-2 {
    grid-template-columns: 1fr;
  }
  .hero { padding: 36px 0 20px; }
  .section { padding: 48px 0; }
  .hero-panel, .contact-card { padding: 22px 16px 18px; border-radius: 22px; }
  .panel-mark { width: 76px; height: 76px; }
  .contact-card h2 { font-size: 1.4rem; }
  .footer-inner, .footer-meta { display: block; text-align: left; }
  .footer-meta { margin-top: 16px; }
  .site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px) {
  .wrap { width: min(1140px, calc(100% - 20px)); }
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand-name { font-size: 11px; letter-spacing: 0.04em; }
  .nav-toggle { padding: 8px 12px; }
  .theme-toggle { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card, .pillar, .who-card { transition: none; }
}
