:root {
  color-scheme: light;
  --canvas: #f3f6fb;
  --surface: #ffffff;
  --surface-soft: #eaf0f8;
  --ink: #15233b;
  --muted: #68758a;
  --line: #d7e0ec;
  --blue: #315bd8;
  --blue-soft: #dce5ff;
  --jade: #2d9d78;
  --white: #ffffff;
  --page: min(1120px, calc(100vw - 64px));
  --reading: min(760px, calc(100vw - 64px));
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% -10%, rgba(49, 91, 216, 0.09), transparent 28rem),
    var(--canvas);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
  outline: 3px solid rgba(49, 91, 216, 0.52);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  width: var(--page);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-section {
  padding-left: 10px;
  color: var(--muted);
  font-weight: 520;
  border-left: 1px solid var(--line);
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-block;
  border-radius: 9px;
  background: var(--ink);
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 7px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--white);
  border-radius: 50%;
}

.brand-mark span {
  position: absolute;
  top: 17px;
  left: 17px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--jade);
  transform: rotate(45deg);
  transform-origin: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 590;
}

.header-actions > a {
  position: relative;
}

.header-actions > a:hover,
.header-actions > a[aria-current="page"] {
  color: var(--ink);
}

.header-actions > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.language-switcher {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px;
  color: #9aa4b3;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switcher button {
  padding: 0;
  color: #8d98a8;
  background: none;
  border: 0;
  cursor: pointer;
  font: 680 11px/1 var(--sans);
}

.language-switcher button[aria-pressed="true"] {
  color: var(--ink);
}

.hero {
  width: var(--page);
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: 72px;
  align-items: center;
  padding: 76px 0 84px;
}

.eyebrow,
.section-label,
.signal-label,
.signal-heading,
.principle-mark {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.13em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 4px rgba(45, 157, 120, 0.12);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 27px;
  font-size: clamp(55px, 6vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.062em;
  font-weight: 760;
}

.hero-summary {
  max-width: 540px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
  letter-spacing: -0.012em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.primary-action {
  min-width: 178px;
  height: 50px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 680;
  transition: transform 160ms ease, background-color 160ms ease;
}

.primary-action:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.text-action {
  color: var(--blue);
  font-size: 13px;
  font-weight: 680;
}

.response-note,
.effective {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.65;
}

.support-signal {
  position: relative;
  min-height: 490px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(rgba(21, 35, 59, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 35, 59, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.68);
  background-size: 36px 36px, 36px 36px, auto;
  box-shadow: 0 32px 70px rgba(36, 59, 98, 0.08);
}

.support-signal::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -140px;
  width: 330px;
  height: 330px;
  border: 74px solid rgba(49, 91, 216, 0.06);
  border-radius: 50%;
}

.signal-heading {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.signal-live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--jade);
}

.signal-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.signal-thread {
  position: relative;
  z-index: 2;
  margin-top: 44px;
}

.signal-message {
  width: 82%;
  padding: 21px 23px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(36, 59, 98, 0.08);
}

.signal-message-user {
  margin-right: auto;
}

.signal-message-reply {
  margin-left: auto;
  border-color: rgba(49, 91, 216, 0.26);
}

.signal-label {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
}

.signal-message strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: -0.015em;
}

.signal-message p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.signal-path {
  position: relative;
  width: 42%;
  height: 78px;
  margin: 0 auto;
  border-left: 2px solid var(--blue-soft);
  border-bottom: 2px solid var(--blue-soft);
  transform: translateX(22%);
}

.signal-path span {
  position: absolute;
  bottom: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(49, 91, 216, 0.10);
}

.signal-path span:nth-child(1) {
  top: -4px;
  left: -5px;
}

.signal-path span:nth-child(2) {
  right: 50%;
}

.signal-path span:nth-child(3) {
  right: -4px;
  background: var(--jade);
}

.signal-footnote {
  position: relative;
  z-index: 2;
  margin: 27px 0 0;
  color: var(--muted);
  font: 600 11px/1.5 var(--mono);
  text-align: center;
}

.principles {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles > div {
  min-height: 126px;
  padding: 29px 30px;
  display: flex;
  gap: 19px;
  align-items: flex-start;
}

.principles > div + div {
  border-left: 1px solid var(--line);
}

.principle-mark {
  color: var(--blue);
}

.principles p {
  margin-bottom: 0;
}

.principles strong,
.principles p span {
  display: block;
}

.principles strong {
  margin-bottom: 7px;
  font-size: 14px;
}

.principles p span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.purpose-section,
.contact-section {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 96px;
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  display: block;
  margin-bottom: 21px;
  color: var(--blue);
}

.purpose-section h2,
.contact-section h2 {
  max-width: 510px;
  margin-bottom: 0;
  font-size: clamp(36px, 4vw, 57px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.purpose-copy,
.contact-detail {
  padding-top: 35px;
}

.contact-section {
  row-gap: 32px;
}

.contact-copy {
  grid-column: 1 / -1;
}

.contact-section h2 {
  max-width: none;
}

.contact-detail {
  grid-column: 2;
  padding-top: 0;
}

.purpose-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.purpose-copy p:last-child {
  margin-bottom: 0;
}

.contact-detail ul {
  margin: 0 0 35px;
  padding: 0;
  list-style: none;
  counter-reset: details;
}

.contact-detail li {
  position: relative;
  padding: 16px 0 16px 43px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  counter-increment: details;
}

.contact-detail li::before {
  content: "0" counter(details);
  position: absolute;
  left: 0;
  color: var(--blue);
  font: 700 10px/1.6 var(--mono);
}

.email-line,
.legal-email {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 7px;
  color: var(--ink);
  border-bottom: 2px solid var(--blue);
  font-size: clamp(19px, 2.4vw, 29px);
  font-weight: 720;
  letter-spacing: -0.025em;
}

.email-line:hover,
.legal-email:hover {
  color: var(--blue);
}

.legal-page {
  width: var(--page);
  margin: 0 auto;
}

.legal-hero {
  max-width: 850px;
  padding: 104px 0 86px;
}

.legal-hero h1 {
  margin-bottom: 30px;
}

.legal-hero > p:not(.eyebrow):not(.effective) {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.effective {
  margin-top: 27px;
}

.legal-document {
  max-width: 870px;
  margin-left: auto;
  padding-bottom: 110px;
  counter-reset: legal;
}

.legal-document section {
  position: relative;
  padding: 43px 0 43px 96px;
  border-top: 1px solid var(--line);
  counter-increment: legal;
}

.legal-document section::before {
  content: "0" counter(legal);
  position: absolute;
  top: 48px;
  left: 0;
  color: var(--blue);
  font: 720 11px/1 var(--mono);
  letter-spacing: 0.1em;
}

.legal-document h2 {
  margin-bottom: 16px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.legal-document p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.legal-document .legal-email {
  margin-top: 25px;
  font-size: 18px;
}

footer {
  width: var(--page);
  min-height: 104px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

footer p {
  margin-bottom: 0;
  font-family: var(--mono);
  font-size: 10px;
}

footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

footer a:hover {
  color: var(--blue);
}

.footer-brand {
  color: var(--ink);
}

@media (max-width: 920px) {
  :root {
    --page: min(100% - 40px, 760px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 70px;
  }

  .support-signal {
    min-height: 460px;
  }

  .purpose-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 88px 0;
  }

  .purpose-copy,
  .contact-detail {
    grid-column: 1;
    padding-top: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --page: calc(100vw - 32px);
    --reading: calc(100vw - 32px);
  }

  .site-header {
    min-height: 70px;
    align-items: flex-start;
    padding: 20px 0 17px;
  }

  .brand-section {
    display: none;
  }

  .site-header > .brand > span:nth-child(2) {
    display: none;
  }

  .header-actions {
    gap: 10px;
    font-size: 11px;
  }

  .language-switcher {
    padding: 6px 8px;
  }

  .hero {
    min-height: auto;
    padding: 62px 0 70px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .hero-summary {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-signal {
    min-height: 430px;
    padding: 24px 18px;
    border-radius: 19px;
  }

  .signal-message {
    width: 91%;
  }

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

  .principles > div {
    min-height: auto;
    padding: 25px 5px;
  }

  .principles > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .purpose-section,
  .contact-section {
    padding: 72px 0;
  }

  .purpose-section h2,
  .contact-section h2 {
    font-size: 39px;
  }

  .email-line {
    gap: 12px;
    font-size: 18px;
  }

  .legal-hero {
    padding: 72px 0 62px;
  }

  .legal-hero > p:not(.eyebrow):not(.effective) {
    font-size: 16px;
  }

  .legal-document section {
    padding: 35px 0 35px 43px;
  }

  .legal-document section::before {
    top: 42px;
  }

  footer {
    padding: 30px 0;
    grid-template-columns: 1fr auto;
  }

  footer > p {
    display: none;
  }

  footer > div {
    gap: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
