:root {
  --ink: #18262f;
  --ink-soft: #44545c;
  --paper: #f7f3ea;
  --paper-deep: #ece5d8;
  --petrol: #166b73;
  --petrol-dark: #0d4b53;
  --sun: #e9953f;
  --line: rgba(24, 38, 47, 0.16);
  --white: #fffdf8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

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

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

.brand {
  font-size: 1.45rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-link {
  font-size: 0.92rem;
  color: rgba(255, 253, 248, 0.8);
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--white); }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88svh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 17%, rgba(233, 149, 63, 0.35), transparent 24rem),
    linear-gradient(135deg, #0a4149 0%, #145e66 58%, #183943 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.hero::before {
  width: 68vw;
  height: 68vw;
  right: -30vw;
  top: -31vw;
}

.hero::after {
  width: 43vw;
  height: 43vw;
  right: -14vw;
  top: -17vw;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 160px;
  padding-bottom: clamp(70px, 10vw, 130px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--sun);
}

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

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 8vw, 7.7rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 38px;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.intro {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: clamp(36px, 8vw, 110px);
  padding-block: clamp(80px, 11vw, 145px);
}

.section-label {
  margin: 8px 0 0;
  color: var(--petrol);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 750px;
  color: var(--ink-soft);
  font-size: clamp(1.07rem, 1.6vw, 1.22rem);
}

.topics {
  padding-block: clamp(70px, 9vw, 120px);
  background: var(--white);
  border-block: 1px solid var(--line);
}

.topics-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.topics-head h2 { margin-bottom: 0; }

.topics-head p {
  max-width: 440px;
  margin-bottom: 7px;
  color: var(--ink-soft);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.topic {
  min-height: 185px;
  padding: 28px 22px 24px;
  border-right: 1px solid var(--line);
}

.topic:first-child { padding-left: 0; }
.topic:last-child { border-right: 0; }

.topic span {
  display: block;
  margin-bottom: 42px;
  color: var(--sun);
  font-size: 0.8rem;
  font-weight: 800;
}

.topic h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.topic p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.about {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(36px, 8vw, 100px);
  align-items: center;
  padding-block: clamp(80px, 11vw, 145px);
}

.about h2 { max-width: 700px; }

.about-copy p {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.note {
  padding: 34px;
  border-left: 4px solid var(--sun);
  background: var(--paper-deep);
}

.note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.note p { margin-bottom: 0; }

.closing {
  padding-block: clamp(70px, 9vw, 115px);
  color: var(--white);
  background: var(--ink);
}

.closing .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.closing h2 {
  max-width: 720px;
  margin-bottom: 12px;
}

.closing p {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.7);
}

.site-footer {
  padding-block: 27px;
  color: rgba(255, 253, 248, 0.64);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.site-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.site-footer a { text-decoration-color: rgba(255, 255, 255, 0.3); }

.legal-page {
  min-height: 100vh;
  padding: 48px 0 90px;
  background: var(--paper);
}

.legal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(80px, 12vw, 140px);
}

.legal-card {
  max-width: 780px;
  padding: clamp(30px, 6vw, 64px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 20px 70px rgba(24, 38, 47, 0.08);
}

.legal-card h1 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.legal-card p { color: var(--ink-soft); }

.legal-section {
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.legal-section:first-of-type {
  padding-top: 8px;
  border-top: 0;
}

.legal-section:last-child { padding-bottom: 0; }

.legal-section h2 {
  margin-bottom: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.3rem;
  font-weight: 760;
  letter-spacing: -0.015em;
}

.legal-section address {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-style: normal;
}

.legal-section a {
  color: var(--petrol-dark);
  text-underline-offset: 3px;
}

.legal-note {
  margin-bottom: 0;
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .hero { min-height: 760px; }
  .intro,
  .about { grid-template-columns: 1fr; }
  .topics-head,
  .closing .shell { align-items: flex-start; flex-direction: column; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .topic:nth-child(2) { border-right: 0; }
  .topic:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .topic:nth-child(3) { padding-left: 0; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 28px, 1120px); }
  .site-header .shell { min-height: 70px; }
  .hero-inner { padding-top: 130px; }
  h1 { font-size: clamp(3rem, 17vw, 4.7rem); }
  .topic-grid { grid-template-columns: 1fr; }
  .topic,
  .topic:first-child,
  .topic:nth-child(3) {
    min-height: 0;
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .topic:last-child { border-bottom: 0; }
  .topic span { margin-bottom: 18px; }
  .site-footer .shell { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
