:root {
  --ink: #070b0f;
  --panel: #0e151b;
  --panel-2: #131d25;
  --line: rgba(255, 255, 255, .1);
  --muted: #9cabb6;
  --paper: #f5f7f8;
  --accent: #087ff7;
  --accent-2: #55baff;
  --success: #7bd9ab;
  --radius: 22px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 8%, rgba(8, 127, 247, .2), transparent 27rem),
    radial-gradient(circle at 8% 35%, rgba(62, 122, 181, .09), transparent 30rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.site-header.scrolled { background: rgba(7, 11, 15, .86); backdrop-filter: blur(18px); border-color: var(--line); }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-logo { width: 176px; height: 58px; display: block; overflow: hidden; background: #000 url('/assets/titan-logo.png') center 49% / 116% auto no-repeat; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--ink); background: var(--accent); font-weight: 950; letter-spacing: -.08em; transform: skew(-7deg); box-shadow: 0 0 0 5px rgba(8,127,247,.1); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 18px; letter-spacing: .16em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; color: #c8d0d5; font-size: 14px; }
.nav-links a:not(.button):hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.03); }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; width: 18px; height: 2px; display: block; margin: 4px auto; background: currentColor; transition: .2s; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.04); font-weight: 720; font-size: 14px; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
.button.primary { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 12px 32px rgba(8,127,247,.2); }
.button.primary:hover { background: #2492ff; }
.button.ghost { background: transparent; }
.button svg { width: 17px; height: 17px; }

.hero { min-height: 720px; display: grid; align-items: center; padding: 82px 0 92px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 52px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #c7d2d8; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; }
.eyebrow::before { content: ""; width: 23px; height: 2px; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin: 20px 0 22px; font-size: clamp(48px, 7.3vw, 88px); line-height: .94; letter-spacing: -.055em; }
h1 span { color: var(--accent); }
.hero-lead { max-width: 650px; color: #b9c5cc; font-size: clamp(17px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.micro-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: var(--muted); font-size: 13px; }
.micro-proof span { display: inline-flex; align-items: center; gap: 8px; }
.micro-proof i { width: 6px; height: 6px; border-radius: 99px; background: var(--success); box-shadow: 0 0 0 4px rgba(123,217,171,.1); }

.tech-console { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, rgba(22,33,42,.92), rgba(10,16,21,.88)); box-shadow: 0 28px 90px rgba(0,0,0,.35); }
.tech-console::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(145deg, rgba(85,186,255,.48), transparent 38%, rgba(192,203,213,.16)); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.console-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.console-head strong { font-size: 13px; text-transform: uppercase; letter-spacing: .13em; }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--success); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: currentColor; box-shadow: 0 0 0 5px rgba(123,217,171,.1); }
.gauge-wrap { padding: 30px 0 26px; text-align: center; }
.gauge { width: 214px; aspect-ratio: 1; margin: 0 auto 22px; position: relative; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--accent-2) 0 73%, rgba(255,255,255,.07) 73% 100%); }
.gauge::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #0d151b; box-shadow: inset 0 0 40px rgba(98,213,238,.08); }
.gauge-value { position: relative; z-index: 1; display: grid; }
.gauge-value strong { color: #fff; font-size: 58px; letter-spacing: -.05em; line-height: 1; }
.gauge-value small { margin-top: 7px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.console-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.metric { min-height: 82px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.metric small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.metric strong { display: block; margin-top: 6px; font-size: 15px; }
.hero-visual { position: relative; min-height: 0; aspect-ratio: 16 / 10; margin: 0; overflow: hidden; border: 1px solid rgba(85,186,255,.22); border-radius: 28px; background: #091017; box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(3,8,12,.88) 100%); }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.hero-visual figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; }
.hero-visual figcaption span { display: block; margin-bottom: 7px; color: var(--accent-2); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.hero-visual figcaption strong { display: block; max-width: 390px; font-size: 22px; line-height: 1.2; }

.section { padding: 105px 0; position: relative; }
.home-page .section { padding: 82px 0; }
.home-page .section-head { margin-bottom: 36px; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.section-head h2 { margin: 14px 0 0; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -.045em; }
.section-head p { max-width: 620px; margin-bottom: 4px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.visual-section { background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(8,127,247,.035)); }
.home-solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home-solution-card { min-height: 220px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(155deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); }
.home-solution-card > span { color: var(--accent-2); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.home-solution-card h3 { margin: auto 0 10px; font-size: 27px; line-height: 1.12; letter-spacing: -.03em; }
.home-solution-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.home-system-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-system-card { position: relative; min-height: 0; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #091017; }
.home-system-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,7,11,.02) 30%, rgba(2,7,11,.9) 100%); }
.home-system-card img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.home-system-card > div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; }
.home-system-card span { color: #82caff; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.home-system-card h3 { margin: 7px 0 6px; font-size: 28px; letter-spacing: -.03em; }
.home-system-card p { max-width: 320px; margin: 0; color: #d6e0e6; font-size: 14px; line-height: 1.5; }
.section-action { display: flex; justify-content: flex-end; margin-top: 18px; }
.home-process-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.home-process-flow li { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(8,127,247,.08), rgba(255,255,255,.018)); }
.home-process-flow span { color: var(--accent-2); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.home-process-flow strong { max-width: 180px; font-size: 18px; line-height: 1.25; }
.home-knowledge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-knowledge-grid article { min-height: 220px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 19px; background: var(--panel); }
.home-knowledge-grid span { color: var(--accent-2); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.home-knowledge-grid h3 { margin: auto 0 10px; font-size: 24px; line-height: 1.15; }
.home-knowledge-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.pmoc-section { padding: 0 0 82px; }
.pmoc-panel { display: grid; grid-template-columns: 1.03fr .97fr; gap: 60px; align-items: center; padding: clamp(34px, 5vw, 60px); border: 1px solid rgba(8,127,247,.3); border-radius: 26px; background: radial-gradient(circle at 88% 15%, rgba(8,127,247,.22), transparent 19rem), linear-gradient(135deg, rgba(8,127,247,.11), rgba(255,255,255,.02)); }
.pmoc-panel h2 { max-width: 580px; margin: 16px 0 0; font-size: clamp(34px, 4.5vw, 55px); line-height: 1; letter-spacing: -.045em; }
.pmoc-copy p { margin-bottom: 18px; color: #b9c6ce; font-size: 16px; line-height: 1.7; }
.pmoc-copy strong { display: block; margin-bottom: 24px; font-size: 18px; line-height: 1.4; }

.solution-shell { display: grid; grid-template-columns: 330px 1fr; min-height: 420px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.02); }
.solution-tabs { padding: 18px; border-right: 1px solid var(--line); background: rgba(255,255,255,.018); }
.solution-tab { width: 100%; display: grid; grid-template-columns: 42px 1fr 18px; gap: 12px; align-items: center; padding: 16px 14px; border: 1px solid transparent; border-radius: 15px; background: transparent; text-align: left; cursor: pointer; }
.solution-tab + .solution-tab { margin-top: 7px; }
.solution-tab:hover { background: rgba(255,255,255,.035); }
.solution-tab.active { border-color: rgba(8,127,247,.38); background: rgba(8,127,247,.09); }
.solution-tab .num { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.05); color: var(--muted); font-size: 12px; font-weight: 800; }
.solution-tab.active .num { background: var(--accent); color: var(--ink); }
.solution-tab strong { display: block; font-size: 14px; }
.solution-tab small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.solution-tab .arrow { color: var(--muted); }
.solution-detail { padding: clamp(28px, 5vw, 62px); display: flex; flex-direction: column; justify-content: center; }
.solution-detail .kicker { color: var(--accent-2); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .14em; }
.solution-detail h3 { margin: 13px 0 16px; font-size: clamp(29px, 4vw, 46px); line-height: 1.03; letter-spacing: -.035em; }
.solution-detail > p { max-width: 640px; color: #b2bec6; font-size: 16px; line-height: 1.75; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 20px; margin: 23px 0 28px; padding: 0; list-style: none; }
.checks li { display: flex; align-items: start; gap: 9px; color: #d7dde0; font-size: 13px; }
.checks li::before { content: "✓"; color: var(--success); font-weight: 900; }
.solution-detail .button { align-self: flex-start; }

.standard-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 22px; }
.process-card, .authority-card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(155deg, rgba(255,255,255,.048), rgba(255,255,255,.012)); }
.process-card { padding: clamp(25px, 4vw, 42px); }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { counter-increment: process; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 0; }
.process-list li::before { content: "0" counter(process); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(98,213,238,.09); color: var(--accent-2); font-size: 12px; font-weight: 900; }
.process-list strong { display: block; margin-bottom: 5px; }
.process-list p { margin: 0; color: var(--muted); font-size: 13px; }
.authority-card { min-height: 100%; padding: clamp(30px, 5vw, 52px); display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, rgba(8,127,247,.14), rgba(255,255,255,.025) 45%); }
.authority-card blockquote { margin: 0; font-size: clamp(27px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.035em; font-weight: 760; }
.authority-card blockquote span { color: var(--accent); }
.authority-foot { margin-top: 50px; }
.authority-foot p { color: var(--muted); font-size: 13px; }
.maker-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.maker-tags span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; color: #d7dde1; font-size: 12px; font-weight: 750; }

.learning-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 9px 13px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; }
.filter.active { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.learning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.learning-card { min-height: 310px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 19px; background: var(--panel); cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.learning-card:hover { transform: translateY(-4px); border-color: rgba(98,213,238,.32); background: var(--panel-2); }
.learning-card[hidden] { display: none; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tag { color: var(--accent-2); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.level { color: var(--muted); font-size: 10px; }
.learning-card h3 { margin: 34px 0 13px; font-size: 23px; line-height: 1.15; letter-spacing: -.025em; }
.learning-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.card-link { margin-top: auto; color: var(--paper); font-size: 12px; font-weight: 850; }
.card-link span { color: var(--accent); margin-left: 4px; }
.learning-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 22px 24px; border: 1px dashed rgba(255,255,255,.16); border-radius: 16px; color: var(--muted); font-size: 13px; }

.site-footer { padding: 54px 0 36px; border-top: 1px solid var(--line); background: rgba(0,0,0,.16); }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: end; }
.footer-main h2 { max-width: 620px; margin: 18px 0 26px; font-size: clamp(34px, 5vw, 60px); line-height: 1; letter-spacing: -.045em; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-contact { justify-self: end; display: grid; gap: 10px; text-align: right; color: var(--muted); font-size: 13px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); color: #6f7d86; font-size: 11px; }

.modal { position: fixed; inset: 0; z-index: 90; display: none; padding: 20px; background: rgba(0,0,0,.72); backdrop-filter: blur(10px); }
.modal.open { display: grid; place-items: center; }
.modal-panel { width: min(620px, 100%); max-height: 85vh; overflow: auto; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #111a21; box-shadow: 0 30px 100px #000; }
.modal-head { display: flex; justify-content: space-between; gap: 20px; }
.modal-head h3 { margin: 10px 0 0; font-size: 30px; line-height: 1.08; }
.modal-close { flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; }
.modal-body { margin-top: 24px; color: #b9c5cc; }
.modal-body strong { color: #fff; }
.modal-body ul { padding-left: 20px; }

/* Internal pages */
.inner-hero { padding: 92px 0 76px; border-bottom: 1px solid var(--line); overflow: hidden; }
.inner-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 70px; align-items: center; }
.inner-hero-grid > * { min-width: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: 11px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #60717d; }
.inner-hero h1 { margin-bottom: 22px; font-size: clamp(46px, 6.4vw, 78px); }
.page-sidecard { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(150deg, rgba(8,127,247,.12), rgba(255,255,255,.025)); }
.page-sidecard .side-label { color: var(--accent-2); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.page-sidecard h2 { margin: 13px 0 12px; font-size: 29px; line-height: 1.05; letter-spacing: -.035em; }
.page-sidecard p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.side-points { display: grid; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; }
.side-points li { display: flex; gap: 9px; color: #d7dfe4; font-size: 14px; }
.side-points li::before { content: "✓"; color: var(--accent-2); font-weight: 900; }
.content-section { padding: 86px 0; }
.content-section + .content-section { border-top: 1px solid var(--line); }
.content-intro { max-width: 740px; margin-bottom: 36px; }
.content-intro h2 { margin: 13px 0 15px; font-size: clamp(34px, 4.5vw, 54px); line-height: 1; letter-spacing: -.04em; }
.content-intro p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.feature-card { min-height: 285px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(155deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); scroll-margin-top: 100px; }
.feature-card .num { color: var(--accent-2); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.feature-card h3 { margin: 28px 0 12px; font-size: 27px; letter-spacing: -.03em; }
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.feature-card ul { display: grid; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; color: #d5dde2; font-size: 14px; }
.feature-card li::before { content: "—"; margin-right: 8px; color: var(--accent); }
.feature-card .button { align-self: flex-start; margin-top: auto; }
.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.principle { min-height: 240px; padding: 26px; border: 1px solid var(--line); border-radius: 19px; background: var(--panel); }
.principle-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(85,186,255,.25); border-radius: 13px; color: var(--accent-2); font-weight: 900; }
.principle h3 { margin: 30px 0 10px; font-size: 22px; }
.principle p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.formation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.formation-card { min-height: 300px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(160deg, rgba(8,127,247,.1), rgba(255,255,255,.02) 55%); }
.formation-status { align-self: flex-start; padding: 5px 8px; border: 1px solid rgba(85,186,255,.24); border-radius: 99px; color: var(--accent-2); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.formation-card h3 { margin: 30px 0 11px; font-size: 24px; line-height: 1.13; letter-spacing: -.025em; }
.formation-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.formation-levels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.formation-levels span { padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,.045); color: #c8d2d8; font-size: 9px; }
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.portal-block { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.02); }
.portal-block h3 { margin: 0 0 10px; font-size: 24px; }
.portal-block p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.topic-chips span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; color: #cbd5db; font-size: 10px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px; border: 1px solid rgba(8,127,247,.25); border-radius: 22px; background: linear-gradient(100deg, rgba(8,127,247,.13), rgba(255,255,255,.018)); }
.cta-band h2 { margin-bottom: 8px; font-size: clamp(27px, 4vw, 40px); letter-spacing: -.035em; }
.cta-band p { margin: 0; color: var(--muted); }
.system-feature { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 34px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(8,127,247,.07), rgba(255,255,255,.015)); }
.system-feature + .system-feature { margin-top: 18px; }
.system-feature.reverse figure { order: 2; }
.system-feature figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #05090d; }
.system-feature img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.system-feature img.diagram { object-fit: contain; }
.system-feature figcaption { padding: 10px 13px; color: #8f9da6; font-size: 12px; }
.system-copy h3 { margin: 16px 0 13px; font-size: clamp(29px, 3.6vw, 43px); line-height: 1.02; letter-spacing: -.04em; }
.system-copy > p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.system-copy ul { display: grid; gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; color: #d5dee3; font-size: 14px; }
.system-copy li::before { content: "✓"; margin-right: 8px; color: var(--accent-2); font-weight: 900; }

/* Card page */
.card-page { min-height: 100vh; display: grid; place-items: center; padding: 34px 20px; }
.digital-card { width: min(100%, 640px); overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: rgba(13,20,26,.94); box-shadow: 0 35px 120px rgba(0,0,0,.45); }
.card-hero { position: relative; padding: 28px 32px 25px; background: radial-gradient(circle at 86% 86%, rgba(8,127,247,.16), transparent 24rem), linear-gradient(180deg, #000 0, #000 132px, #050a0e 185px, #0b151d 100%); }
.card-hero .brand-logo { width: 236px; height: 77px; background-color: #000; background-size: 116% auto; filter: drop-shadow(0 10px 24px rgba(8,127,247,.14)); }
.card-hero::after { display: none; }
.card-hero .brand { position: relative; z-index: 1; }
.profile-block { position: relative; z-index: 1; margin-top: 25px; }
.profile-block .label { color: var(--accent); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.profile-block h1 { margin: 10px 0 9px; font-size: clamp(32px, 9vw, 48px); line-height: 1; }
.profile-block p { color: var(--muted); font-size: 15px; }
.card-body { padding: 20px 32px 32px; }
.card-location { min-height: 42px; display: flex; align-items: center; gap: 11px; margin-bottom: 12px; padding: 0 7px; color: #c4cfd6; font-size: 14px; }
.location-icon { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: var(--accent); background: rgba(8,127,247,.1); }
.location-icon svg { width: 17px; height: 17px; }
.contact-stack { display: grid; gap: 10px; }
.contact-action { min-width: 0; min-height: 66px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 20px; gap: 13px; align-items: center; padding: 9px 14px 9px 10px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); cursor: pointer; transition: .2s; }
.contact-action:hover { background: rgba(255,255,255,.065); border-color: rgba(255,255,255,.2); }
.contact-action.primary-link { border-color: rgba(8,127,247,.42); background: rgba(8,127,247,.11); }
.contact-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: rgba(255,255,255,.055); }
.contact-icon svg { width: 23px; height: 23px; }
.contact-icon.whatsapp { background: #1fad56; box-shadow: 0 8px 22px rgba(31,173,86,.16); }
.contact-icon.instagram { background: radial-gradient(circle at 31% 106%, #ffd600 0 24%, #ff7a00 25% 41%, #ff0169 42% 63%, #d300c5 64% 77%, #7638fa 78% 100%); box-shadow: 0 8px 22px rgba(211,0,197,.13); }
.contact-icon.email, .contact-icon.web { background: #087ff7; box-shadow: 0 8px 22px rgba(8,127,247,.16); }
.contact-icon.services { color: #dce6ec; background: #334653; }
.contact-action > span:nth-child(2) { min-width: 0; }
.contact-action strong { display: block; font-size: 15px; }
.contact-action small { display: block; margin-top: 3px; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
.contact-arrow { color: var(--accent-2); font-size: 17px; }
.mini-standard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0; }
.mini-standard div { padding: 12px 8px; text-align: center; border: 1px solid var(--line); border-radius: 12px; }
.mini-standard strong { display: block; color: var(--accent-2); font-size: 12px; }
.mini-standard span { color: var(--muted); font-size: 10px; }
.card-standard-signature { display: flex; align-items: center; justify-content: center; gap: 12px; margin: -4px 0 20px; color: #d7e0e5; text-align: center; font-size: 14px; letter-spacing: .04em; }
.card-standard-signature span { width: 42px; height: 1px; background: var(--accent); }
.card-standard-signature strong { color: var(--accent); letter-spacing: .11em; }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.share-row .button { width: 100%; }
.back-home { display: block; margin-top: 24px; color: var(--muted); text-align: center; font-size: 11px; }
.back-home:hover { color: #fff; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); padding: 11px 15px; border-radius: 99px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 800; opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  .nav-links { gap: 15px; font-size: 13px; }
  .nav-links .button { padding-inline: 13px; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 900px) {
  .hero-grid, .section-head, .standard-grid, .footer-main, .inner-hero-grid, .pmoc-panel { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 60px; }
  .hero-grid { gap: 54px; }
  .tech-console { width: min(100%, 560px); }
  .hero-visual { width: min(100%, 760px); min-height: 0; }
  .section-head { gap: 20px; }
  .home-process-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-shell { grid-template-columns: 1fr; }
  .solution-tabs { display: grid; grid-template-columns: repeat(2, 1fr); border-right: 0; border-bottom: 1px solid var(--line); }
  .solution-tab + .solution-tab { margin-top: 0; }
  .learning-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid, .formation-grid { grid-template-columns: 1fr; }
  .system-feature { grid-template-columns: 1fr; }
  .system-feature.reverse figure { order: 0; }
  .footer-contact { justify-self: start; text-align: left; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { background: rgba(7,11,15,.9); backdrop-filter: blur(18px); border-color: var(--line); }
  .nav-wrap { min-height: 68px; }
  .brand-logo { width: 154px; height: 52px; background-size: 116% auto; }
  .card-hero .brand-logo { width: 220px; height: 72px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 68px; left: 14px; right: 14px; display: none; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #0c1318; box-shadow: 0 20px 55px #000; }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 11px 10px; }
  .nav-links .button { margin-top: 4px; }
  .hero { padding: 45px 0 72px; }
  h1 { font-size: clamp(45px, 15vw, 68px); }
  .hero-visual { min-height: 0; }
  .hero-visual figcaption { padding: 20px; }
  .tech-console { padding: 18px; }
  .gauge { width: 180px; }
  .console-metrics { grid-template-columns: 1fr; }
  .metric { min-height: 0; display: flex; justify-content: space-between; align-items: center; }
  .metric strong { margin: 0; }
  .section { padding: 76px 0; }
  .home-page .section { padding: 68px 0; }
  .pmoc-section { padding-bottom: 68px; }
  .home-solution-grid, .home-system-grid, .home-process-flow, .home-knowledge-grid { grid-template-columns: 1fr; }
  .home-system-card { min-height: 0; }
  .solution-tabs { grid-template-columns: 1fr; }
  .solution-tab small { display: none; }
  .solution-detail { min-height: 420px; }
  .checks { grid-template-columns: 1fr; }
  .learning-grid { grid-template-columns: 1fr; }
  .learning-card { min-height: 265px; }
  .learning-note { align-items: flex-start; flex-direction: column; }
  .footer-main h2 { font-size: 42px; }
  .footer-bottom { flex-direction: column; }
  .card-hero, .card-body { padding-left: 22px; padding-right: 22px; }
  .profile-block h1 { font-size: 40px; }
  .contact-action { min-height: 62px; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 11px; padding-right: 11px; }
  .contact-icon { width: 44px; height: 44px; }
  .contact-action strong { font-size: 13px; }
  .contact-action small { font-size: 10px; }
  .card-standard-signature { gap: 8px; font-size: 12px; }
  .card-standard-signature span { width: 24px; }
  .mini-standard span { display: none; }
  .feature-grid, .portal-grid { grid-template-columns: 1fr; }
  .cta-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .home-system-card { min-height: 0; }
  .home-system-card > div { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
