/* ============================================================
   Colour palette based on Amazon's public brand colours.
   No Amazon logos or Amazon fonts are used.
   ============================================================ */
:root {
  --ink: #131921;          /* darkest navy (header) */
  --squid: #232F3E;        /* squid ink (sections, footer) */
  --squid-2: #37475A;      /* lighter navy (borders on dark bg) */
  --orange: #FF9900;       /* primary accent */
  --orange-dark: #E88B00;
  --orange-soft: #FEBD69;
  --bg: #FFFFFF;
  --bg-alt: #F3F4F6;
  --text: #0F1111;
  --muted: #565959;
  --line: #D5D9D9;
  --success: #067D62;
  --danger: #B12704;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(15, 17, 17, .12);
  --max: 1160px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }


/* ---------- Header ---------- */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 15px; color: #E3E6E6; }
.nav-links a:hover { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px; border-radius: 999px; border: 0;
  padding: 14px 28px; cursor: pointer; text-decoration: none; transition: background .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: #fff; border: 2px solid var(--squid-2); }
.btn-outline:hover { border-color: var(--orange); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--ink) 0%, var(--squid) 70%); color: #fff; padding: 96px 0 88px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -180px; bottom: -220px; width: 560px; height: 560px;
  border-radius: 50%; border: 70px solid rgba(255, 153, 0, .08);
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); background: rgba(255, 153, 0, .12); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; }
.hero h1 span { color: var(--orange); }
.hero p.lead { font-size: 19px; color: #D5D9D9; max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }


/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--squid); color: #fff; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); font-size: 18px; }
.section-dark .section-head p { color: #D5D9D9; }
.kicker { color: var(--orange-dark); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; display: block; }

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

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 153, 0, .14); color: var(--orange-dark);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }

.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { padding-left: 32px; position: relative; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131921' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.panel-dark { background: var(--ink); color: #fff; border-radius: 16px; padding: 36px; }
.panel-dark h3 { color: var(--orange); }
.req-list { list-style: none; padding: 0; margin: 0; }
.req-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--squid-2); }
.req-list li:last-child { border-bottom: 0; }
.req-list strong { color: var(--orange-soft); min-width: 22px; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: var(--ink); font-weight: 800; display: grid; place-items: center;
}

.cta-band { background: var(--orange); color: var(--ink); padding: 64px 0; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); }
.cta-band .btn { background: var(--ink); color: #fff; }
.cta-band .btn:hover { background: var(--squid); }


/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C7CBCB; font-size: 14px; padding: 48px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--squid-2); margin-bottom: 24px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--orange); }
.footer-legal { font-size: 12.5px; color: #9AA0A0; }
.footer-legal p { margin-bottom: 8px; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 17, 17, .62); z-index: 100;
  display: none; align-items: flex-start; justify-content: center; padding: 48px 16px; overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff; width: 100%; max-width: 520px; border-radius: 14px; box-shadow: var(--shadow);
  position: relative; animation: pop .18s ease-out;
}
@keyframes pop { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { background: var(--ink); color: #fff; padding: 22px 28px; border-radius: 14px 14px 0 0; }
.modal-head h2 { font-size: 21px; margin: 0; }
.modal-head p { margin: 4px 0 0; color: #C7CBCB; font-size: 14px; }
.modal-body { padding: 26px 28px 28px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  background: transparent; border: 0; color: #fff; font-size: 24px; cursor: pointer; line-height: 1;
}
.modal-close:hover { background: var(--squid-2); }
.progress { display: flex; gap: 6px; margin-top: 14px; }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--squid-2); }
.progress i.on { background: var(--orange); }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field select {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #888C8C;
  border-radius: 8px; background: #fff; color: var(--text);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 153, 0, .3); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.field .error { font-size: 13px; color: var(--danger); margin-top: 4px; display: none; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.yn { margin: 0 0 14px; }
.yn-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.yn-q { font-weight: 600; font-size: 15px; }
.yn-opts { display: flex; gap: 6px; flex-shrink: 0; }
.yn-opts input { position: absolute; opacity: 0; pointer-events: none; }
.yn-opts label {
  padding: 7px 16px; border: 1px solid #888C8C; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; margin: 0;
}
.yn-opts input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.yn-opts input:focus-visible + label { box-shadow: 0 0 0 3px rgba(255, 153, 0, .45); }
.yn.invalid .yn-row { border-color: var(--danger); }
.yn .error { font-size: 13px; color: var(--danger); margin-top: 4px; display: none; }
.yn.invalid .error { display: block; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--orange-dark); flex-shrink: 0; }
.consent.invalid { color: var(--danger); }
.consent a { color: #007185; }

.form-error { font-size: 14px; color: var(--danger); background: #FBE9E5; border-radius: 8px; padding: 10px 14px; margin: 12px 0 0; }
.form-error a { color: inherit; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* Loading + results */
.loading { text-align: center; padding: 28px 0 12px; }
.spinner {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 22px;
  border: 5px solid var(--bg-alt); border-top-color: var(--orange); animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-steps { list-style: none; padding: 0; margin: 18px auto 0; max-width: 300px; text-align: left; font-size: 14px; color: var(--muted); }
.loading-steps li { padding: 4px 0 4px 26px; position: relative; opacity: .35; transition: opacity .25s; }
.loading-steps li.done { opacity: 1; color: var(--text); }
.loading-steps li::before { content: "•"; position: absolute; left: 8px; }
.loading-steps li.done::before { content: "✓"; left: 4px; color: var(--success); font-weight: 800; }

.result-icon { width: 64px; height: 64px; border-radius: 50%; margin: 4px auto 18px; display: grid; place-items: center; }
.result-icon.ok { background: #E3F4EF; color: var(--success); }
.result-icon.no { background: #FBE9E5; color: var(--danger); }
.result-icon svg { width: 32px; height: 32px; }
.result { text-align: center; }
.result h3 { font-size: 22px; }
.result p { color: var(--muted); }
.job-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 24px; text-align: left; }
.job-type { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.job-type strong { display: block; }
.job-type span { font-size: 13px; color: var(--muted); }
.badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: #E3F4EF; color: var(--success); padding: 3px 8px; border-radius: 999px; margin-bottom: 6px; }

.link-btn { background: none; border: 0; color: #007185; font: inherit; font-size: 14px; cursor: pointer; padding: 8px; margin-top: 8px; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 88px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { color: #333; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }
.legal .notice { background: #FFF4CC; border: 1px solid #F0D98A; border-radius: 8px; padding: 14px 18px; font-size: 14px; color: #6B4E00; margin-bottom: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .split { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 60px; }
  .hero-actions .btn { width: 100%; }
  .row-2, .job-types { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 16px 10px; }
  .modal-head, .modal-body { padding-left: 20px; padding-right: 20px; }
  .yn-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; white-space: nowrap; }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 14px rgba(255, 153, 0, .28); transition: transform .2s; }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.04); }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-text { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.logo-text b { color: var(--orange); font-weight: 800; margin-left: 1px; }
.logo-sub { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #9AA5B1; margin-top: 4px; }

/* ---------- Highlights (overlaps the hero) ---------- */
.hero { padding-bottom: 132px; }
.highlights { position: relative; z-index: 2; margin-top: -64px; }
.highlights-card {
  list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(15, 17, 17, .16);
  max-width: calc(var(--max) - 40px); overflow: hidden; border-top: 4px solid var(--orange);
}
.hl { display: flex; align-items: center; gap: 14px; padding: 26px 24px; border-left: 1px solid var(--line); }
.hl:first-child { border-left: 0; }
.hl strong { display: block; font-size: 16px; }
.hl small { display: block; color: var(--muted); font-size: 13.5px; }
.hl-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 153, 0, .14); color: var(--orange-dark);
}
.hl-icon svg { width: 22px; height: 22px; }
.highlights + section { padding-top: 96px; }

/* ---------- Contact (compact) ---------- */
.contact-slim { padding: 56px 0; background: var(--bg-alt); }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact-row h2 { font-size: clamp(24px, 3vw, 30px); margin: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--orange-dark); }

/* ---------- Small screens ---------- */
.nav .btn-sm { white-space: nowrap; gap: .3em; }
@media (max-width: 900px) {
  .highlights-card { grid-template-columns: 1fr 1fr; margin: 0 20px; width: auto; }
  .hl:nth-child(3) { border-left: 0; }
  .hl:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .nav { height: 64px; }
  .logo { gap: 9px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-text { font-size: 18px; }
  .logo-sub { display: none; }
  .nav .btn-sm { padding: 8px 14px; font-size: 13px; }
  .highlights-card { grid-template-columns: 1fr; margin: 0 16px; }
  .hl { border-left: 0; padding: 18px 20px; }
  .hl + .hl { border-top: 1px solid var(--line); }
  .contact-slim { padding: 44px 0; }
}
@media (max-width: 380px) {
  .nav .btn-sm .long { display: none; }
}

/* Application: intro, eligibility result */
.form-intro { margin: 0 0 18px; padding: 12px 14px; border-radius: 8px; background: #FFF6E5; border-left: 4px solid var(--orange); font-size: 14.5px; font-weight: 600; }
.next-steps { list-style: none; counter-reset: ns; padding: 0; margin: 20px 0 24px; text-align: left; }
.next-steps li { counter-increment: ns; position: relative; padding: 12px 14px 12px 56px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.next-steps li::before { content: counter(ns); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.next-steps strong { display: block; }
.next-steps span { font-size: 13.5px; color: var(--muted); }
.unmet-list { text-align: left; max-width: 320px; margin: 0 auto 16px; color: var(--muted); font-size: 14.5px; }
