@import "tailwindcss";

:root {
  --ink: #071512;
  --deep: #0b211d;
  --green: #b8f34b;
  --mint: #defca8;
  --paper: #f5f3ec;
  --line: rgba(7, 21, 18, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header, .hub-header {
  width: min(1240px, calc(100% - 48px)); margin: 0 auto; min-height: 88px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  border-bottom: 1px solid var(--line); direction: ltr;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 800; letter-spacing: .13em; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; color: var(--deep); background: var(--green); border-radius: 9px 2px 9px 2px; font-size: 18px; letter-spacing: 0; }
.main-nav { display: flex; gap: 34px; direction: rtl; font-size: 14px; font-weight: 600; }
.main-nav a { opacity: .72; transition: opacity .2s; }
.main-nav a:hover { opacity: 1; }
.header-cta { display: flex; align-items: center; gap: 13px; background: var(--ink); color: white; padding: 13px 19px; border-radius: 3px; font-size: 14px; font-weight: 700; direction: rtl; }
.header-cta span { color: var(--green); }

.hero { min-height: 690px; width: min(1240px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1.07fr .93fr; align-items: center; gap: 70px; padding: 72px 0 86px; }
.eyebrow { direction: ltr; display: flex; align-items: center; gap: 10px; margin: 0 0 25px; color: #547069; font-size: 11px; font-weight: 800; letter-spacing: .19em; }
.eyebrow span { display: block; width: 28px; height: 2px; background: var(--green); }
.hero h1, .section-heading h2, .method h2, .closing h2 { margin: 0; font-size: clamp(49px, 5.4vw, 80px); line-height: 1.08; letter-spacing: -.055em; font-weight: 760; }
.hero h1 em, .closing h2 em { color: #6b8f25; font-style: normal; }
.hero-lead { max-width: 650px; color: #41534e; font-size: 19px; line-height: 1.9; margin: 31px 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.primary-button { display: inline-flex; align-items: center; gap: 28px; background: var(--green); color: var(--ink); padding: 16px 24px; font-weight: 800; border-radius: 3px; }
.primary-button span { font-size: 21px; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 700; }

.system-visual { position: relative; aspect-ratio: 1; max-width: 540px; width: 100%; margin-inline: auto; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(184,243,75,.14) 0 18%, transparent 18% 100%); }
.orbit { position: absolute; border: 1px solid rgba(7,21,18,.16); border-radius: 50%; }
.orbit-one { inset: 14%; }
.orbit-two { inset: 2%; border-style: dashed; animation: spin 30s linear infinite; }
.system-core { width: 145px; height: 145px; border-radius: 31px 5px 31px 5px; background: var(--deep); color: white; display: grid; place-items: center; align-content: center; box-shadow: 0 24px 60px rgba(7,21,18,.2); z-index: 2; }
.core-k { color: var(--green); font-size: 59px; line-height: 1; font-weight: 900; }
.system-core small { margin-top: 10px; letter-spacing: .18em; font-size: 8px; }
.signal { position: absolute; direction: ltr; display: flex; align-items: center; gap: 9px; font-size: 9px; font-weight: 800; letter-spacing: .13em; color: #4f6760; }
.signal i { width: 12px; height: 12px; background: var(--green); border: 3px solid var(--paper); box-shadow: 0 0 0 1px #8ca45c; border-radius: 50%; }
.signal-one { top: 8%; left: 28%; }.signal-two { right: 1%; top: 45%; }.signal-three { bottom: 12%; right: 25%; }.signal-four { left: -2%; top: 57%; }
@keyframes spin { to { transform: rotate(360deg); } }

.proof-strip { min-height: 75px; background: var(--deep); color: white; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 26px; direction: ltr; font-size: 11px; letter-spacing: .15em; }
.proof-strip b { color: var(--green); }
.section-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.services { padding: 125px 0; }
.section-heading { display: grid; grid-template-columns: .42fr .8fr .65fr; align-items: end; gap: 50px; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2, .method h2 { font-size: clamp(43px, 4.4vw, 65px); }
.section-heading > p:last-child { color: #5a6864; line-height: 1.9; margin: 0; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 70px; background: var(--line); border: 1px solid var(--line); }
.capability-card { min-height: 360px; padding: 32px; background: var(--paper); position: relative; transition: background .25s, transform .25s; }
.capability-card:hover { background: white; transform: translateY(-5px); }
.card-number { color: #81918c; font-family: monospace; font-size: 12px; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-top: 65px; background: var(--mint); border-radius: 50%; font-size: 20px; }
.capability-card h3 { margin: 27px 0 14px; font-size: 24px; }
.capability-card p { color: #566560; line-height: 1.85; margin: 0; }

.method { padding: 115px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.stage-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.stage-list li { min-height: 94px; display: grid; grid-template-columns: 50px 1fr 30px; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.stage-list span { color: #81918c; font: 12px monospace; }.stage-list strong { font-size: 21px; }.stage-list i { color: #6b8f25; font-style: normal; font-size: 21px; }
.closing { margin-bottom: 38px; padding: 90px; background: var(--deep); color: white; text-align: center; }
.closing > p { color: #9eb3ac; }.closing h2 { font-size: clamp(44px, 5vw, 70px); margin: 25px 0 40px; }.closing .light { margin: auto; }
footer { width: min(1240px, calc(100% - 48px)); margin: 0 auto; min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #66736f; font-size: 12px; direction: ltr; }
.footer-brand { color: var(--ink); }.footer-brand .brand-mark { width: 30px; height: 30px; font-size: 15px; }

/* Operations hub */
.hub-page { min-height: 100vh; background: #081410; color: white; }
.hub-header { border-color: rgba(255,255,255,.12); }
.hub-title { display: flex; align-items: center; gap: 10px; color: #a8bbb5; font: 12px monospace; letter-spacing: .12em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px var(--green); }
.back-link { color: #a8bbb5; font-size: 13px; }
.hub-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 85px 0; }
.hub-welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; }
.hub-welcome h1 { margin: 0 0 14px; font-size: clamp(38px, 5vw, 62px); letter-spacing: -.04em; }.hub-welcome > div > p:last-child { color: #93a8a1; }
.security-state { min-width: 290px; border: 1px solid rgba(184,243,75,.3); padding: 23px; background: rgba(184,243,75,.05); }
.security-state span { color: var(--green); font: 10px monospace; letter-spacing: .16em; }.security-state strong, .security-state small { display: block; }.security-state strong { margin: 10px 0; }.security-state small { color: #93a8a1; line-height: 1.6; }
.hub-alert { display: flex; justify-content: space-between; gap: 20px; padding: 17px 20px; margin: 55px 0; background: #16251f; border-right: 3px solid var(--green); color: #aebcb7; font-size: 13px; }.hub-alert b { color: white; }
.tools-heading { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 18px; }.tools-heading h2 { margin: 0; }.tools-heading span { color: #71827c; font: 10px monospace; letter-spacing: .15em; }
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 20px; }
.tool-card { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 18px; padding: 24px; background: #10201b; border: 1px solid rgba(255,255,255,.08); }
.tool-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 10px 2px 10px 2px; background: #1d352c; color: var(--green); font-weight: 900; }
.tool-card h3 { margin: 0 0 7px; }.tool-card p { margin: 0; color: #82968f; font-size: 12px; }.tool-status { color: var(--green); font: 10px monospace; }.tool-status::before { content: "● "; }.tool-status.planned { color: #d6b96a; }
.tool-card button, .tool-card > a { grid-column: 2 / 4; border: 1px solid rgba(255,255,255,.1); background: transparent; padding: 10px; text-align: right; }
.tool-card button { color: #60716b; cursor: not-allowed; }
.tool-card > a { color: var(--paper); text-decoration: none; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.tool-card > a:hover { border-color: var(--green); color: var(--green); background: rgba(185,255,56,.04); }

@media (max-width: 900px) {
  .main-nav { display: none; }.hero { grid-template-columns: 1fr; padding-top: 55px; }.system-visual { max-width: 430px; }.section-heading, .method { grid-template-columns: 1fr; }.section-heading { align-items: start; }.section-heading .eyebrow { margin-bottom: 0; }.capability-grid { grid-template-columns: 1fr; }.capability-card { min-height: 300px; }.card-icon { margin-top: 35px; }.hub-welcome { align-items: stretch; flex-direction: column; }.tools-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .site-header, .hub-header, .section-shell, .hero, footer, .hub-shell { width: min(100% - 30px, 1240px); }.site-header { min-height: 74px; }.header-cta { padding: 11px 14px; }.hero { gap: 30px; min-height: auto; padding-bottom: 60px; }.hero h1 { font-size: 46px; }.hero-lead { font-size: 16px; }.hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }.primary-button { justify-content: space-between; }.system-visual { transform: scale(.92); }.proof-strip { padding: 25px 15px; gap: 14px; }.services { padding: 85px 0; }.section-heading { gap: 24px; }.method { padding: 80px 0; gap: 45px; }.closing { padding: 65px 22px; }.closing h2 { font-size: 42px; } footer { padding: 35px 0; flex-direction: column; justify-content: center; text-align: center; }.hub-header .hub-title { display: none; }.hub-shell { padding-top: 55px; }.hub-alert { flex-direction: column; }.tool-card { grid-template-columns: 48px 1fr; }.tool-status { grid-column: 2; }.tool-card button { grid-column: 1 / 3; }
}
@media (max-width: 620px) { .tool-card > a { grid-column: 1 / 3; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.orbit-two { animation: none; } }
