/* Arro brand tokens — Engineering department palette + typefaces, matching the other
   engineering tool pages on arrolabs.com/resources/ (technical-delivery-readiness,
   sdlc-readiness): --arro-green-brand #102542 / --sage-500 #E8EEF5, Ceraph + Hanken Grotesk. */
@font-face {
  font-family: "Ceraph";
  src: url("assets/fonts/ceraph/Ceraph-Roman.woff2") format("woff2"), url("assets/fonts/ceraph/Ceraph-Roman.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ceraph";
  src: url("assets/fonts/ceraph/Ceraph-Italic.woff2") format("woff2"), url("assets/fonts/ceraph/Ceraph-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --dark: #0b1b30;
  --accent: #102542;
  --light: #c3d1e3;
  --lightest: #e8eef5;
  --black: #0d120e;
  --white: #ffffff;
  --white-10: rgba(255, 255, 255, 0.1);
  --white-60: rgba(255, 255, 255, 0.6);
  --ink-60: rgba(13, 18, 14, 0.6);
  --ink-80: rgba(13, 18, 14, 0.8);
  --rule: rgba(13, 18, 14, 0.12);
  --serif: "Ceraph", Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --measure: 1150px;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--lightest);
  color: var(--black);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* the site nav's content box (1440px, 16px gutters, 80px from 1024px), so report content lines up with the header */
.wrap { box-sizing: border-box; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 1024px) { .wrap { padding: 0 80px; } }

/* Type */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
/* tracked slightly tight, as on the readiness tools (roadmap-readiness.css .display: -0.015em) */
h1 { font-size: 60px; line-height: 1.1; letter-spacing: -0.015em; }
h2 { font-size: 36px; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 24px; line-height: 1.3; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-60); }
.on-dark .muted { color: var(--white-60); }


/* Dark surfaces */
.on-dark { background: var(--accent); color: var(--white); }
.on-darker { background: var(--dark); color: var(--white); }


/* Form */
.audit-form { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.audit-form .row { display: flex; gap: 0; }
.audit-form input[type="url"], .audit-form input[type="text"] {
  flex: 1; min-width: 0;
  font-family: var(--sans); font-size: 20px; color: var(--white);
  background: transparent; border: 1px solid var(--white); border-right: 0;
  padding: 12px 16px; outline: none; border-radius: 0;
}
.audit-form input::placeholder { color: var(--white-60); }
.audit-form input:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.btn {
  /* the readiness tools' button type: small, uppercase, widely tracked sans */
  font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 20px 36px; border: 1px solid currentColor; background: transparent;
  color: inherit; cursor: pointer; border-radius: 0; text-decoration: none; display: inline-block;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--white); color: var(--accent); }
.btn.solid { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn.solid:hover { background: var(--dark); border-color: var(--dark); }
.btn:disabled { opacity: 0.5; cursor: wait; }
.check { display: flex; align-items: center; gap: 10px; font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; }
.check input { accent-color: var(--white); width: 16px; height: 16px; margin: 0; }
.form-error { color: #f3c9c0; font-size: 16px; }
.notice { border: 1px solid var(--white-10); background: var(--white-10); padding: 12px 16px; font-size: 16px; }

/* Sections */
.section { padding: 96px 0; }
.on-light { background: var(--white); }
.section-head { display: flex; align-items: baseline; gap: 24px; margin-bottom: 40px; }
.section-head .head-medal { width: 44px; height: 44px; object-fit: contain; align-self: center; margin-left: auto; filter: drop-shadow(0 4px 8px rgba(17, 17, 17, 0.2)); }
.section-head .num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.rule { height: 1px; background: var(--rule); position: relative; margin: 24px 0 40px; }
.rule::before { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.on-dark .section-head .num { color: var(--white-60); }
.on-dark .rule { background: var(--white-10); }
.on-dark .rule::before { background: var(--white); }

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.cols-3 h3 { margin-bottom: 12px; }

/* Report */
.report-hero { padding: 72px 0 64px; }
.report-hero .grid { display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: center; }
.report-hero h1 { font-size: 44px; letter-spacing: -0.01em; margin: 16px 0 24px; }
.report-hero .url { font-family: var(--mono); font-size: 13px; color: var(--white-60); word-break: break-all; }
.score-ring { width: 220px; height: 220px; margin-left: auto; position: relative; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-ring .value { font-family: var(--serif); font-size: 64px; line-height: 1; }
.score-ring .eyebrow { font-size: 12px; margin-top: 8px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--white-10); }
.tile .big { font-family: var(--serif); font-size: 44px; line-height: 1; margin: 8px 0 12px; }
.on-dark .bar { background: var(--white-10); }
.on-dark .bar i { background: var(--white); }

.prose { max-width: 720px; font-size: 22px; }

.impression { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.impression .eyebrow { color: var(--accent); margin-bottom: 8px; }
.impression .value { font-size: 22px; }
.clarity { --light: var(--ink-60); }
.clarity.good { --light: #2f7a4f; }
.clarity.mid { --light: #c2891f; }
.clarity.bad { --light: #b3341f; }
.clarity .pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; border: 1px solid var(--light); color: var(--light); font-family: var(--sans); font-size: 15px; letter-spacing: 0.15em; text-transform: uppercase; background: var(--white); }
.clarity .light { width: 11px; height: 11px; background: var(--light); transform: rotate(45deg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--light) 18%, transparent); }
.clarity .small { margin: 10px 0 0; max-width: 32ch; }

.group-grid { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }
.group-score .big { font-family: var(--serif); font-size: 96px; line-height: 1; }
.group-score .bar { margin: 16px 0 20px; }
.bar { height: 3px; background: var(--light); }
.bar i { display: block; height: 100%; background: var(--accent); }
.group-body .verdict { font-family: var(--serif); font-size: 26px; line-height: 1.35; margin: 0 0 32px; }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.two-col .eyebrow { color: var(--accent); margin-bottom: 12px; }
.working, .obs { list-style: none; padding: 0; margin: 0; }
.working li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 18px; }
.obs li { padding: 16px 0; border-top: 1px solid var(--rule); }
.obs h4 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 0 0 6px; }
.obs p { font-size: 17px; margin: 0; color: var(--ink-80); }

.help { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--white-10); }
.offerings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 20px; }
.offering { display: block; background: var(--white); color: var(--black); padding: 32px; text-decoration: none; border-top: 2px solid transparent; }
.offering.fit { border-top-color: var(--accent); }
.offering h3 { margin-bottom: 10px; }
.offering p { font-size: 17px; color: var(--ink-80); }
.offering .eyebrow { color: var(--accent); font-size: 12px; }

.shots { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.shot { background: var(--white); padding: 16px; }
.shot .eyebrow { margin-bottom: 12px; color: var(--ink-60); }
.shot img { border: 1px solid var(--rule); }

.checks { columns: 2; column-gap: 48px; font-size: 16px; }
.checks h3 { break-after: avoid; margin: 0 0 12px; }
.checks ul { list-style: none; padding: 0; margin: 0 0 32px; break-inside: avoid; }
.checks li { padding: 6px 0; border-top: 1px solid var(--rule); display: flex; gap: 12px; }
.checks .st { font-family: var(--mono); font-size: 11px; min-width: 40px; padding-top: 4px; }
.st.pass { color: var(--accent); } .st.warn { color: #7a5a12; } .st.fail { color: #8a2f1e; } .st.info { color: var(--ink-60); }

/* Progress */
.progress { max-width: 640px; }
.report-hero.progress { padding: 80px 0 72px; max-width: none; }
.progress-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.carousel-wrap { padding-top: 8px; }
.carousel { position: relative; border: 1px solid var(--white-10); min-height: 400px; overflow: hidden; background: rgba(0, 0, 0, 0.12); }
.carousel .slide { position: absolute; inset: 40px 40px 72px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.7s ease; }
.carousel .slide.active { opacity: 1; pointer-events: auto; }
.carousel .medal { display: flex; align-items: center; justify-content: center; }
.carousel .medal img { width: 100%; height: auto; max-height: 240px; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35)); transform: rotate(-8deg) scale(0.92); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.carousel .slide.active .medal img { transform: none; }
.carousel .text { transform: translateY(12px); transition: transform 0.7s ease; }
.carousel .slide.active .text { transform: none; }
.carousel .line { font-family: var(--serif); font-size: 26px; line-height: 1.3; margin: 12px 0 12px; }
.carousel .receipt { color: var(--white-60); font-size: 16px; line-height: 1.5; margin: 0; }
.carousel .dots { position: absolute; left: 40px; bottom: 32px; display: flex; gap: 12px; }
.carousel .dots button { width: 9px; height: 9px; padding: 0; border: 1px solid var(--white); background: transparent; transform: rotate(45deg); cursor: pointer; opacity: 0.6; }
.carousel .dots button.on { background: var(--white); opacity: 1; }
.carousel .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--white); animation: carousel-bar 6s linear forwards; }
.carousel.paused .bar { animation-play-state: paused; }
@keyframes carousel-bar { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .carousel .slide, .carousel .text, .carousel .medal img { transition: none; transform: none; }
  .carousel .bar { animation: none; }
}
.captured .shots { margin-top: 8px; }
.captured { scroll-margin-top: 24px; }
.progress-note a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.captured-facts { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); max-width: 820px; }
.captured-facts p { margin: 0 0 12px; font-size: 18px; }
.captured-facts .eyebrow { margin-right: 12px; }
.working { padding: 56px 0; position: relative; overflow: hidden; }
/* A light that travels along the top edge, so the band reads as moving even at a glance. */
.working .sweep { position: absolute; top: 0; left: 0; height: 2px; width: 28%; background: linear-gradient(90deg, transparent, var(--white) 40%, var(--white) 60%, transparent); animation: sweep 2.6s ease-in-out infinite; }
.working-row { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.working-row .dot { position: relative; width: 14px; height: 14px; background: var(--white); transform: rotate(45deg); animation: pulse 1s infinite alternate; }
/* Rings that grow out of the diamond and fade, one after another. */
.working-row .dot::before, .working-row .dot::after { content: ""; position: absolute; inset: -4px; border: 1px solid var(--white); animation: ring 2s ease-out infinite; }
.working-row .dot::after { animation-delay: 1s; }
.working-row .label { font-family: var(--serif); font-size: 24px; margin: 6px 0 8px; }
.working-row .small { margin: 0; }
.ticking::after { content: ""; display: inline-block; width: 1.6em; text-align: left; animation: ticking 1.6s steps(1) infinite; }
@keyframes sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(360%); } }
@keyframes ring { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes ticking { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
@media (prefers-reduced-motion: reduce) {
  .working .sweep, .working-row .dot, .working-row .dot::before, .working-row .dot::after, .ticking::after { animation: none; }
  .working .sweep { width: 100%; opacity: 0.4; }
}
.waiting .group-weights { list-style: none; padding: 0; margin: 32px 0 0; }
.waiting .group-weights li { padding: 14px 0; border-top: 1px solid var(--rule); }
.waiting .group-weights .eyebrow { margin-right: 16px; }
.waiting .group-weights .w { font-family: var(--serif); font-size: 20px; }
.waiting .criteria-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.waiting .criteria-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--rule); break-inside: avoid; font-size: 18px; }
.waiting .criteria-list .w { font-family: var(--mono); font-size: 13px; color: var(--ink-60); }
.steps { list-style: none; padding: 0; margin: 32px 0; }
.steps li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--white-10); font-size: 22px; font-family: var(--serif); color: var(--white-60); }
.steps li.active { color: var(--white); }
.steps li.done { color: var(--white); }
.steps .dot { width: 10px; height: 10px; border: 1px solid currentColor; transform: rotate(45deg); }
.steps li.done .dot { background: var(--white); }
.steps li.active .dot { animation: pulse 1s infinite alternate; }
@keyframes pulse { from { opacity: 0.3; } to { opacity: 1; } }
.log { font-family: var(--mono); font-size: 12px; color: var(--white-60); white-space: pre-wrap; max-height: 200px; overflow: auto; }

footer { padding: 48px 0; font-size: 14px; }
footer .eyebrow { color: var(--white-60); }

details summary { cursor: pointer; font-family: var(--serif); font-size: 24px; }

@media (max-width: 900px) {
  body { font-size: 18px; }
  h1 { font-size: 36px; }
  .hero { padding: 64px 0 80px; }
  .cols-3, .impression, .shots, .report-hero .grid, .group-grid, .two-col, .offerings, .tiles, .progress-grid { grid-template-columns: 1fr; }
  .carousel { min-height: 560px; }
  .working-row { grid-template-columns: auto 1fr; }
  .working-row .btn { grid-column: 2; justify-self: start; }
  .carousel .slide { grid-template-columns: 1fr; gap: 20px; align-content: start; }
  .carousel .medal img { max-height: 180px; }
  .carousel .line { font-size: 22px; }
  .waiting .criteria-list { columns: 1; }
  .score-ring { margin-left: 0; }
  .checks { columns: 1; }
  .audit-form .row { flex-direction: column; }
  .audit-form input[type="url"], .audit-form input[type="text"] { border-right: 1px solid var(--white); }
}

/* House */
.house { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--white-10); display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: baseline; }
.house-name { font-family: var(--serif); font-size: 44px; line-height: 1.1; letter-spacing: 0.06em; }
.house-line { font-size: 22px; margin: 0; }
.offering .eyebrow { display: block; margin-bottom: 12px; }
.offering-note { padding: 32px; border: 1px solid var(--white-10); }
.offering-note p { font-size: 18px; margin: 0; }
@media (max-width: 900px) { .house { grid-template-columns: 1fr; } }

/* Design criteria strip */
.criteria { margin-top: 32px; }
.criteria .eyebrow { color: var(--accent); margin-bottom: 8px; }
.criteria ul { list-style: none; padding: 0; margin: 0; }
.criteria li { display: block; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.criteria .dots { display: inline-flex; gap: 4px; }
.criteria .dots i { width: 8px; height: 8px; border: 1px solid var(--accent); transform: rotate(45deg); display: block; }
.criteria .dots i.on { background: var(--accent); }

.prose { max-width: none; }
.prose ul.plain { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prose ul.plain li { background: var(--white); padding: 32px 32px 36px; font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--black); }
@media (max-width: 900px) { .prose ul.plain { grid-template-columns: 1fr; gap: 16px; } }

/* Charts */
.chart-figure { margin: 0 0 40px; }
.chart-figure figcaption { color: var(--accent); margin-bottom: 12px; }
.chart-wrap { position: relative; }
.chart-wrap svg.chart { width: 100%; display: block; }
.chart .c-grid { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .c-track { fill: var(--light); }
.chart .c-bar { fill: var(--accent); }
.chart .c-hit { fill: transparent; }
.chart .c-row:hover .c-bar { fill: var(--dark); }
.chart-labels { position: absolute; left: 0; right: 0; pointer-events: none; }
.chart-row { position: relative; display: flex; align-items: center; }
.chart-label { font-size: 15px; color: var(--ink-80); padding-right: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart-value { position: absolute; font-family: var(--mono); font-size: 12px; color: var(--black); white-space: nowrap; }
.chart-ticks { position: absolute; left: 0; right: 0; height: 16px; }
.chart-ticks span { position: absolute; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; color: var(--ink-60); }
.chart-table { margin-top: 12px; }
.chart-table summary { font-family: var(--sans); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-60); cursor: pointer; }
.chart-table table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.chart-table th { text-align: left; font-weight: 400; padding: 8px 12px 8px 0; border-top: 1px solid var(--rule); white-space: nowrap; }
.chart-table td { padding: 8px 12px 8px 0; border-top: 1px solid var(--rule); vertical-align: top; }

/* Two-tier report */
.obs .evidence { font-family: var(--mono); font-size: 12px; color: var(--ink-60); margin: 8px 0; }
.obs .detail { font-size: 16px; color: var(--ink-80); margin: 8px 0; }
.obs .rec { font-size: 16px; margin: 8px 0; padding-left: 12px; border-left: 2px solid var(--accent); }
.obs .effort { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-60); }
.criteria .crit-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.criteria.with-notes li { display: block; }
.criteria .crit-note { font-size: 13px; color: var(--ink-60); margin: 4px 0 0; }
.full-cta { margin-top: 48px; }
a.internal { display: inline-block; margin-left: 24px; font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white-60); }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 32px; }
.gallery .thumb { display: block; text-decoration: none; color: var(--ink-60); }
.gallery img { border: 1px solid var(--rule); background: var(--white); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.gallery .eyebrow { display: block; margin-top: 6px; font-size: 11px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

.areas li { font-family: var(--serif); font-size: 22px; }
.help-line { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); }
.help-line .eyebrow { color: var(--accent); margin-bottom: 8px; }
.help-line p { font-size: 18px; margin: 0; max-width: 560px; }

.areas .area { display: block; }
.areas .proof { display: block; font-family: var(--sans); font-size: 15px; color: var(--ink-60); margin-top: 4px; }

/* Sales summary: how-we-help panels and primary CTAs */
.btn.primary { background: var(--white); color: var(--accent); border-color: var(--white); }
.btn.primary:hover { background: var(--light); border-color: var(--light); color: var(--dark); }
.btn.large { font-size: 24px; padding: 18px 48px; }
.help-panel { margin-top: 40px; background: var(--accent); color: var(--white); padding: 40px; position: relative; }
.help-panel .panel-medal { position: absolute; top: 32px; right: 40px; width: 132px; height: 132px; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35)); transform: rotate(-6deg); }
.help-panel p, .help-panel .eyebrow { padding-right: 160px; }
.help-panel .eyebrow { color: var(--white-60); margin-bottom: 16px; }
.help-panel p { font-family: var(--serif); font-size: 24px; line-height: 1.4; margin: 0 0 28px; max-width: 640px; }
.closing-cta { margin: 8px 0 56px; }
.closing .offerings { grid-template-columns: minmax(0, 520px); }
@media (max-width: 900px) { .help-panel { padding: 28px; } .help-panel p { font-size: 21px; } .btn.large { font-size: 20px; padding: 14px 32px; } .help-panel .panel-medal { position: static; width: 88px; height: 88px; display: block; margin-bottom: 20px; transform: none; } .help-panel p, .help-panel .eyebrow { padding-right: 0; } }

/* Sales summary: closing section */
.closing-lede { font-family: var(--serif); font-size: 26px; line-height: 1.4; max-width: 760px; margin: 0 0 40px; }
.next-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.next-card { background: var(--white); color: var(--black); padding: 40px; }
.next-card .eyebrow { color: var(--accent); margin-bottom: 14px; }
.next-card h3 { font-size: 30px; line-height: 1.2; margin-bottom: 16px; }
.next-card p { font-size: 18px; color: var(--ink-80); margin: 0 0 20px; }
.next-card .plain-list { list-style: none; padding: 0; margin: 0 0 28px; }
.next-card .plain-list li { padding: 8px 0 8px 22px; position: relative; font-size: 17px; border-top: 1px solid var(--rule); }
.next-card .plain-list li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.next-card p.small { font-size: 14px; margin: 16px 0 0; }
.next-card.outline { background: transparent; color: var(--white); border: 1px solid var(--white-10); }
.next-card.outline .eyebrow { color: var(--white-60); }
.next-card.outline .fit-line { color: var(--white); margin-top: -6px; }
.next-card.outline p { color: var(--white-60); }
@media (max-width: 900px) { .next-grid { grid-template-columns: 1fr; } .next-card { padding: 28px; } .next-card h3 { font-size: 26px; } }

/* Services that fit */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: block; background: var(--white); color: var(--black); padding: 28px; text-decoration: none; }
.service .eyebrow { display: block; color: var(--accent); margin-bottom: 10px; font-size: 12px; }
.service h3 { font-size: 24px; margin-bottom: 10px; }
.service p { font-size: 16px; color: var(--ink-80); margin: 0; }
.service:hover { background: var(--lightest); }
.closing .next-grid { grid-template-columns: minmax(0, 720px); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

/* Screenshots framed as a browser and a phone, scrollable */
.shots { align-items: start; }
.device { margin: 0; }
.device figcaption { color: var(--ink-60); margin-bottom: 12px; }
.device .frame { background: var(--white); border: 1px solid var(--rule); box-shadow: 0 24px 48px rgba(17, 17, 17, 0.08); }
.device .chrome { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #e8edec; border-bottom: 1px solid var(--rule); }
.device .dots { display: inline-flex; gap: 6px; }
.device .dots i { width: 10px; height: 10px; border-radius: 50%; background: #c8d1cf; display: block; }
.device .urlbar { flex: 1; font-family: var(--mono); font-size: 12px; color: var(--ink-60); background: var(--white); border: 1px solid var(--rule); padding: 5px 10px; }
.device .viewport { overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
.device .viewport img { display: block; width: 100%; height: auto; }
.device.desktop .viewport { height: 460px; }
.device.mobile { width: 320px; max-width: 100%; margin: 0 auto; }
.device.mobile .frame { border-radius: 32px; border: 6px solid #1a1a1a; overflow: hidden; box-shadow: 0 24px 48px rgba(17, 17, 17, 0.14); }
.device.mobile .chrome { justify-content: center; padding: 10px; background: var(--white); border-bottom: 0; }
.device.mobile .notch { width: 96px; height: 8px; border-radius: 4px; background: #1a1a1a; display: block; }
.device.mobile .viewport { height: 560px; }
.device .hint { font-size: 13px; margin: 10px 0 0; }
@media (max-width: 900px) { .device.desktop .viewport { height: 360px; } }

/* Email gate modal */
body.modal-open { overflow: hidden; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(30, 55, 53, 0.72); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 50; }
.modal-backdrop[hidden] { display: none; }
.modal { position: relative; background: var(--lightest); color: var(--black); width: 100%; max-width: 520px; padding: 44px 44px 36px; box-shadow: 0 32px 64px rgba(17, 17, 17, 0.25); }
.modal .eyebrow { color: var(--accent); }
.modal h2 { font-size: 34px; margin: 12px 0 12px; }
.modal p { font-size: 17px; }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--ink-60); cursor: pointer; }
.modal .field { display: block; margin: 24px 0 16px; }
.modal .field .eyebrow { display: block; margin-bottom: 8px; font-size: 12px; }
.modal input[type="email"] { width: 100%; font-family: var(--sans); font-size: 20px; color: var(--black); background: var(--white); border: 1px solid var(--rule); padding: 12px 14px; border-radius: 0; outline: none; }
.modal input[type="email"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.modal .turnstile { margin: 8px 0 12px; min-height: 65px; }
.modal .btn.solid { width: 100%; text-align: center; margin-top: 8px; }
.modal .form-error { color: #8a2f1e; min-height: 1.4em; margin-bottom: 8px; }
.modal p.small { font-size: 14px; margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Print (used for the PDF versions of both reports) */
@media print {
  body { background: #fff; }
  .ah-links, .ah-toggle, .ah-menu, .topbar, .af-end, a.internal, .chart-table, .device .hint { display: none !important; }
  .section { padding: 36px 0; }
  .on-dark, .on-darker, .help-panel { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .section-head, .rule { break-after: avoid; }
  .next-card, .help-panel, .service, .obs li, .device, .group-score, .shots, .tiles { break-inside: avoid; }
  .shots { grid-template-columns: 1fr 1fr; gap: 24px; }
  .device .viewport { height: 380px !important; overflow: hidden !important; }
  .device.mobile { width: 240px; }
  .device.mobile .viewport { height: 380px !important; }
  .device .frame { box-shadow: none; }
  .gallery { display: none; }
}

/* Built with + Then and now (full report) */
.stack { margin: 8px 0 40px; padding-top: 24px; border-top: 1px solid var(--rule); }
.stack-row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 16px; }
.stack-row .eyebrow { font-size: 11px; padding-top: 4px; color: var(--ink-60); }
.then-now { margin-top: 40px; }
.then-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.then { margin: 0; }
.then img { border: 1px solid var(--rule); background: var(--white); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.then.now img { border-color: var(--accent); }
.then figcaption { margin-top: 6px; font-size: 13px; }
@media (max-width: 900px) { .then-grid { grid-template-columns: repeat(2, 1fr); } .stack-row { grid-template-columns: 1fr; gap: 4px; } }

/* ══ Site chrome and the landing page, matching arrolabs.com's Engineering tool pages ══════════════
   (/resources/technical-delivery-readiness/, /resources/sdlc-readiness/): the site header and footer,
   the tool bar with the italic tool name, the cover, and the numbered "basics" list. Values are taken
   from arro-web's Header.astro, Footer.astro and roadmap-readiness.css so the audit reads as one of them. */
:root {
  --ink-deep: #0d120e;
  --fg-muted: #666862;
  --border: rgba(13, 18, 14, 0.12);
  --border-strong: rgba(13, 18, 14, 0.28);
  --evergreen: #233422;
  --cream: #fffdf6;
  --header-h: 80px;
}
@media (min-width: 1024px) { :root { --header-h: 76px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* the site's content box: 1440px, 16px gutters, 80px from 1024px */
.tool-wrap, .ah-nav, .af-inner { box-sizing: border-box; width: 100%; max-width: 1440px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 1024px) { .tool-wrap, .ah-nav, .af-inner { padding-left: 80px; padding-right: 80px; } }

/* Header */
.ah { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--lightest); }
.ah-nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.ah-home { display: flex; align-items: center; margin: -6px; padding: 6px; }
.ah-ink { color: var(--accent); fill: currentColor; }
.ah-mark { width: 56px; height: 56px; }
.ah-lockup { display: none; height: 32px; width: auto; }
.ah-links { display: none; align-items: center; gap: 16px; }
.ah-links a { position: relative; display: block; height: 52px; padding: 12px 16px 0; font-size: 16px; line-height: 24px; color: var(--ink-deep); text-decoration: none; }
.ah-links a span { position: absolute; left: 16px; top: 36px; height: 4px; width: calc(100% - 32px); max-width: 0; background: var(--ink-deep); transition: max-width 0.5s; }
.ah-links a:hover span, .ah-links a.is-current span { max-width: 100%; }
.ah-links a:focus-visible, .ah-home:focus-visible, .ah-toggle:focus-visible { outline: 2px solid var(--ink-deep); outline-offset: 2px; }
.ah-toggle { margin: -10px; padding: 10px; background: none; border: 0; color: var(--ink-deep); cursor: pointer; }
.ah-toggle svg { display: block; width: 26px; height: 24px; }
.ah-menu { display: flex; flex-direction: column; padding: 8px 16px 24px; border-top: 1px solid var(--border); background: var(--lightest); }
.ah-menu[hidden] { display: none; }
.ah-menu a { padding: 12px 0; font-size: 18px; color: var(--ink-deep); text-decoration: none; border-bottom: 1px solid var(--border); }
@media (min-width: 1024px) {
  .ah-mark, .ah-toggle, .ah-menu { display: none; }
  .ah-lockup { display: block; }
  .ah-links { display: flex; }
}

/* Tool bar */
.tool { padding-top: var(--header-h); }
.topbar { position: sticky; top: var(--header-h); z-index: 10; background: var(--lightest); border-bottom: 1px solid var(--border); }
.topbar--report { margin-top: var(--header-h); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.brandwordmark { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1; color: var(--ink-deep); white-space: nowrap; }
.btn-begin, .btn-filled {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--accent); border: 1px solid var(--accent); color: var(--white); border-radius: 0;
  font-family: var(--sans); font-weight: 600; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-begin { height: 44px; padding: 0 20px; font-size: 12px; letter-spacing: 0.3em; }
.btn-filled { height: 64px; padding: 0 36px; font-size: 14px; letter-spacing: 0.3em; white-space: nowrap; }
.btn-begin:hover, .btn-filled:hover { background: var(--dark); border-color: var(--dark); }
.btn-begin svg, .btn-filled svg { width: 20px; height: 13px; flex: none; }
.btn-filled:disabled { opacity: 0.5; cursor: wait; }
.btn-begin:focus-visible, .btn-filled:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Cover */
.cover { position: relative; overflow: hidden; color: var(--ink-deep); }
.pattern-overlay { position: absolute; inset: 0; background-image: url("img/roadmap-patterns-black.png"); background-size: 380px 380px; background-position: center; opacity: 0.045; pointer-events: none; }
.cover-inner { position: relative; display: flex; flex-direction: column; gap: 36px; padding-top: 56px; padding-bottom: 88px; }
.cover-eyebrow { margin: 0; font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg-muted); }
.cover-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 9vw, 144px); line-height: 0.95; letter-spacing: -0.02em; color: var(--ink-deep); }
.cover-title span, .cover-title em { display: block; }
.cover-title em { font-style: italic; }
/* the cover question, as on the readiness tools: large italic sans */
.cover-sub { margin: 0; max-width: 640px; font-family: var(--sans); font-style: italic; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.18; color: rgba(13, 18, 14, 0.78); }
.cover-meta { display: flex; flex-direction: column; gap: 6px; font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg-muted); }
.cover-meta b { font-weight: 700; font-size: 14px; color: var(--ink-deep); }

/* The URL form on the light ground */
.cover .audit-form { margin-top: 4px; max-width: 760px; }
.cover .form-intro { display: block; max-width: 620px; font-size: 18px; line-height: 1.55; color: rgba(13, 18, 14, 0.78); }
.cover .audit-form .row { flex-wrap: wrap; }
.cover .audit-form input[type="url"] { height: 64px; flex: 1 1 280px; padding: 0 20px; font-size: 18px; color: var(--ink-deep); background: rgba(255, 255, 255, 0.55); border: 1px solid var(--border-strong); border-right: 0; }
.cover .audit-form input::placeholder { color: rgba(13, 18, 14, 0.45); }
.cover .audit-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cover .form-error { color: #8a2f1e; }
.cover .notice { border-color: var(--border); background: rgba(255, 255, 255, 0.5); }
@media (max-width: 600px) {
  /* stacked: the row is a column here, so the field must not flex (it would collapse its height) */
  .cover .audit-form input[type="url"] { flex: none; width: 100%; height: 64px; border-right: 1px solid var(--border-strong); border-bottom: 0; }
  .cover .audit-form .btn-filled { width: 100%; }
}

/* What comes back: heading left, numbered list right */
.basics { border-top: 1px solid var(--border); color: var(--ink-deep); }
.two-col { display: grid; gap: 48px; padding-top: 80px; padding-bottom: 96px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.05fr 1fr; gap: 80px; } }
.two-col-text { display: flex; flex-direction: column; gap: 28px; }
.eyebrow-num { margin: 0; display: flex; align-items: center; gap: 14px; font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg-muted); }
.eyebrow-num .dot { width: 6px; height: 6px; background: currentColor; }
.display-sm { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.01em; }
.display-sm em { font-style: italic; }
.basics .lede { margin: 0; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.55; color: rgba(13, 18, 14, 0.78); }
.basics .lede a { color: var(--ink-deep); text-underline-offset: 4px; }
.callout-list { list-style: none; margin: 0; padding: 0; }
.callout-list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--border); }
.callout-list li:last-child { border-bottom: 0; }
.callout-list .num { font-family: var(--serif); font-style: italic; font-size: 28px; letter-spacing: -0.02em; opacity: 0.62; }
.callout-list .txt { font-family: var(--sans); font-size: clamp(18px, 1.5vw, 24px); line-height: 1.45; }

/* Footer */
/* The closing block: CTA and footer share one dark ground, and the Arro emblem's chevrons (the hero badges' ink mask) run behind both as an
   engraved texture in a green darker than the ground. Same crop as the site: below lg full width with a 1200px mark, apex ~72% across;
   on lg+ the right 62% with a 2100px mark, apex 64px down. */
.af-end { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); background: var(--evergreen); }
.af-texture {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: #070d07; opacity: 0.6;
  -webkit-mask: url("img/arro-mark.webp") no-repeat; mask: url("img/arro-mark.webp") no-repeat;
  -webkit-mask-size: 1200px auto; mask-size: 1200px auto;
  -webkit-mask-position: calc(72vw - 602px) -204px; mask-position: calc(72vw - 602px) -204px;
}
@media (min-width: 1024px) {
  .af-texture { left: auto; width: 62%; -webkit-mask-size: 2100px auto; mask-size: 2100px auto; -webkit-mask-position: -380px -377px; mask-position: -380px -377px; }
}
.af-cta-inner { box-sizing: border-box; width: 100%; max-width: 1440px; margin: 0 auto; padding: 120px 24px; display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 768px) { .af-cta-inner { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 1024px) { .af-cta-inner { padding-left: 80px; padding-right: 80px; } }
.af-cta-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 48px; color: #f5f6ea; text-wrap: balance; text-transform: none; letter-spacing: 0; }
.af-cta-title em { font-style: italic; }
.af-cta-body { margin: 24px 0 0; max-width: 640px; font-family: var(--sans); font-size: 18px; line-height: 28px; color: #f5f6ea; }
@media (min-width: 1024px) {
  .af-cta-title { font-size: 56px; line-height: 64px; }
  .af-cta-body { font-size: 24px; line-height: 32px; }
}
/* the site's hairline pill (LandingLink) */
.af-cta-link {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; margin-top: 32px; padding: 12px 28px;
  border: 1px solid currentColor; border-radius: 999px; color: #fff; text-decoration: none; white-space: nowrap;
  font-family: var(--sans); font-size: 16px; line-height: 24px; text-transform: uppercase; letter-spacing: 2px;
}
.af-cta-link::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: currentColor; opacity: 0; transition: opacity 0.2s ease; }
.af-cta-link:hover::before { opacity: 0.08; }
.af-cta-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.af { position: relative; color: var(--cream); font-size: 16px; line-height: 24px; }
.af-inner { padding-top: 64px; padding-bottom: 32px; }
@media (min-width: 768px) { .af-inner { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 1024px) { .af-inner { padding-left: 80px; padding-right: 80px; padding-top: 80px; } }
.af-top { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 768px) { .af-top { flex-direction: row; align-items: flex-start; justify-content: space-between; } }
.af-brand { display: flex; flex-direction: column; gap: 24px; }
.af-mark { width: 67px; height: 88px; }
.af-ink { color: var(--cream); fill: currentColor; }
.af-social { display: flex; gap: 24px; }
.af-social img { height: 24px; width: auto; }
.af-links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 48px; }
@media (min-width: 640px) { .af-links { grid-template-columns: repeat(3, auto); } }
.af-links a { color: var(--cream); text-decoration: none; }
.af-links a span { display: block; height: 2px; max-width: 0; background: var(--cream); transition: max-width 0.5s; }
.af-links a:hover span { max-width: 100%; }
.af a:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.af-legal { margin: 48px 0 0; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; line-height: 20px; }

@media print {
  .ah { position: static; }
  .topbar--report { margin-top: 0; }
  .ah-mark { display: none; }
  .ah-lockup { display: block; }
}
