/* Homepage: premium dark indigo. Loaded only by index.html, after theme.css, so these
   rules own the page. Geist carries the type; Geist Mono carries figures and labels.
   One accent (violet), two ambient glows, hairline borders everywhere else. */

body.home {
  --bg0: #0c0e20;
  --bg1: #12152e;
  --card: #101332;
  --white-c: #f4f5fc;
  --body-d: #c3c7dd;
  --mute-d: #9aa0c2;
  --line-d: rgba(236, 238, 255, 0.10);
  --line-d2: rgba(236, 238, 255, 0.18);
  --vio: #6d5af5;
  --vio-deep: #5b48ec;
  --vio-tint: #b9adff;
  background: var(--bg0);
  color: var(--body-d);
}
body.home h1, body.home h2, body.home h3, body.home h4 { color: var(--white-c); }
body.home ::selection { background: rgba(109, 90, 245, 0.35); }
body.home :focus-visible { outline: 3px solid var(--vio-tint); outline-offset: 3px; }

main > section { padding: clamp(60px, 7.5vw, 100px) 0; }

/* Header and footer sit on the same canvas */
body.home .site-header { background: rgba(12, 14, 32, 0.84); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-d); }
body.home .site-nav { background: transparent; }
body.home .site-cta { background: var(--vio); }
body.home .site-cta:hover { background: var(--vio-deep); }
body.home .site-footer { background: #090b1a; border-top: 1px solid var(--line-d); }

/* Buttons on the dark canvas */
body.home .btn-primary {
  background: var(--vio);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 32px -10px rgba(109, 90, 245, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
body.home .btn-primary:hover { background: var(--vio-deep); box-shadow: 0 12px 32px -10px rgba(109, 90, 245, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
body.home .btn-ghost-dark { border: 1px solid rgba(236, 238, 255, 0.22); color: #fff; background: transparent; border-radius: 10px; }
body.home .btn-ghost-dark:hover { border-color: rgba(236, 238, 255, 0.5); background: rgba(255, 255, 255, 0.04); }
body.home .btn-ghost-light { background: transparent; border: 1px solid rgba(236, 238, 255, 0.2); color: #fff; border-radius: 10px; }
body.home .btn-ghost-light:hover { border-color: rgba(236, 238, 255, 0.5); color: #fff; }
body.home .btn-ink { background: var(--white-c); color: #10132b; border-radius: 10px; }
body.home .btn-ink:hover { background: #fff; color: #10132b; }
body.home .totop { background: var(--vio); }

/* Section headers: a small mono tag, then the heading */
.sec-tag { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--vio-tint); margin: 0 0 14px; }
.sec-head { max-width: 780px; margin-bottom: 0; }
.sec-head h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 640; letter-spacing: -0.028em; line-height: 1.06; text-wrap: balance; }
.sec-head .lead { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--body-d); max-width: 40em; }

/* Hero */
main > .home-hero {
  padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 92px);
  background:
    radial-gradient(900px 520px at 80% -5%, rgba(109, 90, 245, 0.2), transparent 64%),
    radial-gradient(760px 480px at 8% 112%, rgba(109, 90, 245, 0.1), transparent 60%);
}
.home-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(40px, 5.5vw, 84px);
  align-items: center;
}
.hero-kicker { font-family: var(--mono); font-size: 13.5px; color: var(--vio-tint); margin: 0 0 22px; }
.home-hero h1 {
  font-size: clamp(42px, 5.3vw, 78px);
  line-height: 1.01;
  letter-spacing: -0.035em;
  font-weight: 650;
  max-width: 12ch;
  text-wrap: balance;
  margin: 0;
}
.home-hero .sub {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--body-d);
  max-width: 33em;
  margin: 24px 0 32px;
}
.home-hero .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 15px;
  color: var(--body-d);
}
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.hero-facts li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9adff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The product frame: a window, not a card */
.hero-frame {
  position: relative;
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(236, 238, 255, 0.14);
  background: linear-gradient(180deg, #181c3e, #0f1230);
  box-shadow: 0 60px 120px -40px rgba(4, 5, 18, 0.9);
  overflow: hidden;
}
.hero-frame::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 173, 255, 0.55), transparent);
  z-index: 1;
}
.hero-frame a { display: block; }
.frame-bar {
  display: flex;
  gap: 6px;
  padding: 11px 13px;
  border-bottom: 1px solid rgba(236, 238, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(236, 238, 255, 0.18); }
.hero-frame img { display: block; width: 100%; height: auto; }
.hero-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 11px 14px;
  border-top: 1px solid rgba(236, 238, 255, 0.08);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute-d);
}
.hero-frame a:focus-visible { outline-offset: -4px; }

/* The sprint in one line */
main > .spec-strip { padding: 0; border-block: 1px solid var(--line-d); background: rgba(255, 255, 255, 0.02); }
.spec-strip .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; padding-block: 18px; }
.spec-name { font-weight: 640; font-size: 16.5px; color: var(--white-c); margin: 0; }
.spec-facts { font-family: var(--mono); font-size: 14px; color: var(--body-d); margin: 0; }
.spec-strip a { margin-left: auto; color: var(--vio-tint); font-weight: 560; text-decoration: underline; text-underline-offset: 4px; }
.spec-strip a:hover { color: #fff; }

/* Proof */
.proof-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 64px; flex-wrap: wrap; margin-bottom: 44px; }
.proof-head h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 640; letter-spacing: -0.025em; line-height: 1.08; max-width: 16ch; margin: 0; }
.proof-head > p { max-width: 34em; margin: 0; font-size: 17px; line-height: 1.6; color: var(--body-d); }
.proof-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.proof-grid li { display: flex; flex-direction: column; margin: 0; min-width: 0; }
.proof-body { display: flex; flex-direction: column; flex: 1; }
.proof-shot { margin: 0 0 20px; aspect-ratio: 16 / 10; border: 1px solid rgba(236, 238, 255, 0.12); border-radius: 12px; overflow: hidden; background: #0d1028; }
.proof-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proof-grid .proof-role { font-size: 14px; font-weight: 560; color: var(--vio-tint); margin: 4px 0 8px; }
.proof-grid h3 { font-size: clamp(25px, 2.3vw, 30px); font-weight: 640; letter-spacing: -0.022em; line-height: 1.1; margin: 0 0 10px; overflow-wrap: anywhere; }
.proof-grid p.proof-lead { font-size: 18.5px; font-weight: 560; line-height: 1.45; color: #e9ebf9; margin: 0 0 8px; max-width: 30em; }
.proof-grid .proof-body > p:not(.proof-role):not(.proof-lead) { font-size: 16px; line-height: 1.65; color: var(--body-d); margin: 0 0 18px; max-width: 34em; }
.proof-tags { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.proof-tags li { font-family: var(--mono); font-size: 12.5px; color: #d9dcef; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(236, 238, 255, 0.14); border-radius: 999px; padding: 5px 12px; margin: 0; }
.proof-grid .proof-body a.btn { margin-top: auto; align-self: flex-start; text-decoration: none; padding: 11px 18px; min-height: 44px; font-size: 15px; }
.proof-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.proof-grid .proof-body .proof-actions a.btn { margin-top: 0; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; margin-top: 48px; }
.svc { border-top: 1px solid var(--line-d2); padding-top: 22px; min-width: 0; }
.svc h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 0 0 10px; }
.svc h3 a { color: var(--white-c); text-decoration: underline; text-decoration-color: rgba(236, 238, 255, 0.25); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.svc h3 a:hover { text-decoration-color: var(--vio-tint); }
.svc p { font-size: 15.5px; line-height: 1.65; margin: 0; color: var(--body-d); }

/* Work */
.work-feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: 48px; }
.work-feature figure { margin: 0; background: var(--card); border: 1px solid rgba(236, 238, 255, 0.12); border-radius: 12px; padding: 8px; }
.work-feature img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; border-radius: 7px; }
.work-feature h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 640; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px; }
.work-feature p { font-size: 16px; line-height: 1.7; margin: 0 0 14px; color: var(--body-d); }
.work-feature .work-note { font-size: 14px; color: var(--mute-d); }
.work-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.notes-row { margin-top: 56px; border-top: 1px solid var(--line-d); padding-top: 28px; }
.notes-row h3 { font-size: 17px; font-weight: 600; margin: 0 0 18px; }
.notes-row ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.notes-row li { margin: 0; }
.notes-row time { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--mute-d); margin-bottom: 6px; }
.notes-row li a { font-size: 17px; font-weight: 560; line-height: 1.4; color: var(--white-c); text-decoration: underline; text-decoration-color: rgba(236, 238, 255, 0.22); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.notes-row li a:hover { text-decoration-color: var(--vio-tint); }
.notes-row .all { margin: 22px 0 0; font-weight: 560; }
.notes-row .all a { color: var(--vio-tint); text-decoration: underline; text-underline-offset: 3px; }
.notes-row .all a:hover { color: #fff; }

/* Terms */
.terms-grid { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 44px; }
.terms-grid li { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 14px; margin: 0; }
.terms-grid li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9adff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.terms-grid h3 { font-size: 18px; font-weight: 600; line-height: 1.3; margin: 0 0 6px; }
.terms-grid p { grid-column: 2; font-size: 15.5px; line-height: 1.6; margin: 0; color: var(--body-d); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 28px; margin-top: 48px; }
.step-item { border-top: 1px solid var(--line-d2); padding: 16px 0 8px; }
.step-item .n { font-family: var(--mono); font-size: 13.5px; color: var(--vio-tint); font-weight: 500; }
.step-item h3 { font-size: 18px; font-weight: 600; margin: 8px 0 8px; }
.step-item p { font-size: 14.5px; line-height: 1.6; margin: 0; color: var(--body-d); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.price-card { border: 1px solid rgba(236, 238, 255, 0.1); border-radius: 14px; padding: clamp(26px, 3vw, 38px); background: var(--bg1); display: flex; flex-direction: column; gap: 20px; }
.price-card.lead-card { border-color: rgba(141, 123, 255, 0.55); box-shadow: 0 0 0 1px rgba(141, 123, 255, 0.22), 0 36px 90px -36px rgba(109, 90, 245, 0.45); background: linear-gradient(180deg, rgba(109, 90, 245, 0.1), rgba(109, 90, 245, 0) 42%), var(--bg1); }
.price-card h3 { font-size: 21px; font-weight: 620; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0; }
.price-card h3 small { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--mute-d); letter-spacing: 0; }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0; }
.price strong { font-family: var(--mono); font-weight: 500; font-size: clamp(30px, 3vw, 40px); line-height: 1; letter-spacing: -0.03em; color: var(--white-c); }
.price strong.price-word { font-family: var(--disp); font-weight: 640; letter-spacing: -0.025em; }
.price span { font-size: 15px; color: var(--mute-d); }
.price-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.price-card li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; color: #e4e6f5; margin: 0; }
.price-card li::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9adff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-card .fine { border-top: 1px solid var(--line-d); padding-top: 16px; font-size: 14.5px; line-height: 1.6; margin: 0; color: var(--mute-d); }
.price-card .btn { justify-content: center; margin-top: auto; }

/* Team */
.team-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.team-grid img { width: 220px; height: 220px; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid rgba(236, 238, 255, 0.14); display: block; }
.team-grid h2 { font-size: clamp(27px, 3vw, 37px); font-weight: 640; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 16px; max-width: 22ch; }
.team-grid p { font-size: 16.5px; line-height: 1.7; margin: 0 0 14px; max-width: 42em; color: var(--body-d); }
.team-name { color: var(--white-c); font-weight: 600; }
.team-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; }
.team-links a { font-weight: 560; color: var(--white-c); text-decoration: underline; text-decoration-color: var(--vio); text-decoration-thickness: 2px; text-underline-offset: 5px; padding: 6px 0; }
.team-links a:hover { color: var(--vio-tint); }

/* FAQ */
#faq .buyer-faq { max-width: 880px; margin: 40px 0 0; border-top: 1px solid var(--line-d2); }
.buyer-faq details { border-bottom: 1px solid var(--line-d); padding: 6px 0; }
.buyer-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 17.5px; font-weight: 560; color: var(--white-c); padding: 14px 0; min-height: 48px; cursor: pointer; }
.buyer-faq summary::-webkit-details-marker { display: none; }
.buyer-faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 22px; line-height: 1; color: var(--vio-tint); flex: none; }
.buyer-faq details[open] summary::after { content: "\2212"; }
.buyer-faq details p { font-size: 16px; line-height: 1.7; margin: 0 0 18px; max-width: 46em; color: var(--body-d); }

/* Agency partners */
main > .partner-callout { padding: 26px 0; border-block: 1px solid var(--line-d); background: rgba(255, 255, 255, 0.02); }
.partner-callout p { margin: 0; font-size: 16px; color: var(--body-d); }
.partner-callout a { color: var(--white-c); font-weight: 560; text-decoration: underline; text-decoration-color: var(--vio); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.partner-callout a:hover { color: var(--vio-tint); }

/* Contact */
body.home .contact { background: radial-gradient(760px 420px at 85% 0%, rgba(109, 90, 245, 0.14), transparent 62%), var(--bg1); border-top: 1px solid var(--line-d); }
.contact .sec-head h2 { color: var(--white-c); }
.contact .sec-head .lead { color: var(--body-d); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); margin-top: 44px; align-items: start; }
.cinfo .row { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(236, 238, 255, 0.08); }
.cinfo .row:last-child { border-bottom: none; }
.cinfo .row .ic { width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(185, 173, 255, 0.12); border-radius: 10px; }
.cinfo .row .ic svg { width: 18px; height: 18px; fill: none; stroke: var(--vio-tint); stroke-width: 1.8; }
.cinfo .row .k { font-size: 14px; color: var(--mute-d); }
.cinfo .row .v { color: #fff; margin-top: 2px; display: inline-block; font-size: 16px; }
.cinfo a.v { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 4px; }
.cinfo a.v:hover { text-decoration-color: #fff; }
body.home .form { border: none; border-radius: 14px; box-shadow: 0 50px 110px -40px rgba(3, 4, 16, 0.9); }

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 28px; }
}

@media (max-width: 960px) {
  .home-hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .home-hero h1 { max-width: 14ch; }
  .hero-frame { max-width: 620px; }
  .spec-strip a { margin-left: 0; }
  .svc-grid, .terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-feature { grid-template-columns: minmax(0, 1fr); }
  .notes-row ul { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .proof-grid { gap: 40px 32px; }
}

@media (max-width: 680px) {
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .team-grid img { width: 148px; height: 148px; }
}

@media (max-width: 600px) {
  main > .home-hero { padding: 44px 0 56px; }
  .home-hero h1 { font-size: clamp(37px, 10vw, 46px); line-height: 1.03; }
  .home-hero .sub { font-size: 16.5px; margin: 18px 0 24px; }
  .home-hero .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero-facts { flex-direction: column; gap: 10px; margin-top: 26px; }
  .proof-grid, .svc-grid, .terms-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .proof-grid { gap: 36px; }
  .sec-head .lead { font-size: 16.5px; }
  .work-actions .btn { flex: 1 1 100%; justify-content: center; }
}
