/* SCORVIA static pages (services, work, about, faq, contact).
   Generated HTML, no JavaScript: every page must read completely for a visitor
   and for a crawler that never runs a script. Same tokens and the same Horizon
   grammar as the home page (hero-horizon.css, apple.css), written standalone
   and unhashed so the generator never depends on the app bundle's file name. */

@font-face {
  font-family: 'Outfit Fallback';
  src: local('Segoe UI'), local('Arial');
  font-weight: 200 349;
  size-adjust: 98.38%;
}
@font-face {
  font-family: 'Outfit Fallback';
  src: local('Segoe UI'), local('Arial');
  font-weight: 350 600;
  size-adjust: 98.7%;
}

:root {
  --bg: #060608;
  --bg2: #0e0e12;
  --bg3: #161519;
  --fg: #f3efef;
  --muted: #9a949b;
  --primary: #b81f35;
  --primary2: #d2304a;
  --silver: #c9cdd6;
  --star: #9fb4d8;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --sans: 'Outfit', 'Outfit Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1180px;
  --measure: 62ch;
  --e-out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--star); outline-offset: 3px; border-radius: 6px; }

.sp-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--fg); color: var(--bg);
  text-decoration: none; font-weight: 500;
}
.sp-skip:focus { top: 12px; }

.sp-wrap { width: min(var(--maxw), calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* ---- nav: a glass bar, menu folds into <details> on small screens ---- */
.sp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 6, 8, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.sp-nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.sp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.sp-brand img { width: 28px; height: 28px; }
.sp-brand span { font-weight: 500; font-size: 14px; letter-spacing: 0.42em; text-indent: 0.42em; }
.sp-links { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sp-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-size: 15px; font-weight: 400; color: rgba(243, 239, 239, 0.78); text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
.sp-links a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.sp-links a[aria-current='page'] { color: var(--fg); }
.sp-links .sp-links__cta a { background: var(--primary); color: #fff; font-weight: 500; margin-left: 6px; }
.sp-links .sp-links__cta a:hover { background: var(--primary2); }

.sp-menu { display: none; }
.sp-menu summary {
  list-style: none; cursor: pointer; min-height: 44px; padding: 0 16px; border-radius: 999px;
  display: inline-flex; align-items: center; font-size: 15px; font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.sp-menu summary::-webkit-details-marker { display: none; }
.sp-menu[open] summary { background: rgba(255, 255, 255, 0.06); }
.sp-menu ul {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 64px;
  margin: 0; padding: 8px; list-style: none; border-radius: 22px;
  background: rgba(14, 14, 18, 0.96); box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -20px #000;
}
.sp-menu li a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 14px; text-decoration: none; font-size: 17px; }
.sp-menu li a:hover { background: rgba(255, 255, 255, 0.06); }

@media (max-width: 860px) {
  .sp-links { display: none; }
  .sp-menu { display: block; }
}

/* ---- breadcrumbs ---- */
.sp-crumbs { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.sp-crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.sp-crumbs a { text-decoration: none; color: var(--muted); }
.sp-crumbs a:hover { color: var(--fg); }

/* ---- hero: the Horizon grammar, static ---- */
.sp-hero { position: relative; overflow: hidden; overflow: clip; isolation: isolate; padding: clamp(40px, 8vh, 96px) 0 clamp(120px, 18vh, 200px); }
.sp-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(90% 60% at 50% 0%, rgba(159, 180, 216, 0.06), transparent 70%);
}
.sp-hero::after {
  content: ''; position: absolute; z-index: -1; left: 50%; bottom: clamp(-40px, -2vw, 0px);
  width: 210vw; height: 150vw; translate: -50% calc(100% - 64px); border-radius: 50%;
  box-shadow:
    0 -1px 0 0 rgba(243, 239, 239, 0.85),
    0 -2px 6px 0 rgba(255, 220, 225, 0.5),
    0 -8px 34px 2px rgba(210, 48, 74, 0.55),
    0 -30px 90px 6px rgba(184, 31, 53, 0.28);
}
.sp-eyebrow { margin: 32px 0 0; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--silver); opacity: 0.85; }
.sp-h1 {
  margin: 18px 0 0; max-width: 18ch; font-weight: 500;
  font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: -0.035em;
}
.sp-lede { margin: 24px 0 0; max-width: 46ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: rgba(243, 239, 239, 0.74); }
.sp-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; text-decoration: none;
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  transition: background-color 0.25s, scale 0.45s var(--e-out);
}
.sp-btn:active { scale: 0.97; }
.sp-btn--primary { background: var(--primary); color: #fff; box-shadow: 0 12px 32px -12px rgba(184, 31, 53, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.sp-btn--primary:hover { background: var(--primary2); }
.sp-btn--quiet { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); }
.sp-btn--quiet:hover { background: rgba(255, 255, 255, 0.06); }

/* ---- sections ---- */
.sp-section { padding: clamp(56px, 10vh, 120px) 0; border-top: 1px solid var(--line); }
.sp-section:first-of-type { border-top: 0; }
.sp-h2 { margin: 0; max-width: 24ch; font-weight: 500; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.sp-h3 { margin: 0; font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.sp-prose { max-width: var(--measure); }
.sp-prose p { margin: 18px 0 0; color: rgba(243, 239, 239, 0.82); }
.sp-prose ul, .sp-prose ol { margin: 18px 0 0; padding-left: 1.2em; color: rgba(243, 239, 239, 0.82); }
.sp-prose li { margin-top: 8px; }
.sp-prose a, .sp-link { color: var(--fg); text-decoration: underline; text-decoration-color: rgba(210, 48, 74, 0.7); text-underline-offset: 4px; }
.sp-prose a:hover, .sp-link:hover { text-decoration-color: var(--primary2); }
.sp-prose strong { font-weight: 500; color: var(--fg); }

/* The answer-first block: the one paragraph a person or an assistant can quote. */
.sp-answer {
  margin: 28px 0 0; max-width: var(--measure); padding: 22px 24px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px var(--line);
  font-size: 18px; line-height: 1.6; color: var(--fg);
}

.sp-grid { display: grid; gap: 14px; margin-top: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.sp-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px var(--line);
  text-decoration: none; transition: background-color 0.3s, translate 0.5s var(--e-out);
}
a.sp-card:hover { background-color: rgba(255, 255, 255, 0.04); translate: 0 -2px; }
.sp-card p { margin: 0; color: rgba(243, 239, 239, 0.74); font-size: 16px; }
.sp-card small { color: var(--muted); font-size: 13px; letter-spacing: 0.02em; }
.sp-card__more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 500; color: var(--fg); }
.sp-card__more::after { content: ' \2192'; }
.sp-card img { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--bg3); }

.sp-tag { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 12px; letter-spacing: 0.04em; color: var(--silver); box-shadow: inset 0 0 0 1px var(--line-strong); }
.sp-tag--client { color: #fff; background: rgba(184, 31, 53, 0.35); box-shadow: inset 0 0 0 1px rgba(210, 48, 74, 0.6); }

.sp-steps { counter-reset: step; margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.sp-steps li { counter-increment: step; padding: 22px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.sp-steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: 0.2em; color: var(--primary2); }
.sp-steps strong { display: block; font-weight: 500; margin-bottom: 4px; }
.sp-steps span { color: rgba(243, 239, 239, 0.74); font-size: 15px; }

.sp-facts { display: grid; gap: 0; margin: 28px 0 0; max-width: var(--measure); }
.sp-facts div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sp-facts dt { color: var(--muted); font-size: 15px; }
.sp-facts dd { margin: 0; }

.sp-faq { margin-top: 28px; max-width: 820px; }
.sp-faq details { border-bottom: 1px solid var(--line); }
.sp-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: 18px; font-weight: 500;
}
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: '+'; color: var(--primary2); font-weight: 300; font-size: 24px; line-height: 1; transition: rotate 0.3s var(--e-out); }
.sp-faq details[open] summary::after { rotate: 45deg; }
.sp-faq details p { margin: 0 0 22px; max-width: var(--measure); color: rgba(243, 239, 239, 0.82); }

.sp-figure { margin: 32px 0 0; }
.sp-figure img { border-radius: 24px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg3); box-shadow: 0 40px 80px -40px #000; }
.sp-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Comparison tables. Wide tables scroll inside their own frame on a phone, never the page. */
.sp-table-wrap { margin-top: 28px; overflow-x: auto; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); -webkit-overflow-scrolling: touch; }
.sp-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.sp-table caption { caption-side: bottom; text-align: left; padding: 12px 18px; font-size: 13px; color: var(--muted); }
.sp-table th, .sp-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sp-table thead th { font-weight: 500; font-size: 13px; letter-spacing: 0.04em; color: var(--silver); background: rgba(255, 255, 255, 0.03); }
.sp-table tbody th { font-weight: 500; color: var(--fg); }
.sp-table td { color: rgba(243, 239, 239, 0.8); }
.sp-table tr:last-child th, .sp-table tr:last-child td { border-bottom: 0; }
.sp-table a { color: var(--fg); text-decoration-color: rgba(210, 48, 74, 0.7); text-underline-offset: 3px; }
/* Phone: a three-column table hides its last column off-screen with no cue. Each row
   becomes a card instead; every cell carries its column name from data-label. */
@media (max-width: 640px) {
  .sp-table-wrap { overflow: visible; box-shadow: none; border-radius: 0; }
  .sp-table, .sp-table tbody, .sp-table tr, .sp-table th, .sp-table td { display: block; width: 100%; min-width: 0; }
  .sp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sp-table tr { margin-bottom: 12px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255, 255, 255, 0.02); }
  .sp-table tbody th { padding: 16px 18px 6px; border-bottom: 0; font-size: 16px; }
  .sp-table td { padding: 6px 18px; border-bottom: 0; }
  .sp-table td:last-child { padding-bottom: 16px; }
  .sp-table td::before { content: attr(data-label); display: block; font-size: 12px; letter-spacing: 0.04em; color: var(--silver); opacity: 0.85; }
  .sp-table caption { padding: 4px 0 0; }
  .sp-table td:empty { display: none; }
}

.sp-cta { text-align: center; padding: clamp(72px, 12vh, 140px) 0; border-top: 1px solid var(--line); }
.sp-cta .sp-h2 { margin-inline: auto; }
.sp-cta p { margin: 16px auto 0; max-width: 46ch; color: rgba(243, 239, 239, 0.74); }
.sp-cta .sp-ctas { justify-content: center; }

.sp-meta { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---- footer ---- */
.sp-foot { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 15px; color: var(--muted); }
.sp-foot__in { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.sp-foot h2 { margin: 0 0 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); }
.sp-foot ul { margin: 0; padding: 0; list-style: none; }
.sp-foot li a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; color: rgba(243, 239, 239, 0.72); }
.sp-foot li a:hover { color: var(--fg); }
.sp-foot__legal { margin-top: 36px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .sp-nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
