/* Flyintake marketing site
   Palette matches the app's header colour (#142b3b) with a signal-orange accent. */
:root {
  --ink: #0f1f2c;
  --navy: #142b3b;
  --navy-2: #1d3a4f;
  --slate: #4a5b69;
  --muted: #6b7a87;
  --line: #e3e8ec;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --accent: #ff6b1a;
  --accent-dark: #e2560a;
  --success: #1f9d6b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 31, 44, .06), 0 8px 24px rgba(15, 31, 44, .08);
  --shadow-lg: 0 30px 60px -20px rgba(15, 31, 44, .35);
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Manrope", "Inter", system-ui, sans-serif;

  /* Photography. Swap these for your own shop photos (e.g. url("../img/hero.jpg")).
     Each photo sits on a gradient, so the layout still looks finished if one fails to load. */
  --img-hero: url("https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=2000&q=70");
  --img-bay: url("https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?auto=format&fit=crop&w=1400&q=70");
  --img-tech: url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1400&q=70");
  --img-counter: url("https://images.unsplash.com/photo-1625047509248-ec889cbff17f?auto=format&fit=crop&w=1400&q=70");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, transform .15s, border-color .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; }
.brand span b { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--slate); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 9px 18px; font-size: .92rem; }
.login-link { text-decoration: none; font-weight: 600; color: var(--ink); font-size: .95rem; padding: 9px 12px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background-color: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(100deg, rgba(12,26,38,.96) 0%, rgba(12,26,38,.85) 45%, rgba(12,26,38,.55) 100%), var(--img-hero), linear-gradient(135deg, #142b3b, #23485f); background-size: cover; background-position: center; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 96px 20px 104px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: rgba(255,255,255,.82); font-size: 1.2rem; }
.hero .eyebrow { color: #ffb48a; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: rgba(255,255,255,.8); font-size: .93rem; }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }

/* Phone mockup (pure CSS so it needs no screenshot) */
.phone { width: 300px; max-width: 100%; margin: 0 auto; background: #0a1520; border-radius: 42px; padding: 12px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08); }
.phone-screen { background: #f4f6f8; border-radius: 32px; overflow: hidden; color: var(--ink); font-size: 12.5px; line-height: 1.4; }
.app-bar { background: var(--navy); color: #fff; padding: 22px 16px 12px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 13px; }
.app-bar small { font-weight: 500; opacity: .7; }
.app-body { padding: 12px; display: grid; gap: 10px; }
.app-card { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.app-card .label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.vin { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; letter-spacing: .04em; }
.chip { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #e8f6f0; color: var(--success); }
.chip.orange { background: #fff0e6; color: var(--accent-dark); }
.corners { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.corner { aspect-ratio: 4/3; border-radius: 8px; background: linear-gradient(135deg, #cfd8df, #9eb0bd); position: relative; overflow: hidden; }
.corner::after { content: attr(data-l); position: absolute; left: 6px; bottom: 4px; font-size: 9px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.corner.c2 { background: linear-gradient(135deg, #c3ccd4, #7f95a5); }
.corner.c3 { background: linear-gradient(135deg, #b8c4cd, #8aa0af); }
.corner.c4 { background: linear-gradient(135deg, #d5dde3, #a3b4c0); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.saved { font-size: 10.5px; color: var(--success); font-weight: 600; }

/* Sections */
section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark p { color: rgba(255,255,255,.78); }
.section-head { margin-bottom: 52px; }

.logos-strip { padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.logos-strip .container { display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: center; align-items: center; }
.logos-strip b { color: var(--ink); font-weight: 600; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--slate); font-size: .97rem; margin: 0; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: #fff0e6; color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: #eef2f5; color: var(--slate); margin-left: 6px; vertical-align: middle; }
.tag.soon { background: #fff0e6; color: var(--accent-dark); }
.tag.live { background: #e8f6f0; color: var(--success); }

.photo { border-radius: var(--radius-lg); min-height: 420px; background-color: var(--navy-2); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.photo-bay { background-image: var(--img-bay), linear-gradient(135deg, #23485f, #142b3b); }
.photo-tech { background-image: var(--img-tech), linear-gradient(135deg, #2b4d63, #142b3b); }
.photo-counter { background-image: var(--img-counter), linear-gradient(135deg, #23485f, #0f1f2c); }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { padding-left: 34px; position: relative; color: var(--slate); }
.checklist li strong { color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff0e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2560a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--accent); display: block; margin-bottom: 10px; }
.step p { font-size: .95rem; margin: 0; }

/* SMS + status mockups */
.sms { max-width: 360px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; font-size: .92rem; }
.sms-head { text-align: center; font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.sms-head small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.bubble { background: #eef1f4; border-radius: 18px 18px 18px 4px; padding: 10px 14px; margin-bottom: 10px; max-width: 88%; }
.bubble.out { background: #2f7cf6; color: #fff; border-radius: 18px 18px 4px 18px; margin-left: auto; }
.bubble a { color: inherit; font-weight: 600; }

.status-page { max-width: 380px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); }
.status-top { background: var(--navy); color: #fff; padding: 22px; }
.status-top p { margin: 0; color: rgba(255,255,255,.75) !important; font-size: .88rem; }
.status-top h3 { margin: 4px 0 0; }
.timeline { list-style: none; margin: 0; padding: 22px; }
.timeline li { position: relative; padding: 0 0 18px 30px; font-size: .92rem; color: var(--slate) !important; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 19px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--success); }
.timeline li.now::before { background: var(--accent); box-shadow: 0 0 0 4px #ffe1cf; }
.timeline li b { color: var(--ink); display: block; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); margin: 12px 0 0; }

/* CTA band */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 72px 48px; color: #fff; background-color: var(--navy); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(12,26,38,.95), rgba(12,26,38,.7)), var(--img-bay), linear-gradient(135deg, #142b3b, #23485f); background-size: cover; background-position: center; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; }

/* Page header for inner pages */
.page-hero { background: var(--bg-soft); padding: 80px 0 64px; border-bottom: 1px solid var(--line); }

/* Feature detail blocks */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.feature-block:last-child { border-bottom: 0; }
.feature-block.flip > :first-child { order: 2; }
.feature-visual { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 36px; min-height: 300px; display: grid; place-items: center; }

/* Blog */
.cat-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.cat-list a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .9rem; color: var(--slate); font-weight: 500; background: #fff; }
.cat-list a:hover, .cat-list a.active { border-color: var(--navy); color: var(--ink); }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card .thumb { aspect-ratio: 16/9; border-radius: var(--radius); margin-bottom: 18px; background-size: cover; background-position: center; background-color: var(--navy-2); }
.post-card h3 { margin-bottom: 8px; }
.post-card:hover h3 { color: var(--accent-dark); }
.post-meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.post-card.planned { opacity: .85; }
.article { max-width: 740px; margin: 0 auto; padding: 72px 20px 40px; }
.article h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
.article h2 { font-size: 1.6rem; margin-top: 2em; }
.article h3 { margin-top: 1.6em; }
.article p, .article li { color: #2c3d4b; font-size: 1.06rem; }
.article li { margin-bottom: .5em; }
.article .post-meta { margin-bottom: 18px; }
.callout { background: var(--bg-soft); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 28px 0; }
.callout p:last-child { margin: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .96rem; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--bg-soft); }

/* Footer */
.site-footer { background: #0b1823; color: rgba(255,255,255,.7); padding: 64px 0 32px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .grid-2, .feature-block { grid-template-columns: 1fr; gap: 40px; }
  .feature-block.flip > :first-child { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo { min-height: 300px; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .nav-cta .btn { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .hero-inner { padding: 64px 16px 72px; }
  .grid-3, .steps, .roadmap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; }
  .feature-visual { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
