:root {
  color-scheme: dark;
  --bg: #070A12;
  --surface: #0D1322;
  --surface-2: #141B2E;
  --text: #F8FAFC;
  --muted: #CBD5E1;
  --line: rgba(103, 232, 249, 0.16);
  --cyan: #22d3ee;
  --blue: #2563eb;
  --violet: #8b5cf6;
  --max: 72rem;
  font-family: 'Manrope', 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 18rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(34, 211, 238, 0.09), transparent 28rem),
    radial-gradient(circle at 95% 18%, rgba(139, 92, 246, 0.09), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10; padding: .75rem 1rem; border-radius: .75rem; background: white; color: #07101d; }
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(5, 8, 17, 0.86);
  backdrop-filter: blur(18px);
}
.nav { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 850; letter-spacing: -.02em; }
.brand-ucdm { flex-shrink: 0; }
.brand-ucdm img { display: block; width: clamp(9rem, 18vw, 13rem); height: auto; }
.brand-mark { width: 2rem; height: 2rem; border-radius: .7rem; background: linear-gradient(135deg, var(--cyan), var(--blue) 52%, var(--violet)); box-shadow: 0 0 1.5rem rgba(59, 130, 246, .25); position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: .32rem; border: 2px solid #07101d; border-radius: .4rem; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; font-size: .9rem; font-weight: 700; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

.hero { padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem); }
.eyebrow { margin: 0 0 1rem; color: var(--cyan); font-size: .76rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 13ch; margin: 0; font-size: clamp(2.65rem, 9vw, 5.6rem); }
.hero-copy { max-width: 42rem; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2.5vw, 1.3rem); }
.gradient-text { background: linear-gradient(100deg, var(--cyan), #60a5fa 52%, #a78bfa); background-clip: text; color: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; border-radius: .9rem; padding: .75rem 1.1rem; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font-weight: 800; text-decoration: none; }
.button-primary { border: 0; background: linear-gradient(110deg, #0891b2, #2563eb 52%, #7c3aed); box-shadow: 0 1rem 2.8rem rgba(37, 99, 235, .22); }
.button:hover { transform: translateY(-1px); }
.is-disabled { cursor: not-allowed; opacity: .6; pointer-events: none; }

.section { padding: 2.75rem 0 5rem; }
.section-heading { max-width: 42rem; margin-bottom: 1.8rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.section-heading p { color: var(--muted); }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 1.35rem; background: linear-gradient(145deg, rgba(16, 26, 45, .9), rgba(8, 14, 26, .94)); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 1.3rem 4rem rgba(0, 0, 0, .18); }
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.status { display: inline-flex; width: fit-content; border: 1px solid rgba(34, 211, 238, .24); border-radius: 999px; padding: .35rem .7rem; color: #a5f3fc; background: rgba(8, 145, 178, .09); font-size: .74rem; font-weight: 850; letter-spacing: .05em; }
.app-card { position: relative; overflow: hidden; }
.app-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet)); }

.page-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 2rem; }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.35rem, 7vw, 4.6rem); }
.page-subtitle { max-width: 48rem; color: var(--muted); font-size: 1.08rem; }
.legal { display: grid; grid-template-columns: minmax(12rem, 15rem) minmax(0, 47rem); gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-bottom: 5rem; }
.legal-nav { position: sticky; top: 6.5rem; padding: 1rem; border-left: 1px solid var(--line); }
.legal-nav a { display: block; padding: .36rem .7rem; color: var(--muted); font-size: .88rem; text-decoration: none; }
.legal-nav a:hover { color: var(--cyan); }
.prose section { scroll-margin-top: 6rem; padding: 1.15rem 0 1.55rem; border-bottom: 1px solid rgba(148, 163, 184, .12); }
.prose h2 { margin-bottom: .8rem; font-size: 1.45rem; }
.prose h3 { margin-top: 1.5rem; font-size: 1.05rem; }
.prose p, .prose li { color: #c3cede; }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.25rem; }
.path { margin: 1rem 0; border: 1px solid var(--line); border-radius: 1rem; background: rgba(15, 23, 42, .72); padding: 1rem; color: #dbeafe; font-weight: 800; }
.notice { border-left: 3px solid var(--cyan); border-radius: .25rem 1rem 1rem .25rem; background: rgba(8, 145, 178, .08); padding: 1rem 1.1rem; }
.pending { border-color: rgba(167, 139, 250, .25); background: rgba(124, 58, 237, .08); }
.pending strong { color: #ddd6fe; }
.meta { margin-top: 1.2rem; color: var(--muted); font-size: .86rem; }

.feedback-hero, .feedback-simple { width: min(100%, 44rem); margin-inline: auto; }
.feedback-hero { padding-bottom: .75rem; }
.feedback-hero h1 { max-width: none; font-size: clamp(2.25rem, 6vw, 3.5rem); }
.feedback-hero .page-subtitle { max-width: 38rem; font-size: clamp(1.05rem, 2vw, 1.18rem); }
.feedback-simple { padding-top: 1.25rem; }
.feedback-card { position: relative; overflow: hidden; padding: clamp(1.25rem, 4vw, 2.5rem); }
.feedback-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet)); }
.feedback-notice { margin-bottom: 2rem; border-left-color: var(--violet); background: linear-gradient(135deg, rgba(34, 211, 238, .07), rgba(124, 58, 237, .1)); }
.feedback-notice strong { display: block; color: #f1edff; font-size: 1rem; }
.feedback-notice p { margin: .55rem 0 0; color: #c3cede; font-size: .96rem; }
.feedback-heading h2 { margin-bottom: .6rem; font-size: clamp(1.65rem, 4vw, 2.1rem); }
.field-grid { display: grid; grid-template-columns: 1fr; gap: 1.35rem; margin-top: 1.8rem; }
.field { display: grid; gap: .48rem; }
.field label { display: flex; justify-content: space-between; gap: 1rem; color: #f2f7fd; font-size: 1rem; font-weight: 800; }
.field label span { color: var(--muted); font-size: .82rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(148, 163, 184, .24); border-radius: .9rem; background: rgba(5, 8, 17, .72); padding: .9rem 1rem; color: var(--text); font: inherit; font-size: 1rem; line-height: 1.5; outline: none; }
.field input, .field select { min-height: 3.35rem; }
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #8795a9; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(103, 232, 249, .32); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .11), 0 0 1.6rem rgba(59, 130, 246, .08); }
.field select { color-scheme: dark; }
.feedback-action { display: grid; gap: .8rem; margin-top: 1.75rem; }
.feedback-action .button { width: 100%; min-height: 3.5rem; font-size: 1rem; }
.feedback-action .meta { margin: 0; font-size: .92rem; }
.feedback-privacy { margin: 1.5rem 0 0; border-top: 1px solid rgba(148, 163, 184, .12); padding-top: 1.2rem; color: var(--muted); font-size: .9rem; }
.feedback-privacy a { color: #a5f3fc; font-weight: 750; text-underline-offset: .2rem; }

.site-footer { border-top: 1px solid rgba(148, 163, 184, .12); padding: 2rem 0 3rem; color: var(--muted); font-size: .88rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 48rem) {
  .nav { align-items: flex-start; padding: .85rem 0; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; gap: .45rem 1rem; font-size: .8rem; }
  .grid-2, .legal { grid-template-columns: 1fr; }
  .legal-nav { display: none; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 28rem) {
  .brand:not(.brand-ucdm) span:last-child { display: none; }
  .hero { padding-top: 3.75rem; }
  .actions .button { width: 100%; }
  .feedback-hero { padding-top: 2.75rem; }
  .feedback-card { border-radius: 1.1rem; }
}

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