/* CXP-Glass — NTT DATA brand tokens, taken from the "7_NTT DATA LIGHT / DARK"
   slide masters. No purple anywhere: test/ui.test.ts fails the build on one. */
:root {
  --navy: #070F26;
  --navy-2: #0D2236;
  --slate: #2E404D;
  --blue: #0072BC;
  --blue-deep: #005B96;
  --sky: #19A3FC;
  --cyan: #00DFED;
  --green: #00CB5D;
  --amber: #FFC400;
  --canvas: #F5F8FA;
  --line: #C8D9E5;
  --muted: #5A6B78;
  --white: #FFFFFF;

  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(7, 15, 38, .06), 0 8px 24px rgba(7, 15, 38, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--navy);
  font: 16px/1.55 var(--sans);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:focus-visible, .card:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* Artwork sits in an <img class="bg"> behind content, so the CSP needs no
   inline styles. */
.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }

/* Top bar */
.bar { background: var(--navy); color: var(--white); border-bottom: 1px solid rgba(25, 163, 252, .25); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font: 700 18px/1 var(--sans); letter-spacing: .02em; }
.brand-name span { color: var(--sky); }
.brand-org { font-size: 12px; color: rgba(255, 255, 255, .65); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--cyan); }
.nav a.btn-primary { color: var(--navy); margin-left: 6px; }
.nav a.btn-primary:hover { color: var(--navy); }
.btn-s { padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero {
  position: relative; color: var(--white); background: var(--navy) center/cover no-repeat;
  isolation: isolate; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(7, 15, 38, .88) 38%, rgba(7, 15, 38, .25) 75%, rgba(7, 15, 38, .1) 100%);
}
.hero .wrap { padding: 96px 0 104px; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin: 0 0 18px; }
.hero h1 { font: 400 clamp(36px, 5vw, 60px)/1.08 var(--serif); margin: 0 0 20px; max-width: 14ch; }
.hero p.lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .85); max-width: 46ch; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--sky); color: var(--navy); }
.btn-primary:hover { background: var(--cyan); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* Lifecycle thread */
.thread { background: var(--navy-2) center/cover no-repeat; color: var(--white); position: relative; isolation: isolate; }
.thread::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 15, 38, .78); }
.thread .wrap { padding: 56px 0; }
.thread h2 { font: 400 28px/1.2 var(--serif); margin: 0 0 8px; }
.thread p.sub { color: rgba(255, 255, 255, .75); margin: 0 0 28px; max-width: 60ch; }
.days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; list-style: none; margin: 0; padding: 0; counter-reset: d; }
.days li { background: rgba(255, 255, 255, .05); border-top: 3px solid var(--sky); padding: 18px 18px 20px; }
.days li:nth-child(2) { border-color: var(--cyan); }
.days li:nth-child(3) { border-color: var(--green); }
.days li:nth-child(4) { border-color: var(--amber); }
.days .day { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.days .verb { font: 700 18px/1.3 var(--sans); margin: 4px 0 6px; }
.days .what { font-size: 14px; color: rgba(255, 255, 255, .78); margin: 0; }

/* Modules */
section.block { padding: 72px 0; }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.head h2 { font: 400 clamp(28px, 3vw, 38px)/1.15 var(--serif); margin: 0; }
.head p { color: var(--muted); margin: 6px 0 0; max-width: 60ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--sky); box-shadow: 0 12px 32px rgba(0, 114, 188, .16); }
.card .art { aspect-ratio: 16 / 9; background: var(--navy); position: relative; isolation: isolate; overflow: hidden; }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .practice { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); }
.card h3 { font: 700 19px/1.25 var(--sans); margin: 0; }
.card .decision { font: italic 15px/1.45 var(--serif); color: var(--slate); margin: 0; }
.card .foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; }
.status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.status.live { background: rgba(0, 203, 93, .14); color: #00733A; }
.more { font-size: 14px; color: var(--blue); font-weight: 700; }

/* Module detail */
.detail-hero { color: var(--white); background: var(--navy) center/cover no-repeat; position: relative; isolation: isolate; }
.detail-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy) 30%, rgba(7, 15, 38, .55)); }
.detail-hero .wrap { padding: 72px 0; }
.detail-hero h1 { font: 400 clamp(30px, 4vw, 46px)/1.12 var(--serif); margin: 6px 0 14px; max-width: 20ch; }
.detail-hero .decision { font: italic 20px/1.4 var(--serif); color: var(--cyan); margin: 0; max-width: 40ch; }
.crumb { font-size: 14px; }
.crumb a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.crumb a:hover { color: var(--cyan); }
.method { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.method li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.method li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 700; margin-bottom: 10px; }
.method strong { display: block; font-size: 17px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.panel h2 { font: 400 24px/1.2 var(--serif); margin: 0 0 14px; }
.panel ul { margin: 0; padding-left: 20px; }
.panel li { margin: 6px 0; }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin-top: 28px; }

/* Footer */
footer { background: var(--navy); color: rgba(255, 255, 255, .65); font-size: 14px; }
footer .wrap { padding: 32px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

@media (max-width: 860px) {
  .nav { display: none; }
  .days { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .hero .wrap { padding: 64px 0 72px; }
}
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }
