/* Публичная страница заявки: отдельная, без интерфейса приложения. */
[hidden] { display: none !important; }

.apply-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(16, 185, 129, .10), transparent 60%),
    var(--paper);
  color: var(--ink);
}
.apply-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .86);
}
.apply-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.apply-brand img { display: block; width: 150px; height: auto; }
.apply-back {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.apply-back:hover { color: var(--ink); }

.apply-main { padding: 64px 0 80px; }
.apply-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.apply-grid > * { min-width: 0; }
.apply-copy { padding-top: 12px; }
.apply-copy h1 {
  margin: 10px 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.apply-lead {
  max-width: 460px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.apply-points {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.apply-points li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}
.apply-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--emerald);
  border-bottom: 2px solid var(--emerald);
  transform: rotate(-45deg);
}
.apply-contact {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.apply-contact span { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.apply-contact a { color: var(--emerald-deep); font-weight: 600; text-decoration: none; }
.apply-contact a:hover { text-decoration: underline; }

.apply-card {
  min-width: 0;
  width: 100%;
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .08);
}
.apply-card h2 {
  margin: 0 0 6px;
  font-size: 23px;
  letter-spacing: -.015em;
}
.apply-hint { margin: 0 0 22px; font-size: 12.5px; color: var(--muted); }

.apply-form { display: grid; gap: 8px; }
.apply-form label {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.apply-form input[type="text"],
.apply-form input[type="tel"],
.apply-form input[type="email"],
.apply-form textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #FBFCFE;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.apply-form input:focus,
.apply-form textarea:focus {
  outline: 2px solid rgba(16, 185, 129, .35);
  border-color: var(--emerald);
}
.apply-form textarea { resize: vertical; min-height: 84px; }
.apply-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.apply-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 12.2px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}
.apply-consent input { margin-top: 3px; flex: none; }
.apply-consent a { color: var(--emerald-deep); }
.apply-submit { width: 100%; margin-top: 8px; }
.apply-small { margin: 8px 0 0; font-size: 11.5px; line-height: 1.5; color: #8595A8; }
.apply-error {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: #FEF2F2;
  color: #B91C1C;
  font-size: 12.5px;
  line-height: 1.5;
}
.apply-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ECFDF5;
  color: #065F46;
  font-size: 13px;
  line-height: 1.55;
}
.apply-notice.is-stopped { background: #FFF7ED; color: #9A3412; }
.apply-success { padding: 8px 0; }
.apply-success h2 { margin-bottom: 10px; }
.apply-success p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.apply-success .btn { margin-top: 16px; }

.apply-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.apply-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.apply-footer a { color: var(--muted); text-decoration: none; }
.apply-footer a:hover { color: var(--ink); }

/* Политика: обычный документ, без формы. */
.legal-doc { max-width: 780px; }
.legal-doc h1 {
  margin: 8px 0 6px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.legal-date { margin: 0 0 30px; font-size: 12px; color: var(--muted); }
.legal-doc h2 {
  margin: 28px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}
.legal-doc p,
.legal-doc li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.legal-doc ul { padding-left: 20px; }
.legal-doc a { color: var(--emerald-deep); }

@media (max-width: 900px) {
  .apply-grid { grid-template-columns: 1fr; gap: 34px; }
  .apply-copy { padding-top: 0; }
  .apply-lead { max-width: none; }
}
@media (max-width: 560px) {
  .apply-main { padding: 38px 0 52px; }
  .apply-card { padding: 24px 20px; border-radius: 18px; }
  .apply-header-inner { min-height: 66px; }
  .apply-brand img { width: 128px; }
}
