/* Tech Scouts website — shared styles
   Quiet, light design: near-black type, one accent, hairlines, product imagery instead of icons. */
:root {
  --ink: #0b1220;
  --muted: #5b6474;
  --dim: #8b93a1;
  --accent: #1f5fd1;
  --accent-soft: #eef3fc;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --dark: #0b1220;
  --green: #1a7f37;
  --radius: 14px;
  --max: 1160px;
  --head: 'Inter Tight', 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; letter-spacing: -.03em; }
h3 { font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
.dim { color: var(--dim); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; margin-bottom: 20px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 660px; line-height: 1.6; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 820px; margin-bottom: 56px; }
.section-head h2 { margin: 0; }
.center.section-head { margin-left: auto; margin-right: auto; }

/* Buttons: one dark solid, one outlined */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px; font-weight: 500; font-size: .95rem; line-height: 1.3;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary, .btn-light { background: var(--dark); color: #fff; }
.btn-primary:hover, .btn-light:hover { background: #26303f; }
.btn-ghost, .btn-outline { background: #fff; color: var(--ink); border-color: #d5d9e0; }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--ink); }
.cta .btn-light { background: #fff; color: var(--ink); }
.cta .btn-light:hover { background: #e9edf3; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--head); font-weight: 600; font-size: 1.12rem; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 7px; background: var(--dark);
  display: grid; place-items: center; color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: 0;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-weight: 500; font-size: .92rem; }
.nav a:hover, .nav a.active { color: var(--ink); text-decoration: none; }
.nav .btn { color: #fff; padding: 8px 14px; font-size: .88rem; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--ink); cursor: pointer; }

/* Hero: light, with the product on a soft panel */
.hero { padding: 104px 0 0; }
.hero .lead { font-size: 1.2rem; }
.hero h1 { max-width: 900px; }
.page-hero { padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.hero-stage {
  margin-top: 64px; padding: 56px 56px 0; border-radius: 20px 20px 0 0; overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(11,18,32,.07) 1px, transparent 0) 0 0 / 16px 16px,
    linear-gradient(180deg, #f2f5fa 0%, #e7edf7 100%);
  border: 1px solid var(--line); border-bottom: 0;
}
.hero-shot { border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 30px 80px rgba(11,18,32,.18), 0 0 0 1px rgba(11,18,32,.06); }

/* Small checklist under the hero */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: space-between; color: var(--muted); font-size: .9rem; }
.strip li::before { content: '\2713'; color: var(--ink); margin-right: 8px; font-weight: 600; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.section.alt .card { background: #fff; }
.num {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid #cfd5de; color: var(--ink);
  display: grid; place-items: center; font-weight: 600; font-size: .8rem; margin-bottom: 16px;
}

/* Lined columns: no boxes, a hairline above each item */
.lines { gap: 40px 36px; }
.lines .card { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0 0; background: transparent; }
.section.alt .lines .card { background: transparent; }

/* Module cards: a title, one line, and a small drawing of the idea */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mod {
  display: flex; flex-direction: column; background: var(--bg-alt); border-radius: 20px; padding: 28px;
  color: inherit; transition: background .2s;
}
.mod:hover { text-decoration: none; background: #f0f2f6; }
.mod-copy h3 { font-size: 1.12rem; margin: 0 0 4px; }
.mod-copy p { color: var(--muted); font-size: .93rem; margin: 0; min-height: 3em; }
.mod:hover .mod-copy h3::after { content: ' \2192'; color: var(--dim); }

.vig {
  margin-top: 24px; background: #fff; border-radius: 14px; padding: 18px; flex: 1;
  box-shadow: 0 1px 2px rgba(11,18,32,.04), 0 8px 24px rgba(11,18,32,.05); font-size: .85rem;
}
.v-title { font-size: .74rem; color: var(--dim); font-weight: 500; margin: 14px 0 6px; }
.v-title:first-child { margin-top: 0; }
.v-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.v-row span { color: var(--muted); }
.v-row b { font-weight: 600; }
.pos { color: var(--green); }
.pill { font-style: normal; font-size: .74rem; font-weight: 500; padding: 2px 9px; border-radius: 999px; }
.pill.ok { background: #e8f5ec; color: var(--green); }
.pill.warn { background: #fdf1e2; color: #a5570c; }

.v-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.v-kpis.three { grid-template-columns: repeat(3, 1fr); }
.v-kpis div { background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; }
.v-kpis span { display: block; font-size: .72rem; color: var(--dim); }
.v-kpis b { font-family: var(--head); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }

.v-steps { display: flex; gap: 6px; margin-bottom: 14px; }
.v-steps span { flex: 1; text-align: center; font-size: .74rem; padding: 5px 0; border-radius: 6px; background: var(--bg-alt); color: var(--dim); }
.v-steps .done { color: var(--muted); }
.v-steps .done::before { content: '\2713\00a0'; color: var(--green); }
.v-steps .now { background: var(--ink); color: #fff; }
.v-booking { padding: 4px 0 12px; }
.v-route { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 1.25rem; }
.v-route b { font-weight: 600; letter-spacing: .02em; }
.v-route em { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--dim) 0 4px, transparent 4px 8px); position: relative; }
.v-route em::after { content: '\2708'; position: absolute; left: 50%; top: -11px; transform: translateX(-50%); font-style: normal; font-size: .9rem; color: var(--accent); background: #fff; padding: 0 4px; }
.v-sub { color: var(--dim); font-size: .78rem; margin-top: 4px; }

.v-client { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; }
.v-client .av { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: .82rem; }
.v-client b { display: block; font-size: .95rem; }
.v-client span { color: var(--dim); font-size: .78rem; }

.v-bar { padding: 7px 0; }
.v-bar div { display: flex; justify-content: space-between; margin-bottom: 5px; }
.v-bar span { color: var(--ink); }
.v-bar b { font-weight: 600; }
.v-bar em { display: block; height: 5px; border-radius: 3px; background: var(--accent); opacity: .85; }

.v-mail { display: flex; flex-direction: column; }
.v-mail .v-row:first-child { border-top: 0; padding-top: 0; }
.v-mail img { margin-top: 12px; border-radius: 8px; height: 132px; width: 100%; object-fit: cover; object-position: center 30%; }

/* Feature rows (text + screenshot) */
.feature { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; }
.feature.reverse { grid-template-columns: 1.4fr 1fr; }
.feature + .feature { margin-top: 112px; }
.feature.reverse > :first-child { order: 2; }

/* Screenshots: a quiet frame, larger on click */
.shot { position: relative; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(11,18,32,.10); }
.shot::before {
  content: ''; display: block; height: 26px; background-color: #f6f7f9; border-bottom: 1px solid var(--line);
  background-image:
    radial-gradient(circle at 16px 13px, #d9dce2 4px, transparent 4.5px),
    radial-gradient(circle at 30px 13px, #d9dce2 4px, transparent 4.5px),
    radial-gradient(circle at 44px 13px, #d9dce2 4px, transparent 4.5px);
}
.shot img, .hero-shot img { cursor: zoom-in; }
.shot img, .hero-shot img { width: 100%; }
.caption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 12px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(11,18,32,.82); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { padding: 12px 0 12px 26px; position: relative; color: var(--muted); border-top: 1px solid var(--line); font-size: .97rem; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li strong { color: var(--ink); font-weight: 600; }
.checks li::before { content: '\2713'; position: absolute; left: 0; top: 12px; color: var(--ink); font-weight: 600; font-size: .9rem; }

/* Workflow steps */
.flow { display: flex; margin: 36px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.flow .step { flex: 1; padding: 22px; text-align: center; }
.flow .step + .step { border-left: 1px solid var(--line); }
.flow .step:last-child { background: var(--accent-soft); }
.flow .step b { display: block; font-family: var(--head); font-weight: 600; }
.flow .step span { color: var(--muted); font-size: .92rem; }

/* How the modules connect */
.chain { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: c; border-top: 1px solid var(--line); }
.chain li { padding: 22px 18px 0 0; counter-increment: c; position: relative; }
.chain li::before { content: counter(c, decimal-leading-zero); display: block; font-size: .78rem; color: var(--dim); font-variant-numeric: tabular-nums; margin-bottom: 10px; letter-spacing: .04em; }
.chain li::after { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.chain b { display: block; font-family: var(--head); font-weight: 600; margin-bottom: 4px; }
.chain span { color: var(--muted); font-size: .9rem; line-height: 1.45; display: block; }

/* Table */
.table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.table th, .table td { text-align: left; padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { width: 240px; font-family: var(--head); font-weight: 600; padding-right: 24px; }
.table td { color: var(--muted); }

/* Closing call to action */
.cta {
  background: var(--dark); color: #fff; border-radius: 22px; padding: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background-image: radial-gradient(ellipse at 85% 0%, rgba(31,95,209,.45), transparent 55%);
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255,255,255,.7); margin: 0; max-width: 560px; }

/* Split hero: text left, tilted product screens right */
.hero-split {
  padding: 88px 0 96px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(31,95,209,.13), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(26,160,140,.08), transparent 70%),
    linear-gradient(180deg, #f4f7fc 0%, #ffffff 100%);
}
.hero-split .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero-split h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); }
.quick { margin-top: 36px; }
.quick > span { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 10px; }
.quick .chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.quick .chips a { font-size: .85rem; color: var(--ink); border: 1px solid #d5d9e0; background: #fff; border-radius: 999px; padding: 5px 12px; }
.quick .chips a:hover { border-color: var(--ink); text-decoration: none; }

.stack { position: relative; height: 520px; perspective: 1800px; }
.stack .layer { position: absolute; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(11,18,32,.18), 0 0 0 1px rgba(11,18,32,.06); }
.stack .layer img { display: block; width: 100%; }
.stack .front { width: 640px; left: 0; top: 70px; transform: rotateY(-16deg) rotateX(6deg) rotateZ(-1deg); transform-origin: left center; }
.stack .back { width: 300px; left: 330px; top: 0; transform: rotateY(-16deg) rotateX(6deg); opacity: .9; }
.stack .float { width: 380px; left: 230px; top: 380px; transform: rotateY(-16deg) rotateX(6deg) translateZ(80px); }
.stack .front.hero-shot { box-shadow: 0 40px 90px rgba(11,18,32,.22), 0 0 0 1px rgba(11,18,32,.06); }

/* Products with an audience line */
.suite { border: 1px solid var(--line); border-radius: 18px; padding: 36px; background: #fff; display: flex; flex-direction: column; }
.suite h3 { font-size: 1.7rem; letter-spacing: -.03em; margin: 0; }
.suite .for { font-family: var(--head); font-style: italic; color: var(--accent); font-size: 1.1rem; margin: 2px 0 18px; }
.suite p { color: var(--muted); }
.suite .btn-row { margin-top: auto; padding-top: 12px; }

/* Closing panel with a short form */
.cta-form { align-items: flex-start; gap: 56px; }
.cta-left { flex: 1 1 45%; }
.cta-left .routes { margin-top: 28px; max-width: 380px; }
.form-dark { flex: 1 1 50%; }
.form-dark label { color: rgba(255,255,255,.75); }
.form.form-dark input, .form.form-dark select, .form.form-dark textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.form-dark select option { color: var(--ink); }
.form.form-dark input:focus, .form.form-dark select:focus, .form.form-dark textarea:focus { outline-color: #8fb3ff; }
.form.form-dark textarea { min-height: 84px; }
.form-dark .note { color: rgba(255,255,255,.55); font-size: .82rem; margin-left: 10px; }
.form-dark .note a { color: rgba(255,255,255,.8); }

/* Closing panel with the route drawing */
.cta-art { align-items: stretch; }
.cta-art > div { flex: 1 1 55%; align-self: center; }
.routes { flex: 0 0 40%; max-width: 420px; width: 100%; height: auto; }

/* Made by Tech Scouts */
.maker { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; }
.maker-facts { grid-template-columns: 1fr; gap: 24px; }

/* What's new */
.news { gap: 20px; }
.news-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; color: inherit; background: #fff; transition: border-color .2s, box-shadow .2s; }
.news-card:hover { text-decoration: none; border-color: #cfd6e1; box-shadow: 0 12px 40px rgba(11,18,32,.07); }
.news-card .date { font-size: .8rem; color: var(--dim); margin-bottom: 14px; }
.news-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.news-card .more { font-size: .9rem; font-weight: 500; color: var(--ink); margin-top: 10px; }

/* What Compass replaces */
.replace { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
.replace-col { border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); background: #fff; }
.replace-col h3 { margin-bottom: 14px; }
.replace-col ul { list-style: none; padding: 0; margin: 0; }
.replace-col li { padding: 11px 0 11px 26px; position: relative; border-top: 1px solid var(--line); font-size: .97rem; }
.replace-col li span { color: var(--dim); font-size: .88rem; }
.replace .before { color: var(--muted); background: transparent; }
.replace .before h3 { color: var(--muted); }
.replace .before li::before { content: '\2013'; position: absolute; left: 2px; color: var(--dim); }
.replace .after { box-shadow: 0 20px 60px rgba(11,18,32,.08); }
.replace .after li::before { content: '\2713'; position: absolute; left: 0; color: var(--ink); font-weight: 600; }
.replace-arrow { align-self: center; font-size: 1.4rem; color: var(--dim); }

/* Proof */
.proof { max-width: 900px; margin: 0 auto; }
.proof blockquote { margin: 0 0 40px; text-align: center; }
.proof blockquote p { font-family: var(--head); font-size: 1.6rem; color: var(--ink); font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
.proof cite { font-style: normal; color: var(--muted); font-size: .95rem; }
.stat { padding: 22px 0 0; border-top: 1px solid var(--ink); }
.stat b { display: block; font-family: var(--head); font-size: 2.2rem; font-weight: 600; letter-spacing: -.03em; margin-bottom: 4px; }
.stat span { color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 500; position: relative; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--dim); font-weight: 300; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--muted); margin: 0 0 22px; padding-right: 40px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 500; font-size: .88rem; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d5d9e0; border-radius: 8px; font: inherit; font-size: .97rem; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.form textarea { min-height: 120px; resize: vertical; }
.form .note { font-size: .85rem; color: var(--muted); }
.notice { background: #eaf6ec; color: var(--green); border-radius: 8px; padding: 12px 16px; font-weight: 500; display: none; }
.contact-grid { grid-template-columns: 1.4fr 1fr; gap: 72px; }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li span:first-child { display: block; font-size: .78rem; color: var(--dim); font-weight: 500; margin-bottom: 2px; }

/* Module bar on the Compass page */
.subnav { position: sticky; top: 64px; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav a { white-space: nowrap; padding: 6px 12px; border-radius: 7px; color: var(--muted); font-weight: 500; font-size: .88rem; }
.subnav a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
section[id] { scroll-margin-top: 120px; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .6em; }
.legal strong { color: var(--ink); }
.draft-note { background: #fff4d6; color: #8a5a00 !important; border-radius: 8px; padding: 12px 16px; font-weight: 500; }

/* Placeholder marker — remove before going live */
.ph { background: #fff4d6; color: #8a5a00; border-radius: 4px; padding: 0 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .9rem; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: var(--ink); margin: 0 0 14px; font-size: .88rem; font-weight: 600; }
.site-footer a { color: var(--muted); display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--ink); text-decoration: none; }
.site-footer .logo { display: flex; color: var(--ink); margin-bottom: 14px; }
.site-footer .bottom { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .83rem; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse > :first-child { order: 0; }
  .mods { grid-template-columns: 1fr 1fr; }
  .chain { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .replace { grid-template-columns: 1fr; }
  .maker { grid-template-columns: 1fr; gap: 40px; }
  .hero-split .wrap { grid-template-columns: 1fr; }
  .stack { height: auto; perspective: none; }
  .stack .layer { position: static; transform: none; width: 100%; }
  .stack .back, .stack .float { display: none; }
  .cta-form { flex-direction: column; }
  .form-dark { width: 100%; }
  .routes { max-width: 100%; flex-basis: auto; }
  .replace-arrow { transform: rotate(90deg); justify-self: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 44px 28px; }
  .hero-stage { padding: 28px 20px 0; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding-top: 64px; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
  .grid-2, .grid-3, .grid-4, .form .row, .mods { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr 1fr; }
  .flow { flex-direction: column; }
  .flow .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .table th { width: auto; display: block; border-bottom: 0; padding-bottom: 2px; }
  .table td { display: block; padding-top: 2px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .strip ul { justify-content: flex-start; }
}

/* Quiet one-line mention under a section (e.g. IT services on the home page) */
.also { margin-top: 32px; font-size: 15px; color: var(--muted); }
.also a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.also a:hover { text-decoration-color: currentColor; }

/* Module showcase: tabs + framed real screenshot */
.showcase { margin-top: 8px; }
.sc-tabs { display: flex; gap: 4px; padding: 5px; background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 14px; width: max-content; max-width: 100%; margin: 0 auto 28px; overflow-x: auto; scrollbar-width: none; }
.sc-tabs::-webkit-scrollbar { display: none; }
.sc-tabs button { display: flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; white-space: nowrap;
  font: inherit; font-size: .93rem; font-weight: 500; color: var(--muted); padding: 9px 16px; border-radius: 10px; transition: background .15s, color .15s; }
.sc-tabs button svg { width: 17px; height: 17px; }
.sc-tabs button:hover { color: var(--ink); }
.sc-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11,18,32,.08), 0 2px 8px rgba(11,18,32,.06); }
.sc-tabs button[aria-selected="true"] svg { color: var(--accent); }
.sc-stage { position: relative; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, #dfe9fb 0%, rgba(223,233,251,0) 55%),
              radial-gradient(90% 80% at 0% 100%, #eef0fb 0%, rgba(238,240,251,0) 60%), #f6f8fc;
  border: 1px solid var(--line); }
.sc-panel { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 48px; align-items: center;
  padding: 56px 0 56px 56px; min-height: 500px; }
.sc-panel.on { display: grid; animation: scIn .35s ease; }
@keyframes scIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sc-copy h3 { font-size: 1.6rem; letter-spacing: -.02em; margin: 0 0 12px; }
.sc-copy p { color: var(--muted); margin: 0 0 22px; }
.sc-copy ul { list-style: none; padding: 0; margin: 0 0 26px; }
.sc-copy li { position: relative; padding: 6px 0 6px 26px; font-size: .95rem; }
.sc-copy li::before { content: ''; position: absolute; left: 3px; top: 12px; width: 9px; height: 5px;
  border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(-45deg); }
.sc-copy .more { font-weight: 500; color: var(--accent); }
.sc-copy .more::after { content: ' \2192'; }
.sc-frame { background: #fff; border-radius: 12px 0 0 12px; border: 1px solid rgba(11,18,32,.08); border-right: 0;
  box-shadow: 0 30px 60px -20px rgba(20,40,90,.25), 0 10px 24px -12px rgba(20,40,90,.18); overflow: hidden; }
.sc-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.sc-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dfe3ea; }
.sc-frame img { display: block; width: 100%; height: 400px; object-fit: cover; object-position: left top; cursor: zoom-in; }
@media (max-width: 960px) {
  .sc-panel { grid-template-columns: 1fr; gap: 32px; padding: 36px 0 0 28px; min-height: 0; }
  .sc-copy { padding-right: 28px; }
  .sc-frame img { height: 320px; }
  .sc-tabs { margin-left: 0; }
}
@media (max-width: 760px) {
  .sc-tabs button span { display: none; }
  .sc-tabs button { padding: 9px 13px; }
  .sc-frame img { height: 240px; }
}


/* ---- Calmer home page ---------------------------------------------- */
/* One background throughout, thin rules between sections */
body[data-page="home"] .section { border-top: 1px solid var(--line); }
body[data-page="home"] .section.no-rule, body[data-page="home"] #talk { border-top: 0; }
.section-head .lead { margin-top: 14px; }

/* Centred hero with one framed screenshot */
.hero-center { text-align: center; padding: 120px 0 0; position: relative; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 100%, #e3ecfc 0%, rgba(227,236,252,0) 70%); }
.hero-center h1 { max-width: 880px; margin: 0 auto 22px; }
.hero-center .lead { margin: 0 auto; max-width: 620px; }
.hero-center .btn-row { justify-content: center; margin-top: 34px; }
.hero-visual { position: relative; margin: 72px auto 0; max-width: 1080px; }
.hero-visual::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events: none; }
.sc-frame.hero-frame { border-radius: 14px 14px 0 0; border: 1px solid rgba(11,18,32,.08); border-bottom: 0;
  box-shadow: 0 40px 90px -30px rgba(20,40,90,.35), 0 12px 30px -16px rgba(20,40,90,.2); }
.sc-frame.hero-frame img { height: auto; max-height: 560px; object-fit: cover; object-position: top; }
@media (max-width: 760px) {
  .hero-center { padding-top: 72px; }
  .hero-visual { margin-top: 44px; }
}

/* Gentle fade-in as sections scroll into view (only when JavaScript runs) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
.hero-center h1, .section-head h2 { text-wrap: balance; }

/* Logo: pixel T + "ech Scouts", sitting on one baseline */
.logo, .site-footer .logo { display: inline-flex; align-items: baseline; gap: 0; font-size: 1.3rem; font-weight: 600; letter-spacing: -.025em; }
.logo .pt { width: .76em; height: .76em; flex: none; margin-right: .04em; }

/* Logo: blue pixel full stop; footer version with tagline */
.logo .dot { display: inline-block; width: .17em; height: .17em; border-radius: .04em; background: #1f5fd1; margin-left: .06em; }
.logo-line { display: inline-flex; align-items: baseline; }
.site-footer .logo.logo-full { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.logo-tag { font-family: var(--body, Inter, sans-serif); font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }

/* Compass product logo: the opened, faded ring with the rounded pointer, and COMPASS in the site's font, spaced capitals */
.compass-logo { display: inline-flex; align-items: center; gap: .55em; margin-bottom: 26px; line-height: 1; }
.compass-logo .cmk { width: 3.1rem; height: 3.1rem; flex: none; }
.compass-logo span { font-family: var(--head); font-weight: 600; font-size: 1.9rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.h4-compass { display: flex; align-items: center; gap: 7px; }
.h4-compass img { width: 18px; height: 18px; }
/* The pointer settles when the page opens, like a compass needle */
.cmk .cmk-settle { transform-origin: 24px 24px; animation: cmkSettle 1.6s cubic-bezier(.2,.8,.2,1) .15s both; }
@keyframes cmkSettle { 0% { transform: rotate(-150deg); } 55% { transform: rotate(14deg); } 75% { transform: rotate(-6deg); } 90% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .cmk .cmk-settle { animation: none; } }

/* Home hero: the Compass logo centred above the headline */
.hero-center .compass-logo { display: flex; justify-content: center; margin: 0 auto 22px; }
.hero-center .compass-logo .cmk { width: 3.6rem; height: 3.6rem; }
.hero-center .compass-logo span { font-size: 2.3rem; }

/* Small Compass logo in the menu bar, shown once the big one has scrolled away */
.brand { display: flex; align-items: center; }
.mini-compass { display: inline-flex; align-items: center; gap: 8px; margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--line);
  opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.mini-compass.show { opacity: 1; transform: none; pointer-events: auto; }
.mini-compass:hover { text-decoration: none; }
.mini-compass svg { width: 24px; height: 24px; flex: none; }
.mini-compass span { font-family: var(--head); font-weight: 600; font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 760px) { .mini-compass span { display: none; } .mini-compass { margin-left: 12px; padding-left: 12px; } }

/* Tech Scouts logo: "Scouts" in a lighter grey */
.logo .lite { color: #8a93a3; }

/* White background with a soft light-blue glow in the top-left corner (scrolls away with the top of the page) */
body { background: radial-gradient(1100px 760px at 0 0, #dde8fc 0%, rgba(221,232,252,.55) 38%, rgba(221,232,252,0) 72%) no-repeat, var(--bg); }

/* Compass logo: the glass dial. COMPASS in Cinzel, app blue; the pink pointer settles a little off north when the page opens */
.compass-logo span, .mini-compass span { font-family: 'Cinzel', Georgia, serif; font-weight: 600; letter-spacing: .16em; color: #1565c0; }
.compass-logo .cmk { width: 3.8rem; height: 3.8rem; }
.hero-center .compass-logo .cmk { width: 4.4rem; height: 4.4rem; }
.cmk .cmk-settle { transform-box: fill-box; transform-origin: 50% 50%; }
.mini-compass img { width: 26px; height: 26px; flex: none; }
.mini-compass span { font-size: .95rem; }
