:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background: #ffffff;
  --brand: #ef5b00;
  --brand-dark: #c64600;
  --brand-pale: #fff4ec;
  --line: #e5e7eb;
  --muted: #6b7280;
  --text: #111827;
  --surface: #ffffff;
  --success: #16a34a;
  --danger: #dc2626;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-brand,
.site-header nav,
.hero-actions,
.form-row,
.site-footer {
  display: flex;
  align-items: center;
}

.site-brand {
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  color: var(--brand);
}

.site-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.site-header nav {
  gap: 18px;
  color: #374151;
  font-weight: 700;
}

.site-header nav a:last-child {
  color: var(--brand);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(42px, 8vw, 92px) clamp(20px, 6vw, 96px);
  overflow: hidden;
  background: #ffffff;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/mflogo.jpeg");
  background-repeat: no-repeat;
  background-position: right 8vw center;
  background-size: min(46vw, 520px);
  opacity: 0.12;
  transform: translateX(2%);
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  animation: rise-in 700ms ease both;
}

.eyebrow,
.card-kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 780px;
  color: var(--text);
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 0;
  color: #374151;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-link,
.secondary-link,
.primary-button {
  min-height: 48px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 900;
}

.primary-link,
.primary-button {
  border: 0;
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(239, 91, 0, 0.2);
  cursor: pointer;
}

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

.secondary-link {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
}

.hero-product {
  position: absolute;
  right: clamp(20px, 5vw, 82px);
  bottom: clamp(22px, 6vw, 70px);
  z-index: 3;
  width: min(360px, 36vw);
  pointer-events: none;
  animation: float-in 900ms ease 120ms both;
}

.phone-preview {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  padding: 18px;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.phone-top img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.balance-card {
  margin-top: 18px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 18px;
  background: #fffaf7;
}

.balance-card small,
.balance-card span {
  display: block;
  color: var(--muted);
}

.balance-card strong {
  display: block;
  margin: 4px 0 8px;
  font-size: 36px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.preview-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font-weight: 800;
  background: white;
}

.section {
  padding: 84px clamp(20px, 6vw, 96px);
}

.section-head {
  width: min(780px, 100%);
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.benefit-grid,
.request-chooser {
  display: grid;
  gap: 16px;
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-grid article,
.request-card,
.request-option {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.benefit-grid span {
  color: var(--brand);
  font-weight: 900;
}

.benefit-grid h3,
.request-card h3 {
  margin: 10px 0 8px;
  font-size: 22px;
}

.benefit-grid p,
.request-card p {
  margin: 0;
  color: var(--muted);
}

.request-section {
  border-top: 1px solid var(--line);
}

.request-chooser {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.request-option {
  min-height: 190px;
  display: grid;
  gap: 8px;
  align-content: start;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.request-option:hover,
.request-option.active {
  border-color: var(--brand);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.request-option.active {
  background: #fffaf7;
}

.option-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 900;
}

.request-option strong {
  font-size: 22px;
}

.request-option small {
  color: var(--muted);
  line-height: 1.5;
}

.request-form-shell {
  width: min(820px, 100%);
}

.request-card {
  display: none;
  gap: 14px;
}

.request-card.active {
  display: grid;
  animation: rise-in 320ms ease both;
}

.request-card label {
  display: grid;
  gap: 7px;
  color: #374151;
  font-weight: 700;
}

.request-card input,
.request-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
  color: var(--text);
  resize: vertical;
}

.request-card input:focus,
.request-card textarea:focus {
  outline: 3px solid rgba(239, 91, 0, 0.14);
  border-color: var(--brand);
}

.form-row {
  gap: 12px;
}

.form-row label {
  flex: 1;
}

.request-card output {
  min-height: 22px;
  color: var(--success);
  font-weight: 800;
}

.request-card output.error {
  color: var(--danger);
}

.primary-button[disabled] {
  opacity: 0.55;
  cursor: wait;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--brand);
  font-weight: 900;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .benefit-grid,
  .request-chooser {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-product {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-section::before {
    background-position: right -40px top 24px;
    background-size: 260px;
  }

  .benefit-grid,
  .request-chooser {
    grid-template-columns: 1fr;
  }

  .form-row {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
