:root {
  --bg: #e7eff5;
  --bg-top: #f7fafc;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-dark: #13253f;
  --text: #10233f;
  --muted: #5e748c;
  --line: rgba(16, 35, 63, 0.11);
  --accent: #118ee4;
  --accent-deep: #1357b7;
  --accent-soft: rgba(17, 142, 228, 0.12);
  --shadow: 0 26px 70px rgba(16, 35, 63, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Aptos", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(17, 142, 228, 0.12), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(19, 87, 183, 0.09), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  width: 420px;
  height: 420px;
  top: -150px;
  right: -120px;
  background: rgba(17, 142, 228, 0.08);
  filter: blur(10px);
}

.site-shell::after {
  width: 360px;
  height: 360px;
  left: -120px;
  bottom: 12vh;
  background: rgba(19, 87, 183, 0.07);
  filter: blur(12px);
}

.site-header,
.page-section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 24px 24px 0;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.05);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand strong {
  display: block;
  font-size: 15px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(16, 35, 63, 0.05);
  color: var(--text);
  transform: translateY(-1px);
}

.page-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 34px 24px;
}

.hero-section {
  padding-top: 28px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.glass-card,
.feature-card,
.contact-shell,
.statement-card,
.overview-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 46px;
  border-radius: var(--radius-xl);
}

.hero-copy.solo {
  max-width: 860px;
}

.hero-copy h1,
.section-heading h2,
.feature-card h3,
.glass-card h2,
.statement-card h2,
.overview-card h3,
.footer-brand h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  letter-spacing: -0.035em;
}

.hero-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  line-height: 0.96;
  max-width: 12ch;
}

.hero-copy p,
.section-heading p,
.feature-card p,
.glass-card p,
.statement-card p,
.overview-card p,
.form-note,
.footer-brand p,
.footer-note {
  color: var(--muted);
  line-height: 1.72;
  font-size: 16px;
}

.hero-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-metadata span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.05);
  color: var(--text);
  font-size: 13px;
}

.hero-aside {
  display: grid;
  gap: 16px;
}

.tall-card {
  min-height: 220px;
}

.glass-card,
.feature-card,
.contact-shell,
.statement-card,
.overview-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.glass-card h2,
.feature-card h3,
.overview-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.glass-card p,
.feature-card p,
.overview-card p,
.statement-card p {
  margin: 0;
}

.eyebrow,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow {
  padding: 8px 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 12px;
}

.mini-label {
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 11px;
}

.action-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--text);
}

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

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2,
.statement-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.section-heading p {
  margin: 0;
}

.overview-section {
  padding-top: 8px;
}

.rail-hint {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.overview-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 380px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 6px 4px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 35, 63, 0.25) transparent;
}

.overview-rail::-webkit-scrollbar {
  height: 10px;
}

.overview-rail::-webkit-scrollbar-thumb {
  background: rgba(16, 35, 63, 0.2);
  border-radius: 999px;
}

.overview-card {
  min-height: 280px;
  scroll-snap-align: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 252, 0.88)),
    var(--surface);
}

.overview-card:nth-child(odd) {
  transform: translateY(18px);
}

.panel-grid {
  display: grid;
  gap: 18px;
}

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

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

.feature-card {
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
}

.static-card:hover {
  transform: none;
}

.strong-card {
  background:
    linear-gradient(135deg, rgba(17, 142, 228, 0.08), rgba(255, 255, 255, 0.82)),
    var(--surface);
}

.statement-band {
  padding-top: 10px;
}

.statement-card {
  padding: 30px 32px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(17, 142, 228, 0.12), rgba(255, 255, 255, 0.86)),
    var(--surface);
}

.contact-shell {
  padding: 32px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.field-row {
  display: grid;
  gap: 16px;
}

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

label span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 35, 63, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(17, 142, 228, 0.45);
  box-shadow: 0 0 0 4px rgba(17, 142, 228, 0.1);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(16, 35, 63, 0.06);
  color: var(--text);
}

.site-footer {
  margin-top: 24px;
  padding: 0 24px 30px;
}

.footer-shell {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 32px;
  border-radius: 34px;
  background: linear-gradient(180deg, #14263f 0%, #0f1e33 100%);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 60px rgba(7, 18, 31, 0.26);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 24px;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-mark {
  flex: 0 0 auto;
}

.footer-brand h3 {
  margin: 2px 0 10px;
  font-size: 1.8rem;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}

.footer-links a:hover {
  color: #fff;
}

.footer-label {
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.footer-note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-layout,
  .panel-grid.two-up,
  .panel-grid.three-up,
  .field-row.two-up,
  .footer-shell,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .overview-rail {
    grid-auto-columns: minmax(280px, 78vw);
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 18px;
  }

  .header-bar {
    border-radius: 28px;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a,
  .button {
    width: 100%;
  }

  .hero-copy,
  .glass-card,
  .feature-card,
  .contact-shell,
  .statement-card,
  .overview-card,
  .footer-shell {
    border-radius: 24px;
  }

  .hero-copy,
  .contact-shell,
  .statement-card,
  .footer-shell {
    padding: 26px 22px;
  }

  .overview-card:nth-child(odd) {
    transform: none;
  }
}
