:root {
  --bg: #f7f5ee;
  --bg-2: #efece2;
  --ink: #0b1220;
  --ink-2: #1a2233;
  --mute: #5b6577;
  --line: rgba(11, 18, 32, 0.09);
  --court-green: #0f7a3d;
  --court-green-2: #14a85a;
  --grass: #d6efdf;
  --blue: #2563eb;
  --blue-soft: #e5edff;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(20, 168, 90, 0.15), transparent 27rem),
    radial-gradient(circle at 94% 10%, rgba(37, 99, 235, 0.13), transparent 29rem),
    var(--bg);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 122, 61, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 122, 61, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

a {
  color: var(--blue);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #1749b7;
}

a:focus-visible,
summary:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(37, 99, 235, 0.25);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 238, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Bricolage Grotesque", "Geist", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 24%;
  object-fit: cover;
}

.brand-accent {
  color: var(--blue);
}

.back-link {
  min-height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 22px rgba(11, 18, 32, 0.05);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.back-link:hover {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.1);
  transform: translateY(-1px);
}

.back-link svg {
  width: 17px;
  height: 17px;
}

.page-shell {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.page-hero {
  margin-bottom: 34px;
  text-align: center;
}

.eyebrow {
  color: var(--court-green);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Bricolage Grotesque", "Geist", sans-serif;
}

h1 {
  margin: 14px 0 12px;
  font-size: clamp(42px, 8vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 620px;
  margin: 0 auto;
  color: var(--mute);
  font-size: 18px;
}

.date {
  width: fit-content;
  margin: 22px auto 0;
  padding: 7px 12px;
  border: 1px solid rgba(15, 122, 61, 0.14);
  border-radius: 999px;
  color: var(--court-green);
  background: rgba(214, 239, 223, 0.64);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}

.content-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 30px 70px -42px rgba(11, 18, 32, 0.3);
}

.content-card section + section {
  margin-top: 36px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.content-card > .contact-card + section {
  margin-top: 36px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
  color: var(--ink-2);
}

p + p {
  margin-top: 14px;
}

ul {
  margin: 13px 0 0;
  padding-left: 22px;
}

li {
  margin: 8px 0;
  color: var(--ink-2);
}

li::marker {
  color: var(--court-green-2);
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 42px);
  border-radius: 26px;
  color: white;
  background: linear-gradient(135deg, var(--court-green) 0%, var(--blue) 100%);
}

.contact-card::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.04);
  content: "";
}

.contact-card h2,
.contact-card p {
  position: relative;
  z-index: 1;
  color: white;
}

.contact-card .email-link {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: 22px;
  padding: 11px 17px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  color: var(--ink);
  background: white;
  font-size: 14px;
  text-decoration: none;
}

.contact-card .mail-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.contact-card .response-time {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.topic-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.topic {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink-2);
  background: var(--bg);
  font-size: 14px;
  font-weight: 550;
}

.faq-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.faq {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--bg);
  transition: border-color 160ms ease, background 160ms ease;
}

.faq[open] {
  border-color: rgba(37, 99, 235, 0.22);
  background: var(--blue-soft);
}

.faq summary {
  min-height: 58px;
  padding: 16px 52px 16px 18px;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  right: 18px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: white;
  content: "+";
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 18px 18px;
  color: var(--mute);
  font-size: 15px;
}

.legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 30px 20px 44px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  text-align: center;
  font-size: 13px;
}

.site-footer a {
  margin: 0 7px;
  color: var(--ink-2);
  text-decoration: none;
}

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

  .nav {
    height: 68px;
  }

  .brand {
    font-size: 21px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .back-link {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .back-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .page-shell {
    padding: 52px 0 64px;
  }

  .page-hero {
    margin-bottom: 26px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

  .intro {
    font-size: 16px;
  }

  .content-card {
    border-radius: 22px;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
