/* Leveraged Investments - bespoke design system
   Warm near-black, copper accent, Playfair Display + Inter.
   All motion uses transform/opacity only and honors prefers-reduced-motion. */

:root{
  --bg: #0B0A08;
  --bg-raised: #12100C;
  --bg-card: #161310;
  --ink: #F5F1E8;
  --body: #C9C3B6;
  --dim: #979181;
  --accent: #C8A96E;
  --accent-bright: #E2C68B;
  --accent-deep: #9C7E48;
  --line: rgba(200,169,110,0.16);
  --line-soft: rgba(245,241,232,0.08);
  --green: #7FB069;
  --la-accent: #C8A96E;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --nav-h: 108px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-card: 0 24px 60px -24px rgba(0,0,0,0.55);
  --shadow-lift: 0 34px 80px -28px rgba(0,0,0,0.7);
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
html:focus-within{ scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main{ background: var(--bg); }
img, svg, video, canvas{ max-width: 100%; display: block; }
a{ color: inherit; }
button{ font: inherit; cursor: pointer; }

::selection{ background: rgba(200,169,110,0.35); color: var(--ink); }

h1,h2,h3{ font-family: var(--font-display); font-weight: 500; color: var(--ink); line-height: 1.12; text-wrap: balance; }
h4,h5{ color: var(--ink); line-height: 1.3; text-wrap: balance; }

.container{ width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
@media (min-width: 768px){ .container{ padding-inline: 40px; } }

/* ---------- accessibility ---------- */
.skip-link{
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: #14110A; font-weight: 600;
  padding: 10px 18px; border-radius: 10px; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus{ top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible{
  outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px;
}

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before{
  content: ""; width: 28px; height: 1px; background: var(--accent); opacity: .7;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; padding: 18px 34px; min-height: 52px;
  transition: transform .22s var(--ease-out-strong), box-shadow .22s var(--ease-out-strong), background-color .22s ease, color .22s ease;
  cursor: pointer; position: relative; white-space: nowrap;
}
.btn:active{ transform: scale(0.97); }
.btn-primary{
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 55%, var(--accent-deep));
  color: #14110A; border: none;
  box-shadow: 0 12px 34px -12px rgba(200,169,110,0.55);
}
@media (hover: hover) and (pointer: fine){
  .btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(200,169,110,0.7); }
}
.btn-ghost{
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
@media (hover: hover) and (pointer: fine){
  .btn-ghost:hover{ background: rgba(200,169,110,0.08); border-color: rgba(200,169,110,0.4); transform: translateY(-2px); }
}
.btn-glow{ position: relative; }
.btn-glow::after{
  content: ""; position: absolute; inset: -3px; border-radius: 999px; z-index: -1;
  background: conic-gradient(from var(--glow-angle,0deg), transparent 0%, rgba(226,198,139,0.9) 12%, transparent 30%);
  animation: glow-spin 3.5s linear infinite;
}
@property --glow-angle{ syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes glow-spin{ to{ --glow-angle: 360deg; } }

/* ---------- header ---------- */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  background: rgba(11,10,8,0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav-inner{
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 24px;
}
.brand{
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
}
.brand-logo{ height: 84px; width: auto; display: block; }
.site-footer .brand-logo{ height: 96px; }
@media (max-width: 480px){ .brand-logo{ height: 69px; } }
@media (max-width: 640px){ :root{ --nav-h: 94px; } }
.brand-mark{
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(200,169,110,0.22), rgba(200,169,110,0.05));
  border: 1px solid var(--line);
}
.brand-name{
  font-family: var(--font-display); font-size: 1.06rem; color: var(--ink); line-height: 1.15;
}
.brand-name small{
  display: block; font-family: var(--font-body); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
}
.nav-links{ display: none; align-items: center; gap: 34px; list-style: none; }
.nav-links a{
  text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--body);
  transition: color .2s ease; padding: 8px 2px; position: relative; white-space: nowrap;
}
.nav-links a:hover{ color: var(--ink); }
.nav-links a.active{ color: var(--ink); }
.nav-links a.active::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav-cta{ display: none; }
@media (min-width: 1024px){
  .nav-links{ display: flex; }
  .nav-cta{ display: inline-flex; padding: 14px 26px; min-height: 46px; }
  .nav-toggle{ display: none; }
}
.nav-toggle{
  background: none; border: 1px solid var(--line); border-radius: 12px;
  width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink);
}
@media (min-width: 1024px){ .nav-toggle{ display: none; } }
.mobile-menu{
  position: fixed; inset: 0; z-index: 99; background: rgba(11,10,8,0.97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; padding: 40px 32px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.mobile-menu.open{ opacity: 1; visibility: visible; pointer-events: auto; }
@media (min-width: 1024px){ .mobile-menu{ display: none; } }
.mobile-menu ul{ list-style: none; display: grid; gap: 8px; }
.mobile-menu a{
  display: block; text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-size: 2rem; padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn{ margin-top: 32px; }

/* ---------- hero ---------- */
.hero{
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--bg);
  padding-top: calc(var(--nav-h) + 40px); padding-bottom: 72px;
}
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img, .hero-media canvas{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-poster{
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(200,169,110,0.16), transparent 55%),
    radial-gradient(90% 70% at 12% 92%, rgba(156,126,72,0.14), transparent 60%),
    linear-gradient(160deg, #171310 0%, #0B0A08 55%, #0D0B08 100%);
}
.hero-poster::after{
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(200,169,110,0.05) 0 1px, transparent 1px 120px),
                    repeating-linear-gradient(0deg, rgba(200,169,110,0.04) 0 1px, transparent 1px 120px);
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000, transparent 75%);
          mask-image: radial-gradient(80% 70% at 70% 30%, #000, transparent 75%);
}
.hero-scrim{
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(11,10,8,0.95) 0%, rgba(11,10,8,0.64) 45%, rgba(11,10,8,0.3) 78%, rgba(11,10,8,0.5) 100%);
}
.hero h1, .hero-sub, .hero .eyebrow{ text-shadow: 0 2px 24px rgba(11,10,8,0.85), 0 1px 3px rgba(11,10,8,0.6); }
.hero-scrim.strong{
  background: linear-gradient(to top, rgba(11,10,8,0.97) 0%, rgba(11,10,8,0.8) 45%, rgba(11,10,8,0.5) 78%, rgba(11,10,8,0.62) 100%);
}
.hero-content{ position: relative; z-index: 2; width: 100%; }
.hero h1{
  font-size: clamp(2.6rem, 6.2vw, 4.9rem); margin: 22px 0 20px; max-width: 18ch;
}
.hero h1 em{
  font-style: italic;
  color: var(--accent-bright);
}
.hero-sub{ font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 56ch; font-weight: 300; color: var(--body); }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; align-items: center; }
.hero-chips{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.chip{
  display: inline-block;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
  font-size: 0.82rem; font-weight: 500; color: var(--ink);
  background: rgba(11,10,8,0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.chip strong{ color: var(--accent-bright); font-weight: 700; }
.scroll-hint{
  position: absolute; bottom: 26px; right: 40px; z-index: 2;
  display: none; align-items: center; gap: 10px;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim);
}
@media (min-width: 1024px){ .scroll-hint{ display: flex; } }
.scroll-hint::after{
  content: ""; width: 1px; height: 44px; background: linear-gradient(var(--accent), transparent);
  animation: hint-drop 2.2s ease-in-out infinite;
}
@keyframes hint-drop{ 0%{ transform: scaleY(0); transform-origin: top; } 45%{ transform: scaleY(1); transform-origin: top; } 55%{ transform: scaleY(1); transform-origin: bottom; } 100%{ transform: scaleY(0); transform-origin: bottom; } }

/* sub-page hero (shorter) */
.hero.hero-sub-page{ min-height: 78svh; }

/* ---------- sections ---------- */
.section{ padding: 110px 0; position: relative; }
.section-raised{ background: var(--bg-raised); border-block: 1px solid var(--line-soft); }
.section-head{ max-width: 760px; margin-bottom: 64px; }
.section-head h2{ font-size: clamp(2rem, 4.2vw, 3.2rem); margin-top: 20px; }
.section-head p{ margin-top: 18px; font-size: 1.05rem; font-weight: 300; }
.section-head.centered{ margin-inline: auto; text-align: center; }
.section-head.centered .eyebrow{ justify-content: center; }
.section-head.centered .eyebrow::before{ display: none; }

/* ---------- cards ---------- */
.card-grid{ display: grid; gap: 20px; }
@media (min-width: 768px){ .card-grid.cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); } .card-grid.cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
.card{
  background: linear-gradient(170deg, rgba(200,169,110,0.06), rgba(200,169,110,0.015) 40%), var(--bg-card);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: transform .45s var(--ease-out-strong), border-color .45s ease, box-shadow .45s var(--ease-out-strong);
}
.card::before{
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,0.5), transparent);
}
.card:hover{ transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow-lift); }
.card h3, .card h4{ font-size: 1.28rem; margin: 20px 0 12px; font-family: var(--font-display); }
.card p{ font-size: 0.95rem; }
.card-icon{
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(200,169,110,0.1); border: 1px solid var(--line); color: var(--accent);
}
.card-icon svg{ width: 24px; height: 24px; }

/* numbered steps */
.step-num{
  font-family: var(--font-display); font-size: 3.4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(200,169,110,0.55);
}

/* ---------- stats band ---------- */
.stats-band{
  display: grid; gap: 40px; text-align: center;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px){ .stats-band{ grid-template-columns: repeat(4, 1fr); } }
.stat-value{
  font-family: var(--font-display); font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-value .accent{ color: var(--accent); }
.stat-label{ margin-top: 14px; font-size: 0.85rem; color: var(--dim); max-width: 22ch; margin-inline: auto; }

/* ---------- pricing ---------- */
.plan-grid{ display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px){ .plan-grid{ grid-template-columns: 1fr 1.15fr; } }
.plan{
  display: flex; flex-direction: column;
  border-radius: 24px; padding: 44px 38px;
  background: var(--bg-card); border: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
}
.plan.featured{
  background: linear-gradient(165deg, rgba(200,169,110,0.13), rgba(200,169,110,0.03) 45%), var(--bg-card);
  border-color: rgba(200,169,110,0.4);
  box-shadow: var(--shadow-lift);
}
.plan-tag{
  position: absolute; top: 24px; right: 24px;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--accent); color: #14110A; padding: 7px 14px; border-radius: 999px;
}
.plan h3{ font-size: 1.6rem; }
.plan .positioning{ margin-top: 10px; font-size: 0.95rem; }
.plan-price{ margin: 30px 0 6px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-price .amount{ font-family: var(--font-display); font-size: 3rem; color: var(--ink); line-height: 1; }
.plan-price .period{ color: var(--dim); font-size: 0.95rem; }
.plan-price .was{ color: var(--dim); text-decoration: line-through; font-size: 1.05rem; }
.plan-setup{ font-size: 0.85rem; color: var(--dim); }
.plan ul{ list-style: none; margin: 30px 0 36px; display: grid; gap: 14px; }
.plan li{ display: flex; gap: 12px; font-size: 0.95rem; align-items: flex-start; }
.plan li svg{ width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent); }
.plan .btn{ margin-top: auto; width: 100%; }

/* ---------- FAQ ---------- */
.faq-list{ max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item{
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  background: var(--bg-card); overflow: hidden;
  transition: border-color .3s ease;
}
.faq-item[open]{ border-color: var(--line); }
.faq-item summary{
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 24px 28px; cursor: pointer; color: var(--ink); font-weight: 500; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary .faq-x{
  flex: none; width: 20px; height: 20px; position: relative; color: var(--accent);
  transition: transform .3s ease;
}
.faq-item summary .faq-x::before, .faq-item summary .faq-x::after{
  content: ""; position: absolute; inset: 0; margin: auto; background: currentColor; border-radius: 2px;
}
.faq-item summary .faq-x::before{ width: 100%; height: 2px; }
.faq-item summary .faq-x::after{ width: 2px; height: 100%; }
.faq-item[open] summary .faq-x{ transform: rotate(45deg); }
.faq-item .faq-body{ padding: 0 28px 26px; font-size: 0.96rem; max-width: 68ch; }

/* ---------- product mockups (hand-coded UI) ---------- */
.mock-frame{
  background: #191613; border: 1px solid var(--line-soft); border-radius: 18px;
  box-shadow: var(--shadow-card); overflow: hidden;
  font-size: 12.5px; line-height: 1.45; color: var(--body);
}
.mock-titlebar{
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,0.02);
}
.mock-dot{ width: 10px; height: 10px; border-radius: 50%; background: rgba(245,241,232,0.14); }
.mock-dot:first-child{ background: rgba(226,120,100,0.6); }
.mock-dot:nth-child(2){ background: rgba(226,198,139,0.6); }
.mock-dot:nth-child(3){ background: rgba(127,176,105,0.6); }
.mock-url{
  margin-left: 10px; flex: 1; max-width: 300px;
  background: rgba(255,255,255,0.04); border-radius: 6px; padding: 4px 12px;
  font-size: 10.5px; color: var(--dim); white-space: nowrap; overflow: hidden;
}
.mock-body{ padding: 18px; display: grid; gap: 12px; }
.mock-row{ display: flex; align-items: center; gap: 10px; }
.mock-pill{
  border-radius: 999px; padding: 3px 10px; font-size: 10px; font-weight: 600;
  background: rgba(200,169,110,0.14); color: var(--accent-bright);
}
.mock-pill.green{ background: rgba(127,176,105,0.16); color: #A6CE97; }
.mock-pill.neutral{ background: rgba(245,241,232,0.08); color: var(--body); }
.mock-card{
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-soft);
  border-radius: 10px; padding: 12px 14px;
}
.mock-bar{ height: 7px; border-radius: 4px; background: rgba(245,241,232,0.09); }
.mock-bar.fill{ background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright)); }
.mock-avatar{
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 10px; font-weight: 700;
  background: rgba(200,169,110,0.2); color: var(--accent-bright);
}
.mock-msg{ border-radius: 12px; padding: 9px 12px; max-width: 78%; font-size: 11.5px; }
.mock-msg.in{ background: rgba(255,255,255,0.05); border-top-left-radius: 4px; }
.mock-msg.out{ background: rgba(200,169,110,0.16); color: var(--ink); margin-left: auto; border-top-right-radius: 4px; }
.mock-label{ font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.mock-big{ font-family: var(--font-display); font-size: 1.55rem; color: var(--ink); line-height: 1.1; }
.mock-spark{ display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.mock-spark i{
  flex: 1; border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(156,126,72,0.7), rgba(226,198,139,0.9));
  transform-origin: bottom;
}
.mock-stars{ color: var(--accent-bright); letter-spacing: 2px; font-size: 12px; }
.mock-kanban{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.mock-col-title{ font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; display:flex; justify-content: space-between; }

/* phone frame */
.mock-phone{
  width: min(300px, 82vw); margin-inline: auto;
  border-radius: 36px; border: 1px solid var(--line);
  background: #191613; box-shadow: var(--shadow-lift);
  padding: 14px; font-size: 12px;
}
.mock-phone-notch{ width: 84px; height: 8px; border-radius: 999px; background: rgba(245,241,232,0.1); margin: 2px auto 14px; }
.mock-phone-screen{ border-radius: 24px; background: rgba(255,255,255,0.02); border: 1px solid var(--line-soft); padding: 16px 14px; display: grid; gap: 10px; }

/* showcase layout */
.showcase{
  display: grid; gap: 48px; align-items: center;
}
@media (min-width: 1024px){
  .showcase{ grid-template-columns: 1fr 1fr; gap: 72px; }
  .showcase.flip .showcase-copy{ order: 2; }
  .showcase.flip .showcase-visual{ order: 1; }
}
.showcase-copy h3{ font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 18px; }
.showcase-copy p{ margin-top: 16px; font-size: 1rem; font-weight: 300; }
.showcase-copy ul{ list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.showcase-copy li{ display: flex; gap: 12px; font-size: 0.95rem; align-items: flex-start; }
.showcase-copy li svg{ width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--accent); }

/* ---------- marquee ---------- */
.marquee{ overflow: hidden; position: relative; padding: 26px 0; border-block: 1px solid var(--line-soft); }
.marquee-track{ display: flex; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-item{
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; color: var(--dim);
}
.marquee-item svg{ width: 18px; height: 18px; color: var(--accent); opacity: .8; }
@keyframes marquee{ to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation: none; } }

/* ---------- founder ---------- */
.founder{
  display: grid; gap: 40px; align-items: center;
}
@media (min-width: 900px){ .founder{ grid-template-columns: 0.9fr 1.4fr; gap: 72px; } }
.founder-card{
  border-radius: 24px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, rgba(200,169,110,0.14), rgba(200,169,110,0.02) 60%), var(--bg-card);
  padding: 44px 36px; text-align: center;
}
.founder-sig{ font-family: var(--font-display); font-style: italic; font-size: 1.9rem; color: var(--ink); }
.founder-role{ margin-top: 10px; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.founder-quote{ margin-top: 28px; font-size: 1rem; font-style: italic; color: var(--body); }

/* ---------- final CTA ---------- */
.cta-final{
  position: relative; text-align: center; padding: 130px 0; overflow: hidden;
}
.cta-final::before{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 55% at 50% 60%, rgba(200,169,110,0.13), transparent 70%);
}
.cta-final .container{ position: relative; z-index: 2; }
.cta-video .hero-media{ z-index: 0; }
.cta-video .hero-scrim{ z-index: 1; }
.cta-video h2, .cta-video p, .cta-video .eyebrow{ text-shadow: 0 2px 24px rgba(11,10,8,0.85), 0 1px 3px rgba(11,10,8,0.6); }
.cta-final h2{ font-size: clamp(2.2rem, 5vw, 3.8rem); margin-top: 22px; }
.cta-final p{ margin: 20px auto 40px; max-width: 52ch; font-weight: 300; font-size: 1.05rem; }
.cta-contact{ margin-top: 28px; font-size: 0.95rem; color: var(--dim); }
.cta-contact a{ color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s ease; }
.cta-contact a:hover{ border-color: var(--accent); }

/* ---------- footer ---------- */
.site-footer{
  border-top: 1px solid var(--line-soft); background: #080706; padding: 72px 0 40px;
  font-size: 0.92rem;
}
.footer-grid{ display: grid; gap: 44px; }
@media (min-width: 900px){ .footer-grid{ grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; } }
.footer-grid h3{ font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; font-family: var(--font-body); font-weight: 600; }
.footer-grid ul{ list-style: none; display: grid; gap: 12px; }
.footer-grid a{ text-decoration: none; color: var(--body); transition: color .2s ease; }
.footer-grid a:hover{ color: var(--ink); }
.footer-about p{ margin-top: 18px; max-width: 40ch; font-size: 0.92rem; }
.footer-contact li{ display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg{ width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--accent); }
.footer-bottom{
  margin-top: 56px; border-top: 1px solid var(--line-soft); padding-top: 28px;
  display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
  font-size: 0.85rem; color: var(--dim);
}
.la-attr{
  color: var(--la-accent); text-decoration: none; font-weight: 600;
  text-shadow: 0 0 8px rgba(200,169,110,0.55);
  transition: text-shadow .3s ease, filter .3s ease;
}
.la-attr:hover, .la-attr:focus-visible{
  text-shadow: 0 0 16px rgba(200,169,110,0.85); filter: brightness(1.15);
}

/* ---------- sticky mobile CTA ---------- */
.sticky-cta{
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: flex; gap: 10px;
  transform: translateY(140%); visibility: hidden;
  transition: transform .4s ease, visibility .4s ease;
}
.sticky-cta.visible{ transform: translateY(0); visibility: visible; }
.sticky-cta .btn{ flex: 1; padding: 15px 10px; min-height: 52px; font-size: 0.78rem; }
.sticky-cta .btn-call{ flex: 0 0 52px; padding: 0; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--line); color: var(--accent); }
@media (min-width: 1024px){ .sticky-cta{ display: none; } }

/* ---------- reveal animations (GSAP adds .is-ready) ---------- */
.reveal, .reveal-line{ will-change: transform, opacity; }
html.no-js .reveal, html.no-js .reveal-line{ opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- legal pages ---------- */
.legal-wrap{ max-width: 780px; margin-inline: auto; padding: calc(var(--nav-h) + 80px) 24px 100px; }
.legal-wrap h1{ font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 12px; }
.legal-wrap .updated{ color: var(--dim); font-size: 0.9rem; margin-bottom: 48px; }
.legal-wrap h2{ font-size: 1.5rem; margin: 44px 0 14px; }
.legal-wrap p, .legal-wrap li{ font-size: 0.98rem; margin-bottom: 14px; }
.legal-wrap ul{ padding-left: 22px; margin-bottom: 16px; }
.legal-wrap a{ color: var(--accent-bright); }

/* mobile overflow guards */
.showcase > *, .card-grid > *, .mock-body, .mock-body > *{ min-width: 0; }
@media (max-width: 700px){
  .btn{ white-space: normal; text-align: center; line-height: 1.35; }
}

/* review-pass additions */
.sr-only{
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.stat-qualifier{
  display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px;
}
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track{ animation-play-state: paused; }
@media (forced-colors: active){
  .hero h1 em{ color: CanvasText; }
}

/* ================= LIGHT SECTIONS (alternating rhythm) ================= */
.section-light{
  background: linear-gradient(180deg, #FBF7EF 0%, #F4EDDF 100%);
  --ink: #221C12;
  --body: #524C3C;
  --dim: #635C49;
  --accent: #8A6C38;
  --accent-bright: #8A6C38;
  --accent-deep: #6E5528;
  --line: rgba(138,108,56,0.3);
  --line-soft: rgba(34,28,18,0.1);
  --bg-card: #FFFFFF;
  --shadow-card: 0 24px 50px -28px rgba(64,50,26,0.28);
  --shadow-lift: 0 32px 70px -30px rgba(64,50,26,0.38);
  color: var(--body);
}
.section-light .btn-primary{
  background: linear-gradient(135deg, #E2C68B, #C8A96E 55%, #9C7E48);
  box-shadow: 0 12px 30px -12px rgba(140,110,60,0.6);
}
.section-light .plan-tag{ background: #C8A96E; }
.section-light .step-num{ -webkit-text-stroke: 1px rgba(110,85,40,0.55); }
.section-light .card{
  background: linear-gradient(170deg, rgba(200,169,110,0.08), rgba(200,169,110,0.02) 40%), var(--bg-card);
  border-color: rgba(34,28,18,0.08);
}
.section-light .faq-item{ border-color: rgba(34,28,18,0.1); }
.section-light .card-icon{ background: rgba(138,108,56,0.1); }
/* dark product mockups keep their own dark palette inside light sections */
.section-light .mock-frame, .section-light .mock-phone{
  --ink: #F5F1E8; --body: #C9C3B6; --dim: #979181;
  --accent: #C8A96E; --accent-bright: #E2C68B;
  --line: rgba(200,169,110,0.16); --line-soft: rgba(245,241,232,0.08);
  color: var(--body);
  box-shadow: 0 30px 70px -28px rgba(64,50,26,0.45);
}

/* light variant for legal pages */
.legal-light{
  background: linear-gradient(180deg, #FBF7EF 0%, #F4EDDF 100%);
  --ink: #221C12; --body: #524C3C; --dim: #635C49;
  --accent: #8A6C38; --accent-bright: #7A5F30;
  --line: rgba(138,108,56,0.3); --line-soft: rgba(34,28,18,0.1);
  color: var(--body);
}

/* ================= FOOTER LINK ICONS ================= */
.footer-grid ul a{ display: inline-flex; align-items: center; gap: 10px; }
.footer-ico{ width: 15px; height: 15px; flex: none; color: var(--accent); opacity: .9; }
.footer-grid ul a:hover .footer-ico{ opacity: 1; }
.footer-contact li{ align-items: center; }

/* ================= HIGH-TECH MOTION LAYER ================= */
.scroll-progress{
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 130;
  background: linear-gradient(90deg, #9C7E48, #E2C68B);
  transform: scaleX(0); transform-origin: left;
  pointer-events: none;
}
.steps-flow .card{ overflow: visible; }
.step-line{
  display: block; height: 2px; margin-top: 20px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-deep));
  transform: scaleX(0); transform-origin: left;
}
.step-num{ transition: color .6s var(--ease-out-strong); }
.card.step-lit .step-num{ color: var(--accent); }
html.no-js .step-line{ transform: none; }
@media (hover: hover) and (pointer: fine){
  .card{ --mx: 50%; --my: 50%; }
  .card::after{
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
    background: radial-gradient(260px circle at var(--mx) var(--my), rgba(200,169,110,0.13), transparent 65%);
    opacity: 0; transition: opacity .45s ease; pointer-events: none;
  }
  .card:hover::after{ opacity: 1; }
  .section-light .card::after{
    background: radial-gradient(260px circle at var(--mx) var(--my), rgba(138,108,56,0.1), transparent 65%);
  }
}
.card > *{ position: relative; z-index: 1; }

/* ================= MOBILE POLISH PASS (audit) ================= */
@media (max-width: 900px){
  /* tighter vertical rhythm: 110px sections made mobile pages needlessly long */
  .section{ padding: 76px 0; }
  .cta-final{ padding: 92px 0; }
  .section-head{ margin-bottom: 44px; }
  .card{ padding: 30px 26px; }
  .plan{ padding: 34px 26px; }
  /* copy leads, product mockup follows: never show a screenshot before its explanation */
  .showcase{ gap: 34px; }
  .showcase .showcase-copy{ order: 1; }
  .showcase .showcase-visual{ order: 2; }
  /* hero headline: keep the stat chips above the fold */
  .hero h1{ font-size: clamp(2.15rem, 8.4vw, 3rem); }
  .hero-actions{ margin-top: 28px; }
  .hero-chips{ margin-top: 28px; gap: 10px; }
  .hero{ padding-bottom: 52px; }
}
@media (max-width: 480px){
  .hero h1{ font-size: 2.05rem; }
  .section-head h2{ font-size: clamp(1.75rem, 7.4vw, 2.2rem); }
}
/* the fixed mobile CTA bar must never permanently cover the end of the page */
@media (max-width: 1023px){
  .site-footer{ padding-bottom: 108px; }
  .legal-wrap{ padding-bottom: 128px; }
}

/* anchor targets must clear the fixed header when linked directly */
:target,
[id]:not(body):not(html){ scroll-margin-top: calc(var(--nav-h) + 28px); }

/* Progressive enhancement: the hamburger needs JS, so without it expose the
   nav links inline rather than leaving mobile visitors with no navigation. */
html.no-js .nav-toggle{ display: none; }
html.no-js .nav-links{
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: flex-end;
}
@media (max-width: 1023px){
  html.no-js .nav-inner{ flex-wrap: wrap; height: auto; padding-block: 14px; gap: 10px 18px; }
  html.no-js .nav-links a{ font-size: 0.82rem; }
  html.no-js .site-header{ position: static; }
  html.no-js .hero{ padding-top: 40px; }
}

/* the "Up to" qualifier sat in flow and pushed its numeral ~19px below the other three */
.stat-value{ position: relative; }
.stat-qualifier{
  position: absolute; left: 0; right: 0; bottom: 100%;
  margin-bottom: 6px; text-align: center;
}
.stats-band > div{ padding-top: 26px; }

/* comfortable tap targets for footer and inline contact links */
@media (max-width: 1023px){
  .footer-grid ul a, .footer-contact a, .cta-contact a{
    min-height: 44px; display: inline-flex; align-items: center;
  }
  .footer-grid ul{ gap: 4px; }
}

/* stop letter-spaced eyebrows orphaning their last word on small screens */
@media (max-width: 480px){
  .eyebrow{ font-size: 0.66rem; letter-spacing: 0.16em; }
  .section-head.centered .eyebrow{ text-wrap: balance; }
}

/* mock UIs are desktop layouts: below 640px let the frame scroll rather than clip */
@media (max-width: 640px){
  .mock-frame .mock-body{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mock-frame .mock-body > *{ min-width: 320px; }
  .mock-kanban{ min-width: 430px; }
}

/* founder portrait */
.founder-card{ padding: 28px 28px 36px; }
.founder-photo{
  width: 100%; height: auto; border-radius: 16px; margin-bottom: 26px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px -22px rgba(0,0,0,0.55);
}
@media (min-width: 900px){
  .founder-card{ padding: 30px 30px 38px; }
}

/* respect data-saver: heroes fall back to their poster frame */
@media (prefers-reduced-data: reduce){
  .hero-media video, .cta-video video{ display: none; }
}

/* make the mobile scroll rail on product mockups discoverable */
@media (max-width: 640px){
  .showcase-visual .mock-frame{ position: relative; }
  .showcase-visual .mock-frame::after{
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 46px;
    pointer-events: none; border-radius: 0 18px 18px 0;
    background: linear-gradient(90deg, rgba(25,22,19,0), rgba(25,22,19,0.9));
  }
  body.theme-blue .showcase-visual .mock-frame::after{
    background: linear-gradient(90deg, rgba(11,27,60,0), rgba(11,27,60,0.9));
  }
  .mock-frame .mock-body{ scroll-snap-type: x proximity; }
  .mock-frame .mock-body > *{ scroll-snap-align: start; }
}

/* capability rail: a deliberately different form from the 3x2 card grid used elsewhere */
.build-rail{ list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.rail-item{
  display: grid; grid-template-columns: auto auto 1fr; align-items: start;
  gap: 18px; padding: 26px 4px; border-bottom: 1px solid var(--line-soft);
  transition: background-color .35s ease;
}
.rail-num{
  font-family: var(--font-display); font-size: 1.05rem; line-height: 1.6;
  color: var(--accent); opacity: .85; min-width: 2ch; font-variant-numeric: tabular-nums;
}
.rail-icon{
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: rgba(200,169,110,0.1); border: 1px solid var(--line); color: var(--accent);
}
body.theme-blue .rail-icon{ background: rgba(255,255,255,0.12); }
body.theme-blue .section-light .rail-icon{ background: rgba(11,95,232,0.09); }
.rail-icon svg{ width: 20px; height: 20px; }
.rail-copy h3{ font-size: 1.18rem; margin: 0 0 6px; }
.rail-copy p{ font-size: 0.95rem; max-width: 62ch; }
@media (hover: hover) and (pointer: fine){
  .rail-item:hover{ background: rgba(200,169,110,0.05); }
  body.theme-blue .rail-item:hover{ background: rgba(255,255,255,0.05); }
}
@media (min-width: 900px){
  .build-rail{ grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .rail-item{ padding: 24px 4px; }
}
@media (max-width: 480px){
  .rail-item{ grid-template-columns: auto 1fr; gap: 14px; padding: 22px 2px; }
  .rail-num{ display: none; }
}

/* touch targets: legal bar, in-card contact links, and CTA phone/email spacing */
@media (max-width: 1023px){
  .footer-bottom a,
  .card p > a[href^="tel:"], .card p > a[href^="mailto:"],
  .legal-wrap a[href^="mailto:"], .legal-wrap a[href^="tel:"]{
    min-height: 44px; display: inline-flex; align-items: center;
  }
  .footer-bottom p{ display: flex; flex-wrap: wrap; justify-content: center; gap: 0 10px; }
  .footer-grid ul{ gap: 8px; }
  .mobile-menu ul{ gap: 10px; }
  /* two 44px inline-flex links wrapping in one <p> were touching exactly */
  .cta-contact{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
}
/* keyboard access to the horizontally scrollable product mockups (WCAG 2.1.1):
   move the scroll onto the labelled role=img element so it is focusable and named */
@media (max-width: 640px){
  .mock-frame .mock-body{ overflow-x: visible; }
  .showcase-visual .mock-frame{ overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .showcase-visual .mock-frame > *{ min-width: 320px; }
  .showcase-visual .mock-frame:focus-visible{ outline: 2px solid var(--accent-bright); outline-offset: 3px; }
}
/* one-word widow on the founder pull quote */
.founder-quote{ text-wrap: pretty; }
