@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
}

:root {
  --navy: #1b2a6b;
  --navy-deep: #142052;
  --blue: #00aeef;
  --blue-dark: #0090c9;
  --lavender: #edeaf5;
  --border: #d3cfe6;
  --text: #3a3a55;
  --muted: #6d7590;
  --surface: #ffffff;
  --page: #f7f9fc;
  --warning: #f5a524;
  --red: #e31e24;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(20, 32, 82, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Hanken Grotesk", "Inter", sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.06rem;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: var(--navy);
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
}

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

.brand img {
  width: 196px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.header-nav > a:not(.header-site-link) {
  color: var(--text);
}

.header-site-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  white-space: nowrap;
}

.header-site-link:hover {
  background: var(--lavender);
  text-decoration: none;
}

.header-site-link svg {
  width: 15px;
  height: 15px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 174, 239, 0.28), transparent 38%),
    radial-gradient(circle at 85% 5%, rgba(227, 30, 36, 0.18), transparent 32%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0 33%, #fff 33% 66%, var(--red) 66% 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-top: 76px;
  padding-bottom: 84px;
  text-align: center;
}

.alert-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(245, 165, 36, 0.55);
  color: var(--warning);
}

.alert-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.7;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #8ee4ff;
}

.hero h1 {
  color: #fff;
}

.hero-copy {
  max-width: 680px;
  margin: 20px auto 0;
  color: #dbe2f7;
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.hero-footnote {
  margin-top: 20px;
  color: #b9c5e8;
  font-size: 13px;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 174, 239, 0.25);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button-outline {
  border-color: var(--border);
  color: var(--navy);
  background: #fff;
}

.button-outline:hover {
  background: var(--lavender);
}

/* ---------- Sections and cards ---------- */

.section {
  padding: 72px 0;
}

.section-tint {
  background: var(--lavender);
}

.section-head {
  max-width: 660px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head p:last-child {
  margin-top: 12px;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Customer details ---------- */

.details-card {
  padding: 14px 28px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  margin: 0;
}

.detail {
  padding: 20px 16px;
  border-bottom: 1px solid #eceaf4;
}

.detail:last-child {
  border-bottom: 0;
}

.detail dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail dd {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.detail dd.is-empty {
  color: #939bb2;
  font-weight: 500;
}

/* ---------- Renewal steps ---------- */

.steps {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 4px;
}

.steps p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.contact-intro > p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.contact-card {
  padding: 24px;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: var(--navy);
  color: var(--blue);
}

.contact-icon svg {
  width: 19px;
  height: 19px;
}

.contact-card > p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.contact-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.contact-list li + li {
  margin-top: 6px;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: #c7d0eb;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-brand img {
  width: 168px;
  height: auto;
}

.footer-brand p {
  margin-top: 8px;
  font-size: 13px;
}

.footer-meta {
  text-align: right;
  font-size: 13px;
}

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

.footer-meta a {
  color: #8ee4ff;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-intro {
    max-width: 640px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand img {
    width: 172px;
  }

  .header-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
  }

  .header-site-link {
    padding: 7px 12px;
  }

  .hero-inner {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .alert-icon {
    width: 68px;
    height: 68px;
  }

  .alert-icon svg {
    width: 34px;
    height: 34px;
  }

  .section {
    padding: 52px 0;
  }

  .details-card {
    padding: 8px 18px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .steps li {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }

  .header-nav > a:not(.header-site-link) {
    display: none;
  }

  .header-site-link {
    margin-left: auto;
  }

  .hero-actions,
  .contact-buttons {
    flex-direction: column;
  }

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

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

  .detail {
    padding: 16px 8px;
  }

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

  .footer-meta {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
