:root {
  --ink: #172b3a;
  --ink-soft: #405563;
  --paper: #f8f5ef;
  --paper-deep: #eee9df;
  --white: #fffdf9;
  --accent: #e7633b;
  --accent-dark: #b83b21;
  --mint: #a9d8cc;
  --line: rgba(23, 43, 58, 0.16);
  --shadow: 0 24px 70px rgba(23, 43, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a,
footer a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

nav a:hover,
footer a:hover,
nav a[aria-current="page"],
footer a[aria-current="page"] {
  color: var(--accent-dark);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  padding: 88px 0 110px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(55px, 7vw, 92px);
  font-weight: 500;
}

h2 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.intro {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 23px);
}

.actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 780;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(184, 59, 33, 0.18);
  transition: transform 160ms ease, background 160ms ease;
}

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

.text-link {
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.hero-card {
  position: relative;
  aspect-ratio: 0.92;
  overflow: hidden;
  border-radius: 38px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  top: 13%;
  right: 10%;
  border-radius: 50%;
  background: var(--mint);
  filter: blur(1px);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 253, 249, 0.27);
  border-radius: 50%;
}

.orbit-one {
  width: 470px;
  height: 470px;
  left: -210px;
  bottom: -120px;
}

.orbit-two {
  width: 340px;
  height: 340px;
  left: -145px;
  bottom: -55px;
}

.signal-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.12);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.signal-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 7px rgba(169, 216, 204, 0.13);
}

.signal-card p {
  display: inline;
  margin: 0;
  color: rgba(255, 253, 249, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  margin-top: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section {
  padding: 112px 0;
  border-top: 1px solid var(--line);
}

#about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 9vw, 140px);
}

.section-heading p:last-child,
.about-copy p {
  color: var(--ink-soft);
}

.about-copy {
  padding-top: 38px;
  font-size: 21px;
}

.about-copy p:first-child {
  margin-top: 0;
}

.work-section .section-heading {
  max-width: 770px;
}

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

.principles article {
  min-height: 245px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.55);
}

.principles article span {
  display: block;
  margin-bottom: 56px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.principles article p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.contact-section {
  margin: 28px 0 80px;
  padding: clamp(46px, 7vw, 80px);
  border-radius: 30px;
  background: var(--ink);
  color: var(--white);
}

.contact-section .eyebrow {
  color: var(--mint);
}

.contact-section h2 {
  margin-bottom: 18px;
}

.email-link {
  color: var(--white);
  font-size: clamp(19px, 2.4vw, 29px);
  text-underline-offset: 7px;
}

footer {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

footer div {
  display: flex;
  gap: 24px;
}

.legal-page {
  max-width: 900px;
  min-height: 70vh;
  padding: 110px 0 130px;
}

.legal-page h1,
.support-page h1 {
  font-size: clamp(48px, 7vw, 76px);
}

.updated {
  margin-top: -12px;
  color: var(--ink-soft);
  font-size: 14px;
}

.legal-content {
  margin-top: 70px;
}

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

.legal-content h2 {
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.025em;
}

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

.legal-content p:last-child {
  margin-bottom: 0;
}

.support-page {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(50px, 10vw, 150px);
  padding: 120px 0 150px;
}

.support-page .button {
  margin-top: 36px;
}

.support-card {
  padding: 42px;
  border-radius: 26px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.support-card .eyebrow {
  color: var(--mint);
}

.support-card h2 {
  margin-bottom: 14px;
  font-size: 38px;
}

.support-card p {
  color: rgba(255, 253, 249, 0.7);
}

.support-card a {
  color: var(--white);
  text-underline-offset: 5px;
}

@media (max-width: 820px) {
  .site-header {
    padding: 18px 0;
  }

  nav a:not(:last-child) {
    display: none;
  }

  .hero,
  #about,
  .support-page {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-card {
    width: min(100%, 520px);
  }

  .about-copy {
    padding-top: 0;
  }

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

  .principles article {
    min-height: 0;
  }

  .principles article span {
    margin-bottom: 36px;
  }
}

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

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

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  nav {
    gap: 16px;
  }

  .hero {
    min-height: auto;
    gap: 66px;
    padding: 60px 0 88px;
  }

  h1 {
    font-size: 51px;
  }

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

  .hero-card {
    border-radius: 25px;
  }

  .hero-card::before {
    width: 160px;
    height: 160px;
  }

  .signal-card {
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 22px;
  }

  .signal-card strong {
    font-size: 24px;
  }

  .section {
    padding: 82px 0;
  }

  .contact-section {
    margin-bottom: 48px;
    padding: 38px 26px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
  }

  footer p {
    margin: 0;
  }

  .legal-page,
  .support-page {
    padding: 80px 0 100px;
  }

  .legal-page h1,
  .support-page h1 {
    font-size: 48px;
  }

  .support-card {
    padding: 30px;
  }
}

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

  .button {
    transition: none;
  }
}
