:root {
  --ink: #101c32;
  --muted: #556175;
  --blue: #244bd8;
  --pale: #edf2fc;
  --line: #dbe1eb;
  --white: #fff;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fafbfd;
  color: var(--ink);
  font: 17px/1.65 Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

a,
button,
summary {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #f69f55;
  outline-offset: 5px;
}

.wrap {
  max-width: var(--max);
  margin: auto;
  width: calc(100% - 96px);
}

.header {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 32px;
  letter-spacing: -1.5px;
  text-decoration: none;
  font-weight: 600;
}

.brand-mark {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin: 7px;
  border: 0;
  border-radius: 50%;
  transform: none;
  background: radial-gradient(
    circle,
    #fffbd1 0%,
    #ffe44d 45%,
    #ffb800 100%
  );
  box-shadow:
    0 0 12px #ffd500,
    0 0 26px rgba(255, 190, 0, 0.65);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    #ffc400 0deg 8deg,
    transparent 8deg 30deg
  );
  mask: radial-gradient(
    circle,
    transparent 55%,
    #000 58%
  );
  -webkit-mask: radial-gradient(
    circle,
    transparent 55%,
    #000 58%
  );
}

.header nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
}

.header nav a {
  text-decoration: none;
}

.header nav a[aria-current=page]:not(.nav-contact) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 8px;
}

.header nav a:hover,
.footer a:hover {
  color: #6688ef;
}

.nav-contact {
  padding: 11px 23px;
  border: 1px solid var(--ink);
  border-radius: 50px;
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  min-height: 630px;
  align-items: center;
  gap: 36px;
  padding-top: 20px;
  padding-bottom: 62px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  margin: 0 0 25px;
}

.hero h1 {
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: 1.05;
  letter-spacing: -3.5px;
  margin: 0 0 30px;
  font-weight: 500;
}

.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--blue);
}

.lede {
  font-size: 20px;
  line-height: 1.6;
  max-width: 560px;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 25px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .15s;
}

.button:hover {
  background: #1637a8;
  transform: translateY(-2px);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #bbc5d8;
}

.button.secondary:hover {
  background: var(--pale);
}

[hidden] {
  display: none !important;
}

.caption,
figcaption {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

figure {
  margin: 0;
}

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

.hero-art {
  background: var(--ink);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.hero-art figcaption {
  position: static;
  padding: 14px 18px;
  color: #fff;
  background: var(--ink);
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 1px;
}

.image2 {
  width: calc(100% - 32px);
  max-width: 600px;
  margin: 24px auto;
  background: transparent;
  min-width: 0;
}

.image2 img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.image2 figcaption {
  margin-top: 10px;
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.strip {
  background: var(--ink);
  color: #dce7ff;
  padding: 26px 0;
}

.strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}

.strip span:first-child,
.strip span:last-child {
  font-size: 11px;
  letter-spacing: 1.7px;
}

.strip span:nth-child(2) {
  font-family: Georgia, serif;
  font-size: 23px;
}

.section {
  padding-top: 85px;
  padding-bottom: 35px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
}

h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -1.7px;
  font-weight: 500;
  margin: 0 0 25px;
}

h3 {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 500;
  margin: 0 0 15px;
  letter-spacing: -.5px;
}

p {
  margin: 0 0 20px;
}

p:not(.eyebrow):not(.quote) {
  text-wrap: pretty;
}

.large {
  font-size: 25px;
  line-height: 1.4;
}

.text-link {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 6px;
  font-size: 15px;
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  display: block;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  background: #fff;
}

.card p {
  font-size: 16px;
  color: var(--muted);
}

a.card:hover {
  border-color: #8ba5ed;
  background: #f3f6ff;
}

.number {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--blue);
  display: block;
  margin-bottom: 38px;
}

.cta {
  margin-top: 90px;
  margin-bottom: 85px;
  background: var(--pale);
  border-radius: 10px;
  padding: 48px;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

.cta p:last-child {
  margin: 0;
  color: var(--muted);
}

.cta .button {
  flex-shrink: 0;
}

.cta h2 {
  font-size: 36px;
}

.footer {
  background: var(--ink);
  color: #dce7ff;
  padding: 55px 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer .brand {
  color: white;
}

.footer p {
  margin-top: 15px;
  font-size: 15px;
  color: #b5c1d7;
}

.footer nav {
  display: flex;
  gap: 27px;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-top: 14px;
  font-size: 14px;
}

.footer nav a {
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #384357;
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 12px;
  color: #b5c1d7;
}

.page-intro {
  padding-top: 65px;
  padding-bottom: 50px;
}

.page-intro h1 {
  font-size: clamp(44px, 5.3vw, 72px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -3px;
  margin: 0 0 25px;
}

.product-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--pale);
  border-radius: 10px;
  overflow: hidden;
}

.product-feature figure {
  background: var(--ink);
}

.product-feature img {
  width: 100%;
  height: 500px;
}

.product-feature figcaption {
  padding: 18px 25px;
  color: #cbd9f0;
}

.product-panel {
  padding: 45px;
}

.product-panel p {
  color: var(--muted);
}

dl {
  margin: 30px 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #ccd6e9;
  font-size: 14px;
}

dd {
  margin: 0;
  text-align: right;
}

.section>.cards {
  margin-top: 40px;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
}

.statement {
  padding: 35px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.statement p:last-child {
  color: #cbd9f0;
}

.principles article {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
}

.principles article:first-child {
  padding-top: 0;
}

.principles article>span {
  color: var(--blue);
  font-size: 13px;
}

.principles p {
  color: var(--muted);
  margin: 0;
}

.quote-panel {
  padding: 65px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 70px;
}

.quote {
  font: italic 46px/1.25 Georgia, serif;
  letter-spacing: -1px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 90px;
  padding-top: 30px;
}

.faq-layout aside p {
  color: var(--muted);
}

details {
  border-bottom: 1px solid var(--line);
}

details:first-child {
  border-top: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.4;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  font-size: 25px;
  font-weight: 300;
  color: var(--blue);
}

details[open] summary span {
  transform: rotate(45deg);
}

details p {
  color: var(--muted);
  font-size: 16px;
  padding-right: 30px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  padding-top: 20px;
  padding-bottom: 90px;
}

.contact-note {
  padding: 25px;
  background: var(--pale);
  margin: 30px 0;
}

.contact-note p {
  font-size: 15px;
  margin-bottom: 0;
}

.contact-note .eyebrow {
  font-size: 11px;
  margin-bottom: 10px;
}

form {
  padding: 35px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid #aebad0;
  border-radius: 5px;
  padding: 12px;
  color: var(--ink);
  background: #fafbfd;
  font-size: 16px;
}

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

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

#form-status {
  font-size: 14px;
  margin: 16px 0 0;
  color: #26467e;
}

.prose {
  max-width: 780px;
  padding-top: 20px;
  padding-bottom: 70px;
}

.prose h2 {
  font-size: 28px;
  margin-top: 35px;
}

.prose p {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10;
  background: white;
  padding: 10px 20px;
}

.skip-link:focus {
  top: 10px;
}

@media (min-width: 1500px) {
  .hero {
    min-height: 720px;
  }

}

@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }

  .hero {
    gap: 24px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .split,
  .approach-grid,
  .faq-layout,
  .contact-layout {
    gap: 40px;
  }

  .cards {
    gap: 14px;
  }

  .card {
    padding: 24px;
  }

  .product-panel {
    padding: 30px;
  }

  .header nav {
    gap: 20px;
  }

  .cta {
    padding: 32px;
  }

  .footer-top {
    flex-direction: column;
  }

}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .header {
    height: 88px;
    position: relative;
  }

  .brand {
    font-size: 28px;
  }

  .menu-toggle {
    display: block;
    background: transparent;
    border: 1px solid #aebad0;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 14px;
  }

  .header nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--line);
    padding: 24px;
    z-index: 5;
    box-shadow: 0 15px 25px #101c3210;
    border-radius: 8px;
  }

  .header nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .header nav a {
    padding: 8px;
  }

  .header nav .nav-contact {
    text-align: center;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 30px;
    padding-bottom: 40px;
    gap: 30px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .lede {
    font-size: 18px;
  }

  .strip .wrap {
    flex-direction: column;
    gap: 8px;
  }

  .strip span:last-child {
    display: none;
  }

  .section {
    padding-top: 55px;
    padding-bottom: 15px;
  }

  .split,
  .cards,
  .approach-grid,
  .faq-layout,
  .contact-layout,
  .product-feature {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card {
    padding: 28px;
  }

  .number {
    margin-bottom: 25px;
  }

  .cta {
    margin-top: 55px;
    margin-bottom: 55px;
    padding: 30px;
    align-items: flex-start;
    flex-direction: column;
  }

  .cta h2 {
    font-size: 30px;
  }

  .footer nav {
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .page-intro {
    padding-top: 40px;
    padding-bottom: 30px;
  }

  .page-intro h1 {
    font-size: 47px;
    letter-spacing: -2px;
  }

  .product-feature img {
    height: 330px;
  }

  .product-panel {
    padding: 28px;
  }

  .quote {
    font-size: 35px;
  }

  .faq-layout aside {
    order: 2;
  }

  .contact-layout {
    padding-bottom: 55px;
  }

  form {
    padding: 23px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quote-panel {
    padding: 45px 0;
  }

  .prose h2 {
    font-size: 27px;
  }

}

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

  * {
    transition: none !important;
  }

}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 45px;
  }

  .page-intro h1 {
    font-size: 40px;
  }

  .button {
    padding: 12px 19px;
  }

}

/* Full-width product hero */
.hero.wrap {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 85vh;
  min-height: 85svh;
  margin: 0;
  padding: 80px max(24px, calc((100vw - 1240px) / 2));
  overflow: hidden;
  background: var(--ink);
}

/* Use the existing hero image as the background */
.hero .hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 0;
}

.hero .hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

/* Darken the text area while keeping the image visible */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(8, 17, 32, 0.88) 0%,
    rgba(8, 17, 32, 0.55) 40%,
    rgba(8, 17, 32, 0.08) 75%
  );
}

.hero-copy {
  width: 100%;
  max-width: 560px;
  color: #fff;
}

.hero .lede,
.hero .caption {
  color: #e1e8f5;
}

.hero h1 em {
  color: #b9d5ff;
}

.hero .button.secondary {
  color: #fff;
  border-color: #c5d2e5;
  background: rgba(16, 28, 50, 0.45);
}

.hero .button.secondary:hover {
  background: rgba(16, 28, 50, 0.8);
}

/* Preserve any image caption */
.hero .hero-art figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  max-width: 100%;
  padding: 10px 18px;
  color: #fff;
  background: rgba(16, 28, 50, 0.75);
}

/* Mobile: show the whole image above the text */
@media (max-width: 720px) {
  .hero.wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 0;
  }

  .hero::before {
    display: none;
  }

  .hero .hero-art {
    position: relative;
    inset: auto;
    order: -1;
    z-index: auto;
    height: auto;
  }

  .hero .hero-art img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
  }

  .hero .hero-art figcaption {
    position: static;
    width: 100%;
  }

  .hero-copy {
    max-width: none;
    padding: 32px 24px 40px;
  }
}

@media (max-width: 720px) {
  .header {
    gap: 12px;
  }

  .header .brand {
    font-size: clamp(18px, 5vw, 24px);
    letter-spacing: -0.5px;
    gap: 8px;
    white-space: nowrap;
  }

  .header .brand-mark {
    width: 22px;
    height: 22px;
    margin: 5px;
  }

  .header .menu-toggle {
    flex-shrink: 0;
    padding: 7px 10px;
  }
}