:root {
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #12383e;
  --muted: #536f74;
  --line: #cfdfdf;
  --surface: #ffffff;
  --surface-soft: #eef6f4;
  --canvas: #faf9f6;
  --teal: #08777d;
  --navy: #143a40;
  --mint: #8ee0d0;
  --content: 1240px;
  --gutter: clamp(18px, 3vw, 36px);
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 96% 9%, #69bdb314, transparent 27rem), var(--canvas);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
a:focus-visible,
summary:focus-visible { outline: 3px solid #08777d55; outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 850;
  box-shadow: 0 8px 24px #173a4026;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--content);
  min-height: 64px;
  margin: 0 auto;
  padding: 8px var(--gutter);
  border-bottom: 1px solid #dddeda;
  background: #faf9f6f2;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.brand { display: inline-grid; align-items: center; width: 160px; text-decoration: none; }
.brand img { display: block; width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 20px; }
.desktop-nav a,
.sign-in {
  color: #46666b;
  font-size: .8125rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.sign-in:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--teal);
  border-radius: 11px;
  color: #fff;
  background: var(--teal);
  font-size: .8125rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 9px 24px #08777d24;
}
.button:hover { background: #066d75; }
.button.secondary { color: var(--ink); background: #fff; box-shadow: none; }
.button.secondary:hover { border-color: #69a9a4; background: #f6fbfa; }

.mobile-nav { display: none; position: relative; justify-self: end; }
.mobile-nav summary {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--teal);
  background: #fff;
  cursor: pointer;
  font-size: .8125rem;
  font-weight: 900;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  display: grid;
  min-width: min(300px, calc(100vw - 32px));
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px #173a4029;
}
.mobile-nav nav a {
  min-height: 44px;
  padding: 11px 10px;
  border-radius: 8px;
  color: #365a60;
  font-size: .875rem;
  font-weight: 800;
  text-decoration: none;
}
.mobile-nav nav a:hover { background: var(--surface-soft); }
.mobile-nav .mobile-sign-in { margin-top: 6px; color: #fff; background: var(--teal); text-align: center; }

main { width: 100%; max-width: 1400px; margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(42px, 6vw, 76px) clamp(24px, 5vw, 80px);
  border-radius: 0 0 30px 30px;
  color: #fff;
  background: radial-gradient(circle at 91% 0%, #68c5b02b, transparent 19rem), linear-gradient(128deg, #123c44, #176168);
  box-shadow: 0 22px 56px #173a401a;
}
.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.45;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--mint); }
.hero h1 {
  max-width: 780px;
  margin: 12px 0 16px;
  font-size: clamp(2.45rem, 5vw, 4.05rem);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: .99;
}
.hero-copy > p:not(.eyebrow) { max-width: 66ch; margin: 0; color: #dce9e9; font-size: clamp(.98rem, 1.25vw, 1.08rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.hero .button.secondary { border-color: #a5cfca; color: #fff; background: transparent; }
.hero .button.secondary:hover { background: #ffffff14; }
.hero-aside {
  padding: 20px;
  border: 1px solid #ffffff36;
  border-radius: 16px;
  background: #ffffff0d;
}
.hero-aside strong { display: block; margin-bottom: 9px; color: var(--mint); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-aside p { margin: 0; color: #d8e7e7; font-size: .875rem; }

.section {
  width: min(var(--content), calc(100% - (2 * var(--gutter))));
  margin: 0 auto;
  padding: clamp(48px, 6vw, 76px) 0;
}
.section-heading { max-width: 790px; }
.section-heading h2,
.panel h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.section-heading > p:last-child { margin: 0; color: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 250px;
  padding: 22px;
  border: 1px solid #d6e3e2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px #173b400b;
}
.card-number { margin: 0 0 22px; color: var(--teal); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.card h2,
.card h3 { margin: 0 0 8px; font-size: 1.35rem; font-weight: 850; letter-spacing: -.035em; line-height: 1.12; }
.card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.card-link { align-self: flex-start; margin-top: auto; padding-top: 20px; color: var(--teal); font-size: .82rem; font-weight: 850; text-underline-offset: 4px; }
.card-link:hover { color: var(--ink); }

.live-solution {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: clamp(28px, 5vw, 62px);
  margin-top: 28px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid #cfe0dd;
  border-top: 4px solid var(--teal);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #eef8f5);
  box-shadow: 0 14px 38px #08777d12;
}
.live-solution h2 { margin: 7px 0 10px; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.045em; line-height: 1.03; }
.live-solution p { margin: 0; color: var(--muted); }
.live-solution aside { padding: 20px; border: 1px solid #d0dfdc; border-radius: 14px; background: #ffffffb8; }
.live-solution aside strong { display: block; margin-bottom: 7px; }
.live-solution aside p { font-size: .84rem; }
.live-solution .button { margin-top: 22px; }

.notice {
  margin-top: 18px;
  padding: 15px 17px;
  border: 1px solid #dfdfd6;
  border-radius: 12px;
  color: #586d70;
  background: #fffdf8;
  font-size: .84rem;
}
.notice strong { color: var(--ink); }

.panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 60px);
  width: min(var(--content), calc(100% - (2 * var(--gutter))));
  margin: clamp(46px, 6vw, 72px) auto;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 22px;
  color: #fff;
  background: radial-gradient(circle at 95% -25%, #68c5b025, transparent 20rem), var(--navy);
  box-shadow: 0 18px 48px #173a4017;
}
.panel .eyebrow { color: var(--mint); }
.panel p { color: #d3e2e2; }
.panel-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.panel-list li { padding: 13px 15px; border: 1px solid #ffffff26; border-radius: 11px; color: #e1eded; background: #ffffff0a; font-size: .875rem; }
.panel .button { justify-self: start; margin-top: 18px; color: #062f3a; border-color: var(--mint); background: var(--mint); }

.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.resource-card { min-height: 210px; }

.faq-shell {
  display: grid;
  grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 4vw, 48px);
}
.faq-index {
  position: sticky;
  top: 86px;
  padding: 20px;
  border: 1px solid #d4e2e0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px #173b400b;
}
.faq-index strong { display: block; margin-bottom: 10px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.faq-index nav { display: grid; gap: 7px; }
.faq-index a { color: var(--teal); font-size: .86rem; font-weight: 800; text-underline-offset: 3px; }
.faq-content { display: grid; gap: 34px; min-width: 0; }
.faq-group { scroll-margin-top: 88px; }
.faq-group > h2 { margin: 0 0 7px; font-size: clamp(1.55rem, 2.6vw, 2.15rem); letter-spacing: -.035em; line-height: 1.12; }
.faq-group > p { margin: 0 0 16px; color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid #d4e2e0; border-radius: 14px; background: #fff; box-shadow: 0 7px 24px #173b4008; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 15px 18px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  line-height: 1.35;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 auto; color: var(--teal); font-size: 1.35rem; font-weight: 500; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 18px 18px; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--teal); font-weight: 750; text-underline-offset: 3px; }
.faq-status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
.faq-status-card { padding: 17px; border: 1px solid #d4e2e0; border-radius: 13px; background: #f3f8f7; }
.faq-status-card h3,
.faq-status-card h4 { margin: 0 0 7px; color: var(--ink); font-size: 1.08rem; line-height: 1.25; }
.faq-status-card strong { color: var(--ink); }
.faq-status-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.faq-status-card .card-number { margin-bottom: 13px; color: var(--teal); }
.faq-status-card .card-link { display: inline-block; margin-top: 16px; padding-top: 0; }
.faq-product-card { min-height: 355px; }
.faq-boundary { margin-top: 13px !important; padding-top: 13px; border-top: 1px solid #e1eae8; font-size: .8rem !important; }
.faq-boundary strong { color: var(--ink); }
.faq-card-actions { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: auto; padding-top: 19px; }
.faq-card-actions .card-link { margin: 0; padding: 0; }
.faq-card-actions .compact-link { color: var(--muted); }
.faq-plan-guides { display: grid; gap: 18px; margin-top: 28px; }
.faq-plan-guide { padding: clamp(20px, 3vw, 30px); border: 1px solid #d4e2e0; border-radius: 18px; background: #fff; box-shadow: 0 9px 30px #173b400b; }
.faq-plan-heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.faq-plan-heading h3 { margin: 0 0 7px; font-size: 1.45rem; letter-spacing: -.025em; }
.faq-plan-heading p { max-width: 76ch; margin: 0; color: var(--muted); }
.faq-plan-heading .button { flex: 0 0 auto; }
.faq-plan-guide .faq-status-card p + p { margin-top: 8px; }
.faq-answer-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px !important; }

.site-footer { margin-top: 18px; color: #dce8e9; background: #102f37; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(4, minmax(120px, .55fr));
  gap: 30px;
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding: 42px var(--gutter) 30px;
}
.footer-brand { padding-right: 12px; }
.footer-brand .brand { width: 150px; padding: 7px 9px; border-radius: 9px; background: #fff; }
.footer-brand p { max-width: 42ch; color: #b9ccce; font-size: .8125rem; }
.site-footer nav { align-content: start; display: grid; gap: 9px; }
.site-footer nav strong { color: #92ddd1; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer nav a { color: #dce8e9; font-size: .8rem; text-decoration: none; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding: 16px var(--gutter) 22px;
  border-top: 1px solid #ffffff1f;
}
.footer-legal p { margin: 0; color: #9fb5b8; font-size: .75rem; }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: auto 1fr auto; padding-inline: 16px; }
  .brand { width: 128px; }
  .header-actions .button { display: none; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 34px 18px 30px; border-radius: 0 0 22px 22px; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.15rem); }
  .hero-aside { max-width: 540px; }
  .card-grid,
  .resource-grid { grid-template-columns: 1fr; }
  .faq-shell { grid-template-columns: 1fr; }
  .faq-index { position: static; }
  .faq-status-grid { grid-template-columns: 1fr; }
  .faq-plan-heading { flex-direction: column; }
  .faq-plan-heading .button { width: 100%; }
  .card { min-height: 0; }
  .live-solution,
  .panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-legal { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .site-header { padding-inline: 12px; }
  .brand { width: 118px; }
  .sign-in { display: none; }
  .mobile-nav nav { right: -8px; }
}

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