/* PavingFlow landing page
   Layout reference: amperos.com (slim nav, hero card, trusted row, split rows with floating cards).
   Brand: PavingFlow Brand Manual v1.0 (Oct 2026). Colors p.10-11, pairings p.12, type p.13. */

:root {
  --asphalt-black: #0B0B0B;  /* primary ground */
  --line-yellow:   #FFDE17;  /* accent, about a tenth of the layout */
  --white:         #FFFFFF;
  --asphalt:  #2B2B2B;       /* lines, borders, frames */
  --graphite: #555555;       /* Graphite on White 7.5:1 */
  --concrete: #A8A8A8;       /* Concrete on Asphalt Black 8.3:1 */
  --fog:      #ECECEC;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --r-lg: 24px;
  --r-md: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-weight: 500;
  font-size: 16px; line-height: 1.6;
  color: var(--white); background: var(--asphalt-black);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { justify-content: center; text-align: center; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 900; margin: 0 0 16px; line-height: 1.08; }
h1 { font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.02em; }
h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 8px; }
p { margin: 0 0 16px; }
.label {
  font-weight: 800; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--line-yellow); margin: 0 0 14px;
}
.light .label { color: var(--asphalt-black); }
.muted { color: var(--concrete); }

/* Closing mark: yellow square period. On light grounds it gets a black outline (p.12). */
.period {
  display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.08em;
  border: 0.045em solid var(--line-yellow); vertical-align: baseline;
}
/* On light grounds yellow may not stand alone as a thin line (p.12), so the yellow
   contour sits inside a black square with a black outer edge. */
.light .period { border: 0; background: var(--asphalt-black); box-shadow: inset 0 0 0 0.04em var(--line-yellow); outline: 0.03em solid var(--asphalt-black); }

/* ---------- Buttons (Cal AI button language, PavingFlow colors) ----------
   No solid yellow fills anywhere: yellow appears only as outlines. */
.btn {
  --ring: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px; border-radius: 999px;
  border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 800; font-size: 15px; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, .chip-btn:focus-visible, .link-arrow:focus-visible, .faq summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--asphalt-black), 0 0 0 6px var(--line-yellow);
}
/* Primary: solid Asphalt Black, white text. On black grounds a 2px Line Yellow outline makes it stand out. */
.btn-primary { background: var(--asphalt-black); color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.btn-primary:hover { background: var(--asphalt); }
.light .btn-primary, .mock-light .btn-primary { box-shadow: none; }
/* Secondary: 1.5px outline, transparent fill */
.btn-secondary { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); }
.light .btn-secondary { color: var(--asphalt-black); box-shadow: inset 0 0 0 1.5px var(--asphalt-black); }
.light .btn-secondary:hover { background: var(--fog); }
/* Focus on light grounds: yellow ring enclosed in black (no bare yellow line on white) */
.light .btn:focus-visible, .light .chip-btn:focus-visible, .light .link-arrow:focus-visible, .light summary:focus-visible {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--asphalt-black), 0 0 0 7px var(--line-yellow), 0 0 0 9px var(--asphalt-black);
}
.btn-block { width: 100%; }
.nav-cta { min-height: 48px; padding: 0 22px; font-size: 14px; }

/* Frosted pills: buttons that sit over the C2551 hero video */
.btn-frost {
  background: rgba(11, 11, 11, 0.35);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-frost:hover { background: rgba(11, 11, 11, 0.5); }
.btn-frost-yellow { box-shadow: inset 0 0 0 2px var(--white); }

/* Chips: outline pills; selected = solid black with yellow outline */
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 12px; }
.chip-btn {
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 800; font-size: 14px;
  background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--graphite);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.chip-btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px var(--white); }
.chip-btn:active { transform: scale(0.98); }
.chip-btn[aria-pressed="true"] { background: var(--asphalt-black); box-shadow: inset 0 0 0 1.5px var(--line-yellow); }

/* Icon buttons: 40px circles with a soft gray fill and a line icon */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: #1F1F1F; color: var(--white);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.light .icon-btn { background: #F0F0F0; color: var(--asphalt-black); }
.icon-btn svg { display: block; }

/* "Learn more" style links: text + circular arrow, 48px touch target */
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 8px;
  padding: 4px 4px 4px 0; border-radius: 999px;
  color: var(--white); text-decoration: none; font-weight: 800; font-size: 14px;
}
.link-arrow:hover .icon-btn { background: var(--asphalt-black); box-shadow: inset 0 0 0 1.5px var(--line-yellow); transform: translateX(2px); }
.link-arrow:active .icon-btn { transform: scale(0.96); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #0B0B0B; /* solid: backdrop blur over playing video caused mobile scroll jank */
  transform: translateZ(0);
}
.nav { display: flex; align-items: center; gap: 40px; min-height: 64px; }
/* Wordmark 150px (min 120px). X = 13px; SVG carries 0.5X, padding adds 0.5X = 1X clear space. */
.logo { display: block; padding: 6.5px; margin-left: -13px; flex-shrink: 0; }
.logo img { width: 150px; height: auto; }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 800; font-size: 13px; }
.nav-links a:hover { color: var(--concrete); }

/* ---------- Hero card ---------- */
.hero { padding: 12px 0 0; }
.hero-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 9;            /* same as the clip: full-bleed with no crop */
  background: var(--asphalt-black);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card::before {               /* dark gradient on the left for readable text */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11,11,11,0.94) 0%, rgba(11,11,11,0.82) 30%, rgba(11,11,11,0.35) 52%, rgba(11,11,11,0) 64%);
}
.hero-copy {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px; max-width: 600px;
}
.hero-copy h1 { margin-bottom: 18px; }
.chip {
  align-self: flex-start;
  border: 1px solid var(--concrete); border-radius: 999px; padding: 6px 14px;
  font-weight: 800; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--white); margin-bottom: 22px;
}
.subline { color: var(--concrete); font-size: 17px; max-width: 40ch; margin-bottom: 26px; }

/* ---------- Trusted by ---------- */
.trusted {
  display: flex; align-items: center; gap: 48px;
  padding: 28px 0 0;
}
.trusted-label { margin: 0; font-size: 13px; color: var(--concrete); max-width: 16ch; line-height: 1.4; }
.trusted-logos { list-style: none; margin: 0; padding: 0; display: flex; gap: 48px; }
.trusted-name { font-weight: 900; font-size: 22px; letter-spacing: -0.02em; color: var(--white); }

/* ---------- Intro / Who we are ---------- */
.intro { padding: 140px 0 120px; }
.statement {
  font-weight: 900; letter-spacing: -0.02em; line-height: 1.2;
  font-size: clamp(24px, 3vw, 38px); max-width: 24ch; margin-bottom: 64px;
}
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar { border-top: 1px solid var(--asphalt); padding-top: 22px; }
.pillar p { color: var(--concrete); margin: 0; }

/* ---------- Split rows with floating cards ---------- */
.row-section { padding: 120px 0; border-top: 1px solid var(--asphalt); }   /* thin divider between sections */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.row-copy { max-width: 460px; }
.row-copy p:not(.label) { color: var(--concrete); }
.row-visual { display: flex; justify-content: center; }

.mock {
  width: 100%; max-width: 460px;
  border-radius: var(--r-md); padding: 22px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
}
.mock-dark  { background: var(--asphalt-black); border: 1px solid var(--asphalt); color: var(--white); }
.mock-light { background: var(--white); color: var(--asphalt-black); }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.mock-title { font-weight: 900; font-size: 16px; letter-spacing: -0.01em; }
.mock-sub { font-size: 13px; margin-bottom: 14px; }
.mock-dark .mock-sub, .mock-dark .mock-note, .mock-dark dt { color: var(--concrete); }
.mock-light .mock-sub, .mock-light .mock-note, .mock-light dt { color: var(--graphite); }
.mock-note { font-size: 12px; margin: 14px 0 0; }
.sample-tag {
  font-weight: 800; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  border: 1.5px dashed currentColor; border-radius: 4px; padding: 2px 7px;
}
.mock-dark .sample-tag  { color: var(--concrete); }
.mock-light .sample-tag { color: var(--graphite); }
.mock-rows { margin: 10px 0 0; }
.mock-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 14px; }
.mock-dark  .mock-rows div { border-top: 1px solid var(--asphalt); }
.mock-light .mock-rows div { border-top: 1px solid var(--fog); }
.mock-rows dd { margin: 0; font-weight: 800; text-align: right; }
.mock-foot { margin-top: 14px; }
.status {
  display: inline-block; border-radius: 999px; padding: 5px 12px;
  font-weight: 800; font-size: 12px;
}
.status-yellow { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-yellow); }   /* yellow outline on black card */
.status-black  { background: var(--asphalt-black); color: var(--line-yellow); }   /* yellow inside a black shape */

.sched { list-style: none; margin: 12px 0 0; padding: 0; }
.sched li {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--fog); font-size: 14px;
}
.sched-crew { font-weight: 900; }
.sched-gear { color: var(--graphite); font-size: 13px; }

.mock-media .video-frame { margin-top: 12px; }
.video-frame { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--asphalt); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.update { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; }
.update p { margin: 0; font-size: 14px; line-height: 1.5; }
.update .muted { font-size: 12px; }
.update-dot { width: 10px; height: 10px; margin-top: 6px; border: 2px solid var(--line-yellow); flex-shrink: 0; }

.bars { margin-top: 16px; display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; font-size: 13px; color: var(--concrete); }
.bar { height: 12px; border-radius: 999px; background: var(--asphalt); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--white); border-radius: 999px; }
.bar-yellow i { background: transparent; box-shadow: inset 0 0 0 2px var(--line-yellow); }

/* ---------- Placeholders ---------- */
.ph-tag {
  display: inline-block; vertical-align: middle;
  font-weight: 800; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 4px; border: 1.5px dashed currentColor; color: var(--concrete);
}
.light .ph-tag { color: var(--graphite); }
.todo { font-style: italic; color: var(--concrete); }
.light .todo { color: var(--graphite); }
.img-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 28px; font-size: 14px; color: var(--concrete);
  border: 2px dashed var(--graphite);
}
.img-slot-phone { width: 280px; max-width: 100%; aspect-ratio: 9 / 18; border-radius: 36px; }

/* ---------- Proof stats + quote ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 80px; }
.stat {
  border: 1px solid var(--asphalt); border-radius: var(--r-md); padding: 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.stat-num { font-weight: 900; font-size: 28px; letter-spacing: -0.02em; }
.stat-label { color: var(--concrete); font-size: 14px; }
.quote { margin: 20px 0 0; padding: 28px 32px; border: 1px solid var(--asphalt); border-left: 6px solid var(--line-yellow); border-radius: var(--r-md); }
.quote blockquote { margin: 12px 0; font-size: 22px; font-weight: 800; line-height: 1.35; }
.quote figcaption { font-size: 14px; }

/* ---------- Crew ---------- */

/* ---------- How it works (white) ---------- */
.light { background: var(--white); color: var(--asphalt-black); }
.how { padding: 120px 0; }
.how h2 { max-width: 20ch; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { border-top: 1px solid var(--asphalt-black); padding-top: 20px; }
.step-num { display: block; font-weight: 900; font-size: 44px; letter-spacing: -0.03em; line-height: 1; margin-bottom: 18px; }
.steps p { color: var(--graphite); margin: 0; }

/* ---------- Pricing card ---------- */
.price-card {
  width: 100%; max-width: 440px; border-radius: var(--r-md); padding: 32px;
  border: 1px solid var(--asphalt); background: var(--asphalt-black);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
}
.price { font-size: 18px; margin: 0; }
.price strong { font-weight: 900; font-size: 52px; letter-spacing: -0.03em; color: var(--line-yellow); }
.price-sub { color: var(--concrete); margin-bottom: 22px; }
.check-list { list-style: none; padding: 0; margin: 0 0 22px; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border: 2px solid var(--line-yellow); }
.setup-fee { color: var(--concrete); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; }

/* ---------- FAQ (white) ---------- */
.faq { padding: 120px 0; border-top: 1px solid var(--fog); }
.faq details { border-bottom: 1px solid var(--fog); padding: 18px 0; }
.faq details:first-of-type { margin-top: 36px; border-top: 1px solid var(--fog); }
.faq summary {
  cursor: pointer; list-style: none; min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 900; font-size: 18px; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary { min-height: 56px; border-radius: 12px; }
.faq summary:hover .icon-plus { background: var(--fog); }
.faq .icon-plus svg { transition: transform .2s ease; }
.faq details[open] .icon-plus { background: var(--asphalt-black); color: var(--white); }
.faq details[open] .icon-plus svg { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--graphite); }

/* ---------- Final CTA card ---------- */
.final { padding: 96px 0; }
.final-card {
  background: var(--asphalt-black); color: var(--white);
  border: 2px solid var(--line-yellow);   /* yellow as a contour only */
  border-radius: var(--r-lg); padding: 72px 32px; text-align: center;
}
.final-card p { color: var(--concrete); font-size: 17px; max-width: 52ch; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0; border-top: 1px solid var(--asphalt); font-size: 14px; color: var(--concrete); }
.footer-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-row p { margin: 0; }
.footer-copy { margin-left: auto; }
.footer-symbol { width: 40px; height: 40px; }
.site-footer a { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  /* Stack the hero: clip on top at full 16:9 (no crop), copy below on Asphalt Black */
  .hero-card { aspect-ratio: auto; display: flex; flex-direction: column; border: 1px solid var(--asphalt); }
  .hero-video { position: relative; inset: auto; aspect-ratio: 16 / 9; height: auto; }
  .hero-card::before { display: none; }
  .hero-copy { padding: 32px 28px 36px; max-width: none; }
  /* Hero stacks below 1040px: buttons are no longer over video, so drop the frost */
  .btn-frost { background: var(--asphalt-black); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .btn-frost.btn-secondary { background: transparent; box-shadow: inset 0 0 0 1.5px var(--white); }
  .row { gap: 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav { justify-content: space-between; }
  .row { grid-template-columns: 1fr; }
  .row-copy { max-width: none; }
  .row-section, .how, .faq { padding: 80px 0; }
  .intro { padding: 88px 0 72px; }
  .pillars, .stats { grid-template-columns: 1fr; }
  .stats { margin-top: 56px; }
}
@media (max-width: 560px) {
  .cta-full { flex: 1 1 100%; width: 100%; }   /* primary CTAs go full width on mobile */
  .container { padding: 0 18px; }
  .logo img { width: 130px; }        /* above 120px minimum; X = 11.2px */
  .logo { padding: 5.6px; margin-left: -11.2px; }
  .hero-copy { padding: 26px 20px 28px; }
  .trusted { gap: 20px; flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr; }
  .final-card { padding: 52px 22px; }
  .footer-copy { margin-left: 0; }
  .sched li { grid-template-columns: 60px 1fr; }
  .sched li > :last-child { grid-column: 2; justify-self: start; }
  .quote { padding: 22px; }
}

.how-cta { margin-top: 56px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .chip-btn, .icon-btn, .faq .icon-plus svg { transition: none; }
  .btn:hover, .btn:active, .chip-btn:hover, .chip-btn:active { transform: none; }
}

/* Lean copy pass */
.intro { padding: 120px 0 110px; }
.intro .statement { margin-bottom: 0; }
.final-card h2 { margin-bottom: 28px; }
.row-copy h2 { margin-bottom: 14px; }
@media (max-width: 820px) { .intro { padding: 80px 0 72px; } }

.trusted-strip{padding:48px 0;text-align:center}
.trusted-strip .trusted{justify-content:center}

/* Mobile scroll smoothness */
@media (max-width: 1040px) { html { scroll-behavior: auto; } }
video { transform: translateZ(0); }
