/* ==========================================================================
   Sector blueprint — page styling

   Built on the Sentient AI Systems brand: Inter Tight, the blue palette,
   the yellow-green CTA, and the house card treatment (light-blue hairline
   border with a hard offset shadow, no blur).

   Tokens below mirror sentient-ai-systems.com/main.css so the two sites
   read as one. The mockups this page frames keep their own identity —
   they are the fictional client's product, not ours.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Brand tokens — same names and values as the main site */
  --black:        #222222;
  --dark:         #393939;
  --medium:       rgba(0, 0, 0, .70);
  --light:        #D9D9D9;
  --very-light:   #F8F8F8;
  --yellow-green: #D3E63E;
  --light-blue:   #C0DBFF;
  --blue:         #0053B1;
  --dark-blue:    #003066;
  --bright-blue:  #0235FE;
  --gray:         #EBF3FF;

  --shadow:       0px 5px 15px -7px rgba(0, 0, 0, .75);
  --shadow-card:  0px 7px 0px 0px var(--light-blue);
  --shadow-card-sm: 0px 5px 0px 0px var(--light-blue);

  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", ui-monospace, "Cascadia Mono", "Roboto Mono", Menlo, monospace;

  /* Statutory state — used only where a date has a legal consequence */
  --good: #17794a;
  --warn: #a56b00;
  --crit: #c0392b;

  --wrap: 1180px;
}

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

body {
  margin: 0;
  background: #fff;
  color: var(--black);
  font: 300 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); transition: color .3s; }
a:hover { color: var(--black); }

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

img { max-width: 100%; }

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

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

h1, h2, h3 { font-family: var(--sans); font-weight: 700; color: var(--black); }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; margin: 0 0 18px; font-weight: 600; }
h3 { font-size: 22px; line-height: 1.3; margin: 0 0 10px; font-weight: 600; }

/* The site marks the emphasised half of a heading in blue — same here */
h1 span, h2 span, h3 span { color: var(--blue); }

.lede { font-size: 18px; line-height: 1.65; color: var(--medium); max-width: 68ch; font-weight: 300; }
.lede strong { color: var(--black); font-weight: 600; }

/* --------------------------------------------------------------------------
   Country flags

   Inline SVG rather than emoji: 🇬🇧/🇦🇺 do not render as flags on Windows
   Chrome, which shows "GB"/"AU" letter boxes instead — not acceptable on a
   page a prospect opens on their own laptop. The symbols live in a hidden
   <defs> block at the top of each page's <body>; see README.
   -------------------------------------------------------------------------- */

.flag {
  width: 18px;
  height: 9px;
  flex: none;
  border-radius: 1.5px;
  display: inline-block;
  vertical-align: -1px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
}

.flag-lg { width: 22px; height: 11px; }

/* Sub-header pill, lifted from the site's #profile / #pricing pattern */
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  background: var(--light-blue);
  padding: 7px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.section { padding: 72px 0; }
.section-tight { padding: 52px 0; }
.bg-gray { background: var(--gray); }
.bg-dark-blue { background: var(--dark-blue); }

/* --------------------------------------------------------------------------
   Masthead — mirrors the main site header
   -------------------------------------------------------------------------- */

.masthead { background: #fff; border-bottom: 1px solid var(--light-blue); padding: 14px 0; position: sticky; top: 0; z-index: 50; }
.masthead .wrap { display: flex; align-items: center; gap: 20px; }
.masthead .logo { width: 100%; max-width: 190px; display: block; }
.masthead nav { display: flex; gap: 6px; margin-left: 14px; }

.masthead nav a {
  font-size: 15px;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 6px;
}

.masthead nav a:hover { background: var(--gray); color: var(--blue); }
.masthead .mh-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.tag-fiction {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: var(--gray);
  border: 1px solid var(--light-blue);
  border-radius: 6px;
  padding: 6px 12px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: 62px 0 68px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 20px; }
.hero .lede { max-width: 52ch; }

.hero-meta {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--light-blue);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  font-size: 14px;
  color: var(--medium);
  font-weight: 300;
}

.hero-meta b { display: block; color: var(--black); font-weight: 600; font-size: 13px; margin-bottom: 3px; }

/* ---- The signature: a live statutory clock, on the brand's dark blue ---- */

.clockcard { background: var(--dark-blue); border-radius: 12px; padding: 24px; color: #fff; box-shadow: var(--shadow); }
.clockcard-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.clockcard-head .cc-title { font-size: 15px; font-weight: 600; color: #fff; }
.clockcard-head .cc-ref { font: 500 11px var(--mono); color: rgba(255, 255, 255, .55); margin-left: auto; white-space: nowrap; }
.clockcard .cc-sub { font-size: 13px; color: rgba(255, 255, 255, .62); margin-bottom: 20px; font-weight: 300; }

.stages { display: flex; flex-direction: column; gap: 2px; }

.stage {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 13px;
  background: rgba(255, 255, 255, .07);
  border-left: 3px solid rgba(255, 255, 255, .18);
  opacity: 0;
  transform: translateY(6px);
}

.stage:first-child { border-radius: 8px 8px 0 0; }
.stage:last-child { border-radius: 0 0 8px 8px; }
.stage.is-in { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .3, 1); }

.stage .s-n { font: 500 11px var(--mono); color: rgba(255, 255, 255, .45); }
.stage .s-name { font-size: 14px; color: rgba(255, 255, 255, .88); font-weight: 300; }
.stage .s-day { font: 600 13px var(--mono); font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .55); white-space: nowrap; }

/* Completed stages stay quiet. The only thing allowed to shout on this card
   is the stage that is late — that is the whole point of the graphic. */
.stage.done { border-left-color: var(--light-blue); }
.stage.done .s-day { color: var(--light-blue); }
.stage.late { border-left-color: #ff6b5e; background: rgba(255, 107, 94, .16); }
.stage.late .s-name { color: #fff; font-weight: 600; }
.stage.late .s-day { color: #ff8f84; }

.clockcard-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
  font-weight: 300;
}

.clockcard-foot b { color: #ff8f84; font-weight: 600; }

/* --------------------------------------------------------------------------
   Fiction notice
   -------------------------------------------------------------------------- */

.fiction { background: var(--gray); padding: 34px 0; }
.fiction .wrap { display: grid; grid-template-columns: 190px 1fr; gap: 16px 40px; align-items: start; }

/* Pin the label to column 1 and force EVERY other child into column 2.
   Without this, a second paragraph auto-places into the narrow label
   column on the next row instead of continuing the body text. */
.fiction .wrap > .f-label { grid-column: 1; grid-row: 1; }
.fiction .wrap > :not(.f-label) { grid-column: 2; }

.fiction .f-label { font-size: 14px; font-weight: 600; color: var(--blue); }
.fiction p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--medium); max-width: 78ch; font-weight: 300; }
.fiction strong { color: var(--black); font-weight: 600; }

/* --------------------------------------------------------------------------
   Spec sheet
   -------------------------------------------------------------------------- */

.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 10px; }

.spec-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--light-blue);
}

.spec-row dt { color: var(--medium); font-size: 15px; font-weight: 300; }
.spec-row dd { margin: 0; font: 600 15px var(--sans); color: var(--black); text-align: right; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Failure ledger — cause on the left, what it costs on the right
   -------------------------------------------------------------------------- */

.ledger { border-top: 1px solid var(--light-blue); margin-top: 12px; }

.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding: 26px 0;
  border-bottom: 1px solid var(--light-blue);
  align-items: start;
}

.ledger-row .l-what { font-size: 18px; color: var(--black); font-weight: 600; line-height: 1.4; }
.ledger-row .l-what span { display: block; margin-top: 8px; font-weight: 300; font-size: 15px; color: var(--medium); line-height: 1.65; }

.ledger-row .l-cost {
  font-size: 15px;
  color: var(--medium);
  line-height: 1.65;
  font-weight: 300;
  padding-left: 22px;
  border-left: 3px solid var(--light-blue);
}

.ledger-row .l-cost b { display: block; font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 7px; }

/* --------------------------------------------------------------------------
   Screens
   -------------------------------------------------------------------------- */

/* Alternating band is set explicitly with .alt rather than :nth-of-type,
   which would count every <section> on the page, not just the screens. */
.screen { padding: 52px 0; }
.screen.alt { background: var(--gray); }
.screen .wrap { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 52px; align-items: start; }

.screen-role {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: var(--light-blue);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.screen h3 { margin-bottom: 12px; font-size: 24px; }
.screen p { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: var(--medium); font-weight: 300; }

.screen-removes { border-left: 3px solid var(--yellow-green); padding-left: 16px; font-size: 15px; line-height: 1.6; color: var(--black); font-weight: 300; }
.screen-removes b { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }

/* Live scaled preview of the real mockup — no screenshots to go stale */
.shot { display: block; text-decoration: none; }

.shot-frame {
  --s: .62;
  position: relative;
  aspect-ratio: 1440 / 900;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--light-blue);
  box-shadow: var(--shadow-card);
  background: #f4f6f7;
  transition: box-shadow .18s, border-color .18s;
}

.shot-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  /* max-width:none is load-bearing — a global img/iframe cap would make the
     mockup lay out at a squeezed viewport and then scale down a second time.
     It must render at its authored 1440. */
  width: 1440px;
  max-width: none;
  height: 900px;
  border: 0;
  transform: scale(var(--s));
  transform-origin: 0 0;
  pointer-events: none;
}

.shot:hover .shot-frame { border-color: var(--blue); box-shadow: 0px 7px 0px 0px var(--blue); }

.shot-open { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--blue); }
.shot:hover .shot-open { color: var(--black); }

/* --------------------------------------------------------------------------
   Delivery phases — the one place order genuinely carries information
   -------------------------------------------------------------------------- */

.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 14px; }

.phase {
  background: #fff;
  border: 1px solid var(--light-blue);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 24px 22px;
}

.phase .p-n { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--blue); margin-bottom: 12px; }
.phase h3 { font-size: 19px; margin-bottom: 8px; }
.phase p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--medium); font-weight: 300; }
.phase ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: var(--medium); font-weight: 300; }
.phase li::marker { color: var(--blue); }

/* Answers the obvious "how?" straight after the timeline claim */
.phase-note {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 3px solid var(--yellow-green);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--medium);
  font-weight: 300;
  max-width: 84ch;
}

.phase-note strong { color: var(--black); font-weight: 600; }

/* --------------------------------------------------------------------------
   Honesty panel
   -------------------------------------------------------------------------- */

.honesty { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 14px; }

.honesty-col {
  background: #fff;
  border: 1px solid var(--light-blue);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
}

.honesty-col h3 { font-size: 20px; margin-bottom: 16px; }
.honesty-col ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.75; color: var(--medium); font-weight: 300; }
.honesty-col li::marker { color: var(--blue); }
.honesty-col li { margin-bottom: 8px; }
.honesty-col.is-real { box-shadow: 0px 7px 0px 0px var(--yellow-green); border-color: var(--yellow-green); }
.honesty-col.is-real li::marker { color: #8ea218; }

/* --------------------------------------------------------------------------
   Close
   -------------------------------------------------------------------------- */

.close { background: var(--dark-blue); padding: 78px 0; text-align: center; color: #fff; }
.close h2 { max-width: 22ch; margin: 0 auto 18px; color: #fff; }
.close h2 span { color: var(--yellow-green); }
.close .lede { margin: 0 auto 32px; text-align: center; max-width: 62ch; color: rgba(255, 255, 255, .78); }
.close .lede strong { color: #fff; }

/* The site's own CTA: yellow-green, inverting to blue on hover */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow-green);
  color: var(--black);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all .5s;
}

.cta:hover { background: var(--blue); color: #fff; }

.cta-2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  border: 1px solid rgba(255, 255, 255, .38);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 8px;
  transition: all .3s;
}

.cta-2:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.foot { background: var(--black); padding: 30px 0; font-size: 14px; color: rgba(255, 255, 255, .62); font-weight: 300; }
.foot .wrap { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.foot .logo { background: #fff; padding: 6px 12px; border-radius: 5px; max-width: 170px; display: block; }
.foot a { color: rgba(255, 255, 255, .82); }
.foot a:hover { color: var(--yellow-green); }
.foot .f-right { margin-left: auto; text-align: right; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .hero .wrap, .screen .wrap { grid-template-columns: 1fr; gap: 34px; }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger-row { grid-template-columns: 1fr; gap: 18px; }
  .fiction .wrap { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .section { padding: 52px 0; }
  .spec { grid-template-columns: 1fr; gap: 0; }
  .phases, .honesty { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 44px; }
  .masthead nav { display: none; }
  .cta-2 { margin: 14px 0 0; }
  .foot .f-right { margin-left: 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .stage { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
