/* ===== Technical Stop — brand site ===== */

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

:root {
  --ink: #0E1526;
  --ink-2: #1B2740;
  --paper: #F7F6F2;
  --card: #FFFFFF;
  --text: #14171F;
  --muted: #5C6470;
  --accent: #FF5A1F;
  --accent-dark: #E04A12;
  --line: rgba(20, 23, 31, 0.12);
  --line-light: rgba(247, 246, 242, 0.18);
  --radius: 14px;
  --font-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'Cascadia Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.mono { font-family: var(--font-mono); }
.small { font-size: 0.85rem; }

a { color: inherit; }

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 21, 38, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark { display: inline-flex; color: var(--accent); }

.brand-name {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.brand-name em { font-style: normal; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 26px; }

.nav a {
  color: rgba(247, 246, 242, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover { color: #fff; }

.nav-cta {
  border: 1px solid rgba(247, 246, 242, 0.35);
  border-radius: 999px;
  padding: 7px 18px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-cta:hover { border-color: var(--accent); background: rgba(255, 90, 31, 0.12); }

/* ===== Hero ===== */

.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(255, 90, 31, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--paper);
  padding: 96px 0 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 246, 242, 0.75);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.22);
  flex: none;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero .accent { color: var(--accent); }

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 300;
  color: rgba(247, 246, 242, 0.85);
  max-width: 56ch;
  margin: 22px 0 34px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 28px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.35);
}

.btn-primary:hover { background: var(--accent-dark); }

.hero .btn-ghost {
  border: 1px solid rgba(247, 246, 242, 0.35);
  color: var(--paper);
}

.hero .btn-ghost:hover { border-color: var(--paper); }

.hero-note {
  margin-top: 26px;
  font-size: 0.8rem;
  color: rgba(247, 246, 242, 0.6);
}

/* runway dashes */
.runway {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 72px;
  padding-bottom: 2px;
}

.runway span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(247, 246, 242, 0.4) 0 26px, transparent 26px 52px);
}

/* ===== Sections ===== */

.section { padding: 88px 0; }

.section-alt { background: var(--ink); color: var(--paper); }

.section h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section-lede {
  margin: 14px 0 44px;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 60ch;
}

.section-alt .section-lede { color: rgba(247, 246, 242, 0.72); }

/* ===== Cards ===== */

.grid { display: grid; gap: 22px; }

.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(20, 23, 31, 0.10);
}

.card-tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }

.card p { color: var(--muted); font-size: 0.98rem; }

.card ul {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.card li {
  padding-left: 22px;
  position: relative;
  font-size: 0.93rem;
  color: var(--text);
}

.card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

/* ===== Steps ===== */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  background: rgba(247, 246, 242, 0.04);
}

.step-tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 12px;
}

.step h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }

.step p { color: rgba(247, 246, 242, 0.75); font-size: 0.98rem; }

/* ===== Stats ===== */

.stats { text-align: left; }

.stat-big {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stat .stat-big::after {
  content: "";
  display: block;
  width: 44px;
  height: 5px;
  border-radius: 3px;
  background: var(--accent);
  margin: 10px 0 14px;
}

.stat p:last-child { color: var(--muted); font-size: 0.98rem; max-width: 30ch; }

/* ===== CTA ===== */

.section-cta {
  background:
    radial-gradient(900px 420px at 15% 110%, rgba(255, 90, 31, 0.18), transparent 60%),
    var(--ink);
  color: var(--paper);
  text-align: center;
}

.section-cta .eyebrow { justify-content: center; }

.section-cta .section-lede {
  margin-left: auto;
  margin-right: auto;
  color: rgba(247, 246, 242, 0.75);
}

.section-cta .btn-ghost {
  border: 1px solid rgba(247, 246, 242, 0.35);
  color: var(--paper);
}

.section-cta .btn-ghost:hover { border-color: var(--paper); }

/* ===== Footer ===== */

.site-footer {
  background: var(--ink);
  color: rgba(247, 246, 242, 0.65);
  border-top: 1px solid var(--line-light);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-inner .brand-name { color: var(--paper); }

.site-footer a { color: rgba(247, 246, 242, 0.8); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* ===== Subpage hero ===== */

.page-hero {
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(255, 90, 31, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--paper);
  padding: 72px 0 56px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 246, 242, 0.65);
  text-decoration: none;
  margin-bottom: 26px;
  transition: color 0.2s ease;
}

.back-link:hover { color: var(--paper); }

/* ===== Service detail blocks ===== */

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.service-block:first-of-type { border-top: none; padding-top: 8px; }

.service-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 8px 0 12px;
}

.service-block .body p { color: var(--muted); font-size: 1.02rem; max-width: 58ch; }

.service-block .body p + p { margin-top: 12px; }

.included {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.included li {
  padding-left: 24px;
  position: relative;
  font-size: 0.96rem;
}

.included li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.service-meta {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  align-self: start;
}

.service-meta dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 18px;
}

.service-meta dt:first-child { margin-top: 0; }

.service-meta dd { margin: 6px 0 0; font-size: 0.95rem; color: rgba(247, 246, 242, 0.85); }

/* ===== FAQ ===== */

.faq { max-width: 760px; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 0 22px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.02rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--accent-dark);
  flex: none;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 0.97rem; }

.card .go {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.card .go::after { content: "→"; transition: transform 0.2s ease; }

.card .go:hover { color: var(--accent-dark); }

.card .go:hover::after { transform: translateX(4px); }

/* ===== Work cards ===== */

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.work-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(20, 23, 31, 0.10);
}

.work-card .mono { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--accent-dark); }

.work-card h3 { font-size: 1.2rem; font-weight: 600; }

.work-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }

.work-card .go {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.work-card:hover .go { color: var(--accent-dark); }

.work-card .go::after { content: "→"; transition: transform 0.2s ease; }

.work-card:hover .go::after { transform: translateX(4px); }

/* ===== Homepage work teaser ===== */

.teaser-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.teaser-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.teaser-link:hover { color: var(--accent-dark); }

/* ===== Responsive ===== */

@media (max-width: 860px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 72px; }
  .section { padding: 64px 0; }
  .runway { margin-top: 54px; }
  .service-block { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .work-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 0 44px; }
}

/* ===== Motion & focus ===== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Lead form ===== */

.lead-form {
  max-width: 620px;
  margin: 36px auto 0;
  text-align: left;
  display: grid;
  gap: 14px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.lead-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--paper);
}

.lead-form input[type="text"],
.lead-form textarea {
  font: inherit;
  font-weight: 400;
  border-radius: 10px;
  border: 1px solid rgba(247, 246, 242, 0.3);
  background: rgba(247, 246, 242, 0.08);
  color: var(--paper);
  padding: 12px 14px;
  transition: border-color 0.2s ease;
  width: 100%;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.lead-form textarea { resize: vertical; min-height: 84px; }

.lead-form ::placeholder { color: rgba(247, 246, 242, 0.45); }

.hp { position: absolute; left: -9999px; top: -9999px; }

.form-msg { font-size: 0.82rem; margin: 0; }

.form-msg.ok { color: #7dd8a0; }

.form-msg.err { color: #ff9d7a; }

button.btn { cursor: pointer; border: none; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ===== Compare table & select ===== */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--card);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 640px;
}

table.compare th,
table.compare td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

table.compare thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  white-space: nowrap;
}

table.compare tbody th {
  font-weight: 600;
  white-space: nowrap;
}

table.compare tbody td { color: var(--muted); }

table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: none; }

.lead-form select {
  font: inherit;
  border-radius: 10px;
  border: 1px solid rgba(247, 246, 242, 0.3);
  background: rgba(247, 246, 242, 0.08);
  color: var(--paper);
  padding: 12px 14px;
  width: 100%;
}

.lead-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.lead-form select option {
  color: var(--ink);
  background: var(--paper);
}

/* ===== Insights / article ===== */

.article { max-width: 720px; }

.article .meta-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 18px;
}

.article p { color: var(--text); font-size: 1.05rem; margin: 0 0 1.1em; }

.article h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 2em 0 0.6em;
  letter-spacing: -0.01em;
}

.article h3 { font-size: 1.15rem; font-weight: 600; margin: 1.6em 0 0.5em; }

.article ul, .article ol { margin: 0 0 1.2em 1.2em; color: var(--text); }

.article li { margin-bottom: 0.5em; }

.article .callout {
  border-left: 3px solid var(--accent);
  background: var(--card);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 1.6em 0;
}

.article .callout p { margin: 0; font-size: 1rem; }

.article table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.95rem; }

.article table th, .article table td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
}

.article table th { background: var(--card); font-weight: 600; }

.article a { color: var(--accent-dark); }
