:root {
  color-scheme: light;
  --ink: #0f1e3d;
  --ink-soft: #243659;
  --blue: #2563eb;
  --blue-dark: #173c9d;
  --cyan: #087b7d;
  --mint: #dff7ee;
  --amber: #d48b16;
  --paper: #ffffff;
  --canvas: #f6f8fb;
  --line: #d9e2ec;
  --muted: #617086;
  --shadow: 0 24px 70px rgb(15 30 61 / 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgb(217 226 236 / 0.82);
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(16px);
}

.brand-link {
  width: min(236px, 48vw);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--ink-soft);
  font-weight: 750;
}

.main-nav a {
  border-radius: 999px;
  padding: 9px 3px;
  text-decoration: none;
}

.main-nav a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgb(26 166 166 / 0.32);
  outline-offset: 3px;
}

.main-nav .nav-cta {
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
}

main {
  overflow: hidden;
}

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(54px, 8vw, 94px) clamp(18px, 5vw, 72px) clamp(40px, 6vw, 72px);
  background:
    linear-gradient(125deg, rgb(15 30 61 / 0.98) 0%, rgb(15 30 61 / 0.94) 42%, rgb(31 83 153 / 0.9) 100%),
    linear-gradient(90deg, #0f1e3d, #2563eb);
  color: #fff;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #74f0d9;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 9vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: #e6edf7;
  font-size: clamp(1.06rem, 1.7vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: #fff;
  color: var(--ink);
}

.button.secondary {
  border-color: rgb(255 255 255 / 0.42);
  color: #fff;
}

.hero-visual {
  min-width: 0;
}

.workspace-frame {
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 22px;
  background: rgb(255 255 255 / 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.frame-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgb(255 255 255 / 0.18);
  background: rgb(9 21 46 / 0.46);
}

.frame-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #74f0d9;
}

.frame-top span:nth-child(2) {
  background: #7aa7ff;
}

.frame-top span:nth-child(3) {
  background: #f4b86a;
}

.frame-top strong {
  margin-left: auto;
  color: #eaf2ff;
  font-size: 0.9rem;
}

.frame-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgb(255 255 255 / 0.14);
}

.frame-grid article {
  min-height: 168px;
  padding: 22px;
  background: rgb(255 255 255 / 0.94);
  color: var(--ink);
}

.frame-grid small {
  display: block;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.frame-grid strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.08;
}

.frame-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.flow-section,
.control-section,
.decision-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.flow-section {
  background: var(--paper);
}

.section-heading {
  max-width: 960px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.step-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: #07655d;
  font-weight: 950;
}

.step-card h3 {
  margin-top: 24px;
}

.step-card p,
.panel p,
.decision-board span,
.check-list {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 18px;
  margin-top: 34px;
}

.panel {
  border-radius: 8px;
  padding: clamp(24px, 4vw, 36px);
}

.panel.plain {
  border: 1px solid var(--line);
  background: #fff;
}

.panel.emphasis {
  background: var(--ink);
  color: #fff;
}

.panel.emphasis p {
  color: #dce7f5;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
}

.decision-section {
  background: #eef4f8;
}

.decision-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.decision-board article {
  min-height: 180px;
  display: grid;
  align-content: space-between;
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 36px rgb(15 30 61 / 0.08);
}

.decision-board strong {
  font-size: 1.28rem;
}

.plans-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: var(--paper);
  scroll-margin-top: 110px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  margin-top: 34px;
}

.plan-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
}

.plan-card p:not(.plan-status) {
  color: var(--muted);
}

.plan-status {
  color: var(--cyan);
  font-weight: 800;
}

.plans-notice {
  margin-top: 24px;
}

.plans-notice h3 {
  margin: 0;
  font-size: 1.08rem;
}

.plans-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.plans-actions p {
  max-width: 760px;
  color: var(--muted);
}

.plans-actions .button.primary {
  background: var(--ink);
  color: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 36px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.site-footer img {
  width: 220px;
  height: auto;
}

.site-footer p {
  max-width: 460px;
  color: #d5e0ee;
}

.footer-signature {
  margin: 16px 0 0;
  color: #74f0d9;
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-institutional {
  display: grid;
  gap: 6px;
  max-width: 560px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 0.16);
  color: #d5e0ee;
}

.footer-institutional strong {
  color: #fff;
}

.footer-institutional span,
.footer-institutional small {
  color: #c7d5e6;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 16px;
  font-weight: 850;
}

.not-found-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.not-found {
  width: min(720px, 100%);
  display: grid;
  justify-items: start;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(28px, 7vw, 64px);
  box-shadow: 0 18px 60px rgb(15 30 61 / 0.1);
}

.not-found h1 {
  font-size: clamp(2.4rem, 8vw, 5rem);
}

.not-found .button.primary {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 1020px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .flow-grid,
  .decision-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .main-nav .nav-cta {
    margin-left: 0;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4.8rem);
  }

  .frame-grid,
  .flow-grid,
  .decision-board {
    grid-template-columns: 1fr;
  }

  .frame-grid article,
  .step-card,
  .decision-board article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
