/* index.css — inherits theme */
@import url("styles.css");

/* ---------- Enterprise landing extensions ---------- */
.enterprise-promise .section-subtitle,
.integrations .section-subtitle { color: var(--muted); }

.grid-3.stat-grid { gap: 18px; }

.stat { display: grid; gap: 6px; text-align: center; padding: 20px; }
.stat-value { font-size: 1.25rem; font-weight: 700; }
.stat-label { color: var(--muted); font-size: .95rem; }

/* Chips spacing on landing */
.integrations .chips { margin-top: 12px; }

/* CTA band */
.cta-band {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  border: 1px solid var(--border);
  background: rgba(17,17,17,0.06);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.cta-band .lede { color: var(--muted); margin: 8px 0 14px; }

/* Center the 2 cards under "Websites we build" */
#developers .int-grid {
  /* use 2 columns instead of the global 4 */
  grid-template-columns: 1fr 1fr;

  /* keep the pair visually centered inside the page container */
  max-width: 960px;
  margin-inline: auto;
  justify-content: center; /* harmless; keeps tracks centered if width shrinks */
}

/* preserve the 1-column mobile stack */
@media (max-width: 640px) {
  #developers .int-grid { grid-template-columns: 1fr; }
}

/* ---------- Interactive template showroom ---------- */
.template-showroom {
  position: relative;
  overflow: hidden;
  padding: 104px 0 118px;
  border-top: 1px solid rgba(17,17,17,.08);
  border-bottom: 1px solid rgba(17,17,17,.08);
  background:
    rgba(255,255,255,.2)

;
}
.showroom-head { position: relative; z-index: 2; }
.showroom-head .eyebrow { margin-bottom: 12px; }
.showroom-title-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: end; }
.showroom-title-row .section-title { max-width: 760px; margin: 0; font-size: clamp(2.35rem, 1.7rem + 2.8vw, 4.4rem); letter-spacing: -.055em; }
.showroom-title-row .section-subtitle { max-width: 720px; margin: 18px 0 0; }
.template-card:focus-visible, .signal-choice:focus-visible { outline: 3px solid rgba(17,17,17,.38); outline-offset: 4px; }
.template-rail-wrap { position: relative; margin-top: 42px; }
.template-rail-wrap::before, .template-rail-wrap::after { content: ""; position: absolute; z-index: 4; top: 0; bottom: 12px; width: min(9vw, 140px); pointer-events: none; }
.template-rail-wrap::before { left: 0; background: #f4f4f4; }
.template-rail-wrap::after { right: 0; background: #fafafa; }
.template-rail {
  display: flex;
  gap: clamp(18px, 2.5vw, 32px);
  overflow-x: auto;
  overflow-y: visible;
  padding: 30px max(5vw, calc((100vw - 540px) / 2)) 46px;
  scroll-behavior: auto;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.template-rail:active { cursor: grabbing; }
.template-rail::-webkit-scrollbar { display: none; }
.template-card {
  --template-accent: #777777;
  flex: 0 0 clamp(300px, 44vw, 540px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.13);
  border-radius: 27px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 48px rgba(17,17,17,.09);
  opacity: .58;
  transform: scale(.94);
  will-change: transform, opacity;
  transition: opacity .24s ease, transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease;
}
.template-card.is-active, .template-card:hover, .template-card:focus-visible, .template-card:focus-within {
  z-index: 3;
  opacity: 1;
  transform: translateY(-10px) scale(1.025);
  border-color: color-mix(in srgb, var(--template-accent) 42%, transparent);
  box-shadow: 0 30px 80px rgba(17,17,17,.2);
}
.template-card[data-style="local"] { --template-accent: #777777; }
.template-card[data-style="commerce"] { --template-accent: #777777; }
.template-card[data-style="saas"] { --template-accent: #4d4d4d; }
.template-card[data-style="hospitality"] { --template-accent: #4d4d4d; }
.template-card[data-style="property"] { --template-accent: #4d4d4d; }
.template-card[data-style="wellness"] { --template-accent: #4d4d4d; }
.template-canvas { min-height: clamp(260px, 29vw, 355px); overflow: hidden; border-bottom: 1px solid rgba(17,17,17,.1); background: #f4f4f4; }
.mock-top { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-bottom: 1px solid rgba(17,17,17,.08); background: rgba(255,255,255,.76); }
.mock-top i { width: 5px; height: 5px; border-radius: 50%; background: #bbbbbb; }
.mock-top span { width: 34%; height: 5px; margin-left: auto; border-radius: 999px; background: #e3e3e3; }
.mock-nav { display: flex; align-items: center; gap: 17px; height: 44px; padding: 0 6%; background: #fff; }
.mock-nav b { margin-right: auto; color: #111111; font-size: clamp(.5rem, .45rem + .3vw, .72rem); letter-spacing: .12em; }
.mock-nav span { width: 34px; height: 4px; border-radius: 99px; background: #e3e3e3; }
.mock-nav em { width: 50px; height: 17px; border-radius: 99px; background: var(--template-accent); }
.mock-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 6%; align-items: center; min-height: 205px; padding: 7%; background: #e3e3e3; }
.mock-copy { display: grid; gap: 9px; }
.mock-copy small, .mock-commerce-head small, .mock-editorial small, .mock-property-copy small, .mock-wellness-copy small { width: 32%; height: 4px; border-radius: 99px; background: var(--template-accent); }
.mock-copy strong, .mock-commerce-head strong, .mock-editorial strong, .mock-property-copy strong, .mock-wellness-copy strong { display: block; width: 92%; height: 13px; border-radius: 3px; background: #111111; }
.mock-copy strong.short, .mock-wellness-copy strong.short { width: 67%; }
.mock-copy p, .mock-commerce-head p, .mock-editorial p, .mock-wellness-copy p { width: 78%; height: 5px; border-radius: 99px; background: #bbbbbb; }
.mock-copy button, .mock-local-copy button, .mock-booking button { width: 58px; height: 19px; border: 0; border-radius: 99px; background: var(--template-accent); }
.mock-image { position: relative; aspect-ratio: .9; border-radius: 44% 44% 14px 14px; background: #4d4d4d; box-shadow: 0 16px 34px rgba(17,17,17,.2); }
.mock-image::before { content: ""; position: absolute; inset: 12% 19% 10%; border-radius: 48% 48% 12px 12px; background: rgba(17,17,17,.2); }
.mock-image i { position: absolute; right: -8%; bottom: 12%; width: 36%; aspect-ratio: 1; border-radius: 50%; background: rgba(17,17,17,.5); filter: blur(2px); }
.mock-stat-row, .mock-service-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e3e3e3; }
.mock-stat-row span { height: 48px; background: #fff; }
.mock-stat-row span::before { content: ""; display: block; width: 30%; height: 8px; margin: 12px auto 6px; border-radius: 3px; background: #111111; }

/* Local-service preview */
[data-style="local"] .template-canvas { background: #e3e3e3; }
[data-style="local"] .mock-nav { background: #f4f4f4; }
.mock-local-hero { position: relative; display: grid; align-content: end; min-height: 215px; padding: 7%; background: #4d4d4d; }
.mock-local-copy { display: grid; gap: 8px; width: 58%; }
.mock-local-copy small { width: 42%; height: 4px; background: #777777; }
.mock-local-copy strong { width: 100%; height: 12px; border-radius: 3px; background: #fff; }
.mock-local-copy strong.short { width: 70%; }
.mock-rating { position: absolute; right: 7%; bottom: 74px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.9); color: #777777; font-size: .48rem; letter-spacing: .08em; }
.mock-rating span { display: block; width: 34px; height: 3px; margin-top: 4px; background: #bbbbbb; }
.mock-service-row span { height: 48px; background: #f4f4f4; }

/* Commerce preview */
[data-style="commerce"] .template-canvas { background: #e3e3e3; }
[data-style="commerce"] .mock-nav { background: #f4f4f4; }
.mock-commerce-head { display: grid; justify-items: center; gap: 8px; padding: 7% 7% 4%; text-align: center; }
.mock-commerce-head small { width: 15%; }
.mock-commerce-head strong { width: 48%; height: 12px; background: #111111; }
.mock-commerce-head p { width: 33%; }
.mock-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 6% 7%; }
.mock-product-grid > span { position: relative; aspect-ratio: .85; border-radius: 4px; background: #4d4d4d; }
.mock-product-grid > span:nth-child(2) { background: #4d4d4d; }
.mock-product-grid > span:nth-child(3) { background: #4d4d4d; }
.mock-product-grid i { position: absolute; inset: auto 10% 8%; height: 4px; border-radius: 99px; background: rgba(255,255,255,.78); }

/* SaaS preview */
[data-style="saas"] .template-canvas { background: #f4f4f4; }
.mock-app-shell { display: grid; grid-template-columns: 24% 1fr; min-height: 292px; }
.mock-app-shell aside { display: grid; align-content: start; gap: 13px; padding: 18px 14px; background: #111111; }
.mock-app-shell aside b { width: 28px; height: 28px; margin-bottom: 12px; border-radius: 8px; background: #777777; }
.mock-app-shell aside span { width: 72%; height: 5px; border-radius: 99px; background: rgba(255,255,255,.22); }
.mock-dashboard { padding: 6%; }
.mock-dash-head { display: flex; justify-content: space-between; align-items: center; }
.mock-dash-head strong { width: 34%; height: 11px; border-radius: 3px; background: #111111; }
.mock-dash-head button { width: 52px; height: 20px; border: 0; border-radius: 99px; background: #4d4d4d; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 18px 0 10px; }
.mock-kpis span { height: 58px; border: 1px solid #e3e3e3; border-radius: 7px; background: #fff; }
.mock-kpis span::before { content: ""; display: block; width: 38%; height: 7px; margin: 12px; border-radius: 3px; background: #4d4d4d; }
.mock-chart { position: relative; height: 112px; overflow: hidden; border: 1px solid #e3e3e3; border-radius: 8px; background: repeating-linear-gradient(0deg, #fff 0 24px, #e3e3e3 25px); }
.mock-chart i { position: absolute; inset: 58% -4% auto 5%; height: 4px; background: #777777; transform: rotate(-8deg); box-shadow: 82px -18px 0 #4d4d4d, 166px 6px 0 #777777; }

/* Hospitality preview */
[data-style="hospitality"] .template-canvas { background: #f4f4f4; }
[data-style="hospitality"] .mock-nav { background: #f4f4f4; }
.mock-editorial { display: grid; grid-template-columns: 1.3fr .7fr; min-height: 246px; }
.mock-editorial-image { background: #4d4d4d; }
.mock-booking { display: grid; align-content: center; gap: 10px; padding: 14%; background: #f4f4f4; }
.mock-booking small { width: 40%; height: 4px; background: #4d4d4d; }
.mock-booking strong { width: 90%; height: 11px; border-radius: 3px; background: #111111; }
.mock-booking p { width: 72%; height: 4px; background: #bbbbbb; }

/* Property preview */
.mock-property-hero { position: relative; min-height: 316px; padding: 5% 6%; color: #fff; background: #4d4d4d; }
.mock-property-nav { display: flex; gap: 18px; align-items: center; }
.mock-property-nav b { margin-right: auto; font-size: .62rem; letter-spacing: .14em; }
.mock-property-nav span { width: 30px; height: 4px; border-radius: 99px; background: rgba(255,255,255,.55); }
.mock-property-copy { display: grid; gap: 8px; width: 62%; margin-top: 16%; }
.mock-property-copy small { background: #bbbbbb; }
.mock-property-copy strong { height: 13px; background: #fff; }
.mock-property-copy strong:last-child { width: 66%; }
.mock-property-search { position: absolute; right: 6%; bottom: 7%; left: 6%; display: grid; grid-template-columns: 1fr 1fr 44px; gap: 1px; padding: 6px; border-radius: 8px; background: rgba(255,255,255,.93); }
.mock-property-search span { height: 26px; border-right: 1px solid #e3e3e3; }
.mock-property-search button { border: 0; border-radius: 6px; background: #4d4d4d; }

/* Wellness preview */
[data-style="wellness"] .template-canvas { background: #e3e3e3; }
.mock-wellness-nav { display: flex; align-items: center; gap: 18px; height: 50px; padding: 0 7%; }
.mock-wellness-nav b { margin-right: auto; color: #4d4d4d; font-size: .62rem; letter-spacing: .13em; }
.mock-wellness-nav span { width: 34px; height: 4px; border-radius: 99px; background: #bbbbbb; }
.mock-wellness-nav button { width: 48px; height: 18px; border: 0; border-radius: 99px; background: #4d4d4d; }
.mock-wellness-copy { display: grid; justify-items: center; gap: 9px; padding: 7% 10%; }
.mock-wellness-copy small { width: 18%; }
.mock-wellness-copy strong { width: 62%; height: 13px; background: #4d4d4d; }
.mock-wellness-copy p { width: 43%; }
.mock-wellness-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 0 7% 8%; }
.mock-wellness-row span { height: 78px; border-radius: 40px 40px 10px 10px; background: #777777; }
.mock-wellness-row span:nth-child(2) { background: #777777; }
.mock-wellness-row span:nth-child(3) { background: #777777; }

.template-info { padding: 25px 27px 28px; }
.template-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; color: #4d4d4d; font-size: .67rem; font-weight: 850; letter-spacing: .12em; }
.template-meta small { color: #777777; font-size: inherit; letter-spacing: .08em; text-transform: uppercase; }
.template-info h3 { margin: 0 0 9px; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.78rem); letter-spacing: -.04em; }
.template-info p { min-height: 52px; margin: 0 0 17px; color: var(--muted); }
.template-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.template-tags span { padding: 6px 9px; border: 1px solid rgba(17,17,17,.1); border-radius: 99px; background: #f4f4f4; color: #4d4d4d; font-size: .69rem; font-weight: 700; }
.template-link { display: inline-block; margin-top: 20px; color: #4d4d4d; font-size: .82rem; font-weight: 800; text-decoration: none; }
.template-link:hover { color: #4d4d4d; }
.showroom-foot { display: grid; grid-template-columns: minmax(160px, 1fr) auto; gap: 24px; align-items: center; }
.showroom-progress { height: 3px; overflow: hidden; border-radius: 99px; background: rgba(17,17,17,.1); }
.showroom-progress span { display: block; width: 100%; height: 100%; background: #777777; transform: scaleX(var(--catalog-progress, 0)); transform-origin: left; transition: transform .15s ease-out; }
.showroom-foot p { display: flex; gap: 16px; margin: 0; font-size: .78rem; }
.showroom-foot p span { color: var(--muted); }

/* ---------- Interactive project signal ---------- */
.project-signal { padding: 94px 0 110px; }
.signal-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 68px);
  border: 1px solid rgba(17,17,17,.18);
  border-radius: 32px;
  background:
    #111111

;
  box-shadow: 0 28px 80px rgba(17,17,17,.22);
  color: #fff;
}
.signal-shell::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(120deg, #000, transparent 78%); }
.signal-shell > * { position: relative; z-index: 1; }
.signal-head { max-width: 800px; }
.signal-head .eyebrow { color: #bbbbbb; }
.signal-head .section-title { margin: 10px 0 0; color: #fff; font-size: clamp(2.25rem, 1.6rem + 2.5vw, 4rem); letter-spacing: -.052em; }
.signal-head .section-subtitle { max-width: 680px; margin: 16px 0 0; color: rgba(255,255,255,.67); }
.signal-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: start; margin-top: 50px; }
.signal-options { display: grid; gap: 30px; }
.signal-step { margin: 0; padding: 0 0 27px; border: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.signal-step:last-child { padding-bottom: 0; border-bottom: 0; }
.signal-step legend { width: 100%; margin-bottom: 15px; color: #fff; font-size: .9rem; font-weight: 760; }
.signal-step legend span { display: inline-block; margin-right: 10px; color: #777777; font-size: .7rem; letter-spacing: .13em; }
.signal-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.signal-choice { padding: 9px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 99px; background: rgba(255,255,255,.055); color: rgba(255,255,255,.7); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.signal-choice:hover { transform: translateY(-1px); border-color: rgba(17,17,17,.5); color: #fff; }
.signal-choice.is-selected { border-color: rgba(17,17,17,.68); background: rgba(17,17,17,.24); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.signal-result { padding: clamp(24px, 4vw, 38px); border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(255,255,255,.94); color: var(--text); box-shadow: 0 24px 60px rgba(17,17,17,.26); }
.signal-result-label { color: #4d4d4d; font-size: .67rem; font-weight: 850; letter-spacing: .13em; }
.signal-result h3 { margin: 15px 0 10px; font-size: clamp(1.7rem, 1.35rem + 1.3vw, 2.5rem); line-height: 1.06; letter-spacing: -.048em; }
.signal-result > p { margin: 0; color: var(--muted); line-height: 1.7; }
.signal-result-context { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.signal-result-context span { padding: 7px 10px; border-radius: 99px; background: #f4f4f4; color: #4d4d4d; font-size: .7rem; font-weight: 800; }
.signal-result ul { display: grid; gap: 10px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--border); list-style: none; }
.signal-result li { position: relative; padding-left: 21px; color: #4d4d4d; }
.signal-result li::before { content: ""; position: absolute; top: .58em; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: #777777; box-shadow: 0 0 0 4px rgba(17,17,17,.1); }
.signal-result-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }

@media (max-width: 900px) {
  .showroom-title-row { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-result { position: static; }
}

@media (max-width: 700px) {
  .template-showroom { padding: 82px 0 90px; }
  .template-rail { padding-inline: 20px; overscroll-behavior-inline: auto; cursor: auto; }
  .template-card,
  .template-card.is-active,
  .template-card:hover,
  .template-card:focus-visible,
  .template-card:focus-within { flex-basis: min(82vw, 430px); opacity: 1; transform: none; }
  .template-canvas { min-height: 250px; }
  .mock-app-shell { min-height: 226px; }
  .mock-property-hero { min-height: 250px; }
  .showroom-foot { grid-template-columns: 1fr; }
  .showroom-foot p { display: grid; gap: 4px; }
  .template-rail-wrap::before, .template-rail-wrap::after { display: none; }
  .template-info p { min-height: 0; }
  .project-signal { padding: 78px 0 92px; }
}

@media (max-width: 480px) {
  .template-card { flex-basis: 86vw; }
  .template-info { padding: 22px; }
  .signal-shell { padding: 28px 22px; border-radius: 24px; }
  .signal-choice { flex: 1 1 44%; text-align: center; }
  .signal-result-actions .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .template-card, .showroom-progress span, .signal-choice { transition: none; }
  .template-rail { scroll-behavior: auto; }
}
