/* Fetch Merchant Landing — design tokens & overrides */
:root {
  --navy: #120453;
  --pink: #ff0087;
  --off-white: #f8f8f8;
  --bg: #f8f8f8;
  --muted: #717182;
  --field-bg: #f3f3f5;
}

@font-face {
  font-family: "Codec Pro";
  src: local("Codec Pro"), local("Inter");
  font-weight: 400 900;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Codec Pro", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 32px 0;
}
.site-header .logo { height: 30px; width: 102px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 140px 0 96px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -240px;
  top: 130px;
  width: 900px;
  height: 460px;
  background: linear-gradient(270deg, var(--navy) 0%, var(--pink) 100%);
  border-radius: 280px 0 0 280px;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  margin: 0 0 28px;
  color: var(--off-white);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero h1 .ultra { font-weight: 900; }
.hero p.lead {
  color: var(--off-white);
  font-size: 18px;
  line-height: 1.5;
  max-width: 520px;
  margin: 0 0 36px;
  opacity: 0.95;
}
.hero .hero-art { position: relative; }
.hero .hero-art img { width: 100%; height: auto; max-width: 620px; margin-left: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  background: var(--pink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  box-shadow: 0 10px 24px -10px rgba(255, 0, 135, 0.6);
}
.btn:hover { transform: translateY(-1px); background: #e80079; box-shadow: 0 14px 28px -10px rgba(255, 0, 135, 0.7); }
.btn-lg { padding: 16px 52px; font-size: 20px; }

/* ---------- Section: Why Fetch ---------- */
.why {
  background: var(--bg);
  padding: 96px 0 80px;
}
.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 900;
  margin: 0 0 56px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  max-width: 1000px;
  margin: 0 auto;
}
.why-card { text-align: center; padding: 0 12px; }
.why-card .ico {
  width: 96px; height: 96px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
}
.why-card .ico img { width: 100%; height: 100%; object-fit: contain; }
.why-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--navy);
}
.why-card p {
  font-size: 15px;
  line-height: 1.4;
  color: var(--navy);
  margin: 0;
  max-width: 240px;
  margin: 0 auto;
}

/* ---------- Section: How it works (pink) ---------- */
.how {
  background: var(--pink);
  border-radius: 36px;
  padding: 56px 48px 64px;
  margin: 0 24px;
  color: var(--off-white);
}
.how-wrap { max-width: 1280px; margin: 0 auto; }
.how h2 {
  text-align: center;
  font-size: 38px;
  font-weight: 900;
  margin: 0 0 40px;
  color: var(--off-white);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-step { text-align: center; padding: 0 16px; }
.how-step .num {
  display: inline-flex;
  width: 56px; height: 56px;
  border: 2px solid var(--off-white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 18px;
}
.how-step h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
  text-transform: capitalize;
}
.how-step p { font-size: 14px; line-height: 1.4; opacity: 0.95; margin: 0; }

/* ---------- Section: CTA (navy) ---------- */
.cta {
  background: var(--navy);
  border-radius: 36px;
  padding: 56px 48px;
  margin: 32px 24px 0;
  text-align: center;
  color: var(--off-white);
}
.cta h2 {
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 16px;
}
.cta p { font-size: 17px; opacity: 0.9; margin: 0 0 28px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- FAQ ---------- */
.faq {
  padding: 96px 0;
  background: var(--bg);
}
.faq h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 900;
  margin: 0 0 48px;
  color: var(--navy);
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid #d9d9e3;
}
.faq-item {
  border-bottom: 1px solid #d9d9e3;
}
.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 8px;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 17px;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}
.faq-item .chev {
  flex: 0 0 28px;
  height: 28px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 200ms ease;
}
.faq-item .chev svg { width: 20px; height: 20px; }
.faq-item[aria-expanded="true"] .chev { transform: rotate(90deg); }
.faq-item .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
  font-size: 15px;
  color: #4a5565;
  padding: 0 8px;
}
.faq-item[aria-expanded="true"] .answer {
  max-height: 240px;
  padding: 0 8px 22px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--pink);
  color: #fff;
  padding: 64px 0 40px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--pink));
}
.site-footer .container { max-width: 1280px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.3fr;
  gap: 32px;
  margin-top: 32px;
}
.site-footer h4 {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 6px 0; font-size: 14px; }
.site-footer a:hover { text-decoration: underline; }
.footer-logo { height: 28px; width: 96px; margin-bottom: 12px; }
.app-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.app-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 11px;
  line-height: 1.1;
}
.app-badges .badge strong { font-size: 14px; font-weight: 700; }
.app-badges .badge svg { width: 22px; height: 22px; }

/* ---------- Form page ---------- */
.form-page {
  background: var(--navy);
  min-height: 100vh;
  padding: 64px 16px 80px;
  color: #fff;
}
.form-page .head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}
.form-page .head h1 {
  font-size: 42px;
  font-weight: 900;
  margin: 0 0 16px;
  color: #fff;
}
.form-page .head h1 .accent { color: var(--pink); }
.form-page .head p { font-size: 18px; color: var(--off-white); opacity: 0.85; margin: 0; }

.form-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.97);
  border: 2px solid var(--pink);
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  color: var(--navy);
}
.form-card .card-head {
  background: linear-gradient(90deg, var(--navy) 0%, var(--pink) 100%);
  padding: 22px 28px;
  color: #fff;
}
.form-card .card-head h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.form-card .card-head p { font-size: 14px; margin: 0; opacity: 0.95; }
.form-card .card-body { padding: 28px; }

.section-block { margin-bottom: 32px; }
.section-block h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pink);
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}
.field label .req { color: var(--pink); margin-left: 2px; }
.field label .opt { color: #99a1af; font-weight: 500; margin-left: 4px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--field-bg);
  border: 1px solid rgba(18, 4, 83, 0.3);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--navy);
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23717182' stroke-width='1.5'><path d='m4 6 4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 36px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 0, 135, 0.15); }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.checks {
  background: #f9fafb;
  border: 1px solid rgba(18, 4, 83, 0.2);
  border-radius: 10px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #0a0a0a;
  cursor: pointer;
}
.checks input[type="checkbox"] {
  appearance: none;
  width: 16px; height: 16px;
  background: var(--field-bg);
  border: 1px solid var(--navy);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}
.checks input[type="checkbox"]:checked { background: var(--pink); border-color: var(--pink); }
.checks input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.submit-row { padding-top: 8px; }
.submit-row .btn { width: 100%; padding: 14px; font-size: 16px; }

.terms {
  text-align: center;
  font-size: 13px;
  color: #6a7282;
  padding-top: 14px;
}
.terms a { color: var(--pink); }

.form-page .help {
  text-align: center;
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--off-white);
  font-size: 14px;
  line-height: 1.5;
}
.form-page .help a { color: var(--pink); font-weight: 700; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}
.modal[aria-hidden="false"] { display: flex; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 4, 83, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  background: var(--navy);
  border-radius: 24px;
  padding: 48px 40px 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: modalIn 240ms ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.22); }

.modal-head {
  text-align: center;
  margin-bottom: 24px;
  color: #fff;
}
.modal-head h1 {
  font-size: 38px;
  font-weight: 900;
  margin: 0 0 12px;
  color: #fff;
}
.modal-head h1 .accent { color: var(--pink); }
.modal-head p {
  font-size: 16px;
  margin: 0;
  color: var(--off-white);
  opacity: 0.85;
}
.modal-help {
  text-align: center;
  margin: 20px auto 0;
  color: var(--off-white);
  font-size: 13px;
  line-height: 1.5;
}
.modal-help a { color: var(--pink); font-weight: 700; }

body.modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 120px 0 64px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero::after { display: none; }
  .hero .hero-art img { max-width: 420px; margin: 32px auto 0; }
  .hero h1 { font-size: 44px; }

  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section-title, .faq h2 { font-size: 32px; }
  .how h2, .cta h2 { font-size: 28px; }

  .row-2 { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .form-page .head h1 { font-size: 32px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .form-card .card-body { padding: 20px; }
  .modal-shell { padding: 48px 16px 24px; border-radius: 16px; }
  .modal-head h1 { font-size: 28px; }
}
