:root {
  --bg: #101a27;
  --bg-deep: #09111b;
  --surface: rgba(9, 16, 31, 0.84);
  --surface-strong: rgba(13, 20, 37, 0.96);
  --surface-soft: rgba(17, 25, 44, 0.78);
  --text: #f4f7fb;
  --muted: #95a3bd;
  --line: rgba(132, 148, 181, 0.18);
  --brand: #b8e61d;
  --brand-dark: #97bf16;
  --success: #8eea77;
  --error: #ff7e7e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  position: relative;
  margin: 0;
  min-height: 100%;
}

html {
  background:
    radial-gradient(circle at top center, rgba(58, 119, 255, 0.18), transparent 26%),
    radial-gradient(circle at 75% 18%, rgba(184, 230, 29, 0.12), transparent 20%),
    linear-gradient(180deg, #07101d 0%, var(--bg) 45%, var(--bg-deep) 100%);
  background-color: #07101d;
}

body {
  min-height: 100vh;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(58, 119, 255, 0.18), transparent 26%),
    radial-gradient(circle at 75% 18%, rgba(184, 230, 29, 0.12), transparent 20%),
    linear-gradient(180deg, #07101d 0%, var(--bg) 45%, var(--bg-deep) 100%);
  background-color: var(--bg-deep);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

body::before {
  top: -10rem;
  right: -8rem;
  background: rgba(8, 104, 255, 0.12);
}

body::after {
  bottom: -12rem;
  left: -10rem;
  background: rgba(199, 241, 31, 0.08);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 2.75rem;
}

.legal-shell {
  max-width: 920px;
}

.hero {
  margin-bottom: 1.35rem;
}

.hero__brand {
  max-width: 980px;
}

.hero__brand-copy {
  display: grid;
  justify-items: start;
  max-width: 760px;
  padding-left: 0;
}

.hero__logo {
  width: min(172px, 30vw);
  height: auto;
  display: block;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.38));
  opacity: 0.95;
  margin-left: -18px;
}

.hero__eyebrow,
.panel__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(184, 230, 29, 0.08);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel--story .panel__label {
  background: rgba(132, 148, 181, 0.08);
  color: #dfe8f7;
  border-color: rgba(132, 148, 181, 0.18);
}

h1,
h2,
h3 {
  font-family: "Avenir Next Condensed", "Avenir Next", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin: 0;
}

h1 {
  font-size: clamp(2.75rem, 5.8vw, 4.8rem);
  max-width: 12ch;
  margin-top: 0.55rem;
}

.hero__copy {
  max-width: 38rem;
  margin: 0.95rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.65;
  color: var(--muted);
}

.hero__pills {
  display: flex;
  max-width: 760px;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-top: 1rem;
}

.hero__pills > span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  font-size: 0.92rem;
  color: #dfe8f7;
}

.feature-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0.95;
}

.label-with-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.28rem 0.75rem;
  align-items: baseline;
}

.label-with-meta textarea {
  grid-column: 1 / -1;
}

.label-optional {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.88em;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 1rem;
  align-items: start;
}

.panel {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.panel--story h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  max-width: 14ch;
  line-height: 0.98;
}

.panel__intro,
.panel--story > p:last-of-type {
  margin-top: 0.62rem;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.94rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.feature-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.75rem 0.9rem;
  border-radius: 1.2rem;
  background: rgba(12, 21, 39, 0.44);
  border: 1px solid rgba(132, 148, 181, 0.06);
}

.feature-card-icon {
  width: 1.05rem;
  height: 1.05rem;
  
  flex: 0 0 auto;
  object-fit: contain;
}

.feature-card-copy {
  min-width: 0;
}

.feature-list h3 {
  font-size: 0.92rem;
  margin-bottom: 0.16rem;
  letter-spacing: -0.01em;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
  font-size: 0.98rem;
}

.site-footer {
  margin-top: 1.2rem;
  padding-top: 0.3rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.site-footer__links a,
.legal-back {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer__links a:hover,
.legal-back:hover {
  color: var(--text);
}

.legal-header {
  max-width: 760px;
  margin-bottom: 1rem;
}

.legal-header h1 {
  max-width: none;
  margin-top: 0.75rem;
}

.legal-updated {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.legal-panel {
  padding: 1.35rem;
}

.legal-section + .legal-section {
  margin-top: 1.35rem;
}

.legal-section h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.05;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.6;
}

.legal-section ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}

form {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.62rem;
}

label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #dce5f5;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  padding: 0.76rem 0.9rem;
  border: 1px solid rgba(132, 148, 181, 0.2);
  border-radius: 1rem;
  background: rgba(10, 16, 30, 0.88);
  color: var(--text);
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

input::placeholder,
textarea::placeholder {
  color: #73809a;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(199, 241, 31, 0.6);
  box-shadow: 0 0 0 4px rgba(199, 241, 31, 0.12);
  transform: translateY(-1px);
}

textarea {
  resize: vertical;
  min-height: 5.3rem;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 0.86rem 1rem;
  background: linear-gradient(180deg, #d6fb2b, var(--brand));
  color: #0a0f18;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(184, 230, 29, 0.12);
}

.button-arrow {
  display: inline-block;
  margin-left: 0.45rem;
  font-weight: 800;
}

button:hover {
  background: linear-gradient(180deg, #c4ee36, var(--brand-dark));
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--error);
}

@media (max-width: 860px) {
  .label-with-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.12rem;
  }

  .page-shell {
    padding-top: 2rem;
  }

  .hero__brand {
    max-width: 100%;
  }

  .hero__logo {
    width: min(170px, 48vw);
    margin-bottom: 0.9rem;
  }

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

  .site-footer__links {
    justify-content: flex-start;
  }

  .panel {
    padding: 1.2rem;
  }
}
