:root {
  color-scheme: light dark;
  --surface: #f3f6f7;
  --surface-muted: #e5edf0;
  --ink: #102a3b;
  --ink-soft: #456071;
  --accent: #126b9b;
  --accent-dark: #0c5278;
  --line: rgba(16, 42, 59, 0.16);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

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

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

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--surface);
  font-size: 15px;
}

nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-soft);
}

nav a:hover,
.privacy-links a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  min-height: calc(100dvh - 76px);
  padding: 40px 0 72px;
}

.eyebrow,
.principle-number {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.hero-description {
  max-width: 38ch;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px);
}

.hero-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-muted);
  box-shadow: 0 24px 56px rgba(16, 42, 59, 0.13);
}

.hero-image img {
  display: block;
  width: 100%;
  min-height: 470px;
  object-fit: cover;
}

.story-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.story-section > p,
.privacy-copy p {
  margin: 54px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.principles {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.principle {
  min-height: 280px;
  padding: 36px;
  background: var(--surface-muted);
}

.principle-large {
  grid-row: span 2;
  min-height: 561px;
  background: var(--ink);
  color: var(--surface);
}

.principle-large .principle-number {
  color: #a9d4e8;
}

h3 {
  max-width: 15ch;
  margin-bottom: 20px;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.principle p {
  max-width: 38ch;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.principle-large p {
  color: #c2d0d7;
}

.privacy-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding: 120px 0;
}

.privacy-copy p {
  max-width: 44ch;
}

.privacy-links {
  display: grid;
  min-width: 220px;
  border-top: 1px solid var(--line);
}

.privacy-links a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #10232f;
    --surface-muted: #173544;
    --ink: #eef6f8;
    --ink-soft: #b8cad2;
    --accent: #69bce1;
    --accent-dark: #9bd4ec;
    --line: rgba(238, 246, 248, 0.16);
  }

  .brand-mark,
  .principle-large {
    background: #071720;
  }

  .principle-large {
    color: #eef6f8;
  }

  .button {
    color: #062034;
  }
}

@media (max-width: 767px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 68px;
  }

  nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero,
  .story-section,
  .privacy-section {
    grid-template-columns: 1fr;
    display: grid;
    min-height: auto;
    gap: 32px;
    padding: 64px 0;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(46px, 13vw, 64px);
  }

  .hero-image img {
    min-height: 330px;
  }

  .story-section > p,
  .privacy-copy p {
    margin: 0;
  }

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

  .principle,
  .principle-large {
    grid-row: auto;
    min-height: auto;
    padding: 30px;
  }

  .privacy-links {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
