:root {
  --beta-blue: #0b2e6b;
  --beta-green: #67c23a;
  --beta-yellow: #ffc72c;
  --beta-bg: #f3f6fb;
  --beta-surface: #fff;
  --beta-text: #192437;
  --beta-muted: #68758a;
  --beta-border: #dce4ef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--beta-bg);
  color: var(--beta-text);
  font-family: Inter, system-ui, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

.beta-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 10px max(20px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(220, 228, 239, 0.94);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.beta-header img {
  display: block;
  width: 176px;
  height: auto;
}

.beta-header span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf6e4;
  color: #3e7f20;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.beta-shell {
  width: min(calc(100% - 32px), 1160px);
  margin: 0 auto;
  padding: 38px 0 80px;
}

.beta-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 6vw, 64px);
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 10%, rgba(103, 194, 58, 0.24), transparent 32%),
    linear-gradient(145deg, #0b2e6b, #123f86);
  color: #fff;
  box-shadow: 0 28px 64px rgba(11, 46, 107, 0.2);
}

.beta-hero p:first-child,
.beta-section__heading p {
  margin: 0 0 8px;
  color: var(--beta-green);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beta-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.beta-hero p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.beta-hero img {
  width: clamp(110px, 16vw, 180px);
  border-radius: 30%;
  box-shadow: 0 20px 40px rgba(3, 18, 46, 0.32);
}

.beta-progress,
.beta-section {
  margin-top: 24px;
  border: 1px solid var(--beta-border);
  border-radius: 26px;
  background: var(--beta-surface);
  box-shadow: 0 16px 40px rgba(15, 38, 72, 0.07);
}

.beta-progress {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
}

.beta-progress > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.beta-progress span,
.beta-progress p {
  color: var(--beta-muted);
  font-size: 0.82rem;
}

.beta-progress strong {
  color: var(--beta-blue);
  font-size: 1.2rem;
}

.beta-progress__track {
  height: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9eef6;
}

.beta-progress__track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--beta-green), #8ddb61);
  transition: width 220ms ease;
}

.beta-progress p {
  margin: 0;
}

.beta-section {
  padding: clamp(20px, 4vw, 34px);
}

.beta-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.beta-section__heading h2 {
  margin: 0;
  color: var(--beta-blue);
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  letter-spacing: -0.035em;
}

.beta-section__heading button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--beta-border);
  border-radius: 13px;
  background: #f7f9fc;
  color: var(--beta-blue);
  font-weight: 750;
  cursor: pointer;
}

.beta-task-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.beta-task {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 100px;
  padding: 16px;
  border: 1px solid var(--beta-border);
  border-radius: 19px;
  background: #fbfcfe;
}

.beta-task.is-complete {
  border-color: rgba(103, 194, 58, 0.42);
  background: #f5fbf2;
}

.beta-task input {
  width: 23px;
  height: 23px;
  accent-color: var(--beta-green);
}

.beta-task strong {
  display: block;
  color: var(--beta-blue);
  line-height: 1.3;
}

.beta-task p {
  margin: 5px 0 0;
  color: var(--beta-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.beta-task a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 0 12px;
  border-radius: 12px;
  background: #edf3fb;
  color: var(--beta-blue);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

#beta-feedback-form {
  display: grid;
  gap: 18px;
}

.beta-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#beta-feedback-form label {
  display: grid;
  gap: 8px;
  color: var(--beta-blue);
  font-size: 0.82rem;
  font-weight: 750;
}

#beta-feedback-form select,
#beta-feedback-form textarea {
  width: 100%;
  border: 1px solid var(--beta-border);
  border-radius: 15px;
  background: #fff;
  color: var(--beta-text);
  outline: none;
}

#beta-feedback-form select {
  min-height: 52px;
  padding: 0 14px;
}

#beta-feedback-form textarea {
  resize: vertical;
  padding: 13px 14px;
  line-height: 1.55;
}

#beta-feedback-form select:focus,
#beta-feedback-form textarea:focus {
  border-color: var(--beta-blue);
  box-shadow: 0 0 0 3px rgba(11, 46, 107, 0.1);
}

.beta-rating {
  margin: 0;
  padding: 0;
  border: 0;
}

.beta-rating legend {
  margin-bottom: 9px;
  color: var(--beta-blue);
  font-size: 0.82rem;
  font-weight: 750;
}

.beta-rating div {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 7px;
}

.beta-rating label {
  display: block !important;
}

.beta-rating input {
  position: absolute;
  opacity: 0;
}

.beta-rating span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--beta-border);
  border-radius: 12px;
  background: #fff;
  color: var(--beta-blue);
  cursor: pointer;
}

.beta-rating input:checked + span {
  border-color: var(--beta-blue);
  background: var(--beta-blue);
  color: #fff;
}

.beta-privacy {
  margin: 0;
  color: #8a5b00;
  font-size: 0.76rem;
  line-height: 1.5;
}

.beta-submit {
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--beta-green), #56b92b);
  color: #092356;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(103, 194, 58, 0.2);
}

.beta-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.beta-form-status {
  min-height: 22px;
  margin: 0;
  color: var(--beta-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.beta-form-status[data-state="success"] {
  color: #3f7f21;
}

.beta-form-status[data-state="error"] {
  color: #b4232d;
}

@media (max-width: 720px) {
  .beta-shell {
    width: min(calc(100% - 20px), 1160px);
    padding-top: 18px;
  }

  .beta-header {
    min-height: 66px;
    padding-inline: 12px;
  }

  .beta-header img {
    width: 145px;
  }

  .beta-hero {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .beta-hero img {
    display: none;
  }

  .beta-progress {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .beta-task-list,
  .beta-form-grid {
    grid-template-columns: 1fr;
  }

  .beta-rating div {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .beta-task {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .beta-task a {
    grid-column: 2;
    justify-self: start;
  }
}

html[data-theme="dark"] {
  --beta-bg: #080c13;
  --beta-surface: #111822;
  --beta-text: #eff5ff;
  --beta-muted: #9aa9bf;
  --beta-border: #26354a;
}

html[data-theme="dark"] .beta-header,
html[data-theme="dark"] .beta-task,
html[data-theme="dark"] #beta-feedback-form select,
html[data-theme="dark"] #beta-feedback-form textarea,
html[data-theme="dark"] .beta-rating span {
  background: #111822;
}

html[data-theme="dark"] .beta-task.is-complete {
  background: #14221a;
}

html[data-theme="dark"] .beta-section__heading h2,
html[data-theme="dark"] .beta-task strong,
html[data-theme="dark"] .beta-progress strong,
html[data-theme="dark"] #beta-feedback-form label,
html[data-theme="dark"] .beta-rating legend {
  color: #f4f8ff;
}

