/*
Theme Name: The Web Admin
Theme URI: https://www.thewebadmin.com/
Author: The Web Admin
Author URI: https://www.thewebadmin.com/
Description: Custom marketing theme for The Web Admin.
Version: 0.1.4
Requires at least: 6.0
Requires PHP: 8.3
Text Domain: the-web-admin
*/

:root {
  --twa-blue: #0d5eaf;
  --twa-blue-strong: #084d92;
  --twa-ink: #101828;
  --twa-steel: #475467;
  --twa-line: #d7e3f4;
  --twa-ice: #f3f8ff;
  --twa-white: #ffffff;
  --twa-cyan: #18b7c8;
  --twa-gold: #f4b740;
  --twa-max: 1160px;
  --twa-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--twa-ink);
  background: var(--twa-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--twa-gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--twa-white);
  background: var(--twa-ink);
  border-radius: var(--twa-radius);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--twa-line);
  backdrop-filter: blur(16px);
}

.site-header__inner,
.section__inner {
  width: min(var(--twa-max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--twa-blue);
  text-decoration: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  display: block;
}

.brand__name {
  color: var(--twa-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--twa-steel);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--twa-blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--twa-radius);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button--primary {
  color: var(--twa-white);
  background: var(--twa-blue);
}

.button--primary:hover,
.button--primary:focus {
  background: var(--twa-blue-strong);
}

.button--inverse {
  color: var(--twa-blue);
  background: var(--twa-white);
}

.button--ghost {
  color: var(--twa-white);
  border-color: rgba(255, 255, 255, 0.58);
}

.button--disabled,
.button[aria-disabled="true"] {
  color: #667085;
  background: #eef2f7;
  border-color: #d0d5dd;
  cursor: not-allowed;
}

.hero {
  min-height: calc(86svh - 72px);
  display: flex;
  align-items: center;
  color: var(--twa-white);
  background: var(--twa-blue);
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.hero__inner {
  position: relative;
  width: min(var(--twa-max), calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 78px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero__eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 88px;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 700px;
  margin: 24px 0 0;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: 0;
}

.hero__support {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ops-panel {
  position: absolute;
  right: -18px;
  bottom: 40px;
  width: min(520px, 48vw);
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.42;
}

.ops-panel__bar,
.ops-panel__row,
.ops-panel__grid {
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.ops-panel__bar {
  height: 52px;
  display: grid;
  grid-template-columns: 1fr 0.4fr 0.4fr;
  gap: 10px;
  padding: 10px;
}

.ops-panel__slot {
  background: rgba(255, 255, 255, 0.82);
}

.ops-panel__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 260px;
  border-top: 0;
}

.ops-panel__rows {
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.ops-panel__row {
  height: 42px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.ops-panel__eye {
  display: grid;
  place-items: center;
}

.ops-panel__eye svg {
  width: 142px;
  height: 142px;
}

.section {
  padding: 84px 0;
}

.section--ice {
  background: var(--twa-ice);
}

.section--blue {
  color: var(--twa-white);
  background: var(--twa-blue);
}

.section__heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section__label {
  margin: 0 0 10px;
  color: var(--twa-blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section--blue .section__label {
  color: rgba(255, 255, 255, 0.8);
}

.section h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: 0;
}

.section__intro {
  margin: 18px 0 0;
  color: var(--twa-steel);
  font-size: 18px;
}

.section--blue .section__intro {
  color: rgba(255, 255, 255, 0.86);
}

.pillar-grid,
.workflow-grid,
.proof-grid {
  display: grid;
  gap: 16px;
}

.pillar-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pillar {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--twa-line);
  border-radius: var(--twa-radius);
  background: var(--twa-white);
}

.pillar__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--twa-blue);
  border: 1px solid var(--twa-line);
  border-radius: var(--twa-radius);
}

.pillar h3,
.workflow h3,
.proof h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.pillar p,
.workflow p,
.proof p {
  margin: 14px 0 0;
  color: var(--twa-steel);
}

.workflow-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.workflow-list {
  display: grid;
  gap: 12px;
}

.workflow {
  padding: 22px;
  border-left: 4px solid var(--twa-blue);
  background: var(--twa-white);
}

.ops-map {
  padding: 28px;
  border: 1px solid var(--twa-line);
  border-radius: var(--twa-radius);
  background: var(--twa-white);
}

.ops-map__node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
  margin-bottom: 12px;
  color: var(--twa-ink);
  border: 1px solid var(--twa-line);
  border-radius: var(--twa-radius);
  font-weight: 800;
}

.ops-map__node span {
  color: var(--twa-blue);
  font-size: 13px;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--twa-radius);
}

.proof p {
  color: rgba(255, 255, 255, 0.82);
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.cta__note {
  max-width: 220px;
  margin: 0;
  color: var(--twa-steel);
  font-size: 14px;
  text-align: right;
}

.cta h2 {
  max-width: 760px;
}

.site-footer {
  padding: 30px 0;
  color: var(--twa-steel);
  border-top: 1px solid var(--twa-line);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--twa-max), calc(100% - 40px));
  margin: 0 auto;
  font-size: 14px;
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .ops-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 44px;
    opacity: 0.34;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero__lead {
    font-size: 30px;
  }

  .section h2 {
    font-size: 40px;
  }

  .pillar-grid,
  .workflow-grid,
  .proof-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .cta__actions {
    align-items: flex-start;
  }

  .cta__note {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header__inner,
  .section__inner,
  .hero__inner,
  .site-footer__inner {
    width: min(100% - 28px, var(--twa-max));
  }

  .brand__name {
    font-size: 16px;
  }

  .hero__inner {
    padding: 48px 0 52px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero__lead {
    font-size: 26px;
  }

  .hero__support {
    font-size: 18px;
  }

  .ops-panel {
    display: none;
  }

  .section h2 {
    font-size: 34px;
  }

  .hero__actions,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .pillar {
    min-height: auto;
  }
}
