:root {
  --bg: #090b10;
  --text: #f6f3ec;
  --muted: #8e939c;
  --faint: #5d636d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --gold: #e6c36a;
  --gold-bright: #f3d48a;
  --ink: #1a1408;
  --sheet: #141820;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: #050608;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font-family: inherit;
}

.phone {
  position: relative;
  width: min(390px, 100%);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background:
    radial-gradient(420px 280px at 100% -8%, rgba(230, 195, 106, 0.12), transparent 60%),
    var(--bg);
}

.page {
  padding: 28px 22px 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
}

.brand svg {
  display: block;
}

.wordmark {
  font-size: 15px;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--gold);
}

h1 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.field {
  display: block;
  margin-top: 22px;
}

.field span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.control {
  position: relative;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 16px;
  outline: none;
}

input::placeholder {
  color: var(--faint);
}

input:focus {
  border-color: var(--gold);
}

.ghost {
  position: absolute;
  top: 0;
  right: 4px;
  height: 52px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.agree input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex: none;
}

.submit {
  width: 100%;
  height: 52px;
  margin-top: 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.submit:active {
  transform: translateY(1px);
}

.about {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.about p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.about ul {
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.about li {
  position: relative;
  padding: 8px 0 8px 16px;
  color: var(--text);
  font-size: 14px;
}

.about li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.overlay {
  position: fixed;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(390px, 100%);
  display: flex;
  align-items: flex-end;
  background: rgba(0, 0, 0, 0.62);
  transform: translateX(-50%);
}

.overlay[hidden] {
  display: none;
}

.sheet {
  width: 100%;
  max-height: 92%;
  padding: 12px 22px 28px;
  overflow: auto;
  border-radius: 22px 22px 0 0;
  background: var(--sheet);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}

.handle {
  width: 36px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sheet h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.sheet .lead {
  margin-top: 8px;
}

.steps {
  margin-top: 22px;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(230, 195, 106, 0.5);
  color: var(--gold);
  font-size: 13px;
  display: grid;
  place-items: center;
  flex: none;
}

.steps strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.steps p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 58px;
  margin-top: 22px;
  border-radius: 12px;
  background: #f4f1ea;
  color: #111;
  text-decoration: none;
}

.store small {
  display: block;
  font-size: 11px;
}

.store strong {
  display: block;
  margin-top: 1px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.note {
  margin-top: 12px;
  color: var(--faint);
  font-size: 12px;
  text-align: center;
}
