:root {
  --brand: #39ff14;
  --accent: #fff300;
  --bg: #c0c0c0;
  --text: #111111;
  --muted: #374151;
  --border: rgba(0, 0, 0, 0.12);
  --border-strong: rgba(0, 0, 0, 0.18);
  --shadow: rgba(0, 0, 0, 0.14);
  --field-bg: rgba(255, 255, 255, 0.92);
  --panel-bg: rgba(255, 255, 255, 0.92);
  --hover-bg: rgba(0, 0, 0, 0.06);
  --success: #0f5132;
  --error: #991b1b;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.landing-page {
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(192, 192, 192, 0.5)),
    url('../images/CES3D.png'),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(192, 192, 192, 0.92));
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(192, 192, 192, 0.5)),
    -webkit-image-set(
      url('../images/CES3D.webp') 1x,
      url('../images/CES3D.png') 1x
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(192, 192, 192, 0.92));
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(192, 192, 192, 0.5)),
    image-set(
      url('../images/CES3D.webp') type('image/webp') 1x,
      url('../images/CES3D.png') type('image/png') 1x
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(192, 192, 192, 0.92));
  background-position: center, center, center;
  background-size: auto, cover, cover;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: scroll, fixed, scroll;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  width: auto;
  height: auto;
  padding: 0.65rem 0.9rem;
  z-index: 1000;
  background: #000;
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  padding: 2rem 0;
}

.landing-hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
}

.landing-shell {
  display: block;
}

.card {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  box-shadow: 0 12px 28px var(--shadow);
}

.landing-panel {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.6rem 1.8rem;
  background: var(--panel-bg);
}

.landing-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.landing-title {
  margin: 0 0 1rem;
  max-width: 20ch;
  margin-inline: auto;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.8rem);
  line-height: 1.12;
  text-align: center;
}

.landing-subhead,
.landing-note,
.landing-footnote {
  text-align: center;
}

.landing-subhead {
  margin: 0 auto 1rem;
  max-width: 56ch;
}

.landing-note {
  margin: 0 auto 1.35rem;
  max-width: 54ch;
  color: var(--muted);
}

.landing-contact-block {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-style: normal;
}

.landing-contact-block p {
  margin: 0;
}

.landing-contact-block a {
  font-weight: 700;
  text-decoration: none;
}

.landing-contact-block a:hover,
.landing-contact-block a:focus-visible {
  text-decoration: underline;
}

.form {
  margin: 0;
}

.landing-mini-form {
  max-width: 420px;
  margin: 1rem auto 0;
}

.form-row {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.form label {
  font-weight: 600;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.6rem;
  background: var(--field-bg);
  color: var(--text);
  font: inherit;
}

.landing-mini-form textarea {
  min-height: 88px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.btn:focus-visible,
.brand:focus-visible,
.landing-contact-block a:focus-visible {
  outline: 2px solid rgba(255, 243, 0, 0.8);
  outline-offset: 2px;
}

.form-actions,
.landing-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.landing-form-actions {
  margin-top: 0.25rem;
}

.landing-form-status {
  min-height: 1.4em;
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}

.landing-form-status.is-success {
  color: var(--success);
}

.landing-form-status.is-error {
  color: var(--error);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--hover-bg);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  color: #000;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.landing-footnote {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .landing-hero {
    min-height: 0;
  }

  .landing-panel {
    padding: 1.5rem;
  }
}

@media (max-width: 520px) {
  .landing-header-inner,
  .landing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    justify-content: center;
  }
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  body.landing-page {
    background-attachment: scroll, scroll, scroll;
  }

  html:focus-within {
    scroll-behavior: auto;
  }
}
