/* The palette and type are the dashboard's (src/lib/tokens.ts), so the
   site and the product read as one thing: navy ink on white, one blue
   for actions and emphasis, cyan only at the edges. */
:root {
  --ink:         #020b1a;
  --navy:        #071835;
  --accent:      #1565ff;
  --accent-deep: #0b3fb0;
  --cyan:        #00c8ff;
  --surface:     #ffffff;
  --page:        #f5f8ff;
  --page-alt:    #f0f5ff;
  --mist:        #e4eeff;
  --slate:       #5a6a85;
  --ink-strong:  rgba(2,11,26,.78);
  --ink-muted:   rgba(2,11,26,.58);
  --line:        rgba(2,11,26,.10);
  --line-soft:   rgba(2,11,26,.06);
  --on-navy:       #ffffff;
  --on-navy-muted: rgba(255,255,255,.66);
  --on-navy-line:  rgba(255,255,255,.12);

  /* Built for your kind of business: one colour per example, as in the tour */
  --ind-trades: #c2620f;
  --ind-auto:   #d63a26;
  --ind-club:   #17804a;
  --ind-glow:   #9b2f73;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

img { max-width: 100%; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
section { padding: 96px 0; }

.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.title { font-size: clamp(1.75rem, 3.3vw, 2.6rem); line-height: 1.15; margin-bottom: 16px; }
.title em { font-style: normal; color: var(--accent); }

.lead { font-size: 1.08rem; line-height: 1.7; color: var(--ink-muted); max-width: 660px; }

.head { text-align: center; margin-bottom: 48px; }
.head .lead { margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 10px;
  font: 700 15px 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: #ffffff; box-shadow: 0 8px 22px rgba(21,101,255,0.28); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--navy); }
.btn-outline:hover { background: var(--page-alt); }

/* ══════════════ NAV ══════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; max-width: 1280px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 44px; height: auto; }
.logo-name { display: block; font: 800 16px 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.16em; color: var(--ink); line-height: 1.1; }
.logo-name span { color: var(--accent); }
.logo-tag { display: block; font-size: 9px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { color: var(--ink-strong); text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 8px 14px; border-radius: 8px; transition: background 0.2s, color 0.2s; }
.nav-links a:hover { background: var(--page-alt); color: var(--ink); }
.nav-links .btn { padding: 10px 18px; font-size: 14px; margin-left: 8px; color: #ffffff; }
.nav-links .btn:hover { background: var(--accent-deep); color: #ffffff; }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; display: block; }

.nav-mobile {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  z-index: 999;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(2,11,26,0.08);
  padding: 8px 16px 20px;
  flex-direction: column;
}

.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 14px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.nav-mobile .btn { margin-top: 14px; border-bottom: 0; color: #ffffff; padding: 14px; }

/* ══════════════ HERO ══════════════ */
.hero {
  padding: 136px 0 88px;
  background:
    radial-gradient(ellipse 60% 55% at 85% 35%, rgba(21,101,255,0.10), transparent 70%),
    radial-gradient(ellipse 45% 40% at 5% 10%, rgba(0,200,255,0.08), transparent 70%),
    var(--page);
  border-bottom: 1px solid var(--line-soft);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
  max-width: 1280px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--accent-deep);
  font-size: 13px; font-weight: 700;
  margin-bottom: 22px;
}

.hero-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.hero h1 { font-size: clamp(2.2rem, 3.9vw, 3.3rem); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-sub { font-size: 1.15rem; line-height: 1.7; color: var(--ink-muted); max-width: 560px; margin-bottom: 22px; }
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin-bottom: 32px; font-size: 14px; font-weight: 600; color: var(--ink-strong); }
.hero-proof i { color: var(--accent); margin-right: 6px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-call { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); text-align: left; }
.hero-call-icon { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--mist); color: var(--accent); }
.hero-call small { display: block; font-size: 12.5px; color: var(--ink-muted); font-weight: 500; }
.hero-call strong { font: 800 1.2rem 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.01em; }
.hero-call .pill { font-size: 11.5px; font-weight: 700; color: var(--accent-deep); background: var(--mist); padding: 3px 9px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.hero-call:hover strong { color: var(--accent); }

/* "See it with your business": the Try it page (foundryn.com/try), as a card
   under the hero buttons on the homepage and the Custom Dashboards page. */
.hero-try { display: flex; align-items: center; gap: 14px; max-width: 520px; margin: 22px 0 18px; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: var(--ink); text-align: left; background: linear-gradient(120deg, #ffffff 0%, var(--mist) 100%); border: 1.5px solid rgba(21,101,255,0.35); box-shadow: 0 10px 28px rgba(21,101,255,0.14); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.hero-try:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 14px 34px rgba(21,101,255,0.22); }
.hero-try-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #ffffff; font-size: 18px; }
.hero-try strong { display: block; font: 800 1.05rem 'Plus Jakarta Sans', sans-serif; }
.hero-try small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-muted); font-weight: 500; line-height: 1.4; }
.hero-try .pill { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: #ffffff; background: var(--cyan); padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }
/* Homepage: one card that opens any of the four demos. */
.try-choose { max-width: 540px; margin: 22px 0 18px; padding: 16px; border-radius: 18px; background: linear-gradient(120deg, #ffffff 0%, var(--mist) 100%); border: 1.5px solid rgba(21,101,255,0.30); box-shadow: 0 10px 28px rgba(21,101,255,0.12); text-align: left; }
.try-choose-head { display: flex; align-items: center; gap: 14px; }
.try-choose-head strong { display: block; font: 800 1.05rem 'Plus Jakarta Sans', sans-serif; color: var(--ink); }
.try-choose-head small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-muted); font-weight: 500; line-height: 1.4; }
.try-choose-head .pill { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: #ffffff; background: var(--cyan); padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }
.try-choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.try-tile { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #ffffff; border: 1px solid rgba(7,24,53,0.08); text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; min-width: 0; }
.try-tile:hover { transform: translateY(-2px); border-color: var(--tile); box-shadow: 0 10px 22px rgba(7,24,53,0.10); }
.try-tile i { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #ffffff; background: var(--tile); }
.try-tile span { min-width: 0; }
.try-tile-wide { grid-column: 1 / -1; }
.try-tile b { display: block; font: 700 .92rem 'Plus Jakarta Sans', sans-serif; }
.try-tile em { display: block; font-style: normal; font-size: 12px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .try-tile { padding: 9px 10px; gap: 8px; } .try-tile em { white-space: normal; line-height: 1.3; } .try-tile i { width: 30px; height: 30px; font-size: 13px; } }
.hero-try .go { margin-left: auto; color: var(--accent); font-size: 18px; flex-shrink: 0; }

/* The tour: a silent loop that opens the full video, with sound, on click */
.tour-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #dce8fb url('/videos/foundryn-tour-poster.jpg') center / cover no-repeat;
  box-shadow: 0 30px 70px rgba(7,24,53,0.16), 0 2px 6px rgba(7,24,53,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tour-card:hover { transform: translateY(-3px); box-shadow: 0 36px 80px rgba(7,24,53,0.22), 0 2px 6px rgba(7,24,53,0.06); }
.tour-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.tour-loop { width: 100%; height: 100%; object-fit: cover; display: block; }

.tour-label {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 20px 6px 6px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(7,24,53,0.3);
}

.tour-label .len { color: var(--on-navy-muted); font-weight: 500; }

.tour-play {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.95rem;
  padding-left: 3px;
  transition: transform 0.25s;
}

.tour-play::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.75);
  animation: ring 2.2s ease-out infinite;
}

@keyframes ring { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* ══════════════ HOMEPAGE: THE WHOLE TOP FITS ON ONE SCREEN ══════════════
   Headline and tour on top, then Anvil's bar: the free tries and the phone
   number, with the 3D Anvil saying hi (Nov 15, 2026). Anvil always stays
   inside the bar: his clips are on white and only vanish over the white bar. */
#home.hero { min-height: 100vh; min-height: 100svh; box-sizing: border-box; padding: 100px 0 40px; display: flex; align-items: center; }
#home.hero > .wrap { width: 100%; box-sizing: border-box; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 20px 56px; }
#home .hero-proof { margin-bottom: 26px; }
#home .hero-ctas { margin-bottom: 0; }
#home h1 em { background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 38%, #5aa0ff 50%, var(--accent) 62%, var(--accent) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }

.anvil-bar { grid-column: 1 / -1; position: relative; margin-top: 30px; display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 24px 16px 22px; border-radius: 22px; background: #ffffff; border: 1.5px solid rgba(21,101,255,0.22); box-shadow: 0 18px 44px rgba(21,101,255,0.12); animation: barIn .6s ease both .1s; }
@keyframes barIn { from { opacity: 0; transform: translateY(16px); } }
.anvil-spot { position: relative; align-self: stretch; min-height: 128px; }
/* The clips are on pure white and the bar is white, so multiply makes their
   background vanish and only Anvil shows. They sit inside the bar, never past it. */
.anvil-stage { position: absolute; left: -2px; bottom: -10px; width: 169px; height: 150px; pointer-events: none; }
.anvil-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; opacity: 0; transition: opacity .35s ease; }
.anvil-clip.is-on { opacity: 1; }

.anvil-say { position: relative; display: inline-block; max-width: 100%; box-sizing: border-box; margin: 0 0 6px 8px; padding: 9px 16px; min-height: 2.6em; border-radius: 16px 16px 16px 5px; background: var(--mist); font: 700 1.02rem/1.4 'Plus Jakarta Sans', sans-serif; color: var(--ink); box-shadow: 0 4px 12px rgba(21,101,255,0.08); transform-origin: 0 100%; }
/* The tail points back at Anvil, so it reads as him talking. */
.anvil-say::before { content: ''; position: absolute; left: -8px; bottom: 6px; border-style: solid; border-width: 7px 10px 7px 0; border-color: transparent var(--mist) transparent transparent; }
.anvil-say.pop { animation: bubblePop .32s cubic-bezier(.3,1.5,.5,1); }
@keyframes bubblePop { 0% { transform: scale(.94); opacity: .6; } 100% { transform: scale(1); opacity: 1; } }
.anvil-typing { position: absolute; left: 16px; top: 50%; margin-top: -3px; display: inline-flex; gap: 4px; animation: typingOut .01s linear both 1.6s; }
.anvil-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: typeDot 1s ease-in-out infinite; }
.anvil-typing i:nth-child(2) { animation-delay: .15s; } .anvil-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typeDot { 50% { transform: translateY(-4px); opacity: .4; } }
@keyframes typingOut { to { visibility: hidden; } }
.anvil-line { display: inline-block; animation: lineIn .4s ease both 1.6s; }
@keyframes lineIn { from { opacity: 0; transform: translateY(4px); } }
.anvil-talk > small { display: block; margin: 0 0 10px 10px; font-size: 12.5px; font-weight: 500; color: var(--ink-muted); }
.anvil-replies { display: flex; flex-wrap: wrap; gap: 7px; }
.anvil-reply { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 6px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--tile) 35%, transparent); background: color-mix(in srgb, var(--tile) 7%, #ffffff); color: var(--ink); text-decoration: none; font: 700 13.5px Inter, sans-serif; white-space: nowrap; animation: replyIn .4s ease both; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; }
.anvil-reply:nth-child(1) { animation-delay: 1.9s; } .anvil-reply:nth-child(2) { animation-delay: 2s; } .anvil-reply:nth-child(3) { animation-delay: 2.1s; } .anvil-reply:nth-child(4) { animation-delay: 2.2s; } .anvil-reply:nth-child(5) { animation-delay: 2.3s; }
@keyframes replyIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.anvil-reply i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--tile); color: #ffffff; font-size: 12px; }
.anvil-reply:hover, .anvil-reply:focus-visible { transform: translateY(-2px); border-color: var(--tile); background: color-mix(in srgb, var(--tile) 16%, #ffffff); box-shadow: 0 8px 18px color-mix(in srgb, var(--tile) 25%, transparent); outline: none; }

.anvil-call { display: flex; align-items: center; gap: 12px; padding-left: 22px; border-left: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.anvil-call-icon { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--accent); color: #ffffff; font-size: 17px; box-shadow: 0 8px 20px rgba(21,101,255,0.3); animation: phoneWiggle 5s ease-in-out infinite 3s; }
@keyframes phoneWiggle { 0%, 84%, 100% { transform: rotate(0); } 86% { transform: rotate(-14deg); } 88% { transform: rotate(14deg); } 90% { transform: rotate(-10deg); } 92% { transform: rotate(10deg); } 94% { transform: rotate(0); } }
.anvil-call small { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-muted); }
.anvil-call strong { display: block; font: 800 1.3rem 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.01em; }
.anvil-call:hover strong { color: var(--accent); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #17b26a; animation: liveDot 1.8s infinite; }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 rgba(23,178,106,.55); } 70% { box-shadow: 0 0 0 7px rgba(23,178,106,0); } 100% { box-shadow: 0 0 0 0 rgba(23,178,106,0); } }

/* Shorter screens, like most laptops: tighten so the bar still shows. */
@media (min-width: 961px) and (max-height: 800px) {
  #home.hero { padding: 84px 0 24px; }
  #home .hero-badge { display: none; }
  #home h1 { font-size: 2.6rem; margin-bottom: 12px; }
  #home .hero-sub { font-size: 1.02rem; line-height: 1.55; margin-bottom: 12px; }
  #home .hero-proof { margin-bottom: 16px; }
  #home .tour-card { max-width: calc((100vh - 360px) * 16 / 9); margin-left: auto; }
  .anvil-bar { margin-top: 22px; padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 1180px) and (min-width: 961px) {
  .anvil-bar { grid-template-columns: 130px minmax(0, 1fr); }
  .anvil-stage { width: 146px; height: 130px; }
  .anvil-call { grid-column: 2; padding-left: 0; border-left: 0; }
}
@media (max-width: 960px) {
  #home.hero { min-height: 0; display: block; }
  #home.hero > .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .anvil-bar { margin-top: 36px; grid-template-columns: 130px minmax(0, 1fr); }
  .anvil-stage { width: 146px; height: 130px; }
  .anvil-call { grid-column: 2; padding-left: 0; border-left: 0; }
}
/* Phones: Anvil stands at the top middle of the card, everything stacks. */
@media (max-width: 600px) {
  .anvil-bar { grid-template-columns: minmax(0, 1fr); text-align: center; margin-top: 28px; padding: 10px 16px 18px; gap: 12px; }
  .anvil-spot { position: relative; width: 146px; height: 128px; min-height: 0; margin: 0 auto -6px; }
  .anvil-stage { left: 0; bottom: 0; width: 146px; height: 130px; }
  .anvil-typing { left: 50%; margin-left: -15px; }
  .anvil-say { margin-left: 0; border-radius: 16px; transform-origin: 50% 0; }
  .anvil-say::before { left: 50%; bottom: auto; top: -9px; margin-left: -8px; border-width: 0 8px 10px 8px; border-color: transparent transparent var(--mist) transparent; }
  .anvil-talk > small { margin-left: 0; }
  .anvil-replies { justify-content: center; }
  .anvil-call { grid-column: 1; justify-content: center; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
.tour-card:hover .tour-play { transform: scale(1.08); }

/* ══════════════ WHAT WE BUILD ══════════════ */
.build { background: var(--surface); }
.build-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.build-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.build-card:hover { border-color: rgba(21,101,255,0.35); box-shadow: 0 14px 34px rgba(7,24,53,0.08); transform: translateY(-3px); }

.build-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.build-icon { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--mist); color: var(--accent); font-size: 1.05rem; }
.build-card h3 { font-size: 1.1rem; }
.build-card > p { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.55; margin-bottom: 16px; }
.build-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.build-card li { display: flex; gap: 10px; font-size: 0.89rem; line-height: 1.5; color: var(--ink-strong); }
.build-card li i { color: var(--accent); font-size: 0.75rem; margin-top: 5px; flex-shrink: 0; }

.build-note { margin: 36px auto 0; max-width: 720px; text-align: center; font-size: 1.02rem; line-height: 1.7; color: var(--ink-muted); }
.build-note strong { color: var(--ink); }

/* ══════════════ WHO IT'S FOR ══════════════ */
.ind { background: var(--page); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.ind-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }

.ind-tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink-strong);
  font: 700 0.92rem 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.ind-tab:hover { border-color: rgba(2,11,26,0.3); }
.ind-tab[aria-selected="true"] { background: var(--tab); border-color: transparent; color: #ffffff; box-shadow: 0 8px 20px rgba(2,11,26,0.15); }
.ind-tab:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.ind-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; animation: fadeIn 0.35s ease; }
.ind-panel[hidden] { display: none; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.ind-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hue); margin-bottom: 12px; }
.ind-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; margin-bottom: 14px; }
.ind-copy h3 span { color: var(--hue); }
.ind-copy > p { font-size: 1.02rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 22px; }
.ind-copy ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.ind-copy li { display: flex; gap: 12px; font-size: 0.97rem; line-height: 1.55; color: var(--ink-strong); }
.ind-copy li i { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--hue); color: #ffffff; font-size: 0.6rem; margin-top: 2px; }

.ind-shot { border-radius: 20px; padding: 26px; background: var(--wash); }
.ind-shot img { display: block; width: 100%; max-width: 500px; height: auto; margin: 0 auto; border-radius: 14px; box-shadow: 0 22px 50px rgba(7,24,53,0.2); }
.ind-shot figcaption { text-align: center; font-size: 0.8rem; color: var(--ink-muted); margin-top: 14px; }

.ind-more { margin-top: 72px; text-align: center; }
.ind-more h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin-bottom: 8px; }
.ind-more h3 em { font-style: normal; color: var(--accent); }
.ind-more > p { color: var(--ink-muted); font-size: 1rem; line-height: 1.7; max-width: 620px; margin: 0 auto 28px; }
.ind-more-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ind-more-row img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 26px rgba(7,24,53,0.1); transition: transform 0.25s; }
.ind-more-row img:hover { transform: translateY(-4px); }
.ind-more .btn { margin-top: 32px; }

/* ══════════════ HOW IT WORKS ══════════════ */
.how { background: var(--surface); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.steps { list-style: none; display: flex; flex-direction: column; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 26px; position: relative; }
.steps li:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 6px; width: 2px; background: var(--mist); }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #ffffff; font: 800 1rem 'Plus Jakarta Sans', sans-serif; }
.steps h3 { font-size: 1.08rem; margin: 9px 0 5px; }
.steps p { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.6; }

.calc { background: var(--page); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.calc h3 { font-size: 1.3rem; margin-bottom: 6px; }
.calc > p { font-size: 0.93rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 22px; }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.calc-field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-bottom: 7px; }
.calc-field input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font: 600 1.05rem 'Inter', sans-serif; color: var(--ink); }
.calc-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(21,101,255,0.15); }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-result { border-radius: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); }
.calc-result.year { background: var(--navy); border-color: var(--navy); }
.calc-result span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.calc-result.year span { color: var(--on-navy-muted); }
.calc-result strong { font: 800 1.9rem 'Plus Jakarta Sans', sans-serif; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.calc-result.year strong { color: #ffffff; }
.calc-note { font-size: 0.82rem; color: var(--ink-muted); margin-top: 16px; line-height: 1.6; }

/* ══════════════ WHY + BOOK ══════════════ */
.close { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.close::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 90% 10%, rgba(21,101,255,0.28), transparent 70%); pointer-events: none; }
.close .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.close .label { color: var(--accent); }
.close .title { color: #ffffff; }
.close .lead { color: var(--on-navy-muted); margin-bottom: 30px; }

.why { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.why li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.why-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); border: 1px solid var(--on-navy-line); color: var(--accent); }
.why h3 { color: #ffffff; font-size: 1.05rem; margin: 2px 0 4px; }
.why p { color: var(--on-navy-muted); font-size: 0.93rem; line-height: 1.6; }

.book-card { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 34px 32px 30px; text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,0.3); }
/* Anvil, animated. The clips are on pure white and multiply into the white card. */
.book-anvil { position: relative; width: 192px; height: 170px; margin: -14px auto 4px; }
.book-card h2 { font-size: 1.85rem; margin-bottom: 10px; }
.book-card > p { font-size: 0.98rem; line-height: 1.65; color: var(--ink-muted); margin-bottom: 22px; }
.book-card .btn { width: 100%; }
.book-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; font-size: 13px; color: var(--ink-muted); }
.book-or::before, .book-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.book-call { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.15rem 'Plus Jakarta Sans', sans-serif; }
.book-call i { color: var(--accent); }
.book-call:hover { color: var(--accent); }
.book-fine { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 0.86rem; line-height: 1.6; color: var(--ink-muted); }
.book-fine strong { color: var(--ink); }
.book-fine a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* ══════════════ FOOTER ══════════════ */
footer { background: var(--ink); color: var(--on-navy-muted); padding: 56px 0 28px; font-size: 0.9rem; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--on-navy-line); }
footer .logo-name { color: #ffffff; }
footer .logo-name span { color: var(--cyan); }
footer .logo-tag { color: var(--on-navy-muted); }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4 { color: #ffffff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; font-family: 'Inter', sans-serif; font-weight: 700; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.foot-col a { color: var(--on-navy-muted); text-decoration: none; }
.foot-col a:hover { color: #ffffff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--on-navy-line); color: #ffffff; }
.socials a:hover { background: rgba(255,255,255,0.1); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: 0.82rem; }
.foot-bottom a { color: var(--on-navy-muted); text-decoration: none; margin-left: 16px; }
.foot-bottom a:hover { color: #ffffff; }

/* ══════════════ VIDEO LIGHTBOX ══════════════ */
.tour-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(2,11,26,0.86); backdrop-filter: blur(10px); }
.tour-modal.open { display: flex; animation: fadeIn 0.25s ease; }
.tour-modal-box { position: relative; width: min(1200px, 100%, calc((100vh - 120px) * 16 / 9)); }
.tour-modal-box video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; box-shadow: 0 30px 100px rgba(0,0,0,0.6); }
.tour-modal-close { position: absolute; top: -50px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.12); color: #ffffff; font-size: 1.1rem; cursor: pointer; }
.tour-modal-close:hover { background: rgba(255,255,255,0.25); }
.tour-modal-cta { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; color: rgba(255,255,255,0.8); font-size: 0.92rem; }
.tour-modal-cta .btn { padding: 10px 22px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .tour-play::before { animation: none; }
  .anvil-bar, .anvil-line, .anvil-say, .anvil-reply, .anvil-call-icon, .live-dot, #home h1 em { animation: none !important; }
  .anvil-typing { display: none; }
  .ind-panel, .tour-modal.open { animation: none; }
}

/* ══════════════ SMALLER SCREENS ══════════════ */
@media (max-width: 1080px) {
  .build-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero .wrap, .ind-panel, .how-grid, .close .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 108px 0 64px; }
  .hero .wrap { gap: 40px; }
  .ind-panel { gap: 28px; }
  .ind-more-row { grid-template-columns: repeat(3, 1fr); }
  .ind-more-row img:nth-child(n+4) { display: none; }
  .close .wrap { gap: 40px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .head { margin-bottom: 32px; }
  .hero { padding: 96px 0 52px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; font-size: 1.05rem; }
  .hero-proof, .hero-ctas { justify-content: center; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .tour-label { left: 10px; bottom: 10px; font-size: 13px; gap: 9px; padding: 4px 14px 4px 4px; }
  .tour-play { width: 34px; height: 34px; font-size: 0.8rem; }
  .build-grid { grid-template-columns: 1fr; gap: 12px; }
  .build-card { padding: 20px 18px; }
  .build-card > p { display: none; }
  .build-top { margin-bottom: 14px; }
  .ind-tabs { gap: 8px; margin-bottom: 28px; }
  .ind-tab { padding: 9px 14px; font-size: 0.86rem; }
  .ind-copy h3 { font-size: 1.4rem; }
  .ind-copy ul { margin-bottom: 22px; }
  .ind-shot { padding: 14px; }
  .ind-shot img { max-width: 320px; }
  .ind-more { margin-top: 52px; }
  .ind-more-row { gap: 10px; }
  .steps li { padding-bottom: 18px; }
  .calc { padding: 22px 18px; }
  .calc-inputs, .calc-results { grid-template-columns: 1fr 1fr; gap: 10px; }
  .calc-result strong { font-size: 1.45rem; }
  .why { gap: 16px; }
  .book-card { padding: 26px 20px 24px; }
  .book-anvil { width: 150px; height: 133px; }
  .foot-cols { gap: 32px; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .foot-bottom a { margin: 0 8px; }
}

/* ══════════════ SERVICES MENU (top bar) ══════════════ */
.nav-drop { position: relative; }
.nav-drop > button {
  background: none; border: 0; cursor: pointer;
  color: var(--ink-strong); font: 600 14.5px 'Inter', sans-serif;
  padding: 8px 14px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-drop > button:hover, .nav-drop.open > button { background: var(--page-alt); color: var(--ink); }
.nav-drop > button i { font-size: 0.7rem; transition: transform 0.2s; }
.nav-drop.open > button i { transform: rotate(180deg); }
.nav-drop-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: -8px; width: 300px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 44px rgba(7,24,53,0.14); padding: 8px; list-style: none;
}
.nav-drop.open .nav-drop-menu { display: block; }
.nav-links .nav-drop-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; }
.nav-drop-menu i { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--mist); color: var(--accent); font-size: 0.85rem; }
.nav-drop-menu b { display: block; color: var(--ink); font-size: 14px; }
.nav-drop-menu small { display: block; color: var(--ink-muted); font-size: 12.5px; font-weight: 500; line-height: 1.4; }
.nav-mobile .nav-mobile-label { padding: 14px 4px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); border: 0; }
.nav-mobile .nav-mobile-sub { padding-left: 16px; }
.nav-links a[aria-current="page"] { color: var(--accent); }

/* ══════════════ SERVICES (homepage cards) ══════════════ */
.svc { background: var(--page); border-top: 1px solid var(--line-soft); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 22px; text-decoration: none; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.svc-card:hover { border-color: rgba(21,101,255,0.35); box-shadow: 0 14px 34px rgba(7,24,53,0.08); transform: translateY(-3px); }
.svc-card .build-icon { margin-bottom: 4px; }
.svc-card h3 { font-size: 1.15rem; }
.svc-card p { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.6; flex: 1; }
.svc-card span { font-weight: 700; font-size: 0.92rem; color: var(--accent); }

/* ══════════════ SERVICE PAGES ══════════════ */
.page-hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.hero-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; box-shadow: 0 30px 70px rgba(7,24,53,0.12);
}
.hero-panel h3 { font-size: 1.05rem; margin-bottom: 14px; }
.hero-panel ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.hero-panel li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 0.95rem; line-height: 1.5; color: var(--ink-strong); }
.hero-panel li i { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--mist); color: var(--accent); font-size: 0.85rem; }
.hero-panel li b { display: block; color: var(--ink); }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.alt { background: var(--page); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 0.93rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); line-height: 1.5; }
.compare thead th { background: var(--navy); color: #ffffff; font-weight: 700; font-size: 0.88rem; }
.compare thead th.us { background: var(--accent); }
.compare tbody th { font-weight: 700; color: var(--ink); width: 22%; }
.compare td { color: var(--ink-muted); }
.compare td.us { background: var(--page-alt); color: var(--ink); font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare-wrap { overflow-x: auto; }

.cta-band { background: var(--navy); color: #ffffff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 50% 0%, rgba(21,101,255,0.3), transparent 70%); pointer-events: none; }
.cta-band .wrap { position: relative; }
.cta-band .title { color: #ffffff; }
.cta-band .lead { color: var(--on-navy-muted); margin: 0 auto 28px; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }
.cta-band .btn-outline { background: transparent; color: #ffffff; border-color: rgba(255,255,255,0.5); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ══════════════ QUESTIONS ══════════════ */
.faq { background: var(--surface); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color 0.2s; }
.faq-list details[open] { border-color: rgba(21,101,255,0.35); box-shadow: 0 10px 26px rgba(7,24,53,0.06); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 700 1.02rem 'Plus Jakarta Sans', sans-serif; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font: 400 1.5rem 'Inter', sans-serif; color: var(--accent); line-height: 1; transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 14px; }
.faq-list details p { padding: 0 22px 20px; color: var(--ink-muted); line-height: 1.7; font-size: 0.97rem; }

@media (max-width: 1080px) {
  .svc-grid, .feat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .page-hero .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .svc-grid, .feat-grid { grid-template-columns: 1fr; gap: 12px; }
  .page-hero .hero-panel { padding: 20px; text-align: left; }
  .compare th, .compare td { padding: 11px 12px; font-size: 0.86rem; }
  .compare { min-width: 620px; }
  .faq-list summary { padding: 16px 18px; font-size: 0.96rem; }
  .faq-list details p { padding: 0 18px 18px; }
}

/* Service pages: the video sits above the hero's info box */
.hero-media { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.ind-more-row.six { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 960px) {
  .ind-more-row.six { grid-template-columns: repeat(3, 1fr); }
}
