:root {
  --orange: #ff9900;
  --orange-deep: #e47911;
  --navy: #232f3e;
  --ink: #0f1111;
  --muted: #565959;
  --line: #d5d9d9;
  --bg: #f5f6f6;
  --panel: #eaeded;
  --white: #ffffff;
  --link: #007185;
  --font: Arial, Helvetica, sans-serif;
  --error: #b12704;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  background: #d5d9d9;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem 2rem;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.page {
  width: min(100%, 560px);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(15, 17, 17, 0.06);
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 2.5rem);
  min-height: calc(100dvh - 2.5rem);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
  border-bottom: 1px solid #eee;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
  color: inherit;
}

.brand__name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.brand__smile {
  display: block;
  margin-top: 2px;
  width: 92px;
  height: auto;
}

.official {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
}

.card {
  padding: 1.75rem 1.35rem 1.5rem;
  flex: 1;
}

h1 {
  margin: 0 0 0.55rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

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

.checks {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  user-select: none;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--orange-deep);
  flex-shrink: 0;
}

.fields {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.field input {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #888c8c;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.field input:focus {
  border-color: var(--orange-deep);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.35);
}

.field input.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(177, 39, 4, 0.15);
}

.hint {
  margin: 0 0 1.35rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

.error {
  display: none;
  margin: -0.55rem 0 1rem;
  font-size: 0.84rem;
  color: var(--error);
  font-weight: 700;
}

.error.is-visible {
  display: block;
}

.next {
  margin-bottom: 1.25rem;
}

.next h2 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.steps__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.security {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.95rem 1rem;
  margin-bottom: 1.2rem;
}

.security__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.security__head svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.security__head strong {
  font-size: 0.95rem;
}

.security p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

.btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7ca73 0%, var(--orange) 100%);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
}

.btn:hover:not(:disabled) {
  filter: brightness(0.98);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.terms {
  display: block;
  margin-top: 0.95rem;
  text-align: center;
  color: var(--link);
  font-size: 0.88rem;
  text-decoration: none;
  cursor: default;
}

.footer {
  padding: 1rem 1.35rem 1.25rem;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 0.72rem;
  color: #999;
  line-height: 1.4;
}

@media (max-width: 560px) {
  body {
    padding: 0;
    background: var(--white);
  }

  .page {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    box-shadow: none;
  }

  h1 {
    font-size: 1.45rem;
  }
}
