/* Decision Minds — Smart AI Business Transformation
   Palette "Industrial trust": navy + steel, amber for attention only, green on track, red critical. */
:root {
  --navy: #0b1f3a;
  --navy-2: #122b4d;
  --navy-3: #1b3a63;
  --ink: #0e1a2b;
  --steel: #5b6b7f;
  --steel-2: #8595a8;
  --line: #e2e6ec;
  --bg: #ffffff;
  --mist: #f4f6f9;
  --card: #ffffff;
  --amber: #f2a900;
  --amber-ink: #3a2a00;
  --amber-soft: #fff6dc;
  --green: #1e8e5a;
  --green-soft: #e3f4ec;
  --red: #c8372d;
  --red-soft: #fbe9e7;
  --blue: #2f6db3;
  --blue-soft: #e7f0fa;
  --display: "Archivo", "IBM Plex Sans", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 12px;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 16px 40px -18px rgba(11, 31, 58, 0.28);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e8edf4;
    --steel: #a3b1c2;
    --steel-2: #7d8da1;
    --line: #22344f;
    --bg: #081629;
    --mist: #0d1f38;
    --card: #10243f;
    --amber-soft: #3a2c05;
    --green-soft: #0f2e22;
    --red-soft: #3a1512;
    --blue-soft: #132e4f;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -18px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  --ink: #e8edf4; --steel: #a3b1c2; --steel-2: #7d8da1; --line: #22344f; --bg: #081629; --mist: #0d1f38;
  --card: #10243f; --amber-soft: #3a2c05; --green-soft: #0f2e22; --red-soft: #3a1512; --blue-soft: #132e4f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--amber-ink); padding: 8px 14px; border-radius: 6px; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #e2e6ec; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand img { height: 32px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { text-decoration: none; color: #3d4b5e; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.site-nav a:hover { color: var(--navy); background: #f4f6f9; }
.site-nav .nav-cta { background: var(--navy); color: #fff; margin-left: 6px; }
.site-nav .nav-cta:hover { background: var(--navy-3); color: #fff; }
@media (max-width: 860px) { .site-nav a:not(.nav-cta) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font: 600 16px/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: #ffb81a; }
.btn-outline { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(47, 109, 179, 0.45), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker { font: 500 13px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; letter-spacing: -0.025em; }
.hero h1 .accent { color: var(--amber); }
.hero-text { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); color: #c9d4e3; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14); max-width: 580px; }
.hero-proof strong { display: block; white-space: nowrap; font: 700 26px/1.1 var(--display); color: #fff; }
.hero-proof span { display: block; margin-top: 6px; font-size: 14px; color: #9fb0c6; line-height: 1.4; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 400px); }
.device { background: #0f2747; border: 1px solid rgba(255,255,255,0.12); border-radius: 28px; padding: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06); }
.device-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 6px 16px; }
.device-time { display: block; font: 500 12px/1 var(--mono); color: #8fa3bd; }
.device-title { display: block; margin-top: 6px; font: 700 18px/1 var(--display); }
.device-count { font: 600 12px/1 var(--body); background: var(--amber); color: var(--amber-ink); padding: 7px 10px; border-radius: 999px; }
.feed { display: grid; gap: 10px; }
.feed-item { display: grid; grid-template-columns: 10px 1fr; gap: 12px; align-items: start; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 12px 14px; }
.feed-item b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.feed-item span { display: block; font-size: 13px; color: #9fb0c6; margin-top: 3px; line-height: 1.4; }
.feed-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; background: var(--steel-2); }
.feed-item.sev-critical .feed-dot { background: #ff5a4e; box-shadow: 0 0 0 4px rgba(255, 90, 78, 0.18); }
.feed-item.sev-warn .feed-dot { background: var(--amber); }
.feed-item.sev-info .feed-dot { background: #5aa2ec; }
.feed-item.sev-ok .feed-dot { background: #3cc486; }
.device-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.device-foot span { text-align: center; font-size: 13px; font-weight: 600; padding: 10px; border-radius: 10px; background: rgba(255,255,255,0.08); }
.device-foot span:first-child { background: var(--amber); color: var(--amber-ink); }
.device-note { text-align: center; margin-top: 12px; font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #6f84a0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: stretch; width: 100%; max-width: 440px; }
}
@media (max-width: 520px) {
  .hero-proof { grid-template-columns: 1fr; gap: 14px; }
  .hero-proof li { display: flex; align-items: baseline; gap: 12px; }
  .hero-proof strong { font-size: 22px; min-width: 104px; }
  .hero-proof span { margin: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Sections */
section { scroll-margin-top: 72px; }
.alerts, .apps, .ai, .iso, .capability, .workflows { padding: clamp(64px, 8vw, 104px) 0; }
.apps, .iso, .workflows { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.eyebrow { font: 500 12.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: #7fb3ee; } }
:root[data-theme="dark"] .eyebrow { color: #7fb3ee; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--steel); font-size: 17.5px; }
.note { margin-top: 24px; font-size: 13.5px; color: var(--steel-2); }

/* Alerts */
.alert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.alert-card { --sev: var(--steel); --sev-soft: var(--mist); position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow); overflow: hidden; }
.alert-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sev); }
.alert-card.sev-critical { --sev: var(--red); --sev-soft: var(--red-soft); }
.alert-card.sev-warn { --sev: var(--amber); --sev-soft: var(--amber-soft); }
.alert-card.sev-info { --sev: var(--blue); --sev-soft: var(--blue-soft); }
.alert-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.alert-type { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.sev { font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 999px; background: var(--sev-soft); color: var(--sev); }
.alert-card.sev-warn .sev { color: #8a6100; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .alert-card.sev-warn .sev { color: var(--amber); } :root:not([data-theme="light"]) .alert-card.sev-critical .sev { color: #ff8a80; } }
.alert-card h3 { margin-top: 16px; font-size: 19px; font-weight: 700; }
.alert-card dl { margin: 16px 0 0; display: grid; gap: 12px; }
.alert-card dl div { display: grid; gap: 2px; }
.alert-card dt { font-size: 12.5px; font-weight: 600; color: var(--steel); }
.alert-card dd { margin: 0; font-size: 15px; }
.alert-card dl div:last-child { background: var(--mist); border-radius: 8px; padding: 10px 12px; }
.alert-card dl div:last-child dt { color: var(--green); }
.channels { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; color: var(--steel); font-size: 15px; }
.channels ul { display: flex; flex-wrap: wrap; gap: 8px; }
.channels li { font-size: 14px; font-weight: 500; color: var(--ink); background: var(--mist); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 980px) { .alert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .alert-grid { grid-template-columns: 1fr; } }

/* Our work (applications) */
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.app-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.app-card:hover { transform: translateY(-3px); }
.app-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.app-shot { display: block; aspect-ratio: 16 / 10; background: var(--navy); border-bottom: 1px solid var(--line); overflow: hidden; }
.app-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.app-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.app-tag { align-self: flex-start; font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 6px 9px; border-radius: 6px; }
.app-name { font: 700 21px/1.2 var(--display); }
.app-detail { color: var(--steel); font-size: 15px; }
.app-foot { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.app-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.app-access { font-size: 13px; color: var(--steel-2); }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.more-title { margin: 48px 0 16px; font-size: 20px; font-weight: 700; }
.more-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.more-item a { display: grid; gap: 6px; height: 100%; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s ease; }
.more-item a:hover { border-color: var(--blue); }
.more-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; }
.more-detail { font-size: 14.5px; color: var(--steel); }
.more-access { font-size: 12.5px; color: var(--steel-2); }
@media (max-width: 980px) { .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .app-grid { grid-template-columns: 1fr; } }

/* AI possibilities */
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ai-grid li { background: var(--bg); padding: 28px 26px; }
.ai-num { font: 500 13px/1 var(--mono); color: var(--amber); }
@media (prefers-color-scheme: light) { .ai-num { color: #b37d00; } }
.ai-grid h3 { margin-top: 14px; font-size: 19px; font-weight: 700; }
.ai-grid p { margin-top: 8px; color: var(--steel); font-size: 15px; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .ai-grid { grid-template-columns: 1fr; } }

/* ISO */
.iso-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.iso-intro h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.iso-intro p:not(.eyebrow) { margin-top: 14px; color: var(--steel); font-size: 17px; }
.iso-intro .fine { font-size: 13.5px; color: var(--steel-2); border-left: 3px solid var(--line); padding-left: 12px; margin-top: 22px; }
.iso-list { display: grid; gap: 14px; }
.iso-list li { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.iso-code { font: 500 13px/1.3 var(--mono); color: #fff; background: var(--navy); padding: 8px 10px; border-radius: 8px; text-align: center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .iso-code { background: var(--navy-3); } }
.iso-list h3 { font-size: 18px; font-weight: 700; }
.iso-list p { margin-top: 6px; color: var(--steel); font-size: 15px; }
@media (max-width: 900px) { .iso-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .iso-list li { grid-template-columns: 1fr; gap: 12px; } .iso-code { justify-self: start; } }

/* Capability */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: phase; }
.phases li { position: relative; padding: 24px 24px 24px; border-top: 3px solid var(--navy); background: var(--mist); border-radius: 0 0 var(--radius) var(--radius); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phases li { border-top-color: var(--amber); } }
.phase-when { font: 500 12.5px/1 var(--mono); color: var(--steel); text-transform: uppercase; letter-spacing: 0.08em; }
.phases h3 { margin-top: 12px; font-size: 22px; font-weight: 800; }
.phases p { margin-top: 8px; color: var(--steel); font-size: 15px; }
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.cap-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.cap-block h3 { font-size: 18px; font-weight: 700; }
.cap-block ul { margin-top: 14px; display: grid; gap: 10px; }
.cap-block li { position: relative; padding-left: 26px; font-size: 15.5px; }
.cap-block li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
@media (max-width: 820px) { .phases, .cap-grid { grid-template-columns: 1fr; } }

/* Workflows */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.steps4 li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps4 .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 14px/1 var(--mono); }
.steps4 .is-approval { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.steps4 .is-approval .num { background: var(--amber); color: var(--amber-ink); }
.steps4 h3 { margin-top: 12px; font-size: 17px; font-weight: 700; }
.steps4 p { margin-top: 6px; font-size: 14.5px; color: var(--steel); }
.examples { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.flow-tabs { display: flex; gap: 6px; padding: 6px; overflow-x: auto; }
.flow-tabs button { font: 600 15px/1 var(--body); padding: 11px 16px; border-radius: 8px; border: 0; background: transparent; color: var(--steel); cursor: pointer; white-space: nowrap; }
.flow-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.flow-panel { padding: 16px 18px 20px; }
.flow-panel h3 { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.steps { display: grid; gap: 8px; counter-reset: s; }
.step { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline; padding: 10px 12px; border-radius: 8px; }
.step:nth-child(odd) { background: var(--mist); }
.step-who { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); }
.step-approval { background: var(--amber-soft) !important; }
.step-approval .step-who { color: #8a6100; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .step-approval .step-who { color: var(--amber); } :root:not([data-theme="light"]) .step-who { color: #7fb3ee; } }
.step-text { font-size: 15px; }
@media (max-width: 900px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps4 { grid-template-columns: 1fr; } .step { grid-template-columns: 1fr; gap: 4px; } }

/* Contact */
.contact { padding: clamp(56px, 7vw, 88px) 0; background: var(--bg); }
.contact-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; background: var(--navy); color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 169, 0, 0.22), transparent); }
.contact-card h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.contact-card p { margin-top: 14px; color: #c9d4e3; font-size: 17px; }
.contact-actions { display: grid; gap: 14px; justify-items: start; position: relative; z-index: 1; }
.contact-link { color: #fff; font-weight: 500; text-underline-offset: 3px; }
@media (max-width: 820px) { .contact-card { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-actions, .contact-actions .btn { width: 100%; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 32px; color: var(--steel); font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer-row a { font-weight: 600; color: var(--ink); }
.footer-row span:last-child { margin-left: auto; }
@media (max-width: 620px) { .footer-row span:last-child { margin-left: 0; } }

/* Integrations */
.integrations { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: var(--mist); }
.integrations h3 { font-size: 18px; font-weight: 700; }
.integrations ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.integrations li { font-size: 14.5px; font-weight: 500; background: var(--card); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }
