:root {
  --ink: #10151b;
  --ink-2: #252c35;
  --muted: #66717d;
  --line: #d9dee4;
  --soft: #f3f5f7;
  --white: #fff;
  --red: #d51924;
  --red-dark: #9f111a;
  --amber: #f2b63d;
  --teal: #0d7b78;
  --steel: #3f4e5b;
  --max: 1200px;
  --radius: 6px;
  --shadow: 0 20px 60px rgba(9, 14, 20, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 124px; }
section[id] { scroll-margin-top: 16px; }
:focus-visible { outline: 3px solid #0d7b78; outline-offset: 4px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(16, 21, 27, .1);
  backdrop-filter: blur(12px);
}
.topbar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  padding: 7px max(22px, calc((100vw - var(--max)) / 2));
  color: #eef1f4;
  background: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.topbar span { margin-right: auto; color: #c6ced7; }
.topbar a:hover { color: var(--amber); }
.nav {
  max-width: var(--max);
  min-height: 74px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 3px;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  transform: skew(-5deg);
}
.brand strong { display: block; font-size: 23px; line-height: 1; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 800; }
.nav-links a:not(.nav-cta):hover { color: var(--red); }
.nav-cta { padding: 11px 17px; color: var(--white); background: var(--red); border-radius: 3px; }
.nav-cta:hover { background: var(--red-dark); }
.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
}
.menu-toggle span { width: 20px; height: 2px; background: var(--white); }

.hero {
  min-height: min(730px, calc(100svh - 108px));
  position: relative;
  display: grid;
  align-items: center;
  color: var(--white);
  background: linear-gradient(90deg, rgba(9, 13, 18, .92) 0%, rgba(9, 13, 18, .78) 30%, rgba(9, 13, 18, .24) 68%, rgba(9, 13, 18, .08) 100%), url("assets/rokia-hero-1680.webp") center / cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 58%, var(--amber) 58% 73%, var(--teal) 73%); }
.hero-content { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; padding: 64px 0 80px; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.hero .eyebrow, .supply-band .eyebrow { color: var(--amber); }
h1 { margin-bottom: 6px; font-size: 96px; line-height: .92; font-weight: 900; letter-spacing: 0; }
.hero-slogan { max-width: 690px; margin-bottom: 22px; font-size: 31px; line-height: 1.12; font-weight: 800; }
.hero-copy { max-width: 640px; margin-bottom: 0; color: #e1e5e9; font-size: 18px; }
.hero-actions, .training-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 2px solid transparent; border-radius: 3px; font-weight: 900; cursor: pointer; }
.button.primary { color: var(--white); background: var(--red); }
.button.primary:hover { background: var(--red-dark); }
.button.ghost { color: var(--white); border-color: rgba(255, 255, 255, .72); }
.button.dark { color: var(--white); background: var(--ink); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-stats span { min-height: 51px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .07); border-radius: 3px; font-size: 13px; }
.hero-stats strong { color: var(--amber); font-size: 21px; }

.quick-panel {
  max-width: var(--max);
  margin: -30px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quick-panel a { min-height: 130px; padding: 23px; border-right: 1px solid var(--line); }
.quick-panel a:last-child { border-right: 0; }
.quick-panel span { display: block; margin-bottom: 7px; color: var(--red); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.quick-panel strong, .quick-panel small { display: block; }
.quick-panel strong { font-size: 19px; }
.quick-panel small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.quick-panel a:hover { background: var(--soft); }

.section { max-width: var(--max); margin: 0 auto; padding: 100px 22px 0; }
.section-heading { max-width: 780px; }
.section-heading.split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading h2, .system-copy h2, .training-band h2, .supply-copy h2, .contact-section h2 { margin-bottom: 16px; font-size: 42px; line-height: 1.12; letter-spacing: 0; }
.lead { max-width: 940px; margin: 0; color: var(--muted); font-size: 20px; }
.text-link { color: var(--red); font-weight: 900; border-bottom: 2px solid currentColor; white-space: nowrap; }

.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.platform-card { min-height: 460px; padding: 27px 24px; position: relative; overflow: hidden; border-radius: var(--radius); }
.platform-card::after { content: ""; position: absolute; right: -22px; bottom: -25px; width: 100px; height: 100px; border: 18px solid rgba(255, 255, 255, .09); transform: rotate(20deg); }
.platform-number { display: block; margin-bottom: 45px; font-size: 12px; font-weight: 900; }
.platform-card p { margin-bottom: 8px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.platform-card h3 { min-height: 64px; margin-bottom: 24px; font-size: 25px; line-height: 1.18; }
.platform-card ul { margin: 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.platform-card li { padding-top: 9px; border-top: 1px solid currentColor; font-size: 14px; opacity: .9; }
.platform-red { color: var(--white); background: var(--red); }
.platform-dark { color: var(--white); background: var(--ink); }
.platform-light { color: var(--ink); background: #e9edf0; }
.platform-light::after { border-color: rgba(16, 21, 27, .08); }
.platform-steel { color: var(--white); background: var(--steel); }

.portfolio { padding-bottom: 0; }
.product-map { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product-map a { min-height: 156px; display: flex; flex-direction: column; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-map span { color: var(--red); font-size: 11px; font-weight: 900; }
.product-map strong { margin-top: 26px; font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.product-map small { margin-top: 6px; color: var(--muted); }
.product-map a:hover { color: var(--white); background: var(--red); }
.product-map a:hover span, .product-map a:hover small { color: var(--white); }

.system-band { margin-top: 104px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); color: var(--white); background: var(--ink); }
.system-media img { width: 100%; height: 100%; object-fit: cover; }
.system-copy { padding: 72px max(34px, calc((100vw - var(--max)) / 2)) 72px 58px; }
.system-copy p { color: #d4dbe2; }
.system-copy ol { margin: 28px 0 0; padding-left: 23px; display: grid; gap: 13px; }
.system-copy li::marker { color: var(--amber); font-weight: 900; }
.system-copy strong { display: inline-block; min-width: 74px; }

.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.market-grid article { min-height: 215px; padding: 24px; border-top: 4px solid var(--red); background: var(--soft); border-radius: 0 0 var(--radius) var(--radius); }
.market-grid span, .resource-list > article > span { color: var(--red); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.market-grid h3, .resource-list h3 { margin: 25px 0 9px; font-size: 22px; }
.market-grid p, .resource-list p { margin: 0; color: var(--muted); }

.supply-band { max-width: var(--max); margin: 104px auto 0; display: grid; grid-template-columns: 1.4fr .8fr; color: var(--white); background: var(--ink-2); border-radius: var(--radius); overflow: hidden; }
.supply-copy { padding: 58px; }
.supply-copy > p { max-width: 690px; color: #d1d8e0; }
.supply-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.supply-points span { padding: 8px 11px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 3px; font-size: 12px; font-weight: 800; }
.supply-metrics { display: grid; background: var(--teal); }
.supply-metrics div { min-height: 125px; display: flex; flex-direction: column; justify-content: center; padding: 26px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.supply-metrics div:last-child { border-bottom: 0; }
.supply-metrics strong, .supply-metrics span { display: block; }
.supply-metrics strong { font-size: 22px; }
.supply-metrics span { margin-top: 4px; color: #d8f0ef; font-size: 13px; }

.training-band { max-width: var(--max); margin: 104px auto 0; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--soft); border-radius: var(--radius); overflow: hidden; }
.training-band img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.training-band > div { padding: 58px; }
.training-band > div > p { color: var(--muted); }

.resource-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.resource-list article { min-height: 260px; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); }
.resource-list a { margin-top: auto; padding-top: 22px; color: var(--red); font-weight: 900; }

.contact-section { max-width: var(--max); margin: 104px auto; padding: 58px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; color: var(--white); background: var(--ink); border-top: 6px solid var(--red); border-radius: var(--radius); }
.contact-intro > p { color: #c8d0d9; }
.contact-intro > a { color: var(--amber); font-size: 18px; font-weight: 900; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.inquiry-form label { display: grid; gap: 7px; color: #dbe1e7; font-size: 12px; font-weight: 800; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; min-width: 0; color: var(--white); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .24); border-radius: 3px; padding: 12px; outline: none; }
.inquiry-form input, .inquiry-form select { min-height: 47px; }
.inquiry-form textarea { resize: vertical; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--amber); }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #9fa9b4; }
.inquiry-form option { color: var(--ink); }
.form-wide { grid-column: 1 / -1; }
.form-status { min-height: 23px; margin: 0; color: var(--amber); font-size: 13px; }

.footer { padding: 44px max(22px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; color: #d7dde4; background: #080b0f; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--white); font-size: 20px; }
.footer-brand span { color: #96a2ae; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 21px; font-size: 13px; font-weight: 800; }
.footer-links a:hover { color: var(--amber); }
.footer > p { grid-column: 1 / -1; margin: 0; color: #7d8995; font-size: 12px; }

@media (max-width: 1040px) {
  .menu-toggle { display: flex; }
  .nav-links { position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { text-align: center; }
  .platform-grid, .product-map, .market-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-card { min-height: 400px; }
}

@media (max-width: 820px) {
  .topbar { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .topbar span { margin-right: 0; }
  .quick-panel { grid-template-columns: repeat(2, 1fr); margin-left: 22px; margin-right: 22px; }
  .quick-panel a:nth-child(2) { border-right: 0; }
  .section-heading.split { align-items: flex-start; flex-direction: column; }
  .system-band, .supply-band, .training-band, .contact-section { grid-template-columns: 1fr; }
  .system-copy, .supply-copy, .training-band > div { padding: 46px 34px; }
  .supply-metrics { grid-template-columns: repeat(3, 1fr); }
  .supply-metrics div { border-right: 1px solid rgba(255, 255, 255, .2); border-bottom: 0; }
  .contact-section { margin-left: 22px; margin-right: 22px; padding: 40px 34px; gap: 38px; }
}

@media (max-width: 600px) {
  .topbar { white-space: normal; overflow: visible; gap: 12px; }
  .topbar span { flex: 1; font-size: 10px; }
  .topbar a { flex: 0 0 92px; text-align: right; font-size: 10px; }
  .topbar a:first-of-type { display: none; }
  .nav { min-height: 66px; padding: 0 16px; }
  .brand strong { font-size: 20px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { min-height: calc(100svh - 100px); background-position: 63% center; }
  .hero-content { width: calc(100% - 32px); padding: 54px 0 62px; }
  h1 { font-size: 62px; }
  .hero-slogan { font-size: 23px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { width: 100%; }
  .hero-stats { margin-top: 20px; }
  .hero-stats span { width: 100%; }
  .quick-panel, .platform-grid, .product-map, .market-grid, .resource-list { grid-template-columns: 1fr; }
  .quick-panel { margin-top: -18px; }
  .quick-panel a { min-height: 104px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding-top: 72px; }
  .section-heading h2, .system-copy h2, .training-band h2, .supply-copy h2, .contact-section h2 { font-size: 30px; }
  .lead { font-size: 17px; }
  .platform-card { min-height: 370px; }
  .product-map a { min-height: 132px; }
  .system-band, .supply-band, .training-band { margin-top: 76px; }
  .supply-band, .training-band { margin-left: 16px; margin-right: 16px; }
  .supply-metrics { grid-template-columns: 1fr; }
  .supply-metrics div { min-height: 104px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .training-band img { min-height: 280px; }
  .inquiry-form { grid-template-columns: 1fr; }
  .inquiry-form label, .form-wide { grid-column: 1; }
  .contact-section { margin: 76px 16px; padding: 30px 22px; }
  .footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
