:root {
  --site-bg: #f4f4f5;
  --site-surface: rgba(255, 255, 255, 0.94);
  --site-text: #18181b;
  --site-muted: #64646d;
  --site-border: #e4e4e7;
  --site-yellow: #facc15;
  --site-purple: #6d28d9;
  --site-green: #16a34a;
  --site-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--site-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.14), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(109, 40, 217, 0.12), transparent 30rem),
    radial-gradient(circle at 75% 20%, rgba(22, 163, 74, 0.08), transparent 24rem),
    var(--site-bg);
  line-height: 1.6;
}

.page-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--site-text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 13px;
  background: #111827;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.20);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.back-link,
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  box-sizing: border-box;
  padding: 9px 11px;
  border: 1px solid rgba(24, 24, 27, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #334155;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.back-link:hover,
.pill-link:hover {
  border-color: rgba(109, 40, 217, 0.28);
  background: #ffffff;
}

.card {
  overflow: hidden;
  border: 1px solid rgba(24, 24, 27, 0.10);
  border-radius: 30px;
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
  backdrop-filter: blur(16px);
}

.hero {
  padding: 46px 46px 34px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.99), rgba(39, 39, 42, 0.96)),
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.55), transparent 20rem),
    radial-gradient(circle at bottom left, rgba(109, 40, 217, 0.38), transparent 18rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid;
  border-radius: 999px;
  border-color: rgba(250, 204, 21, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.content {
  padding: 38px 46px 46px;
}

.content a {
  color: #4f46e5;
}

.section {
  position: relative;
  padding: 28px 0;
  border-bottom: 1px solid var(--site-border);
  scroll-margin-top: 22px;
}

.section:first-child {
  padding-top: 0;
}

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

.section h2,
.content h2 {
  margin: 0 0 12px;
  color: var(--site-text);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section h3,
.content h3 {
  margin: 24px 0 8px;
  color: var(--site-text);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.content p {
  margin: 0;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.68;
}

.content p + p {
  margin-top: 12px;
}

.content ul,
.content ol {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.62;
}

.content li + li {
  margin-top: 7px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.quick-card {
  display: block;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(24, 24, 27, 0.10);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
  color: var(--site-text);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.quick-card:hover {
  border-color: rgba(109, 40, 217, 0.25);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

.quick-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--site-text);
  font-size: 15px;
  line-height: 1.25;
}

.quick-card span {
  display: block;
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.45;
}

.examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(24, 24, 27, 0.10);
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.notice-box,
.note-box,
.highlight-box,
.contact-box,
.cta-box {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 20px;
  background: #eff6ff;
  color: #1e3a8a;
}

.notice-box {
  margin-bottom: 24px;
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.notice-box p {
  margin: 0;
  color: inherit;
}

.notice-box p + p {
  margin-top: 8px;
}

.notice-box strong {
  color: #78350f;
}

.notice-box.event-agenda-box {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}

.notice-box.event-agenda-box strong {
  color: #1e40af;
}

.note-box strong,
.highlight-box strong {
  color: #1d4ed8;
}

.contact-box,
.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.contact-box strong,
.cta-box strong {
  color: #166534;
}

.button,
.email-button,
.submit-form-button {
  border-radius: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--site-muted);
  font-size: 14px;
  text-align: center;
}

.footer-links a {
  color: #4f46e5;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-note {
  margin-top: 12px;
  color: var(--site-muted);
}

.footer-copyright {
  margin-top: 6px;
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1040px);
    padding: 16px 0 24px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    align-self: flex-start;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    justify-items: center;
    gap: 12px;
    width: 100%;
  }

  .back-link,
  .pill-link {
    width: min(100%, 340px);
    min-height: 50px;
    padding: 12px 18px;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    font-weight: 900;
  }

  .hero,
  .content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(34px, 12vw, 50px);
  }

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

  .contact-box,
  .cta-box {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (min-width: 721px) and (max-width: 920px) {
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
