:root{
  --paper: #EDF1F5;
  --sheet: #FFFFFF;
  --ink: #0B2540;
  --ink-soft: #3E5468;
  --ink-faint: #5A6E82;
  --rule: #C9D5E0;
  --rule-soft: #DEE6ED;
  --teal: #14A6A0;
  --teal-deep: #0A6B66;
  --teal-wash: #E4F2F1;
  --teal-bright: #2ED3CB;
  --navy-band: #0B2540;
  --navy-panel: #123151;
  --on-navy: #FFFFFF;
  --on-navy-soft: #B8C7D6;
  --flag-green: #0F7B54;
  --flag-amber: #9A6B08;
  --flag-red: #B03A22;
  --grid-line: rgba(11,37,64,0.032);
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;
}

*{ box-sizing: border-box; }
body{
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 500; margin: 0; text-wrap: balance; color: var(--ink); }
p{ margin: 0; }
a{ color: inherit; }
button{ font-family: inherit; }

a:focus-visible, button:focus-visible{
  outline: 2px solid var(--teal-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap{ max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.section{ padding: 88px 0; }
.section--tight{ padding: 64px 0; }

/* sheet-reference label, in place of the usual eyebrow */
.ref{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex; align-items: center; gap: 9px;
}
.ref::before{ content: ""; width: 7px; height: 7px; background: var(--teal); display: inline-block; }
.ref b{ color: var(--ink); font-weight: 500; }

/* ---------- nav ---------- */
.nav{
  position: sticky; top: 0; z-index: 40;
  background: rgba(237,241,245,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav .wrap{ display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand{ display: flex; align-items: center; gap: 14px; font-family: var(--font-body); font-weight: 700; font-size: 26px; letter-spacing: -0.015em; white-space: nowrap; text-decoration: none; }
.brand-mark{ width: 48px; height: 48px; flex: none; display: block; }
.brand-wordmark b{ font-weight: 700; color: var(--ink); }
.brand-wordmark span{ font-weight: 400; color: var(--ink-soft); }
.nav-links{ display: flex; align-items: center; gap: 30px; font-size: 15px; color: var(--ink-soft); }
.nav-links a{ text-decoration: none; padding-bottom: 2px; border-bottom: 1.5px solid transparent; }
.nav-links a:hover{ color: var(--ink); border-bottom-color: var(--teal); }
.nav-cta-row{ display: flex; align-items: center; gap: 16px; }
.nav-links-wrap{ display: flex; align-items: center; gap: 40px; }

.nav-toggle{
  display: none; background: transparent; border: 1px solid var(--rule);
  border-radius: 4px; padding: 9px 11px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg{ width: 18px; height: 18px; display: block; }

@media (max-width: 820px){
  .nav .wrap{ height: 72px; }
  .brand{ font-size: 20px; gap: 10px; }
  .brand-mark{ width: 36px; height: 36px; }
  .nav-links-wrap{ gap: 10px; }
  .nav-toggle{ display: block; }
  .nav-links{ display: none; }
  .nav-links.is-open{
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sheet); border-bottom: 1px solid var(--rule);
    padding: 4px 32px 14px;
  }
  .nav-links.is-open a{ padding: 13px 0; border-bottom: 1px solid var(--rule-soft); }
  .nav-links.is-open a:last-child{ border-bottom: none; }
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.005em;
  padding: 14px 24px; border-radius: 4px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}
.btn--primary{ background: var(--teal-deep); color: #fff; }
.btn--primary:hover{ background: #085752; }
.btn--outline{ background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--outline:hover{ border-color: var(--ink); }
.btn--sm{ padding: 10px 17px; font-size: 14px; }
.btn--block{ width: 100%; }

.note{ font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); }

/* ---------- hero ---------- */
.hero{ padding: 76px 0 0; }
.hero-inner{ max-width: 700px; }
.hero h1{
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1.08; margin-top: 20px;
  letter-spacing: -0.018em; font-weight: 500;
}
.hero h1 em{ font-style: italic; color: var(--teal-deep); }
.hero-sub{ font-size: 19px; color: var(--ink-soft); max-width: 63ch; margin: 24px 0 0; line-height: 1.62; }
.hero-actions{ display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 34px; }
.hero-actions .btn{ padding: 16px 30px; font-size: 16px; }

/* ---------- the screen: dark panel inset on a light page ---------- */
.figure{ margin-top: 60px; }
.screen{
  background: var(--navy-band);
  border-radius: 8px;
  border: 1px solid #1D3E63;
  box-shadow: 0 18px 46px -22px rgba(11,37,64,0.45);
  overflow: hidden;
}
.screen-head{
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 22px; border-bottom: 1px solid #1D3E63;
  font-family: var(--font-mono); font-size: 12px; color: var(--on-navy-soft);
}
.screen-head-left{ display: flex; align-items: center; gap: 10px; letter-spacing: 0.06em; }
.live-dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); animation: pulse 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){ .live-dot{ animation: none; } }
@keyframes pulse{ 0%,100%{ opacity: 1; } 50%{ opacity: 0.4; } }
.screen-kpis{ display: flex; gap: 20px; font-size: 11.5px; }
.screen-kpis b{ color: var(--on-navy); font-weight: 600; }

.row{
  display: grid; grid-template-columns: 1.7fr 1fr 0.85fr 1.4fr;
  gap: 14px; align-items: center;
  padding: 16px 22px; border-bottom: 1px solid #17334F;
}
.row:last-child{ border-bottom: none; }
.row-project{ display: flex; flex-direction: column; gap: 3px; }
.row-name{ font-size: 14.5px; font-weight: 600; color: var(--on-navy); }
.row-id{ font-family: var(--font-mono); font-size: 11px; color: #7E93AA; }
.row-stage{ font-size: 13px; color: var(--on-navy-soft); }
.row-stage span{ display: block; font-family: var(--font-mono); font-size: 10.5px; color: #7E93AA; margin-top: 2px; }
.row-days{ font-family: var(--font-mono); font-size: 13.5px; text-align: right; color: var(--on-navy); font-variant-numeric: tabular-nums; }
.row-days small{ display: block; font-size: 10.5px; color: #7E93AA; margin-top: 2px; }

.pill{
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 3px; width: fit-content;
}
.pill::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; }
.pill--green{ color: #4FE0A8; background: rgba(79,224,168,0.10); }
.pill--green::before{ background: #4FE0A8; }
.pill--amber{ color: #F5C451; background: rgba(245,196,81,0.10); }
.pill--amber::before{ background: #F5C451; }
.pill--red{ color: #FF8064; background: rgba(255,128,100,0.10); }
.pill--red::before{ background: #FF8064; }

.figcaption{
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint);
  margin-top: 14px; padding-left: 2px;
}
.figcaption b{ color: var(--ink-soft); font-weight: 500; }

@media (max-width: 720px){
  .row{ grid-template-columns: 1fr; gap: 8px; }
  .row-days{ text-align: left; }
  .screen-head{ flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- flagged notes (risk rules) ---------- */
.head-block{ max-width: 620px; }
.head-block h2{ font-size: clamp(28px, 3.6vw, 37px); margin-top: 16px; line-height: 1.14; letter-spacing: -0.012em; }
.head-block p{ color: var(--ink-soft); font-size: 17px; margin-top: 16px; max-width: 62ch; }

.notes{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.note-card{
  background: var(--sheet); border: 1px solid var(--rule);
  border-radius: 3px; padding: 24px 26px 26px; position: relative;
}
.note-card::before{
  content: ""; position: absolute; left: -1px; top: 22px; width: 3px; height: 34px; background: var(--flag-red);
}
.note-card--amber::before{ background: var(--flag-amber); }
.note-tag{
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--flag-red); font-weight: 500;
}
.note-card--amber .note-tag{ color: var(--flag-amber); }
.note-title{ font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-top: 9px; line-height: 1.3; }
.note-desc{ font-size: 15.5px; color: var(--ink-soft); margin-top: 10px; line-height: 1.66; }

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

/* ---------- capability sheets ---------- */
.sheets{ display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; margin-top: 44px; }
.sheet-card{
  background: var(--sheet); border: 1px solid var(--rule); border-radius: 3px;
  padding: 26px; display: flex; flex-direction: column; gap: 11px;
}
.sheet-num{ font-family: var(--font-mono); font-size: 11px; color: var(--teal-deep); letter-spacing: 0.06em; }
.sheet-card h3{ font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.24; }
.sheet-card p{ font-size: 15.5px; color: var(--ink-soft); line-height: 1.64; }

/* ---------- navy band ---------- */
.band{ background: var(--navy-band); color: var(--on-navy); }
.band h2, .band h3{ color: var(--on-navy); }
.band .ref{ color: var(--on-navy-soft); }
.band .ref::before{ background: var(--teal-bright); }
.band-inner{ padding: 76px 0; }
.band-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band-head h2{ font-size: clamp(26px, 3.2vw, 33px); margin-top: 14px; letter-spacing: -0.01em; }
.band-head p{ color: var(--on-navy-soft); font-size: 16px; max-width: 46ch; line-height: 1.62; }
.band-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 30px; margin-top: 40px; }
.band-item{ display: flex; flex-direction: column; gap: 7px; }
.band-figure{ font-family: var(--font-mono); font-size: 25px; font-weight: 500; color: var(--teal-bright); font-variant-numeric: tabular-nums; }
.band-label{ font-size: 16px; font-weight: 600; }
.band-desc{ font-size: 15px; color: var(--on-navy-soft); line-height: 1.64; }

/* ---------- drawing title block ---------- */
.about{ display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.about h2{ font-size: clamp(27px, 3.4vw, 35px); margin-top: 16px; line-height: 1.16; letter-spacing: -0.012em; }
.about p{ color: var(--ink-soft); font-size: 17px; margin-top: 18px; line-height: 1.66; }
.titleblock{ border: 1.5px solid var(--ink); background: var(--sheet); }
.tb-strip{
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px; border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink);
}
.tb-grid{ display: grid; grid-template-columns: 1fr 1fr; }
.tb-cell{ padding: 13px 15px 15px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tb-cell:nth-child(2n){ border-right: none; }
.tb-cell--full{ grid-column: 1 / -1; border-right: none; }
.tb-cell:last-child{ border-bottom: none; }
.tb-label{
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 5px;
}
.tb-value{ font-size: 15px; color: var(--ink); line-height: 1.5; }

@media (max-width: 860px){ .about{ grid-template-columns: 1fr; gap: 36px; } }

/* ---------- pricing ---------- */
.price-head{ max-width: 560px; }
.price-head h2{ font-size: clamp(28px, 3.6vw, 37px); margin-top: 16px; letter-spacing: -0.012em; }
.price-head p{ color: var(--ink-soft); font-size: 17px; margin-top: 16px; max-width: 60ch; }

.price-layout{ display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; margin-top: 44px; }
.toggle{
  display: inline-flex; gap: 3px; padding: 3px;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px;
  font-size: 13.5px; font-weight: 600;
}
.toggle button{ border: none; background: transparent; color: var(--ink-faint); padding: 9px 16px; border-radius: 3px; cursor: pointer; }
.toggle button.active{ background: var(--ink); color: #fff; }
.toggle-badge{
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.02em;
  background: var(--teal-wash); color: var(--teal-deep);
  border-radius: 2px; padding: 2px 6px; margin-left: 6px;
}
.toggle button.active .toggle-badge{ background: rgba(255,255,255,0.16); color: #fff; }

.price-card{ background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 4px; padding: 32px; }
.price-figure{ font-family: var(--font-mono); font-size: 46px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.price-figure sup{ font-family: var(--font-body); font-size: 15px; color: var(--ink-faint); font-weight: 500; top: -1.1em; }
.price-period{ font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-top: 10px; }
.price-list{ margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.price-list li{ display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }
.price-list svg{ width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--teal-deep); }
.price-card .btn{ margin-top: 28px; }
.price-aside p{ color: var(--ink-soft); font-size: 16px; margin-top: 20px; line-height: 1.64; max-width: 46ch; }
.price-aside a{ color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px){ .price-layout{ grid-template-columns: 1fr; gap: 32px; } }

/* ---------- faq ---------- */
.faq-list{ margin-top: 40px; }
.faq-item{ border-top: 1px solid var(--rule); padding: 28px 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.faq-item:last-child{ border-bottom: 1px solid var(--rule); }
.faq-q{ font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.28; }
.faq-a{ color: var(--ink-soft); font-size: 16.5px; line-height: 1.66; max-width: 64ch; }

@media (max-width: 720px){ .faq-item{ grid-template-columns: 1fr; gap: 10px; } }

/* ---------- closing ---------- */
.closing{ background: var(--navy-band); color: var(--on-navy); }
.closing-inner{ display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 62px 0; flex-wrap: wrap; }
.closing h2{ font-family: var(--font-display); font-size: clamp(25px, 3vw, 32px); color: var(--on-navy); letter-spacing: -0.01em; max-width: 560px; }
.closing p{ color: var(--on-navy-soft); font-size: 14px; margin-top: 12px; }
.closing .btn--primary{ background: var(--teal); color: #06322F; }
.closing .btn--primary:hover{ background: var(--teal-bright); }

/* ---------- footer ---------- */
footer{ padding: 44px 0 56px; }
.footer-top{ display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links{ display: flex; gap: 22px; font-size: 13.5px; color: var(--ink-faint); flex-wrap: wrap; }
.footer-links a{ text-decoration: none; }
.footer-links a:hover{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal{ margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; }
.footer-legal p{ font-size: 12px; color: var(--ink-faint); max-width: 780px; line-height: 1.65; }
/* ---------- content pages ---------- */
.page-head{ padding: 60px 0 6px; }
.page-head h1{ font-size: clamp(32px, 4.6vw, 46px); margin-top: 14px; letter-spacing: -0.015em; line-height: 1.12; }
.page-head .legal-meta{ font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); margin-top: 16px; }
.legal{ padding: 26px 0 88px; }
.legal-body{ max-width: 66ch; }
.legal-body h2{ font-family: var(--font-display); font-size: 24px; font-weight: 600; margin: 42px 0 12px; letter-spacing: -0.008em; }
.legal-body h3{ font-family: var(--font-body); font-size: 16.5px; font-weight: 700; margin: 26px 0 8px; }
.legal-body p{ font-size: 16.5px; color: var(--ink-soft); margin-bottom: 15px; line-height: 1.7; }
.legal-body ul{ margin: 0 0 18px; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.legal-body li{ font-size: 16.5px; color: var(--ink-soft); line-height: 1.68; }
.legal-body strong{ color: var(--ink); font-weight: 600; }
.legal-body a{ color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.table-wrap{ overflow-x: auto; margin: 0 0 22px; }
table.data{ width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; background: var(--sheet); }
table.data th{
  text-align: left; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 500;
  padding: 11px 14px; border-bottom: 1.5px solid var(--ink);
}
table.data td{ padding: 12px 14px; border-bottom: 1px solid var(--rule-soft); color: var(--ink-soft); vertical-align: top; }
table.data td:first-child{ color: var(--ink); font-weight: 600; white-space: nowrap; }
.contact-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin: 30px 0 8px; max-width: 700px; }
.contact-card{ background: var(--sheet); border: 1px solid var(--rule); border-radius: 3px; padding: 24px; display: flex; flex-direction: column; gap: 9px; }
.contact-card h3{ font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.contact-card p{ font-size: 15.5px; color: var(--ink-soft); margin: 0; line-height: 1.6; }
.contact-card a{ font-family: var(--font-mono); font-size: 14px; color: var(--teal-deep); text-decoration: none; word-break: break-all; }
.contact-card a:hover{ text-decoration: underline; text-underline-offset: 3px; }
