:root {
  --bg: #f6fafb;
  --surface: #ffffff;
  --surface-alt: #e9f4f5;
  --ink: #10212f;
  --muted: #5a6b78;
  --navy: #0b1f3a;
  --blue: #155e8a;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --line: #d6e3e6;
  --shadow: 0 18px 45px rgba(15, 35, 52, 0.12);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(214, 227, 230, 0.85);
  background: rgba(246, 250, 251, 0.94);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  font-size: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.section {
  padding: 88px 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 24%, rgba(20, 184, 166, 0.22), transparent 32%),
    linear-gradient(135deg, #081a31 0%, #0b2c4a 48%, #0d5f68 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  color: var(--navy);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 72px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.hero-text {
  max-width: 690px;
  color: #d8e8ee;
  font-size: 19px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.review-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.review-summary div {
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.review-summary strong,
.review-summary span {
  display: block;
}

.review-summary strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 14px;
}

.review-summary span {
  color: #d8e8ee;
  font-size: 14px;
  line-height: 1.45;
}

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

.button.primary {
  color: #ffffff;
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus {
  background: var(--teal-dark);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover,
.button.secondary:focus {
  border-color: rgba(255, 255, 255, 0.65);
}

.hero-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.signal-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.signal-card strong {
  display: block;
  margin: 8px 0 10px;
  color: #ffffff;
  font-size: 25px;
  line-height: 1.2;
}

.signal-card p,
.signal-grid span {
  color: #d8e8ee;
}

.card-label {
  color: #7ee6dc;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.signal-grid span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(7, 28, 49, 0.44);
  font-size: 14px;
  font-weight: 700;
}

.surface {
  background: var(--surface-alt);
}

.split,
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.feature {
  align-items: center;
}

.feature.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p,
.prose p,
.feature p,
.contact-card p,
.card p,
.info-box p,
.timeline span {
  color: var(--muted);
}

.placeholder-note {
  padding: 16px;
  border-left: 4px solid var(--teal);
  background: #ffffff;
}

.status-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.status-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.status-list strong,
.status-list span {
  display: block;
}

.status-list strong {
  margin-bottom: 4px;
  color: var(--navy);
}

.status-list span {
  color: var(--muted);
  font-size: 14px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card,
.info-box,
.metric-list,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card {
  min-height: 246px;
  padding: 28px;
}

.card.compact {
  min-height: 190px;
}

.credit-plan {
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1.26fr);
  gap: 28px;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.credit-plan h3 {
  margin-bottom: 0;
}

.credit-plan ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.why-aws-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.why-aws-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.why-aws-list strong,
.why-aws-list span {
  display: block;
}

.why-aws-list strong {
  margin-bottom: 4px;
  color: var(--navy);
}

.why-aws-list span {
  color: var(--muted);
  font-size: 14px;
}

.aws-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.aws-flow div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.aws-flow span {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--teal);
  font-weight: 800;
}

.aws-flow strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 18px;
}

.aws-flow p {
  margin: 0;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #d9f6f2;
  font-size: 13px;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  color: var(--teal-dark);
  text-decoration: underline;
}

.info-box {
  padding: 30px;
  border-top: 5px solid var(--teal);
}

.metric-list {
  overflow: hidden;
}

.metric-list div {
  display: grid;
  gap: 4px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.metric-list div:last-child {
  border-bottom: 0;
}

.metric-list strong {
  color: var(--navy);
  font-size: 18px;
}

.metric-list span {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}

.timeline li::before {
  content: counter(step);
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-weight: 800;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

.contact-section {
  color: #ffffff;
  background: var(--navy);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 36px;
  align-items: center;
  padding: 36px;
}

.contact-card h2 {
  color: var(--navy);
}

.contact-actions {
  margin-top: 0;
}

.contact-actions p {
  width: 100%;
  margin: 0;
  font-size: 14px;
}

.site-footer {
  padding: 30px 0;
  color: #cddde4;
  background: #07192d;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid p {
  margin: 0;
  color: #cddde4;
}

.footer-grid div {
  display: flex;
  gap: 18px;
}

.footer-grid a {
  color: #cddde4;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus {
  color: #ffffff;
}

.legal-page {
  background: var(--bg);
}

.legal-hero {
  padding: 76px 0 36px;
  color: #ffffff;
  background: linear-gradient(135deg, #081a31, #0d5f68);
}

.legal-hero h1 {
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 56px);
}

.legal-hero p {
  max-width: 760px;
  color: #d8e8ee;
}

.legal-content {
  padding: 56px 0 86px;
}

.legal-card {
  max-width: 900px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 22px;
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .feature,
  .feature.reverse,
  .credit-plan,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .cards.three,
  .review-summary,
  .aws-flow,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links.legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-links a {
    padding: 12px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-panel,
  .contact-card,
  .legal-card {
    padding: 22px;
  }

  .cards.two,
  .cards.three,
  .review-summary,
  .why-aws-list,
  .aws-flow,
  .timeline {
    grid-template-columns: 1fr;
  }

  .card,
  .timeline li {
    min-height: auto;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

.small-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
