/* Perfect Computers — site stylesheet
   Palette is lifted from the logo: indigo/navy ink, cyan for anything live or
   interactive, on a cool steel-white ground. One typeface (Inter). */

:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #eaeef6;
  --ink: #14173a;
  --ink-2: #454b6b;
  --ink-3: #7c849c;
  --rule: #dbe0ec;
  --brand: #3b3182;
  --brand-deep: #1a1642;
  --brand-panel: #1e1b4f;
  --cyan: #019ed5;
  --cyan-deep: #037aa6;
  --cyan-bright: #38c6f2;
  --ok: #1e9c5c;
  --wa: #1fae57;

  --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;

  --shadow-1: 0 1px 2px rgba(20, 23, 58, .06), 0 2px 8px rgba(20, 23, 58, .06);
  --shadow-2: 0 10px 30px rgba(20, 23, 58, .12);

  --pad-x: clamp(20px, 4vw, 56px);
  --wrap: 1400px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan-deep); text-decoration: none; }
a:hover { color: var(--brand); }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: #cbeeff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x); }

/* Type scale */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
.display {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
.lede { font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
p { margin: 0; }
p + p { margin-top: 1.1em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 600; font-size: 15.5px; line-height: 1;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s, color .18s, border-color .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #2f2770; color: #fff; box-shadow: 0 6px 18px rgba(59, 49, 130, .3); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1a9a4c; color: #fff; box-shadow: 0 6px 18px rgba(31, 174, 87, .3); }
.btn-ghost { background: transparent; color: var(--ink-2); padding-inline: 12px; }
.btn-ghost:hover { color: var(--ink); background: var(--surface-2); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.on-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,.28); }
.on-dark .btn-outline:hover { border-color: #fff; color: #fff; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.is-scrolled { border-bottom-color: var(--rule); box-shadow: 0 6px 24px rgba(20,23,58,.06); }
.nav-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: nowrap;
  height: 78px; transition: height .25s var(--ease);
}
.nav.is-scrolled .nav-inner { height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; flex: none; color: var(--ink); margin-right: auto; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand img { height: 38px; width: auto; transition: height .25s var(--ease); }
.nav.is-scrolled .brand img { height: 32px; }
.nav-links { display: flex; gap: 4px; flex: none; }
.nav-links a {
  position: relative; padding: 8px 12px; border-radius: 8px;
  color: var(--ink-2); font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: color .18s, background-color .18s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--cyan);
}
.nav-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-call { display: none; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 12px; }
.nav-call svg { width: 19px; height: 19px; }
.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px;
  align-items: center; justify-content: center;
}
.burger:hover { background: var(--surface-2); }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.menu {
  display: none; position: fixed; inset: 0; z-index: 40; background: var(--bg);
  padding: 100px var(--pad-x) 40px; flex-direction: column; gap: 6px;
}
.menu.is-open { display: flex; animation: menu-in .3s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.menu a { font-size: clamp(24px, 6vw, 32px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--rule); }
.menu a[aria-current="page"] { color: var(--cyan-deep); }
.menu .menu-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.menu .menu-actions a { font-size: 15.5px; border: 0; padding: 12px 20px; }
body.menu-open { overflow: hidden; }

/* Live open/closed badge */
.open-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule);
}
.open-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); position: relative; }
.open-badge.is-open .dot { background: var(--ok); }
.open-badge.is-open .dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: .5;
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }
.open-badge .until { color: var(--ink-3); font-weight: 500; }

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head .lede { margin-top: 14px; }

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 84px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.hero-copy .display { max-width: 16ch; font-size: clamp(40px, 4.6vw, 68px); }
.hero-copy .lede { margin-top: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.fact {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-2);
}
.fact b { color: var(--ink); font-weight: 700; }

/* Schematic panel */
.schematic {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, #2d2a72 0%, var(--brand-panel) 45%, var(--brand-deep) 100%);
  color: #fff; box-shadow: var(--shadow-2);
}
.schematic::before {
  /* fine engineering grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(90% 80% at 50% 45%, #000 40%, transparent 100%);
}
.schematic svg { display: block; width: 100%; height: auto; position: relative; }
.schematic .caption {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 0 22px 14px; min-height: 44px; font-size: 14px; color: rgba(255,255,255,.72);
}
.schematic .caption strong { color: #fff; font-weight: 600; }
.schematic .caption a { color: var(--cyan-bright); font-weight: 600; margin-left: auto; white-space: nowrap; }
.schematic .caption a:hover { color: #fff; }

.line-tabs {
  position: relative; display: flex; gap: 4px; padding: 8px; margin: 0 14px 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  overflow-x: auto; scrollbar-width: none;
}
.line-tabs::-webkit-scrollbar { display: none; }
.line-tab {
  flex: 1 0 auto; padding: 10px 14px; border: 0; border-radius: 9px; background: transparent;
  color: rgba(255,255,255,.7); font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.line-tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.line-tab[aria-selected="true"] { background: #fff; color: var(--brand-deep); }
.line-tab:focus-visible { outline-color: var(--cyan-bright); }

/* Schematic internals */
.schematic .node { transition: opacity .35s var(--ease), filter .35s var(--ease); }
.schematic .node.is-dim { opacity: .22; filter: saturate(.2); }
.schematic .wire { transition: opacity .35s var(--ease); }
.schematic .wire.is-dim { opacity: .15; }
.schematic .flow { stroke: var(--cyan-bright); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-dasharray: 3 14; animation: flow 1.6s linear infinite; }
.schematic .wire.is-dim .flow { animation-play-state: paused; }
@keyframes flow { to { stroke-dashoffset: -17; } }
.schematic .led { animation: led 2.4s steps(1) infinite; }
.schematic .led:nth-child(2n) { animation-delay: .7s; }
.schematic .led:nth-child(3n) { animation-delay: 1.3s; }
@keyframes led { 0%, 55% { opacity: 1; } 56%, 70% { opacity: .25; } 71%, 100% { opacity: 1; } }
.schematic .cone { transform-origin: center; }
.schematic.is-drawing .draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 1.6s var(--ease) forwards; }
.schematic.is-drawing .fill-in { opacity: 0; animation: fade-in .6s ease forwards; animation-delay: 1.1s; }
.schematic.is-drawing .flow { opacity: 0; animation: flow 1.6s linear infinite, fade-in .5s ease 1.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
.schematic .label { font: 600 10.5px/1 var(--font); fill: rgba(255,255,255,.55); letter-spacing: .02em; }
.schematic .node.is-lit .label { fill: var(--cyan-bright); }
.schematic .node.is-lit .glow { opacity: 1; }
.schematic .glow { opacity: 0; transition: opacity .35s; }

/* Requirement builder */
.builder {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 3vw, 48px);
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px);
  box-shadow: var(--shadow-1);
}
.builder h2 { margin-bottom: 8px; }
.builder .step { margin-top: 26px; }
.builder .step-label { font-weight: 600; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: var(--bg); border: 1.5px solid var(--rule); font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: all .18s var(--ease); user-select: none;
}
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink-3); transition: all .18s; }
.chip:hover span { border-color: var(--ink-3); color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:checked + span::before { background: var(--cyan-bright); border-color: var(--cyan-bright); }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--rule); background: var(--bg);
  font: inherit; font-size: 15.5px; color: var(--ink); transition: border-color .18s, box-shadow .18s, background .18s;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(1,158,213,.15); }
.textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #d64545; }
.field .err { font-size: 13px; color: #b83232; display: none; }
.field.has-error .err { display: block; }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237c849c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.preview {
  align-self: stretch; display: flex; flex-direction: column;
  background: var(--brand-deep); color: #fff; border-radius: 16px; padding: 22px; min-height: 100%;
}
.preview .preview-title { font-weight: 600; font-size: 13.5px; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; align-items: center; }
.preview .count { background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px 9px; font-size: 12.5px; }
.preview pre {
  margin: 14px 0 0; flex: 1; font: 500 15px/1.6 var(--font); white-space: pre-wrap; word-break: break-word;
  color: rgba(255,255,255,.92); background: rgba(255,255,255,.06); border-radius: 10px; padding: 16px; min-height: 180px;
}
.preview .empty { color: rgba(255,255,255,.55); }
.preview .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.preview .actions .btn-outline { color: #fff; border-color: rgba(255,255,255,.25); }
.preview .actions .btn-outline:hover { border-color: #fff; }
.preview .hint { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.55); }

/* Client sectors */
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.sector {
  padding: 16px 16px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--rule);
  font-weight: 600; font-size: 15px; display: flex; flex-direction: column; gap: 14px;
}
.sector svg { width: 26px; height: 26px; color: var(--cyan-deep); }

/* Shop / place */
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.place .photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 4/4.6; }
.place .photo img { width: 100%; height: 100%; object-fit: cover; }
.place .photo .pin {
  position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(20,23,58,.72); backdrop-filter: blur(10px); color: #fff; border-radius: 12px; padding: 12px 14px; font-size: 13.5px;
}
.place .photo .pin a { color: var(--cyan-bright); font-weight: 600; white-space: nowrap; }
.kv { display: grid; margin-top: 28px; border-top: 1px solid var(--rule); }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.kv > div span:last-child { font-weight: 600; text-align: right; }

/* Brands */
.brands { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip {
  padding: 12px 18px; border-radius: 10px; background: var(--surface); border: 1px solid var(--rule);
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--ink-2);
  transition: color .2s, border-color .2s;
}
.brand-chip:hover { color: var(--ink); border-color: var(--ink-3); }

/* Enterprise strip */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.tile { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.tile .h3 { font-size: 19px; }
.tile p { color: var(--ink-2); font-size: 15.5px; }
.tile .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--brand); }
.tile .ico svg { width: 22px; height: 22px; }

/* CTA band */
.cta-band {
  margin-top: clamp(64px, 8vw, 112px);
  background: var(--brand-deep); color: #fff; border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(1,158,213,.35), transparent 65%); pointer-events: none;
}
.cta-band .title { max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 14px; max-width: 54ch; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* Footer */
.footer { margin-top: 64px; padding: 40px 0 56px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 14px; line-height: 1.7; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.footer strong { color: var(--ink); font-weight: 700; font-size: 15px; }
.footer a { color: var(--ink-2); display: block; }
.footer a:hover { color: var(--ink); }
.footer .fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* Page header (inner pages) */
.page-head { padding-top: clamp(40px, 6vw, 80px); }
.page-head .lede { margin-top: 22px; }

/* Solutions page */
.lines-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.index { position: sticky; top: 92px; display: grid; gap: 2px; }
.index a { padding: 9px 12px; border-radius: 8px; color: var(--ink-3); font-weight: 500; font-size: 14.5px; border-left: 2px solid transparent; transition: all .18s; }
.index a:hover { color: var(--ink); background: var(--surface-2); }
.index a.is-active { color: var(--ink); border-left-color: var(--cyan); background: var(--surface); font-weight: 600; }
.index .prog { height: 3px; background: var(--rule); border-radius: 3px; margin: 14px 12px 0; overflow: hidden; }
.index .prog i { display: block; height: 100%; width: 0; background: var(--cyan); transition: width .1s linear; }
.line { padding: 8px 0 clamp(56px, 7vw, 96px); scroll-margin-top: 96px; }
.line + .line { border-top: 1px solid var(--rule); padding-top: clamp(40px, 5vw, 64px); }
.line-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.line .tagline { color: var(--cyan-deep); font-weight: 600; font-size: 14.5px; margin-bottom: 14px; }
.line .title { font-size: clamp(28px, 3vw, 38px); }
.line .lede { margin-top: 18px; font-size: 16.5px; }
.scope { display: grid; gap: 0; }
.scope details { border-top: 1px solid var(--rule); }
.scope details:last-child { border-bottom: 1px solid var(--rule); }
.scope summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-weight: 600; font-size: 15.5px; cursor: pointer; }
.scope summary::-webkit-details-marker { display: none; }
.scope summary .plus { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--rule); display: grid; place-items: center; flex: none; transition: transform .25s var(--ease), border-color .2s, background .2s; }
.scope summary .plus svg { width: 12px; height: 12px; }
.scope details[open] summary .plus { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.scope details p { color: var(--ink-2); font-size: 15px; padding: 0 0 16px; max-width: 46ch; animation: fade-in .3s ease; }
.scope-list { margin: 0; padding: 0; list-style: none; display: grid; }
.scope-list li { padding: 12px 0 12px 26px; border-top: 1px solid var(--rule); position: relative; font-size: 15.5px; color: var(--ink-2); }
.scope-list li:last-child { border-bottom: 1px solid var(--rule); }
.scope-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.scope-head { font-weight: 600; font-size: 14px; color: var(--ink-3); margin-bottom: 8px; }

/* Enterprise page */
.particulars { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.particulars tr + tr { border-top: 1px solid var(--rule); }
.particulars th, .particulars td { padding: 14px 18px; text-align: left; font-size: 15.5px; vertical-align: middle; }
.particulars th { font-weight: 500; color: var(--ink-3); width: 32%; }
.particulars td { font-weight: 600; }
.particulars td .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.copy {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--rule); background: var(--bg);
  font-size: 13px; font-weight: 600; color: var(--ink-2); transition: all .18s;
}
.copy svg { width: 14px; height: 14px; }
.copy:hover { border-color: var(--ink-3); color: var(--ink); }
.copy.is-done { background: #e7f7ee; border-color: #b8e6cb; color: #157a45; }
.table-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }

.stepper { display: grid; grid-template-columns: 1fr; gap: 20px; }
.steps-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; position: relative; }
.steps-nav::before { content: ""; position: absolute; left: 10%; right: 10%; top: 17px; height: 2px; background: var(--rule); }
.steps-nav .track { position: absolute; left: 10%; top: 17px; height: 2px; background: var(--cyan); width: 0; transition: width .35s var(--ease); }
.step-btn { position: relative; background: transparent; border: 0; padding: 0 6px; display: grid; justify-items: center; gap: 10px; color: var(--ink-3); font-weight: 600; font-size: 13.5px; text-align: center; }
.step-btn .num { width: 36px; height: 36px; border-radius: 50%; background: var(--bg); border: 2px solid var(--rule); display: grid; place-items: center; font-size: 14px; color: var(--ink-2); transition: all .25s var(--ease); position: relative; z-index: 1; }
.step-btn:hover .num { border-color: var(--ink-3); }
.step-btn.is-done .num { border-color: var(--cyan); color: var(--cyan-deep); }
.step-btn[aria-selected="true"] .num { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.1); }
.step-btn[aria-selected="true"] { color: var(--ink); }
.step-panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; min-height: 160px; }
.step-panel .h3 { font-size: 24px; }
.step-panel p { color: var(--ink-2); margin-top: 10px; max-width: 60ch; }
.step-panel .doc { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--cyan-deep); background: #e9f8ff; padding: 8px 12px; border-radius: 8px; }
.step-panel .doc svg { width: 16px; height: 16px; }
.step-panel .step-actions { display: flex; gap: 8px; }
.step-panel .step-actions .btn { padding: 10px 14px; }
.step-content { animation: step-in .3s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

.picker { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 44px); }
.picker .q { font-weight: 600; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.seg { display: grid; gap: 6px; }
.seg button { text-align: left; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--rule); background: var(--bg); font-weight: 600; font-size: 15px; color: var(--ink-2); transition: all .18s; display: flex; justify-content: space-between; align-items: center; }
.seg button:hover { border-color: var(--ink-3); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.contracts { display: grid; gap: 8px; }
.contract { padding: 16px 18px; border-radius: 12px; border: 1.5px solid var(--rule); transition: all .3s var(--ease); }
.contract .name { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; }
.contract .fit { font-size: 12.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-3); }
.contract p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.contract.is-fit { border-color: var(--cyan); background: #f3fbff; box-shadow: 0 0 0 4px rgba(1,158,213,.1); }
.contract.is-fit .fit { background: var(--cyan); color: #fff; }
.contract.is-off { opacity: .45; }

/* About page */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.story .photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); position: sticky; top: 100px; }
.story .photo img { width: 100%; height: auto; }
.story figcaption { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; }
.growth { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.growth button {
  position: relative; text-align: left; padding: 18px 18px 16px; border-radius: 14px; border: 1.5px solid var(--rule); background: var(--surface);
  display: grid; gap: 8px; color: var(--ink-2); transition: all .25s var(--ease);
}
.growth button .yr { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.growth button .nm { font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.growth button:hover { border-color: var(--ink-3); }
.growth button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); }
.growth button[aria-pressed="true"] .nm { color: #fff; }
.growth button[aria-pressed="true"] .yr { color: var(--cyan-bright); }
.growth-detail { margin-top: 14px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; color: var(--ink-2); font-size: 16px; min-height: 92px; }
.growth-detail p { animation: step-in .3s var(--ease); }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.principle { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 24px; }
.principle .h3 { font-size: 20px; margin-bottom: 10px; }
.principle p { color: var(--ink-2); font-size: 15.5px; }
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 40px; }
.creds div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.creds div span:last-child { font-weight: 700; }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ccard { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.ccard .h3 { font-size: 15px; color: var(--ink-3); font-weight: 600; }
.ccard .big { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1.3; }
.ccard .big a { color: var(--ink); }
.ccard .big a:hover { color: var(--cyan-deep); }
.ccard address { font-style: normal; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.ccard .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.ccard .actions .btn { padding: 10px 14px; font-size: 14.5px; }
.hours { display: grid; gap: 4px; font-size: 15px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.hours div.is-today { color: var(--ink); font-weight: 600; }
.hours div.is-today span:first-child::after { content: " (today)"; color: var(--cyan-deep); font-weight: 600; }
.enquiry { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 3vw, 48px); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-1); }
.enquiry form { display: grid; gap: 16px; }
.attach { font-size: 13.5px; color: var(--ink-3); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow-1); aspect-ratio: 16/9; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.finding { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: 24px; }
.finding .photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14.5px; opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 60; box-shadow: var(--shadow-2); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .schematic .flow { stroke-dasharray: none; opacity: .6; }
}

/* Responsive */
@media (max-width: 1260px) {
  .nav-cta .open-badge { display: none; }
}
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy .display { max-width: 16ch; }
  .lines-layout { grid-template-columns: 1fr; }
  .index { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
  .index a.is-active { border-left-color: transparent; background: var(--ink); color: #fff; }
  .index .prog { display: none; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .growth { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  .nav-links, .nav-cta .btn, .nav-cta .open-badge { display: none; }
  .burger, .nav-cta .nav-call { display: inline-flex; }
  .builder, .enquiry, .picker, .place, .story, .line-grid, .finding { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .story .photo { position: static; }
  .steps-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .step-btn { font-size: 12px; }
  .step-btn .lbl { display: none; }
  .step-panel { grid-template-columns: 1fr; }
  .step-panel .step-actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .contact-cards { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .growth { grid-template-columns: 1fr; }
  .particulars th { width: 40%; }
  .particulars th, .particulars td { padding: 12px 14px; font-size: 14.5px; }
  .display { font-size: clamp(34px, 10vw, 48px); }
}
