:root {
  color-scheme: light dark;
  --bg: #eef1f5;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-strong: rgba(255, 255, 255, 0.82);
  --text: #11141a;
  --muted: #646a75;
  --line: rgba(17, 20, 26, 0.11);
  --accent: #181c24;
  --accent-text: #ffffff;
  --shadow: 0 32px 90px rgba(20, 27, 40, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255,255,255,.74), rgba(231,236,244,.42)),
    var(--bg);
}

a { color: inherit; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

.ambient-one {
  top: -22rem;
  left: -12rem;
  background: rgba(170, 188, 218, .7);
}

.ambient-two {
  right: -18rem;
  bottom: -26rem;
  background: rgba(184, 205, 200, .68);
  animation-delay: -7s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4rem, 2rem, 0) scale(1.08); }
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 10px 28px rgba(20, 24, 32, .18);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 650;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34a853;
  box-shadow: 0 0 0 5px rgba(52,168,83,.12);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 80px;
}

.hero {
  max-width: 920px;
  padding: 58px 0 88px;
}

.eyebrow,
.section-label {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 9vw, 8.3rem);
  line-height: .91;
  letter-spacing: -.065em;
  font-weight: 760;
  text-wrap: balance;
}

.intro {
  max-width: 620px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.55;
  letter-spacing: -.02em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  font-size: .93rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 14px 35px rgba(20,24,32,.2);
}

.secondary {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.domain-card {
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.domain-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.domain-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.principles article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.44);
  backdrop-filter: blur(14px);
}

.principles span {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.principles h3 {
  margin: 64px 0 12px;
  font-size: 1.45rem;
  letter-spacing: -.03em;
}

.principles p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}

footer p { margin: 0; }

@media (max-width: 820px) {
  main { padding-top: 28px; }
  .hero { padding-bottom: 58px; }
  .domain-card { grid-template-columns: 1fr; gap: 24px; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: auto; }
  .principles h3 { margin-top: 36px; }
}

@media (max-width: 560px) {
  .site-header { padding-top: 20px; }
  .status { display: none; }
  main, .site-header, footer { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 44px; }
  h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient { animation: none; }
  .button { transition: none; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0d12;
    --surface: rgba(20, 25, 34, .64);
    --surface-strong: rgba(24, 30, 40, .84);
    --text: #f3f5f7;
    --muted: #a5abb5;
    --line: rgba(255,255,255,.11);
    --accent: #f4f6f8;
    --accent-text: #11151b;
    --shadow: 0 32px 90px rgba(0,0,0,.34);
  }

  body {
    background:
      linear-gradient(145deg, rgba(26,31,42,.74), rgba(7,9,13,.72)),
      var(--bg);
  }

  .ambient-one { background: rgba(55, 76, 112, .55); }
  .ambient-two { background: rgba(50, 84, 75, .5); }
  .principles article { background: rgba(17,22,30,.52); }
}
