:root {
  color-scheme: light dark;
  --bg: #edf1ef;
  --surface: rgba(255, 255, 255, 0.72);
  --text: #17211f;
  --muted: #5d6b68;
  --line: rgba(23, 33, 31, 0.11);
  --accent: #178f88;
  --glow: #38d4c4;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 2%, rgba(56, 212, 196, 0.22), transparent 32rem),
    radial-gradient(circle at 5% 42%, rgba(118, 143, 135, 0.14), transparent 27rem),
    var(--bg);
}

a {
  color: var(--accent);
}

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

.hero {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.mark {
  width: 78px;
  height: 70px;
  margin-bottom: 28px;
  border-radius: 48% 48% 22% 22%;
  background: #101615;
  box-shadow: 0 15px 30px rgba(56, 212, 196, 0.48);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5.7rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 640px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 10px 0 70px;
}

.card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  padding: 28px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 55px rgba(28, 48, 43, 0.08);
  transition: transform 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 143, 136, 0.45);
}

.card strong {
  font-size: 1.35rem;
}

.card span:last-child {
  color: var(--muted);
  line-height: 1.5;
}

.card-label {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.document {
  max-width: 760px;
}

.back {
  padding: 28px 0 60px;
}

.back a {
  text-decoration: none;
  font-weight: 700;
}

.document header {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.document h1 {
  font-size: clamp(2.7rem, 8vw, 5rem);
}

.document section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.document h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.document p {
  margin: 0.7em 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.faq {
  display: grid;
  gap: 18px;
}

.faq article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.faq article h2 {
  font-size: 1.12rem;
}

.contact {
  margin-top: 24px;
  padding: 36px !important;
  border: 0 !important;
  border-radius: 28px;
  background: #17211f;
  color: #f5f8f7;
}

.contact p {
  color: #b8c5c2;
}

.button {
  display: inline-block;
  margin-top: 24px;
  padding: 13px 18px;
  border-radius: 14px;
  background: var(--glow);
  color: #10201d;
  font-weight: 800;
  text-decoration: none;
}

.todo-note {
  margin-top: 14px;
  color: #f0c27a;
  font-size: 0.9rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0;
  color: var(--muted);
  font-size: 0.86rem;
}

footer nav {
  display: flex;
  gap: 18px;
}

footer a {
  color: inherit;
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 760px);
  }

  .hero {
    min-height: 70vh;
  }

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

  footer {
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101614;
    --surface: rgba(28, 39, 36, 0.72);
    --text: #eef5f2;
    --muted: #a9b8b4;
    --line: rgba(238, 245, 242, 0.11);
    --accent: #5ddbc6;
  }

  body {
    background:
      radial-gradient(circle at 82% 2%, rgba(49, 199, 176, 0.16), transparent 32rem),
      radial-gradient(circle at 5% 42%, rgba(100, 133, 124, 0.11), transparent 27rem),
      var(--bg);
  }
}
