@font-face {
  font-family: 'Sora';
  src: url('assets/sora-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sora';
  src: url('assets/sora-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sora';
  src: url('assets/sora-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0d1b2a;
  --ink-soft: #203447;
  --paper: #f5f4ee;
  --paper-deep: #e7e6dd;
  --white: #ffffff;
  --line: #d4d9d5;
  --line-dark: #385064;
  --muted: #68747b;
  --teal: #2b9d8f;
  --teal-dark: #176c65;
  --coral: #e16e58;
  --coral-dark: #b85142;
  --lime: #c8e46d;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Sora', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 30;
  top: -48px;
  left: 16px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--lime);
  transition: top 160ms ease;
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  width: 100%;
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand img,
.footer-brand img {
  display: block;
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand small {
  margin-top: 1px;
  color: #a9bbc5;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 32px;
  color: #d7e0e2;
  font-size: 12px;
}

.main-nav a,
.footer-links a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--lime);
}

.language-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 5px;
  margin-right: 18px;
  border: 0;
  padding: 0;
  color: #8fa3ab;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
}

.language-toggle-current {
  color: var(--lime);
  font-weight: 700;
}

.language-toggle-divider {
  color: #5f7782;
}

.language-toggle-other {
  transition: color 160ms ease;
}

.language-toggle:hover .language-toggle-other,
.language-toggle:focus-visible .language-toggle-other {
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 11px;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  background: var(--ink-soft);
}

.button-coral {
  color: var(--white);
  background: var(--coral);
}

.button-coral:hover {
  background: var(--coral-dark);
}

.button-quiet {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.button-quiet:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button-outline:hover {
  border-color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 164px 0 0;
  color: var(--white);
  background: var(--ink);
}

.hero::after {
  position: absolute;
  right: -130px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(200, 228, 109, 0.18);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
  gap: 92px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow-light {
  color: var(--lime);
}

.eyebrow-mark {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.section h2 {
  margin: 22px 0 0;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 em {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 1.06em;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.hero-lede {
  max-width: 590px;
  margin: 28px 0 0;
  color: #b9c8cc;
  font-size: 17px;
  line-height: 1.9;
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  margin: 20px 0 0;
  color: #91a6af;
  font-size: 11px;
}

.status-dot,
.ready-label i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-neutral {
  background: #7b8d94;
}

.status-good {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 228, 109, 0.16);
}

.status-warn {
  background: var(--coral);
}

.hero-visual {
  position: relative;
  min-height: 386px;
  border: 1px solid #3b5362;
  padding: 26px;
  background: #11283a;
  box-shadow: 18px 18px 0 rgba(200, 228, 109, 0.92);
}

.visual-topline,
.visual-foot {
  display: flex;
  justify-content: space-between;
  color: #8da6af;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.ready-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}

.ready-label i {
  background: var(--lime);
}

.visual-logo-wrap {
  position: relative;
  display: grid;
  width: 188px;
  height: 188px;
  place-items: center;
  margin: 32px auto 18px;
}

.visual-logo-wrap img {
  position: relative;
  z-index: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.06);
}

.visual-ring {
  position: absolute;
  border: 1px solid rgba(200, 228, 109, 0.5);
  border-radius: 50%;
}

.visual-ring-one {
  inset: 8px;
}

.visual-ring-two {
  inset: 31px;
  border-color: rgba(43, 157, 143, 0.7);
}

.visual-address {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid #385064;
  border-bottom: 1px solid #385064;
}

.visual-address span,
.visual-address strong {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.visual-address span {
  color: #8da6af;
}

.visual-address strong {
  color: var(--white);
  font-weight: 600;
}

.visual-lines {
  display: flex;
  gap: 7px;
  height: 23px;
  align-items: end;
  margin: 19px 0 26px;
}

.visual-lines span {
  display: block;
  width: 5px;
  background: var(--teal);
}

.visual-lines span:nth-child(1) { height: 9px; }
.visual-lines span:nth-child(2) { height: 16px; background: var(--lime); }
.visual-lines span:nth-child(3) { height: 12px; }
.visual-lines span:nth-child(4) { height: 22px; background: var(--coral); }

.hero-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 115px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #a9bbc5;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.hero-footer b {
  margin-right: 9px;
  color: var(--lime);
  font-weight: 600;
}

.section {
  padding: 112px 0;
}

.section-paper {
  background: var(--paper);
}

.section-ink {
  color: var(--white);
  background: var(--ink-soft);
}

.section-heading-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.65fr);
  gap: 100px;
  align-items: end;
}

.section h2 {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 62px);
}

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

.section-intro {
  max-width: 460px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.section-ink .section-intro,
.identity-copy p {
  color: #b9c8cc;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 70px;
}

.principle {
  min-height: 310px;
  border-top: 2px solid var(--ink);
  padding: 22px 20px 24px 0;
}

.principle-accent {
  border-top-color: var(--coral);
}

.principle-index {
  display: block;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 25px;
}

.principle h3 {
  margin: 44px 0 0;
  font-size: 20px;
  font-weight: 600;
}

.principle p {
  max-width: 310px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.principle a,
.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 25px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
}

.principle a:hover,
.text-link:hover {
  color: var(--coral-dark);
}

.identity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 110px;
  align-items: center;
}

.identity-copy h2 {
  font-size: clamp(38px, 5vw, 64px);
}

.identity-copy p {
  max-width: 500px;
  margin: 29px 0 0;
  font-size: 16px;
  line-height: 1.9;
}

.text-link-light {
  color: var(--lime);
}

.text-link-light:hover {
  color: var(--white);
}

.identity-sequence {
  border-left: 1px solid #536b78;
  padding-left: 34px;
}

.sequence-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 15px;
  align-items: baseline;
}

.sequence-row span {
  color: var(--coral);
  font-family: var(--serif);
  font-size: 22px;
}

.sequence-row strong {
  font-size: 18px;
  font-weight: 600;
}

.sequence-row small {
  grid-column: 2;
  margin-top: 4px;
  color: #9fb3bb;
  font-size: 12px;
}

.sequence-line {
  width: 1px;
  height: 48px;
  margin: 10px 0 10px 17px;
  background: #536b78;
}

.developer-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 90px;
  align-items: center;
}

.developer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.code-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 13px 13px 0 var(--coral);
}

.code-header {
  display: flex;
  justify-content: space-between;
  padding: 15px 18px;
  border-bottom: 1px solid #385064;
  color: #96abb4;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.code-panel pre {
  overflow-x: auto;
  margin: 0;
  padding: 25px 22px 29px;
  color: #d7e0e2;
  font: 13px/2 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

.code-keyword { color: var(--lime); }
.code-string { color: #f4a38d; }

.section-cta {
  padding: 76px 0;
  background: var(--paper-deep);
}

.cta-layout {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.cta-layout h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 52px);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  color: #a9bbc5;
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 94px;
  font-size: 11px;
}

.footer-brand {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--lime);
}

@media (max-width: 920px) {
  .hero-layout,
  .identity-layout,
  .developer-layout {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .hero-visual {
    width: min(500px, 100%);
  }

  .section-heading-wide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .principles-grid {
    gap: 12px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 34px, 1180px);
  }

  .header-inner {
    min-height: 76px;
  }

  .main-nav {
    display: none;
  }

  .header-inner > .button {
    margin-left: auto;
  }

  .language-toggle {
    margin-right: 14px;
    margin-left: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong {
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .hero-lede {
    font-size: 15px;
  }

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

  .hero-visual {
    min-height: 350px;
    box-shadow: 9px 9px 0 var(--lime);
  }

  .hero-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin-top: 76px;
    padding: 18px 0 24px;
    font-size: 9px;
  }

  .section {
    padding: 80px 0;
  }

  .section h2 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .principles-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .principle {
    min-height: auto;
    padding: 20px 0 30px;
  }

  .principle h3 {
    margin-top: 23px;
  }

  .identity-sequence {
    padding-left: 20px;
  }

  .code-panel {
    box-shadow: 8px 8px 0 var(--coral);
  }

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

  .footer-inner {
    justify-content: center;
    padding: 28px 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
