/* ============================================================
   Accelerated Self Loans LLC — style.css
   Palette (red-forward):
     --ink        #1C0E0E  warm near-black
     --oxblood    #3A0C0C  deep grounding red
     --red        #C81E1E  primary signal red
     --red-bright #EE3124  accent / motion
     --paper      #FBF5F2  warm off-white
     --warm-gray  #8A716C  muted text
   ============================================================ */

:root {
  --ink: #1c0e0e;
  --oxblood: #3a0c0c;
  --oxblood-deep: #260606;
  --red: #c81e1e;
  --red-bright: #ee3124;
  --paper: #fbf5f2;
  --paper-2: #f4e8e3;
  --card: #ffffff;
  --warm-gray: #8a716c;
  --line: rgba(58, 12, 12, 0.12);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 14px;
}

/* ---------- Reset-ish base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Brand / logo (text only) ---------- */
.brand,
.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-chevrons {
  color: var(--red-bright);
  font-weight: 800;
  font-style: normal;
  transform: skewX(-8deg);
  display: inline-block;
}

.brand-name { font-size: 1.18rem; line-height: 1; }
.brand-name-light { font-weight: 600; opacity: 0.78; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 242, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.main-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  color: var(--ink);
  padding: 4px 0;
  transition: color 0.18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red-bright);
  transition: width 0.22s ease;
}

.main-nav a:hover { color: var(--red); }
.main-nav a:hover::after { width: 100%; }

/* Buttons */
.btn-accel {
  --pad: 13px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: var(--red);
  padding: var(--pad);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 22px -10px rgba(200, 30, 30, 0.7);
  transition: transform 0.16s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-accel:hover {
  background: var(--red-bright);
  transform: translateX(3px);
  box-shadow: 0 12px 26px -10px rgba(238, 49, 36, 0.8);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--oxblood);
  padding: 13px 14px;
  transition: gap 0.18s ease, color 0.18s ease;
}
.btn-ghost:hover { color: var(--red); gap: 12px; }

.header-cta { padding: 10px 22px; }

/* mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--oxblood);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child {
  border: none;
  margin-top: 10px;
  align-self: flex-start;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(238, 49, 36, 0.14), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, #fdf8f6 100%);
  padding: 96px 0 104px;
}

.hero-inner { position: relative; z-index: 2; max-width: 920px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  margin: 0 0 26px;
  color: var(--ink);
}

.word-accel {
  display: inline-block;
  font-style: italic;
  color: var(--red);
  transform: skewX(-6deg);
  position: relative;
  padding-right: 6px;
}
.word-accel::after {
  content: "";
  position: absolute;
  left: 0; right: 6px; bottom: 0.08em;
  height: 0.12em;
  background: linear-gradient(90deg, var(--red-bright), transparent);
  transform: skewX(-6deg);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--warm-gray);
  max-width: 640px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Speed lines — the signature motion motif */
.speed-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.speed-line {
  position: absolute;
  right: -40%;
  height: 3px;
  width: 46%;
  background: linear-gradient(90deg, transparent, rgba(238, 49, 36, 0.55));
  border-radius: 3px;
  transform: skewX(-22deg);
  animation: dash 4.5s linear infinite;
  opacity: 0.5;
}
.speed-line:nth-child(1) { top: 18%; width: 40%; animation-duration: 5.2s; }
.speed-line:nth-child(2) { top: 33%; width: 54%; animation-duration: 3.8s; opacity: 0.35; }
.speed-line:nth-child(3) { top: 52%; width: 36%; animation-duration: 4.6s; }
.speed-line:nth-child(4) { top: 68%; width: 60%; animation-duration: 3.2s; opacity: 0.28; }
.speed-line:nth-child(5) { top: 84%; width: 44%; animation-duration: 5.6s; opacity: 0.4; }

@keyframes dash {
  0%   { transform: translateX(0) skewX(-22deg); }
  100% { transform: translateX(-180%) skewX(-22deg); }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section { padding: 92px 0; }

.section-marker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--red);
  margin: 0 0 16px;
}
.section-marker.light { color: #ff8e85; }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin: 0 0 8px;
  color: var(--ink);
}
.section-title.light { color: var(--paper); }

.lede {
  font-size: 1.18rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 18px;
}

/* ---------- About ---------- */
.about { background: var(--paper); }

.value-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.value {
  border-top: 2px solid var(--line);
  padding-top: 18px;
}
.value-mark {
  color: var(--red-bright);
  font-family: var(--font-display);
  font-weight: 800;
  display: inline-block;
  transform: skewX(-8deg);
  margin-bottom: 6px;
}
.value h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.value p { margin: 0; color: var(--warm-gray); font-size: 0.97rem; }

/* ---------- Services (dark red band) ---------- */
.services {
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(238, 49, 36, 0.16), transparent 60%),
    linear-gradient(165deg, var(--oxblood) 0%, var(--oxblood-deep) 100%);
  color: var(--paper);
}
.services-head { max-width: 680px; margin-bottom: 46px; }
.section-intro.light { color: rgba(251, 245, 242, 0.74); font-size: 1.1rem; }

.service-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.service-card:hover {
  transform: translateY(-6px) translateX(4px);
  border-color: rgba(238, 49, 36, 0.55);
  background: rgba(238, 49, 36, 0.08);
}
.service-chevron {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--red-bright);
  transform: skewX(-8deg);
  margin-bottom: 14px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: #fff;
}
.service-card p { margin: 0; color: rgba(251, 245, 242, 0.72); font-size: 0.97rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }

.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  transition: color 0.18s ease;
}
.faq-q:hover { color: var(--red); }

.faq-icon {
  position: relative;
  flex: none;
  width: 18px; height: 18px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--red);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2.5px; }
.faq-icon::after  { left: 8px; top: 0; width: 2.5px; height: 18px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); opacity: 0; }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-a p {
  margin: 0;
  padding: 0 50px 24px 4px;
  color: var(--warm-gray);
}

/* ---------- Contact ---------- */
.contact { background: var(--paper); padding-bottom: 96px; }
.contact-shell {
  background:
    radial-gradient(700px 420px at 90% 10%, rgba(238, 49, 36, 0.22), transparent 60%),
    linear-gradient(160deg, var(--red) 0%, var(--oxblood) 100%);
  color: #fff;
  border-radius: 26px;
  padding: 54px 46px;
  box-shadow: 0 30px 60px -34px rgba(58, 12, 12, 0.7);
}
.contact-lede.light { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; }

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contact-details li { display: flex; flex-direction: column; gap: 3px; }
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
}
.contact-details a,
.contact-details li > span:last-child {
  font-size: 1.05rem;
  font-weight: 500;
}
.contact-details a { border-bottom: 1px solid rgba(255,255,255,0.4); width: fit-content; transition: border-color 0.2s ease; }
.contact-details a:hover { border-color: #fff; }

/* form */
.contact-form {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  padding: 28px 26px;
  display: grid;
  gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--oxblood);
  letter-spacing: 0.02em;
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  resize: vertical;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #b8a39d; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 30, 30, 0.15);
}
.form-submit { width: 100%; margin-top: 4px; }
.form-note {
  margin: 2px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  min-height: 1.1em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--oxblood-deep);
  color: rgba(251, 245, 242, 0.7);
  padding-top: 52px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 26px 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { color: #fff; font-size: 1.05rem; }
.footer-brand .brand-name-light { opacity: 0.7; }

.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-left: auto;
  font-weight: 500;
}
.footer-nav a { transition: color 0.18s ease; }
.footer-nav a:hover { color: var(--red-bright); }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  width: 100%;
}
.footer-meta a:hover { color: #fff; }

.footer-bottom {
  padding: 22px 24px;
  font-size: 0.86rem;
  color: rgba(251, 245, 242, 0.5);
}
.footer-bottom p { margin: 0; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 68px 0; }
  .hero { padding: 70px 0 78px; }
  .contact-shell { padding: 40px 26px; }
  .footer-nav { margin-left: 0; width: 100%; }
}

@media (min-width: 760px) {
  .value-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--red-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .speed-line { display: none; }
}
