:root {
  --bg: #0f1a30;
  --panel: #ffffff;
  --text: #172033;
  --muted: #54637a;
  --border: #d8e0ec;
  --accent: #95c23d;
  --accent-dark: #7fac2f;
  --footer-bg: #0d1322;
  --footer-border: #273147;
  --footer-text: #c9d3e6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(700px 280px at 90% -10%, rgba(149, 194, 61, 0.22), transparent 62%),
    var(--bg);
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e6edf8;
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-header__logo-link {
  display: inline-flex;
  align-items: center;
}

.site-header__logo {
  display: block;
  width: 168px;
  max-width: 100%;
  height: auto;
}

.site-header__trust {
  flex: 1;
  min-width: 180px;
  max-width: 360px;
}

.proof-app {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 16px 40px;
}

.proof-app__header h1 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(24px, 4vw, 38px);
}

.proof-app__meta {
  margin: 8px 0 0;
  color: rgba(248, 250, 252, 0.82);
}

.proof-trust {
  margin-top: 16px;
  margin-bottom: 0;
  background: #0a1221;
  border: 1px solid #24314b;
  border-radius: 12px;
  padding: 10px 12px;
}

.proof-trust__label {
  margin: 0 0 8px;
  color: #d8e1ef;
  font-size: 13px;
  font-weight: 700;
}

.proof-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

.proof-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.proof-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.proof-loading {
  border: 1px dashed #c7d1e3;
  border-radius: 10px;
  padding: 24px 14px;
  text-align: center;
  color: var(--muted);
}

.proof-image-wrap {
  border: 1px solid #d2dbe9;
  border-radius: 4px;
  overflow: hidden;
  background: #f4f8ff;
}

.proof-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.proof-error {
  margin: 12px 0 0;
  color: #a61f1f;
  font-weight: 700;
}

.revision-form {
  display: grid;
  gap: 10px;
}

.revision-form label {
  display: grid;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
}

.revision-form__color-controls {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  align-items: center;
}

.revision-form__swatch {
  width: 38px;
  height: 38px;
  padding: 0;
  aspect-ratio: 1 / 1;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  border: 0;
  line-height: 0;
  box-shadow: none;
  background: #1A1A1A;
  cursor: pointer;
  justify-self: center;
}

.revision-form__swatch:focus-visible {
  outline: 2px solid #0f3a75;
  outline-offset: 1px;
}

.revision-form__native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.revision-form__native-color {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.revision-form__hint {
  margin: -2px 0 4px;
  color: #5d6f8a;
  font-size: 12px;
  line-height: 1.4;
}

.revision-form__hint--tight {
  margin-top: -6px;
}

.revision-form__toggle {
  margin-top: 2px;
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #25334b;
  line-height: 1.4;
}

.revision-form__toggle input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #0f3a75;
  flex-shrink: 0;
}

.custom__select {
  position: relative;
  width: 100%;
}

.custom__select .default_option {
  min-height: 44px;
  border: 1px solid #c4d0e3;
  border-radius: 10px;
  background: #fff;
  padding: 10px 34px 10px 12px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}

.custom__select .default_option::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #5d6f8a;
  border-bottom: 2px solid #5d6f8a;
  transform: translateY(-60%) rotate(45deg);
}

.custom__select.open .default_option::after {
  transform: translateY(-30%) rotate(-135deg);
}

.custom__select .default_option .option {
  width: 100%;
}

.custom__select .default_option .size__text {
  color: #25334b;
  font-size: 14px;
  line-height: 1.35;
}

.custom__select .select_ul {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #c4d0e3;
  border-radius: 10px;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 10px 24px rgba(19, 33, 58, 0.16);
}

.custom__select.open .select_ul {
  display: block;
}

.custom__select .select_ul li {
  padding: 0;
  cursor: pointer;
}

.custom__select .select_ul li.disabled {
  opacity: 0.6;
  cursor: default;
}

.custom__select .select_ul li .option {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
}

.custom__select .select_ul li .size__text {
  color: #25334b;
  font-size: 14px;
}

.custom__select .select_ul li.selected .size__text {
  font-weight: 700;
}

.custom__select .select_ul li:not(.disabled):hover .option {
  background: #f2f6fd;
}

.custom__select__color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(37, 51, 75, 0.22);
  flex-shrink: 0;
}

.revision-form button:not(.revision-form__swatch) {
  margin-top: 4px;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  background: var(--accent);
  color: #10264f;
  cursor: pointer;
}

.revision-form button:not(.revision-form__swatch):hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.proof-actions {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.proof-help {
  margin-top: 16px;
  border: 1px solid #d2deef;
  border-radius: 12px;
  background: #f4f8ff;
  padding: 14px;
}

.proof-help h3 {
  margin: 0;
  font-size: 18px;
}

.proof-help p {
  margin: 8px 0 0;
  color: #25334b;
  line-height: 1.45;
}

.proof-help__contact {
  font-weight: 700;
}

.proof-help__contact a {
  color: #0f3a75;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #10264f;
}

.btn--secondary {
  background: #fff;
  border-color: #c4d0e3;
  color: #1f2b40;
}

.btn--help {
  margin-top: 12px;
  background: #0f3a75;
  border-color: #0f3a75;
  color: #ffffff;
}

.btn--help:hover {
  background: #0c2f5f;
  border-color: #0c2f5f;
}

.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 22px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  align-items: center;
}

.site-footer__logo {
  width: 164px;
  max-width: 100%;
  height: auto;
}

.site-footer__meta {
  margin-top: 0;
}

.site-footer__line {
  margin: 0 0 6px;
  color: var(--footer-text);
  font-size: 13px;
  line-height: 1.4;
}

.site-footer a {
  color: #cfe4ff;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header__trust {
    width: 100%;
    max-width: 100%;
  }

  .site-header__back {
    width: 100%;
  }

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

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
