:root {
  --navy: #0a2463;
  --blue: #3e92cc;
  --sky: #eaf6ff;
  --orange: #ff6b35;
  --orange-deep: #e8571f;
  --orange-soft: #fff0e8;
  --ink: #172033;
  --muted: #667085;
  --line: #e6edf5;
  --white: #ffffff;
  --soft: #f8fcff;
  --shadow: 0 24px 70px rgba(10, 36, 99, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.section-pad {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 48px rgba(10, 36, 99, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #3f4b63;
  font-size: 0.96rem;
  font-weight: 650;
}

.mobile-menu,
.nav-cta-short {
  display: none;
}

.nav a:hover,
.text-link:hover,
.article-card a:hover {
  color: var(--orange);
}

.nav a[aria-current="page"],
.mobile-menu-panel a[aria-current="page"] {
  color: var(--orange);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.nav-cta,
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(255, 107, 53, 0.24);
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--orange-deep);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
}

.btn-secondary:hover {
  border-color: var(--blue);
  background: var(--sky);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 128px;
  background:
    radial-gradient(circle at 8% 18%, rgba(62, 146, 204, 0.16), transparent 22rem),
    radial-gradient(circle at 88% 16%, rgba(255, 107, 53, 0.14), transparent 24rem),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 88%);
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(62, 146, 204, 0.1);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.055em;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 7vw, 5.9rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 1.2rem;
}

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

.hero-card {
  position: relative;
  min-height: 480px;
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(10, 36, 99, 0.92), rgba(62, 146, 204, 0.88)),
    var(--navy);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.hero-orbit-one {
  inset: 54px;
}

.hero-orbit-two {
  inset: 116px;
}

.cloud-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(320px, calc(100% - 56px));
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 50px rgba(4, 18, 54, 0.24);
  transform: translate(-50%, -50%);
}

.cloud-panel strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 1.65rem;
  letter-spacing: -0.05em;
}

.panel-kicker,
.post-label {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-card .post-label,
.article-card .post-label {
  display: inline-flex;
  margin-bottom: 16px;
}

.mini-card {
  position: absolute;
  border-radius: 18px;
  padding: 14px 18px;
  background: var(--white);
  color: var(--navy);
  font-weight: 850;
  box-shadow: 0 18px 42px rgba(4, 18, 54, 0.2);
}

.mini-card-top {
  top: 70px;
  right: 34px;
}

.mini-card-bottom {
  bottom: 58px;
  left: 34px;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
  min-height: 126px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.trust-grid div:first-child {
  border-left: 1px solid var(--line);
}

.trust-grid strong {
  display: block;
  color: var(--navy);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.trust-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

.split-heading p:last-child,
.center-heading p {
  margin: 0;
  font-size: 1.05rem;
}

.center-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.center-heading .eyebrow {
  justify-content: center;
}

.center-heading h2 {
  margin-bottom: 18px;
}

.center-heading h1 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.04;
}

.preview-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.post-card,
.article-card,
.page-hero-card,
.featured-post {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(10, 36, 99, 0.08);
}

.post-card,
.article-card {
  padding: 28px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.article-card:hover,
.post-card:hover {
  transform: translateY(-4px);
}

.icon-bubble {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 18px;
  background: var(--sky);
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 900;
}

.post-card h3,
.article-card h3 {
  margin-bottom: 12px;
}

.post-card p,
.article-card p {
  margin-bottom: 0;
}

.article-card h3 {
  font-size: 1.45rem;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.feature-section,
.soft-section {
  background: var(--soft);
}

.feature-grid,
.about-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.feature-visual {
  position: relative;
  min-height: 440px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 107, 53, 0.22), transparent 15rem),
    linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: var(--shadow);
}

.stack-card {
  position: absolute;
  width: 250px;
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 20px 46px rgba(4, 18, 54, 0.22);
}

.stack-one {
  top: 78px;
  left: 56px;
}

.stack-two {
  top: 168px;
  left: 124px;
}

.stack-three {
  top: 258px;
  left: 72px;
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  line-height: 1.7;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.35rem;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.text-link,
.article-card a {
  color: var(--blue);
  font-weight: 850;
}

.post-card .text-link {
  display: inline-flex;
  margin-top: 18px;
}

.post-card:hover .text-link {
  color: var(--orange);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.process-step {
  position: relative;
  padding: 0 18px;
  text-align: center;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  left: 0;
  height: 2px;
  background: rgba(62, 146, 204, 0.3);
}

.process-step:first-child::before {
  left: 50%;
}

.process-step:last-child::before {
  right: 50%;
}

.process-step .icon-bubble {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border: 2px solid rgba(62, 146, 204, 0.3);
  border-radius: 14px;
}

.process-step h3 {
  margin-bottom: 10px;
}

.process-step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.about-grid {
  align-items: start;
}

.about-copy {
  padding: 36px;
  border-left: 4px solid var(--orange);
  border-radius: 0 28px 28px 0;
  background: var(--soft);
}

.about-copy p:first-child {
  margin-top: 0;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.contact-section {
  padding-top: 32px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 42px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 107, 53, 0.22), transparent 20rem),
    linear-gradient(135deg, var(--navy), #12377d);
  box-shadow: var(--shadow);
}

.contact-card h2,
.contact-card p {
  color: var(--white);
}

.contact-card p {
  margin-bottom: 0;
  opacity: 0.82;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-footer {
  padding: 72px 0 24px;
  background: #061a46;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.6fr 0.8fr;
  gap: 42px;
}

.footer-brand,
.site-footer h3 {
  color: var(--white);
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  display: block;
  margin-top: 10px;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.content-page-hero {
  padding: 112px 0 76px;
  background:
    radial-gradient(circle at 8% 18%, rgba(62, 146, 204, 0.14), transparent 22rem),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.content-page-hero h1 {
  max-width: 720px;
  font-size: clamp(2.55rem, 4.8vw, 4.35rem);
  line-height: 1;
}

.content-page-hero p {
  max-width: 620px;
  font-size: 1.08rem;
}

.page-hero-card {
  display: grid;
  gap: 12px;
  padding: 30px;
}

.page-hero-card strong {
  color: var(--navy);
  font-size: 1.3rem;
}

.page-hero-card span {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--sky);
  color: var(--navy);
  font-weight: 750;
}

.article-body {
  max-width: 720px;
}

.article-body h2 {
  margin: 44px 0 14px;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body .check-list {
  margin: 20px 0 28px;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumb:hover {
  color: var(--orange);
}

.featured-post {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  margin-bottom: 28px;
  padding: 34px;
}

.featured-post h2 {
  margin: 12px 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.article-card a {
  display: inline-flex;
  margin-top: 22px;
}

@media (max-width: 960px) {
  .site-header {
    align-items: center;
    border-radius: 28px;
  }

  .brand {
    min-height: 44px;
  }

  .nav {
    display: none;
  }

  .nav-cta-full {
    display: none;
  }

  .nav-cta-short {
    display: inline;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 16px;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    font-weight: 850;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    width: min(290px, calc(100vw - 32px));
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(10, 36, 99, 0.18);
  }

  .mobile-menu:not([open]) .mobile-menu-panel {
    display: none;
  }

  .mobile-menu-panel a {
    display: flex;
    min-height: 44px;
    align-items: center;
    border-radius: 16px;
    padding: 0 14px;
    color: var(--navy);
    font-weight: 800;
  }

  .mobile-menu-panel a:hover {
    background: var(--sky);
    color: var(--navy);
  }

  .mobile-menu-panel .mobile-menu-cta {
    justify-content: center;
    margin-top: 4px;
    background: var(--orange);
    color: var(--white);
  }

  .hero-grid,
  .split-heading,
  .feature-grid,
  .about-grid,
  .page-hero-grid,
  .contact-card,
  .featured-post {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .feature-visual {
    min-height: 390px;
  }

  .trust-grid,
  .preview-grid,
  .article-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid div,
  .trust-grid div:first-child {
    border-inline: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-template-rows: auto auto;
    column-gap: 18px;
    padding: 0 0 30px;
    text-align: left;
  }

  .process-step:last-child {
    padding-bottom: 0;
  }

  .process-step::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 22px;
    width: 2px;
    height: auto;
  }

  .process-step:first-child::before {
    top: 22px;
    left: 22px;
  }

  .process-step:last-child::before {
    right: auto;
    bottom: auto;
    height: 22px;
  }

  .process-step .icon-bubble {
    grid-row: 1;
    grid-column: 1;
    margin: 0;
  }

  .process-step h3 {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    margin-bottom: 0;
  }

  .process-step p {
    grid-row: 2;
    grid-column: 2;
    margin-top: 8px;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .article-card a {
    min-height: 44px;
    align-items: center;
  }

  .site-footer a {
    min-height: 44px;
  }
}

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

  .section-pad {
    padding: 58px 0;
  }

  .site-header {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
    padding: 10px 12px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
    min-height: 44px;
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .nav-cta {
    display: inline-flex;
    min-height: 44px;
    padding: 0 13px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .mobile-menu summary {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .mobile-menu-panel {
    right: -2px;
  }

  .hero {
    padding-top: 86px;
  }

  .content-page-hero {
    padding: 86px 0 58px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.95rem, 9vw, 2.8rem);
    line-height: 1.05;
  }

  h3 {
    font-size: 1.15rem;
  }

  p,
  .hero-lead,
  .split-heading p:last-child,
  .center-heading p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .article-card h3 {
    font-size: 1.35rem;
    line-height: 1.12;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.76rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

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

  .trust-grid div,
  .trust-grid div:first-child {
    min-height: 112px;
    border-inline: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }

  .trust-grid strong {
    font-size: 1.05rem;
  }

  .trust-grid span {
    font-size: 0.9rem;
  }

  .preview-grid,
  .article-grid,
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .article-grid.grid-2 {
    grid-template-columns: 1fr;
  }

  .mini-card {
    display: none;
  }

  .feature-visual {
    display: grid;
    min-height: auto;
    gap: 14px;
    border-radius: 30px;
    padding: 24px;
  }

  .stack-card {
    position: static;
    width: 100%;
    min-height: 76px;
    border-radius: 22px;
    padding: 24px;
    font-size: 1.25rem;
  }

  .stack-two,
  .stack-three {
    justify-self: stretch;
  }

  .hero-card {
    min-height: 330px;
    border-radius: 30px;
  }

  .post-card,
  .article-card {
    padding: 22px;
  }

  .icon-bubble {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 14px;
  }

  .about-copy,
  .contact-card,
  .featured-post {
    padding: 24px;
  }

  .site-footer {
    padding-top: 52px;
  }

  .site-footer a {
    margin-top: 8px;
  }
}
