:root {
  --ink: #123e6d;
  --ink-strong: #092846;
  --muted: #536b86;
  --subtle: #6f849c;
  --surface: #ffffff;
  --surface-soft: #f3fbff;
  --border: rgba(18, 62, 109, 0.14);
  --sky: #dff7ff;
  --mint: #dff8ec;
  --pink: #f7d7ed;
  --blue: #2c8fd6;
  --teal: #0f8f95;
  --shadow: 0 18px 50px rgba(18, 62, 109, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface-soft);
  color: var(--ink);
  font-family:
    ui-rounded,
    'Avenir Next',
    'Segoe UI',
    system-ui,
    -apple-system,
    sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

body,
button,
input {
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.skip-link {
  background: var(--ink-strong);
  color: #ffffff;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  position: fixed;
  top: 1rem;
  transform: translateY(-140%);
  z-index: 20;
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 76px;
  padding: 0.65rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-link {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.brand-logo {
  height: auto;
  width: 136px;
}

.site-nav,
.footer-links,
.policy-tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-nav a,
.footer-links a,
.policy-tabs a {
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
  padding: 0.62rem 0.75rem;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover,
.policy-tabs a:hover,
.policy-tabs a[aria-current='page'] {
  background: rgba(44, 143, 214, 0.1);
  border-color: rgba(44, 143, 214, 0.22);
}

.hero-section {
  align-items: center;
  background: #123e6d;
  color: #ffffff;
  display: grid;
  isolation: isolate;
  min-height: min(720px, 86svh);
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  opacity: 0.48;
  transform: rotate(-4deg) scale(1.12);
  z-index: -2;
}

.hero-preview {
  border-radius: 8px;
  height: 112%;
  min-height: 520px;
  object-fit: cover;
  width: 100%;
}

.hero-preview-2,
.hero-preview-4 {
  transform: translateY(-4%);
}

.hero-preview-3 {
  transform: translateY(5%);
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(9, 40, 70, 0.92),
      rgba(9, 40, 70, 0.68) 46%,
      rgba(9, 40, 70, 0.2)
    ),
    linear-gradient(
      0deg,
      rgba(9, 40, 70, 0.78),
      rgba(9, 40, 70, 0.08) 44%,
      rgba(9, 40, 70, 0.38)
    );
  z-index: -1;
}

.hero-content {
  margin: 0 auto;
  padding: clamp(3.25rem, 8vw, 6.5rem) clamp(1rem, 4vw, 3rem);
  width: min(1180px, 100%);
}

.hero-logo {
  height: auto;
  margin-bottom: 1rem;
  width: clamp(150px, 28vw, 226px);
}

.hero-content h1 {
  font-size: clamp(3.75rem, 12vw, 7rem);
  line-height: 0.92;
  margin: 0;
  max-width: 9ch;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.45;
  margin: 1.2rem 0 0;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  line-height: 1.15;
  min-height: 46px;
  padding: 0.85rem 1.05rem;
  text-align: center;
  text-decoration: none;
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #ffffff;
}

.hero-facts {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2.25rem 0 0;
  max-width: 920px;
}

.hero-facts div {
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  padding-top: 0.85rem;
}

.hero-facts dt {
  color: #ffffff;
  font-weight: 850;
}

.hero-facts dd {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
  margin: 0.25rem 0 0;
}

.section {
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem);
  width: min(1180px, 100%);
}

.section-heading {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  max-width: 760px;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

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

.section h2,
.page-hero h1 {
  color: var(--ink-strong);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  margin: 0;
}

.link-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.link-card,
.info-panel,
.policy-section {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.link-card {
  color: var(--ink);
  display: grid;
  gap: 0.45rem;
  min-height: 112px;
  padding: 1rem;
  text-decoration: none;
}

.link-card span {
  font-size: 1.04rem;
  font-weight: 850;
}

.link-card small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.feature-band {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
}

.feature-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.template-strip {
  align-items: stretch;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 420px;
}

.template-strip img {
  border: 1px solid rgba(18, 62, 109, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  width: 100%;
}

.page-hero {
  background:
    linear-gradient(
      135deg,
      rgba(223, 247, 255, 0.96),
      rgba(247, 215, 237, 0.72)
    ),
    linear-gradient(90deg, var(--sky), var(--mint));
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.75rem) clamp(1rem, 4vw, 3rem);
  width: min(980px, 100%);
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin: 1rem 0 0;
  max-width: 760px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.policy-meta span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
  padding: 0.55rem 0.7rem;
}

.policy-tabs {
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 3rem) 0;
  width: min(980px, 100%);
}

.legal-content,
.content-stack {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 3rem)
    clamp(3rem, 7vw, 5rem);
  width: min(980px, 100%);
}

.policy-section {
  display: grid;
  gap: 1rem;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  padding: clamp(1rem, 3vw, 1.4rem);
}

.section-number {
  align-items: center;
  background: rgba(44, 143, 214, 0.1);
  border: 1px solid rgba(44, 143, 214, 0.2);
  border-radius: 8px;
  color: var(--blue);
  display: inline-flex;
  font-weight: 900;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.policy-section h2,
.info-panel h2 {
  color: var(--ink-strong);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.18;
  margin: 0;
}

.policy-section p,
.info-panel p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0.75rem 0 0;
}

.info-panel {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.info-panel .button {
  margin-top: 1rem;
}

.inline-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.inline-link-list a {
  background: rgba(44, 143, 214, 0.1);
  border: 1px solid rgba(44, 143, 214, 0.2);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: grid;
  gap: 1.25rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
}

.site-footer > div,
.footer-links,
.copyright {
  margin: 0 auto;
  width: min(1180px, 100%);
}

.site-footer > div {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.site-footer p {
  line-height: 1.6;
  margin: 0;
  max-width: 720px;
}

.footer-logo {
  height: auto;
  width: 120px;
}

.copyright {
  font-size: 0.9rem;
}

.redirect-page {
  padding: 2rem;
}

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

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-media {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    opacity: 0.34;
  }

  .hero-preview-4,
  .hero-preview-5 {
    display: none;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(9, 40, 70, 0.94), rgba(9, 40, 70, 0.64)),
      linear-gradient(90deg, rgba(9, 40, 70, 0.86), rgba(9, 40, 70, 0.2));
  }

  .hero-content {
    padding-bottom: 3.5rem;
    padding-top: 3.5rem;
  }

  .hero-facts,
  .link-grid,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .template-strip {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    min-height: 320px;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .template-strip img {
    min-width: 140px;
  }

  .site-footer > div {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .brand-logo {
    width: 118px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 42px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    gap: 1rem;
  }

  .policy-section {
    grid-template-columns: 1fr;
  }

  .policy-tabs a {
    flex: 1 1 100%;
    text-align: center;
  }
}
