:root {
  color-scheme: light;
  --ink: #10223f;
  --muted: #53647c;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --line: #dce4ef;
  --brand: #1d4f9b;
  --brand-deep: #173a72;
  --brand-soft: #e9f0fb;
  --teal: #137b79;
  --shadow: 0 24px 70px rgba(21, 48, 86, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic",
    "Segoe UI", sans-serif;
  line-height: 1.75;
  margin: 0;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a:focus-visible {
  border-radius: 6px;
  outline: 3px solid #e4a33b;
  outline-offset: 4px;
}

.skip-link {
  background: var(--ink);
  color: white;
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  top: -80px;
  z-index: 100;
}

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

.container {
  margin: 0 auto;
  max-width: 1120px;
  padding-left: 28px;
  padding-right: 28px;
}

.site-header {
  background: rgba(247, 249, 252, 0.94);
  border-bottom: 1px solid rgba(220, 228, 239, 0.85);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 750;
  gap: 12px;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--brand-deep);
  border-radius: 10px;
  color: white;
  display: inline-flex;
  font-size: 0.75rem;
  height: 34px;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 34px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover {
  color: var(--brand);
}

.hero {
  background:
    radial-gradient(circle at 86% 15%, rgba(19, 123, 121, 0.14), transparent 31%),
    radial-gradient(circle at 10% 0%, rgba(29, 79, 155, 0.15), transparent 35%),
    linear-gradient(180deg, #fbfcfe 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 104px 0 96px;
  position: relative;
}

.page-hero {
  background:
    radial-gradient(circle at 90% 8%, rgba(19, 123, 121, 0.12), transparent 27%),
    linear-gradient(180deg, #fbfcfe 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 92px 0 76px;
}

.narrow {
  max-width: 820px;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 26px;
}

.policy {
  padding-bottom: 104px;
  padding-top: 48px;
}

.policy section {
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
}

.policy section:last-child {
  border-bottom: 0;
}

.policy h2 {
  font-size: clamp(1.45rem, 4vw, 2rem);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.policy p {
  color: var(--muted);
}

.hero::after {
  border: 1px solid rgba(29, 79, 155, 0.12);
  border-radius: 50%;
  content: "";
  height: 440px;
  position: absolute;
  right: -250px;
  top: -170px;
  width: 440px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-index {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  letter-spacing: -0.055em;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  margin: 0;
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  margin: 28px 0 0;
  max-width: 680px;
}

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

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  text-decoration: none;
}

.button.primary {
  background: var(--brand-deep);
  color: white;
}

.button.primary:hover {
  background: #0e2c5d;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: #aebed2;
}

.identity-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(220, 228, 239, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.identity-label {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.identity-name {
  font-size: 1.65rem;
  font-weight: 760;
  letter-spacing: -0.035em;
  margin: 8px 0 22px;
}

.identity-card dl,
.profile,
.product-links {
  margin: 0;
}

.identity-card dl > div,
.product-links > div {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

dd {
  margin: 3px 0 0;
}

.section {
  padding: 104px 0;
}

.section-tinted {
  background: var(--brand-soft);
  border-bottom: 1px solid #d9e4f4;
  border-top: 1px solid #d9e4f4;
}

.split-heading {
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
}

.section-copy {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-copy > p {
  margin: 0 0 34px;
}

.profile {
  border-top: 1px solid var(--line);
}

.profile > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 0.65fr);
  padding: 18px 0;
}

.profile dt {
  color: var(--ink);
}

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

.service-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d2deee;
  border-radius: var(--radius);
  padding: 28px;
}

.service-card p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.card-number {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand);
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  margin: 0 0 38px;
  width: 36px;
}

.product-panel {
  align-items: end;
  background: var(--ink);
  border-radius: calc(var(--radius) + 6px);
  color: white;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  padding-bottom: 54px;
  padding-top: 54px;
}

.product-panel .section-index {
  color: #90c9ff;
}

.product-lead {
  font-size: 1.2rem;
  font-weight: 720;
  margin-bottom: 8px;
}

.product-panel p:not(.section-index) {
  color: #d8e2f1;
  max-width: 650px;
}

.text-link {
  color: white;
  display: inline-flex;
  font-weight: 750;
  gap: 10px;
  margin-top: 12px;
}

.product-links > div {
  border-color: rgba(255, 255, 255, 0.18);
}

.product-links dt {
  color: #9eb0c8;
}

.product-links a {
  color: white;
}

.section-contact {
  padding-top: 32px;
}

.contact-panel {
  align-items: end;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  padding-bottom: 68px;
  padding-top: 68px;
}

.contact-panel p:last-child {
  color: var(--muted);
  max-width: 520px;
}

.contact-address {
  align-items: center;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  display: flex;
  font-size: clamp(1.15rem, 3vw, 2rem);
  font-weight: 740;
  gap: 18px;
  justify-content: space-between;
  padding: 16px 0;
  text-decoration: none;
}

.english-section {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.site-note {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 48px 0;
}

.site-note h2 {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0;
}

.site-note p {
  margin-bottom: 0;
  max-width: 760px;
}

.site-footer {
  background: #0c1b30;
  color: white;
  padding: 42px 0;
}

.site-footer a {
  color: white;
}

.footer-inner {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
}

.footer-inner span,
.footer-inner p:last-child {
  color: #a8b5c7;
  font-size: 0.84rem;
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 72px 0;
  }

  .page-hero {
    padding: 68px 0 58px;
  }

  .hero-grid,
  .split-heading,
  .product-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .split-heading {
    gap: 42px;
  }

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

  .product-panel {
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media (max-width: 560px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    position: static;
  }

  nav {
    gap: 7px 16px;
  }

  h1 br {
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .profile > div {
    gap: 5px;
    grid-template-columns: 1fr;
  }

  .product-panel {
    border-radius: var(--radius);
    margin-left: 12px;
    margin-right: 12px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #edf4ff;
    --muted: #b8c6d9;
    --paper: #0b1422;
    --surface: #111f33;
    --line: #2d4059;
    --brand: #8ebcff;
    --brand-deep: #b8d4ff;
    --brand-soft: #132845;
    --teal: #70d0ca;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  }

  .site-header {
    background: rgba(11, 20, 34, 0.94);
  }

  .brand-mark,
  .button.primary {
    background: #d4e5ff;
    color: #10223f;
  }

  .button.primary:hover {
    background: white;
  }

  .hero {
    background:
      radial-gradient(circle at 86% 15%, rgba(47, 172, 168, 0.12), transparent 31%),
      radial-gradient(circle at 10% 0%, rgba(99, 151, 226, 0.16), transparent 35%),
      linear-gradient(180deg, #0d1929 0%, var(--paper) 100%);
  }

  .page-hero {
    background:
      radial-gradient(circle at 90% 8%, rgba(47, 172, 168, 0.1), transparent 27%),
      linear-gradient(180deg, #0d1929 0%, var(--paper) 100%);
  }

  .identity-card,
  .service-card {
    background: rgba(17, 31, 51, 0.94);
  }

  .button.secondary,
  .card-number {
    background: #162840;
  }

  .section-tinted {
    border-color: #2b4668;
  }

  .product-panel {
    background: #07111f;
  }
}
