:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --ink: #0b0b0c;
  --muted: #4a4a4f;
  --line: #e6e6e8;
  --header: #0a0a0a;
  --silver: #d4d4d8;
  --steel: #2a2a2e;
  --badge: #1f1f22;
  --cta: #155eef;
  --cta-hover: #0f4fd0;
  --danger: #e93d3d;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --radius: 5px;
  --max: 1150px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Montserrat", "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  background: var(--header);
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(212, 212, 216, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.brand-line {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
}

.brand-line--call {
  color: var(--silver);
  font-size: 18px;
}

.hero {
  background: var(--surface);
  padding: 56px 24px 40px;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 10px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #2c2c30 0%, #151517 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-title {
  margin: 0 auto 18px;
  max-width: 18ch;
  font-family: var(--display);
  font-size: clamp(32px, 4.6vw, 53px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-copy {
  margin: 0 auto 34px;
  max-width: 46ch;
  font-size: clamp(16px, 1.7vw, 20px);
  color: var(--muted);
  font-weight: 500;
}

.hero-media {
  margin: 0 auto 28px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 2px;
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.cta {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: var(--cta);
  color: #fff;
  padding: 18px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.cta:hover {
  background: var(--cta-hover);
}

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

.hero-note,
.hero-secure {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-secure {
  margin-top: 6px;
  font-weight: 600;
}

.faq {
  background: var(--surface);
  padding: 72px 24px 90px;
  border-top: 1px solid var(--line);
}

.faq-inner {
  max-width: 1030px;
  margin: 0 auto;
}

.faq-title {
  margin: 0 0 42px;
  text-align: center;
  font-family: var(--font);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 18px 8px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 0;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 500;
  color: var(--muted);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  max-width: 70ch;
}

.site-footer {
  background: var(--header);
  color: #fff;
  padding: 48px 24px 36px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.footer-title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 800;
}

.footer-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.footer-nav a {
  color: var(--silver);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy {
  margin: 0;
  color: #9a9aa0;
  font-size: 14px;
}

.footer-copy a {
  color: var(--silver);
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.55);
}

.modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 28px 24px 24px;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #777;
  cursor: pointer;
}

.apply-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  padding-right: 24px;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: var(--cta);
  background: #f3f7ff;
}

.choice span {
  font-size: 15px;
  font-weight: 500;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  text-align: left;
}

.field span {
  font-size: 14px;
  font-weight: 600;
}

.field input {
  width: 100%;
  border: 1px solid #cfd2d8;
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
}

.field input:focus {
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.15);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.apply-nav {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.apply-next,
.apply-back {
  border: 0;
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.apply-next {
  flex: 1;
  background: var(--cta);
  color: #fff;
}

.apply-next:hover {
  background: var(--cta-hover);
}

.apply-back {
  background: #eee;
  color: var(--ink);
}

.apply-success p {
  color: var(--muted);
  margin: 0 0 18px;
}

.legal-page {
  background: var(--surface);
  min-height: 70vh;
}

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal-wrap h1 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 12px;
}

.legal-wrap .meta {
  color: var(--muted);
  margin-bottom: 28px;
}

.legal-wrap h2 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-header {
    justify-content: center;
    min-height: 88px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-title {
    max-width: none;
  }

  .faq-title {
    text-align: left;
  }
}
