/* Website UI kit — surface layout helpers.
   Components rely on tokens in ../../colors_and_type.css. */

* { box-sizing: border-box; }
body { margin: 0; }

.surface { background: var(--ink-0); min-height: 100vh; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* Aurora hero glow */
.aurora {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(32, 91, 242, 0.5), transparent 70%);
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 50% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 50% at 50% 30%, #000 40%, transparent 100%);
}

/* Common buttons used across the kit */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
  transition: all 160ms cubic-bezier(.22,1,.36,1);
  white-space: nowrap;
}
.btn.primary { background: var(--brand-blue); color: #fff;
  box-shadow: 0 0 24px -6px rgba(32,91,242,0.5); }
.btn.primary:hover { background: var(--brand-blue-bright); box-shadow: 0 0 32px -4px rgba(32,91,242,0.75); }
.btn.primary:active { background: var(--brand-blue-deep); transform: scale(0.98); }
.btn.secondary { background: var(--ink-2); color: var(--fg); border-color: var(--ink-4); }
.btn.secondary:hover { background: var(--ink-3); border-color: rgba(32,91,242,0.5); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--ink-4); }
.btn.ghost:hover { border-color: var(--ink-5); }
.btn.lg { padding: 15px 24px; font-size: 15px; }
.btn.pill { border-radius: 999px; }
.btn .arrow { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }

/* Eyebrow */
.eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--brand-blue-bright);
  display: inline-flex; gap: 10px; align-items: center;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Generic card */
.gds-card {
  background: var(--ink-1);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px -4px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: all 240ms cubic-bezier(.22,1,.36,1);
}
.gds-card:hover {
  background: var(--ink-2);
  border-color: rgba(32, 91, 242, 0.35);
  transform: translateY(-2px);
}

/* Icon slot */
.icon-slot {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(32,91,242,0.15);
  border: 1px solid rgba(32,91,242,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue-bright);
}
.icon-slot svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.icon-slot.flame { background: rgba(254,132,21,0.12); border-color: rgba(254,132,21,0.3); color: #FE8415; }

/* Section */
section { position: relative; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
.section-divider { border-top: 1px solid var(--hairline); }
.section-alt { background: var(--ink-1); }

/* ===== Shared detail-page layout primitives (service + area pages) ===== */
.svc-crumb { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-6); margin-bottom: 22px; flex-wrap: wrap; }
.svc-crumb a { color: var(--ink-7); text-decoration: none; }
.svc-crumb a:hover { color: var(--ink-9); }
.svc-crumb em { color: var(--ink-9); font-style: normal; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.svc-body { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.svc-h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(26px, 3vw, 36px); color: var(--ink-9); margin: 12px 0 28px; }
.svc-h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink-9); margin: 0 0 16px; }
.svc-aside { position: sticky; top: 96px; }
.svc-quote { display: flex; flex-direction: column; gap: 14px; }
.svc-quote__price { font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--ink-9); margin-top: 4px; }
.svc-quote__price span { color: var(--ink-6); font-size: 14px; font-weight: 400; }
.svc-quote__copy { color: var(--ink-7); font-size: 14px; line-height: 1.55; margin: 0; }
.svc-quote__cta { width: 100%; justify-content: center; }
.svc-quote__meta { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.svc-quote__meta span { display: inline-flex; gap: 8px; align-items: center; color: var(--ink-7); font-size: 13px; }
.svc-quote__meta svg { color: var(--brand-blue-bright); }
.svc-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-other { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.svc-other__title { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink-9); margin: 14px 0 0; }
.svc-other__copy { color: var(--ink-7); font-size: 14px; line-height: 1.5; margin: 0; }
.svc-other__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--brand-blue-bright); }
@media (max-width: 920px) {
  .svc-body { grid-template-columns: 1fr; gap: 36px; }
  .svc-aside { position: static; }
  .svc-others { grid-template-columns: 1fr; }
}
