:root {
  color-scheme: light;
  --ink: #172b39;
  --muted: #536774;
  --blue: #145bd7;
  --blue-hover: #104bb5;
  --teal: #087f7d;
  --line: #dce6e9;
  --soft: #f4f8f9;
  --mint: #eaf6f1;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; line-height: 1.6; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; height: auto; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.16; font-weight: 700; text-wrap: balance; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.4rem; }
p { overflow-wrap: break-word; }
.container { width: min(100% - 36px, 1120px); margin-inline: auto; }
.section { padding-block: 42px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; gap: 8px; min-height: 68px; }
.brand { display: inline-flex; width: 112px; flex: 0 0 auto; align-items: center; min-height: 44px; }
.header-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 6px; margin-left: auto; }
.header-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: var(--radius); font-size: .75rem; font-weight: 700; white-space: nowrap; transition: background .16s; }
.login-link { color: #fff; background: var(--teal); }
.login-link:hover { background: #066966; border-color: #066966; }
.navigation a:hover { color: var(--blue); }
.navigation { display: none; }
.navigation a { display: flex; min-height: 44px; align-items: center; gap: 8px; padding-inline: 12px; font-size: .9rem; font-weight: 600; }
.header-actions .nav-signup { color: #fff; background: var(--blue); border-color: var(--blue-hover); }
.header-actions .nav-signup:hover { background: var(--blue-hover); }
.hero { padding-block: 42px 30px; }
.hero-inner { text-align: center; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--teal); font-size: .75rem; font-weight: 700; }
.hero .eyebrow, .signup .eyebrow { justify-content: center; }
.status-dot { display: inline-block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #249265; }
.hero h1 { max-width: 830px; margin: 16px auto; }
.hero h1 span { color: var(--teal); }
.hero-description { max-width: 590px; margin: 0 auto 24px; color: var(--muted); font-size: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: var(--radius); font-size: .95rem; font-weight: 700; line-height: 1.4; text-align: center; }
.button-primary { background: var(--blue); color: #fff; border-color: var(--blue-hover); box-shadow: 0 6px 16px #145bd733; transition: background .16s, box-shadow .16s; }
.button-primary:hover { background: var(--blue-hover); box-shadow: 0 8px 20px #145bd745; }
.button span { flex: 0 0 auto; font-size: 1.2rem; }
.hero-note { margin-top: 10px; color: var(--muted); font-size: .75rem; }
.explore-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 10px; margin-top: 16px; padding: 10px 18px; color: var(--ink); background: #fff; border: 1px solid #9fb5c1; border-radius: var(--radius); font-size: .875rem; font-weight: 700; }
.explore-link:hover { color: var(--blue); border-color: var(--blue); background: #f0f5ff; }
.hero-footer { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 380px; margin: 10px auto -30px; }
.hero-footer .explore-link { flex: 1; margin-top: 0; padding-inline: 12px; }
.hero-persona { flex: 0 0 auto; width: 110px; height: auto; align-self: flex-end; }
.tools { background: var(--soft); border-block: 1px solid var(--line); }
.section-heading { margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.tool-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 22px; }
.tool-tabs button { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 8px; color: var(--ink); background: #fff; border: 1px solid #9fb5c1; border-radius: var(--radius); font-size: .8125rem; font-weight: 700; line-height: 1.35; }
.tool-tabs button:last-child { grid-column: 1 / -1; }
.tool-tabs button:hover { border-color: var(--teal); color: var(--teal); }
.tool-tabs button[aria-selected="true"] { color: #fff; background: var(--teal); border-color: var(--teal); box-shadow: 0 3px 8px #087f7d26; }
.tool-panel { display: grid; gap: 20px; min-width: 0; }
.tool-panel + .tool-panel { margin-top: 24px; }
.tool-tabs:not([hidden]) ~ .tool-panel { margin-top: 0; }
.tool-category { display: block; margin-bottom: 8px; color: var(--teal); font-size: .75rem; font-weight: 600; }
.tool-copy h3 { margin-bottom: 10px; }
.tool-copy p { max-width: 480px; color: var(--muted); font-size: .9rem; }
.tool-topics { display: flex; flex-wrap: wrap; gap: 5px 16px; list-style: none; margin: 14px 0 0; padding: 0; font-size: .75rem; font-weight: 600; }
.tool-topics li { position: relative; padding-left: 10px; }
.tool-topics li::before { content: ""; position: absolute; left: 0; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }
.tool-image { display: flex; align-items: center; justify-content: center; min-width: 0; height: 232px; background: #edf2f7; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tool-image img { width: 100%; height: 100%; object-fit: contain; }
.shortcuts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.shortcuts strong, .shortcuts p span { display: block; }
.shortcuts strong { font-size: .875rem; }
.shortcuts p span { color: var(--muted); font-size: .8rem; }
.shortcuts > a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; gap: 10px; color: var(--teal); background: #fff; border: 1px solid var(--teal); border-radius: var(--radius); font-size: .875rem; font-weight: 700; }
.shortcuts > a:hover { background: #e0f1ee; }
.updates-inner { display: grid; gap: 26px; }
.updates h2 { margin-block: 12px; }
.updates p:not(.eyebrow) { max-width: 480px; color: var(--muted); font-size: .9rem; }
.quick-answers { align-self: center; border-top: 1px solid var(--line); }
.quick-answers details { border-bottom: 1px solid var(--line); }
.quick-answers summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding-block: 14px; list-style: none; font-size: .875rem; font-weight: 600; }
.quick-answers summary::-webkit-details-marker { display: none; }
.quick-answers summary::after { content: "+"; flex: 0 0 16px; color: var(--teal); font-size: 1.25rem; text-align: center; }
.quick-answers details[open] summary::after { content: "−"; }
.quick-answers details p { padding-bottom: 18px; }
.signup { background: var(--mint); text-align: center; }
.signup h2 { margin: 12px 0 22px; }
.signup-inner > p:last-child { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: .875rem; }
.signup-inner > p:last-child a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; color: var(--teal); background: #fff; border: 1px solid var(--teal); border-radius: var(--radius); font-weight: 700; }
.signup-inner > p:last-child a:hover { background: #e0f1ee; }
.site-footer { padding-block: 22px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.site-footer .brand { width: 130px; }
.site-footer p { color: var(--muted); font-size: .7rem; }

@media (min-width: 360px) {
  .brand { width: 132px; }
}

@media (min-width: 480px) {
  .brand { width: 153px; }
  .button { width: auto; padding-inline: 24px; font-size: .95rem; }
  h1 { font-size: 2.75rem; }
  .tool-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool-tabs button:last-child { grid-column: auto; }
  .tool-image { height: 300px; }
}

@media (min-width: 768px) {
  .container { width: min(100% - 64px, 1120px); }
  .section { padding-block: 52px; }
  .header-inner { min-height: 76px; gap: 12px; }
  .brand { width: 182px; }
  .navigation { display: flex; align-items: center; margin-left: auto; gap: 8px; }
  .header-actions { margin-left: 0; gap: 8px; }
  .header-actions a { padding-inline: 16px; font-size: .875rem; }
  .hero { padding-block: 58px 32px; }
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2rem; }
  .hero-description { font-size: 1.1rem; }
  .hero-note { font-size: .8rem; }
  .section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
  .section-heading .eyebrow { order: 1; margin: 0; }
  .tool-tabs { display: flex; gap: 8px; }
  .tool-tabs button { flex: 1; padding-inline: 12px; font-size: .8rem; }
  .tool-panel { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); align-items: center; gap: 36px; min-height: 326px; }
  .tool-image { height: 326px; }
  .tool-copy h3 { font-size: 1.8rem; }
  .tool-copy p { font-size: .95rem; }
  .updates-inner { grid-template-columns: 1fr 1fr; gap: 60px; }
  .signup h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .hero-inner { position: relative; padding-right: 280px; }
  .hero-footer { display: block; max-width: none; margin: 0; }
  .hero-footer .explore-link { margin-top: 16px; padding-inline: 18px; }
  .hero-persona { position: absolute; right: 0; bottom: -32px; width: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
