/* FixAm website — shared styles */
:root {
  --blue: #1e4fd8;
  --blue-dark: #14328f;
  --navy: #0f2a78;
  --blue-soft: #eaf0ff;
  --blue-tint: #f3f6ff;
  --orange: #f59e0b;
  --orange-text: #92400e;
  --orange-soft: #fff4de;
  --green: #16a34a;
  --green-soft: #e3f4ea;
  --ink: #0b1736;
  --body: #3a4a6b;
  --muted: #56627a;
  --line: #e3e8f2;
  --ground: #f5f7fc;
  --white: #ffffff;
  --radius: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 6vw, 58px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; color: var(--body); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.lead { font-size: 18px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 22px; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.logo b { color: #d97706; }
.nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--body); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--blue); }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-light { background: var(--white); color: var(--blue-dark); }
.btn-ghost { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink); border: 1px solid #d5dcea; }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: 14px; color: var(--white); }

/* Hero */
.hero { padding: 0; background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.06); }
.hero::before { width: 520px; height: 520px; right: -160px; top: -200px; }
.hero::after { width: 380px; height: 380px; left: -160px; bottom: -220px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: var(--white); }
.hero p { color: #d6e1ff; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.12); color: var(--white); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 13px; color: #c9d6ff; margin-top: 14px; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; } .phone { margin: 0 auto; } }

/* Phone mock */
.phone { width: 300px; max-width: 100%; background: var(--ink); border-radius: 40px; padding: 12px; box-shadow: 0 30px 60px rgba(8, 20, 60, 0.35); }
.screen { background: var(--ground); border-radius: 30px; overflow: hidden; color: var(--ink); }
.screen-top { background: var(--blue); color: var(--white); padding: 22px 18px 18px; }
.screen-top small { color: #d6e1ff; font-size: 12px; }
.screen-top strong { display: block; font-size: 19px; margin-top: 2px; }
.search { background: var(--white); color: var(--muted); border-radius: 12px; padding: 10px 12px; font-size: 13px; margin-top: 12px; }
.screen-body { padding: 14px; display: grid; gap: 10px; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cat { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px 4px; text-align: center; font-size: 10.5px; font-weight: 700; }
.cat .ic { display: block; margin: 0 auto 4px; width: 20px; height: 20px; color: var(--blue); }
.offer { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; gap: 10px; align-items: center; font-size: 12px; }
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); display: grid; place-items: center; font-weight: 800; font-size: 12px; flex: none; }
.offer b { display: block; font-size: 13px; }
.offer .price { margin-left: auto; font-weight: 800; color: var(--blue-dark); font-size: 13px; }
.escrow { background: var(--blue-dark); color: var(--white); border-radius: 14px; padding: 12px; font-size: 12px; }
.escrow b { display: block; font-size: 13.5px; }

/* Sections */
section { padding: 84px 0; }
.alt { background: var(--ground); }
.center { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: center; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 16px; }
.icon.orange { background: var(--orange-soft); color: #b45309; }
.icon.green { background: var(--green-soft); color: var(--green); }
.icon svg { width: 24px; height: 24px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; color: var(--body); }
.checks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; background: #4ade80; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.services { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.service { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 15px; }
.service.soon { color: var(--muted); font-weight: 600; }
.service svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service.soon svg { stroke: var(--muted); }
.split-card { border-radius: 28px; padding: 36px; }
.split-card.blue { background: var(--blue); color: var(--white); }
.split-card.blue p, .split-card.blue li { color: #d6e1ff; }
.split-card.blue h2 { color: var(--white); }
.split-card.orange { background: var(--orange-soft); }
.money { display: grid; gap: 10px; margin-top: 8px; }
.money div { display: flex; justify-content: space-between; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.money div span:last-child { color: var(--blue-dark); font-weight: 800; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--blue); font-weight: 800; font-size: 20px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 12px 0 0; }

/* Contact & footer */
.contact { display: grid; gap: 14px; }
.contact div { display: flex; gap: 12px; align-items: flex-start; }
.contact strong { display: block; }
.cta-band { background: var(--navy); color: var(--white); border-radius: 28px; padding: 44px; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c9d6ff; }
.site-footer { background: var(--ink); color: #b9c3d9; padding: 48px 0 32px; font-size: 14.5px; }
.site-footer a { color: #e4eaf7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); margin: 0 0 12px; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .logo { color: var(--white); margin-bottom: 12px; }
.legal-line { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 32px; padding-top: 20px; font-size: 13px; }

/* Legal pages */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc p, .doc li { color: var(--body); }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.box { background: var(--blue-tint); border: 1px solid #d6e1ff; border-radius: 16px; padding: 18px 20px; margin: 20px 0; }
.box p:last-child { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--ground); font-weight: 700; }
@media (max-width: 600px) { table { font-size: 13.5px; } th, td { padding: 8px; } }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

/* Full FixAm logo (wordmark with tools) */
.logo img.logo-full { width: auto; height: 44px; border-radius: 0; display: block; }
.site-footer .logo img.logo-full { height: 36px; }
@media (max-width: 480px) { .logo img.logo-full { height: 34px; } }

/* Line icons (replace emojis) */
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.15em; }
.pill .ic { width: 14px; height: 14px; stroke-width: 3; }
.ic.verified { color: var(--blue); width: 14px; height: 14px; }
.ic.star { fill: var(--orange); stroke: var(--orange); stroke-width: 1; width: 12px; height: 12px; vertical-align: -0.1em; }
.escrow b .ic { width: 15px; height: 15px; }
.contact-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); flex: none; }
.contact-ic .ic { width: 18px; height: 18px; }
.services-more { text-align: center; margin: 22px auto 0; color: var(--muted); font-weight: 600; font-size: 16px; }

/* Careers */
.roles { display: grid; gap: 12px; margin-top: 16px; }
.role { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.role .icon { margin: 0; flex: none; }
.role h3 { margin: 0; font-size: 17px; }
.role p { margin: 4px 0 0; }
.role-where { color: var(--blue); font-weight: 700; font-size: 13.5px; }

.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); color: #ffffff; }
.socials a:hover { background: var(--blue); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
