:root {
  --bg: #f8fafc;
  --bg-dark: #0f172a;
  --panel: #ffffff;
  --panel-soft: #eef2ff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #d97706;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  --radius: 24px;
  --radius-sm: 14px;
  --shell: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  word-break: keep-all;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: min(100% - 32px, var(--shell));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section.compact {
  padding-top: 36px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--bg-dark);
  color: #fff;
}

.header-cta {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
}

.hero {
  padding-top: 54px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-grid,
.preview-grid,
.apply-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.hero-lead,
.section-text,
.apply-copy p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.microcopy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  padding: 12px;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-visual img,
.preview-image {
  border-radius: 24px;
  border: 1px solid var(--line);
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 13px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(226, 232, 240, 0.88);
}

.floating-card span {
  color: var(--muted);
  font-size: 12px;
}

.floating-card strong {
  font-size: 16px;
}

.card-cost {
  left: -18px;
  bottom: 46px;
}

.card-days {
  right: -14px;
  top: 48px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.form-card,
.faq-list details {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(15, 23, 42, 0.06);
}

.feature-card {
  padding: 24px;
}

.feature-card p,
.faq-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--panel-soft);
  color: var(--primary);
  font-weight: 900;
}

.preview-section {
  background: #fff;
}

.preview-image {
  width: 100%;
  box-shadow: var(--shadow);
}

.benefits-section {
  background: var(--bg-dark);
  color: #fff;
}

.benefits-section .eyebrow {
  color: #93c5fd;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.benefit-item {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.benefit-item span {
  display: block;
  margin-bottom: 8px;
  color: #cbd5e1;
  font-size: 14px;
}

.benefit-item strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.apply-section {
  background:
    radial-gradient(circle at bottom right, rgba(217, 119, 6, 0.1), transparent 28%),
    var(--bg);
}

.check-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  color: var(--text);
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.form-card {
  padding: 24px;
}

.apply-form label {
  display: block;
  margin: 16px 0 8px;
  font-weight: 800;
}

.apply-form input[type="email"],
.apply-form input[type="text"],
.apply-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  outline: none;
}

.apply-form input:focus,
.apply-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.field-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.agree-row {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.agree-row input {
  margin-top: 4px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.confirm-label {
  color: var(--muted);
  margin-bottom: 12px;
}

.confirm-email {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--panel-soft);
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 900;
  word-break: break-all;
}

.confirm-actions {
  display: grid;
  gap: 10px;
}

.form-error {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--danger);
  font-weight: 700;
  font-size: 14px;
}

.success-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--success);
  font-weight: 900;
  font-size: 28px;
}

.done-box {
  display: grid;
  gap: 6px;
  margin: 20px 0;
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.done-box span {
  color: var(--primary-dark);
  font-weight: 900;
  word-break: break-all;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-top: 12px;
}

.site-footer {
  padding: 36px 0 92px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

.sticky-apply {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  min-height: 56px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.34);
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 28px, 560px);
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-grid,
  .preview-grid,
  .apply-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .feature-grid,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .card-cost {
    left: 8px;
    bottom: 24px;
  }

  .card-days {
    right: 8px;
    top: 24px;
  }

  .sticky-apply {
    display: flex;
  }
}

@media (max-width: 420px) {
  .brand-text {
    max-width: 156px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: 38px;
  }

  .hero-lead,
  .section-text,
  .apply-copy p {
    font-size: 16px;
  }

  .form-card,
  .feature-card {
    padding: 20px;
  }

  .floating-card {
    padding: 10px 12px;
  }
}
