@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/playfair-display.woff2") format("woff2");
  font-display: swap;
}

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

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

html {
  color: #0B2545;
  background: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  scroll-behavior: smooth;
}

body {
  font-weight: 300;
  min-width: 320px;
  overflow-x: hidden;
}

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

a {
  color: #1D70B8;
  font-weight: 300;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: #0B2545; }

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid #1D70B8;
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

b, strong, em, th {
  font-weight: 300;
  font-style: normal;
}

.n { color: #0B2545; }
.g { color: #5F6B73; }
.keep { white-space: nowrap; }

.wrap {
  width: min(720px, calc(100% - 48px));
  margin-inline: auto;
}

/* ----- Photo hero ----- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background: #0B2545;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-photo picture,
.hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-photo img {
  object-fit: cover;
  /* Ridge on the right, sky/clouds for the type */
  object-position: 58% 28%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Seamless full-bleed wash: ~50% at left (behind the type), ~18% over the ridge. */
  background: linear-gradient(90deg,
    rgba(11, 37, 69, 0.50) 0%,
    rgba(11, 37, 69, 0.48) 36%,
    rgba(11, 37, 69, 0.28) 64%,
    rgba(11, 37, 69, 0.18) 100%);
}

.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 72px;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.site-header .wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  text-shadow: 0 1px 12px rgba(11, 37, 69, 0.35);
}

.site-header .wordmark:hover { color: #fff; }

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 48px 0 88px;
}

.hero h1 {
  font-size: clamp(2.05rem, 5.2vw, 3.55rem);
  line-height: 1.12;
  margin: 0 0 16px;
  color: #fff;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(11, 37, 69, 0.45), 0 2px 22px rgba(11, 37, 69, 0.55);
}

.hero-lead { color: #fff; }
.hero-rest { color: rgba(255, 255, 255, 0.75); }

.hero .subhead {
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 26px;
  max-width: 32em;
  text-shadow: 0 1px 2px rgba(11, 37, 69, 0.40), 0 2px 18px rgba(11, 37, 69, 0.50);
}

h1 {
  font-size: clamp(1.85rem, 4.6vw, 3.15rem);
  line-height: 1.16;
  margin: 0 0 16px;
}

.subhead {
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.45;
  color: #0B2545;
  margin: 0 0 26px;
  max-width: 32em;
}

/* Frosted price cards in the hero */
.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 28px;
}

.price-card {
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.06);
  padding: 18px 20px 16px;
}

.price-card .amt {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  line-height: 1.1;
  color: #0B2545;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.price-card .unit {
  font-size: 0.92rem;
  line-height: 1.4;
  color: #0B2545;
  font-weight: 300;
  margin: 0;
}

.btn {
  display: inline-block;
  background: #1D70B8;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 13px 26px;
  line-height: 1.2;
  border-radius: 0;
  border: 0;
  width: fit-content;
}

.btn:hover {
  background: #185e9c;
  color: #fff;
}

/* ----- Sections ----- */

main section { padding: 72px 0 0; }
main section:last-of-type { padding-bottom: 72px; }

h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 28px;
}

.statement {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
}

.steps { display: flex; flex-direction: column; }

.step {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid #D5E6F4;
}

.step:last-child { border-bottom: 1px solid #D5E6F4; }

.step .num {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
  color: #1D70B8;
}

.step h3 {
  font-size: 1.2rem;
  color: #0B2545;
  margin: 0 0 4px;
  line-height: 1.25;
}

.step p {
  color: #0B2545;
  font-size: 1rem;
  line-height: 1.5;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 20px;
}

.plan {
  background: rgba(234, 243, 251, 0.85);
  padding: 24px 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.plan .kind {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1D70B8;
  margin: 0 0 8px;
}

.plan .amt {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
  color: #0B2545;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.plan .unit {
  color: #5F6B73;
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.plan p {
  color: #0B2545;
  font-size: 1rem;
  line-height: 1.45;
}

.fine-print {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #0B2545;
  text-wrap: pretty;
}

/* ----- Edge windows on a misty band ----- */

.edges-section {
  position: relative;
  padding: 72px 0 0;
  isolation: isolate;
}

.edges-section .wrap {
  width: min(1040px, calc(100% - 48px));
}

.edges {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding: 32px;
  background:
    radial-gradient(80% 120% at 20% 0%, rgba(169, 199, 214, 0.45), transparent 60%),
    linear-gradient(180deg, #EAF3FB 0%, #D5E6F4 100%);
}

.edge {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.52);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.05);
  padding: 28px 26px 26px;
}

.edge-num {
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #1D70B8;
  opacity: 0.14;
  pointer-events: none;
}

.edge h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: #0B2545;
  margin: 0 0 12px;
  padding-right: 2.2rem;
}

.edge p {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #0B2545;
  margin: 0;
}

.about p {
  margin: 0 0 14px;
  max-width: 36em;
}

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

.contact-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.contact a { font-size: 1.05rem; }

.site-footer {
  position: relative;
  padding: 48px 0 28px;
  color: #5F6B73;
  font-size: 0.85rem;
}

.footer-ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  pointer-events: none;
  overflow: hidden;
}

.footer-ridge svg {
  width: 100%;
  height: 90px;
  display: block;
}

.site-footer .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid #D5E6F4;
  padding-top: 20px;
}

/* ----- Mobile ----- */

@media (max-width: 640px) {
  html { font-size: 17px; }

  .wrap,
  .site-header {
    width: min(720px, calc(100% - 40px));
  }

  .site-header { padding-top: 16px; }

  .site-header img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .hero-photo img {
    object-position: 86% 16%;
  }

  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(11, 37, 69, 0.50) 0%,
      rgba(11, 37, 69, 0.42) 40%,
      rgba(11, 37, 69, 0.18) 100%);
  }

  .hero-inner {
    padding: 20px 0 64px;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 1.9rem;
    margin-bottom: 10px;
  }

  h1 {
    font-size: 1.75rem;
    margin-bottom: 10px;
  }

  .hero .subhead,
  .subhead {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .prices {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .price-card { padding: 12px 12px 11px; }

  .price-card .amt { font-size: 1.45rem; margin-bottom: 4px; }

  .price-card .unit { font-size: 0.78rem; line-height: 1.35; }

  .btn { padding: 12px 20px; font-size: 1rem; }

  main section { padding-top: 56px; }
  main section:last-of-type { padding-bottom: 56px; }

  .statement {
    font-size: 1.7rem;
    margin-bottom: 22px;
  }

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

  .edges-section .wrap {
    width: min(1040px, calc(100% - 40px));
  }

  .edges {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .edge { padding: 24px 22px 22px; }

  .edge h3 { font-size: 1.5rem; }

  .edge-num { font-size: 3rem; }
}

@media (max-width: 400px) {
  .hero h1, h1 { font-size: 1.65rem; }

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

@media (max-height: 720px) and (max-width: 640px) {
  .hero { min-height: auto; }
  .hero-inner { padding: 12px 0 52px; }
  .hero h1, h1 { font-size: 1.6rem; margin-bottom: 8px; }
  .subhead { margin-bottom: 12px; }
  .prices { margin-bottom: 14px; }
  .site-header { padding-top: 12px; }
}
