:root {
  --ink: #102638;
  --muted: #5b7181;
  --azure: #087bbf;
  --azure-deep: #045c91;
  --sun: #f6c84c;
  --foam: #f7fcff;
  --paper: #ffffff;
  --sand: #fff4d8;
  --line: rgba(8, 123, 191, 0.16);
  --shadow: 0 20px 60px rgba(4, 92, 145, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f0faff 34%, #fff8e5 100%);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
}

a {
  color: var(--azure-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(8, 123, 191, 0.18);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--azure-deep);
  background: rgba(8, 123, 191, 0.09);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 74px);
  padding: 58px 0 42px;
}

.hero::after {
  content: "";
  display: block;
  clear: both;
}

.hero-figure {
  float: right;
  width: min(46%, 540px);
  margin: 0 0 24px 44px;
}

.hero-figure img {
  width: 100%;
  height: clamp(600px, 72vh, 700px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--azure-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 830px;
  font-size: clamp(2.5rem, 6vw, 5.45rem);
}

h2 {
  padding-top: 8px;
  font-size: clamp(1.75rem, 3.3vw, 3rem);
}

h3 {
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
}

p {
  margin: 0 0 18px;
  overflow-wrap: break-word;
}

.lead {
  max-width: 760px;
  color: #27475a;
  font-size: clamp(1.12rem, 2.2vw, 1.42rem);
  line-height: 1.62;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #385b70;
  font-size: 0.9rem;
  font-weight: 750;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 17px;
  border: 1px solid var(--azure);
  border-radius: 999px;
  background: var(--azure);
  color: white;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(8, 123, 191, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--azure-deep);
  box-shadow: none;
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section.narrow {
  max-width: 850px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 34px;
  align-items: start;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 4px;
}

figure {
  margin: 0;
}

figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 100%;
  overflow-wrap: break-word;
}

.callout,
.premium-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  padding: 24px;
}

.premium-box {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 250, 255, 0.92)),
    linear-gradient(90deg, rgba(246, 200, 76, 0.16), rgba(8, 123, 191, 0.08));
}

.check-list,
.plain-list {
  margin: 0 0 22px;
  padding-left: 1.15rem;
}

.check-list li,
.plain-list li {
  margin: 0 0 9px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #e9f7ff;
  color: var(--azure-deep);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tr:last-child td {
  border-bottom: 0;
}

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

.faq,
.review {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 20px;
}

.review strong {
  display: block;
  margin-top: 10px;
  color: var(--azure-deep);
}

.source-list {
  display: grid;
  gap: 8px;
  padding-left: 1.2rem;
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  background: #062f4a;
  color: #e8f7ff;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
}

.site-footer a {
  color: #ffffff;
}

.footer-title {
  margin: 0 0 10px;
  color: #ffffff;
  font-weight: 900;
}

.footer-desc {
  color: #ccecff;
  font-size: 0.94rem;
}

.small {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
    width: 100%;
  }

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

  .hero-figure {
    float: none;
    width: 100%;
    margin: 0 0 26px;
  }

  .hero-figure img {
    height: min(680px, 76vh);
  }

  .two-col,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  main,
  .nav,
  .footer-inner {
    width: calc(100% - 22px);
  }

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

  .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px 12px;
  }

  .nav-links a {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .nav-links a:nth-child(even) {
    text-align: left;
  }

  .media-grid,
  .faq-grid,
  .reviews {
    grid-template-columns: 1fr;
  }

  .hero-figure img {
    height: 560px;
    width: 100%;
  }

  h1 {
    font-size: 1.85rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 1.65rem;
  }

  .lead {
    font-size: 1.06rem;
  }

  figure,
  .hero-figure,
  .hero-figure img,
  figcaption {
    max-width: calc(100vw - 22px);
  }

  .hero-figure {
    width: calc(100vw - 22px);
  }

  .hero-figure img {
    width: calc(100vw - 22px);
  }

  figcaption {
    display: block;
    width: calc(100vw - 32px);
    font-size: 0.86rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .callout,
  .premium-box,
  .faq,
  .review {
    padding: 18px;
  }
}
