/* ===========================
   EGOROSIE SOLUTIONS
   Full custom AWS partner template
   Theme: Cobalt
=========================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --page: #fbfdff;
  --surface: #ffffff;
  --wash: #eef5ff;
  --wash-2: #f6f9ff;
  --ink: #0f213c;
  --ink-2: #273f63;
  --muted: #62728f;
  --accent: #155dfc;
  --accent-2: #00a3ff;
  --accent-dark: #0d48c7;
  --accent-rgb: 21, 93, 252;
  --accent2-rgb: 0, 163, 255;
  --line: rgba(21, 93, 252, .15);
  --line-strong: rgba(21, 93, 252, .28);
  --shadow: 0 24px 60px rgba(15, 33, 60, .1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

nav {
  align-items: center;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(15, 33, 60, .07);
  display: flex;
  gap: 1.4rem;
  justify-content: space-between;
  left: 0;
  padding: 1rem 5%;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}

.nav-logo {
  align-items: center;
  display: flex;
  gap: .75rem;
  min-width: 0;
  text-decoration: none;
}

.nav-logo img {
  display: block;
  flex: 0 0 auto;
  height: 40px;
  width: auto;
}

.site-name {
  color: var(--accent);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.12;
  white-space: nowrap;
}

.nav-links,
.footer-links {
  align-items: center;
  display: flex;
  list-style: none;
}

.nav-links {
  gap: 1.7rem;
}

.nav-links a,
.mobile-menu a,
.footer-links a {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}

.nav-links a:hover,
.mobile-menu a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.nav-cta,
.btn-primary,
button[type="submit"] {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(15, 33, 60, .16);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-family: 'Barlow', sans-serif;
  font-size: .94rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-height: 44px;
  padding: .9rem 1.2rem;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nav-cta:hover,
.btn-primary:hover,
button[type="submit"]:hover {
  background: var(--accent);
  box-shadow: 0 18px 36px rgba(var(--accent-rgb), .24);
  transform: translateY(-2px);
}

.hamburger {
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  background: var(--ink);
  display: block;
  height: 2px;
  width: 25px;
}

.mobile-menu {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(15, 33, 60, .08);
  display: none;
  left: 0;
  padding: 1.5rem 5%;
  position: fixed;
  right: 0;
  top: 73px;
  z-index: 99;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  list-style: none;
}

.launchpad {
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), .06) 1px, transparent 1px),
    linear-gradient(rgba(var(--accent-rgb), .06) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, var(--wash-2) 55%, var(--wash) 100%);
  background-size: 64px 64px, 64px 64px, auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 92px minmax(0, 1fr) minmax(330px, 430px);
  min-height: 100vh;
  overflow: hidden;
  padding: 8.5rem 5% 4.5rem;
}

.launchpad-rail {
  align-items: center;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
  padding: 1rem .6rem;
  text-align: center;
}

.launchpad-rail span,
.launchpad-rail strong {
  color: var(--accent);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.launchpad-rail span {
  color: var(--muted);
  font-size: 1rem;
}

.launchpad-rail strong {
  font-size: 1.35rem;
}

.launchpad-copy {
  align-self: center;
  max-width: 720px;
  padding: 2rem 0;
}

.eyebrow,
.section-label {
  color: var(--accent);
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .95rem;
  text-transform: uppercase;
}

h1,
.section-intro h2,
.blueprint-copy h2,
.runbook-head h2,
.contact-copy h2 {
  color: var(--ink);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: .95;
  text-transform: uppercase;
}

h1 {
  font-size: 5.1rem;
  max-width: 700px;
  overflow-wrap: break-word;
}

.launchpad-copy p,
.section-intro p,
.blueprint-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
  max-width: 610px;
  margin-top: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.btn-ghost {
  align-items: center;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--accent-dark);
  display: inline-flex;
  font-size: .94rem;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: .9rem 1.2rem;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.btn-ghost:hover {
  background: rgba(var(--accent-rgb), .08);
  border-color: rgba(var(--accent-rgb), .42);
}

.signal-board {
  align-self: center;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.1rem;
  padding: 1.25rem;
  position: relative;
}

.signal-board::before {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  content: "";
  height: 100%;
  left: -10px;
  position: absolute;
  top: 10px;
  width: 10px;
}

.signal-top {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
}

.signal-top span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-top strong {
  color: var(--ink);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: .95;
  text-align: right;
  text-transform: uppercase;
}

.signal-track {
  display: grid;
  gap: .85rem;
}

.signal-line {
  align-items: start;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .09), transparent);
  display: grid;
  gap: .85rem;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: .9rem;
}

.signal-line span {
  color: var(--accent);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.signal-line p {
  color: var(--ink-2);
  font-size: .96rem;
  line-height: 1.5;
}

.signal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.signal-tags span,
.ledger-note {
  background: rgba(var(--accent-rgb), .09);
  border: 1px solid rgba(var(--accent-rgb), .16);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 800;
  padding: .42rem .7rem;
  white-space: nowrap;
}

.focus-band {
  background: var(--ink);
  color: #ffffff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.focus-band div {
  background: rgba(255, 255, 255, .035);
  min-height: 150px;
  padding: 1.65rem 5vw;
}

.focus-band strong {
  color: #ffffff;
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .8rem;
  text-transform: uppercase;
}

.focus-band span {
  color: rgba(255, 255, 255, .72);
  display: block;
  font-size: .96rem;
  line-height: 1.6;
}

.pad {
  padding: 5.8rem 5%;
}

.section-intro,
.blueprint-copy,
.runbook-head,
.contact-copy {
  max-width: 1180px;
  margin: 0 auto;
}

.section-intro h2,
.blueprint-copy h2,
.runbook-head h2,
.contact-copy h2 {
  font-size: 3.35rem;
  max-width: 720px;
}

.ledger-section {
  background: var(--page);
}

.service-ledger {
  border-top: 1px solid var(--line);
  margin: 3rem auto 0;
  max-width: 1180px;
}

.ledger-line {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 86px minmax(0, 1fr) 116px;
  min-height: 124px;
  padding: 1.35rem 0;
  transition: background .2s ease, padding .2s ease;
}

.ledger-line:hover {
  background: rgba(var(--accent-rgb), .045);
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.ledger-num {
  color: rgba(var(--accent-rgb), .36);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.ledger-main h3 {
  color: var(--ink);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .55rem;
  text-transform: uppercase;
}

.ledger-main p {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.58;
  max-width: 680px;
}

.ledger-note {
  justify-self: end;
}

.blueprint-section {
  background: var(--wash);
}

.blueprint-map {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin: 3rem auto 0;
  max-width: 1180px;
  min-height: 360px;
}

.map-core,
.map-node {
  background: #ffffff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 1.35rem;
}

.map-core {
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), .95), rgba(var(--accent2-rgb), .9)),
    var(--accent);
  color: #ffffff;
  grid-column: span 2;
  grid-row: span 2;
}

.map-core span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: .85;
}

.map-core strong {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 220px;
}

.map-node strong {
  color: var(--ink);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.map-node span {
  color: var(--muted);
  font-size: .94rem;
}

.node-two,
.node-three {
  background: var(--wash-2);
}

.runbook {
  background: #ffffff;
}

.runbook-flow {
  counter-reset: runbook;
  display: grid;
  gap: 0;
  margin: 3rem auto 0;
  max-width: 1180px;
}

.runbook-step {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 180px minmax(220px, .65fr) minmax(260px, 1fr);
  min-height: 132px;
  padding: 1.45rem 0;
}

.runbook-step:last-child {
  border-bottom: 1px solid var(--line);
}

.runbook-step::before {
  color: rgba(var(--accent-rgb), .24);
  content: counter(runbook, decimal-leading-zero);
  counter-increment: runbook;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: .85;
}

.runbook-step span {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.runbook-step h3 {
  color: var(--ink);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  margin-top: .3rem;
  text-transform: uppercase;
}

.runbook-step p {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.62;
}

.contact {
  background:
    linear-gradient(90deg, var(--wash) 0 42%, #ffffff 42% 100%);
  display: grid;
  gap: 4rem;
  grid-template-columns: minmax(0, .86fr) minmax(340px, 1.14fr);
}

.contact-copy {
  margin: 0;
  max-width: none;
}

.contact-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: .85rem;
  margin-top: 1.8rem;
  padding-top: 1.25rem;
}

.contact-list span {
  color: var(--ink-2);
  font-weight: 800;
}

form {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.35rem;
}

.form-row {
  display: grid;
  gap: .9rem;
  grid-template-columns: 1fr 1fr;
}

input,
textarea,
select {
  background: #ffffff;
  border: 1px solid rgba(var(--accent-rgb), .18);
  border-radius: 6px;
  color: var(--ink);
  font-family: 'Barlow', sans-serif;
  font-size: .95rem;
  min-height: 46px;
  outline: none;
  padding: .9rem 1rem;
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

textarea {
  min-height: 116px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(98, 114, 143, .78);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(var(--accent-rgb), .7);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .09);
}

select option {
  background: #ffffff;
  color: var(--ink);
}

button[type="submit"] {
  width: 100%;
}

footer {
  background: #f1f6ff;
  border-top: 1px solid var(--line);
  padding: 2.6rem 5% 2rem;
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

.footer-logo img {
  display: block;
  height: 38px;
}

.footer-links {
  flex-wrap: wrap;
  gap: 1.3rem;
  justify-content: center;
}

.footer-copy {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
  margin: 1.7rem auto 0;
  max-width: 1180px;
  padding-top: 1.2rem;
  text-align: center;
}

.toast {
  background: var(--ink);
  border-radius: 6px;
  bottom: 2rem;
  box-shadow: 0 18px 38px rgba(15, 33, 60, .24);
  color: #ffffff;
  font-weight: 800;
  max-width: calc(100% - 2rem);
  padding: 1rem 1.4rem;
  position: fixed;
  right: 2rem;
  transform: translateY(160%);
  transition: transform .35s ease;
  z-index: 999;
}

.toast.show {
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .launchpad {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .signal-board {
    grid-column: 2;
    max-width: 560px;
  }

  .blueprint-map {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact {
    background: linear-gradient(180deg, var(--wash), #ffffff);
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  nav {
    min-height: 73px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .launchpad {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 7.4rem;
  }

  .launchpad-rail {
    align-items: center;
    flex-direction: row;
    min-height: auto;
    padding: .75rem 0;
  }

  .launchpad-rail span,
  .launchpad-rail strong {
    writing-mode: initial;
  }

  .signal-board {
    grid-column: auto;
  }

  h1 {
    font-size: 3.35rem;
  }

  .section-intro h2,
  .blueprint-copy h2,
  .runbook-head h2,
  .contact-copy h2 {
    font-size: 2.55rem;
  }

  .focus-band {
    grid-template-columns: 1fr;
  }

  .ledger-line {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .ledger-note {
    grid-column: 2;
    justify-self: start;
  }

  .runbook-step {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .runbook-step p {
    grid-column: 2;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  nav {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-logo img {
    height: 34px;
  }

  .site-name {
    font-size: .78rem;
  }

  .launchpad,
  .pad,
  footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 2.6rem;
  }

  .launchpad-copy p,
  .section-intro p,
  .blueprint-copy p,
  .contact-copy p {
    font-size: 1rem;
  }

  .hero-actions,
  .btn-primary,
  .btn-ghost {
    width: 100%;
  }

  .signal-board,
  form {
    padding: 1rem;
  }

  .signal-board::before {
    display: none;
  }

  .signal-top {
    align-items: start;
    flex-direction: column;
  }

  .signal-top strong {
    text-align: left;
  }

  .blueprint-map {
    grid-template-columns: 1fr;
  }

  .map-core {
    grid-column: auto;
    grid-row: auto;
  }

  .ledger-line {
    gap: .8rem;
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .ledger-num {
    font-size: 2.2rem;
  }

  .runbook-step {
    gap: .9rem;
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .runbook-step::before {
    font-size: 2.8rem;
  }

  .toast {
    left: 1rem;
    right: 1rem;
  }
}
