:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --ink: #101820;
  --muted: #53616d;
  --quiet: #71808c;
  --paper: #ffffff;
  --paper-tint: #f0f5f3;
  --line: rgba(16, 24, 32, 0.12);
  --line-strong: rgba(16, 24, 32, 0.22);
  --teal: #0a6b66;
  --teal-dark: #054944;
  --blue: #285ca8;
  --amber: #b77817;
  --rose: #a53d57;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
  --soft-shadow: 0 14px 38px rgba(16, 24, 32, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 420px),
    var(--bg);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

code {
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(10, 107, 102, 0.08);
  color: var(--teal-dark);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.section,
.footer-inner,
.page {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  background: rgba(245, 247, 248, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(10, 107, 102, 0.24);
}

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

.nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.nav a:hover {
  background: #fff;
  color: var(--ink);
}

.home-hero {
  position: relative;
  min-height: min(780px, calc(100vh - 66px));
  display: grid;
  align-items: end;
  margin-top: -66px;
  padding: 138px max(24px, calc((100vw - 1180px) / 2)) 46px;
  overflow: hidden;
  isolation: isolate;
  background: #111b22;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 16, 21, 0.88) 0%, rgba(10, 16, 21, 0.62) 38%, rgba(10, 16, 21, 0.16) 100%),
    linear-gradient(180deg, rgba(10, 16, 21, 0.1) 0%, rgba(10, 16, 21, 0.74) 100%),
    url("./store/marquee-promo-tile-1400x560.jpg") center / cover no-repeat;
}

.home-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 170px;
  content: "";
  background: linear-gradient(180deg, rgba(245, 247, 248, 0), var(--bg));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 30px;
  align-items: end;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero .eyebrow {
  color: #72d6c9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10.5em;
  margin-bottom: 20px;
  font-size: clamp(46px, 7.2vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.32;
  letter-spacing: 0;
}

p,
li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.home-hero h1,
.home-hero p {
  color: #fff;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: #8ce5d9;
  background: #8ce5d9;
  color: #062825;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.button:focus-visible {
  outline: 3px solid rgba(140, 229, 217, 0.34);
  outline-offset: 3px;
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
}

.availability {
  margin: -4px 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 750;
}

.signal-panel {
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 18, 24, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.signal-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.signal-row:last-child {
  border-bottom: 0;
}

.signal-row strong {
  color: #fff;
  font-size: 13px;
}

.signal-row span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

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

.section.compact {
  padding-top: 48px;
}

.section.narrow,
.page {
  width: min(100% - 48px, 900px);
}

.section-head {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-head.center {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head.wide-title {
  max-width: 1040px;
}

.section-head.large-document-head {
  max-width: 1180px;
}

.nowrap-title {
  white-space: nowrap;
  font-size: clamp(20px, 4.6vw, 42px);
}

.lead {
  color: #3d4a54;
  font-size: 17px;
}

.large-document-copy {
  max-width: 1120px;
}

.product-shot {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.shot-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  max-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 107, 102, 0.12), rgba(40, 92, 168, 0.1)),
    #fff;
  box-shadow: var(--shadow);
}

.shot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shot-caption {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.grid {
  display: grid;
  gap: 14px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-diagram {
  padding: 8px 0 4px;
}

.workflow-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.workflow-node {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.workflow-node-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 14px;
}

.workflow-node-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(10, 107, 102, 0.28);
  border-radius: 50%;
  background: #fff;
  color: var(--teal-dark);
  box-shadow: 0 10px 24px rgba(10, 107, 102, 0.12);
}

.workflow-node-body {
  width: 100%;
  padding: 0 6px;
}

.workflow-node-body h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.workflow-node-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.workflow-connector {
  flex: 1 1 28px;
  min-width: 20px;
  max-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 4px;
}

.workflow-connector::before {
  content: "";
  flex: 1;
  height: 2px;
  background: rgba(10, 107, 102, 0.32);
}

.workflow-connector::after {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(10, 107, 102, 0.55);
  border-bottom: 2px solid rgba(10, 107, 102, 0.55);
  transform: rotate(-45deg) translateX(-2px);
}

.shot-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.card,
.page-card,
.note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.card,
.note {
  padding: 18px;
}

.card.accent-teal {
  border-top: 3px solid var(--teal);
}

.card.accent-blue {
  border-top: 3px solid var(--blue);
}

.card.accent-amber {
  border-top: 3px solid var(--amber);
}

.card.accent-rose {
  border-top: 3px solid var(--rose);
}

.card p,
.note p,
.page li {
  margin-bottom: 0;
}

.shot-card {
  margin: 0;
}

.shot-card .shot-frame {
  max-height: 430px;
  box-shadow: var(--soft-shadow);
}

.shot-zoom {
  width: 100%;
  padding: 0;
  border: 1px solid var(--line-strong);
  cursor: zoom-in;
}

.shot-zoom:hover,
.shot-zoom:focus-visible {
  border-color: rgba(10, 107, 102, 0.46);
  box-shadow: 0 18px 46px rgba(16, 24, 32, 0.14);
}

.shot-zoom:focus-visible {
  outline: 3px solid rgba(10, 107, 102, 0.24);
  outline-offset: 3px;
}

.shot-card figcaption {
  margin-top: 10px;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.55;
}

.shot-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.shot-dialog[open] {
  display: grid;
  place-items: center;
}

.shot-dialog::backdrop {
  background: rgba(5, 11, 16, 0.72);
  backdrop-filter: blur(8px);
}

.shot-dialog-shell {
  position: relative;
  display: grid;
  width: fit-content;
  max-width: calc(100vw - 32px);
  padding: 46px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: #101820;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.shot-dialog figure {
  margin: 0;
  width: min(1280px, calc(100vw - 60px), calc((100vh - 138px) * 1.6));
}

.shot-dialog img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 138px);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.shot-dialog figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.shot-dialog-close {
  position: absolute;
  z-index: 1;
  top: 9px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(16, 24, 32, 0.64);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.shot-dialog-close:hover,
.shot-dialog-close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.large-document-panel {
  margin-top: 18px;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metric {
  min-height: 112px;
  padding: 18px;
  background: var(--paper);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.callout {
  border: 1px solid rgba(10, 107, 102, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(10, 107, 102, 0.1), rgba(183, 120, 23, 0.09)),
    var(--paper);
  padding: 22px;
}

.callout strong {
  color: var(--ink);
}

.policy-date {
  margin-bottom: 14px;
  color: var(--quiet);
  font-size: 13px;
}

.policy-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.help-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.help-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.help-list ul {
  margin: 0;
  padding-left: 20px;
}

.help-list p,
.help-list li {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.62;
}

.policy-list article {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.help-list h2,
.help-list h3,
.policy-list h2,
.policy-list h3 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.3;
}

.policy-list p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.62;
}

.support-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.support-list li {
  padding-left: 4px;
}

.page {
  padding: 42px 0 76px;
}

.page h1 {
  max-width: 12em;
  margin-bottom: 18px;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 0.98;
}

.page h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
}

.page ul,
.page ol {
  padding-left: 22px;
}

.page-card {
  margin-top: 24px;
  padding: 24px;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0;
}

.footer-inner-center {
  justify-content: center;
  text-align: center;
}

.footer-inner p {
  margin-bottom: 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a,
.footer-links span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal-dark);
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .signal-panel {
    max-width: 520px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-track {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .workflow-node {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }

  .workflow-node-head {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    margin-bottom: 0;
  }

  .workflow-node-head::after {
    content: "";
    position: absolute;
    top: 56px;
    left: 27px;
    width: 2px;
    height: calc(100% + 18px);
    background: linear-gradient(180deg, rgba(10, 107, 102, 0.45) 0, var(--line) 100%);
  }

  .workflow-node:last-child .workflow-node-head::after {
    display: none;
  }

  .workflow-node-body {
    flex: 1;
    padding: 6px 0 22px;
  }

  .workflow-connector {
    display: none;
  }

  .metric-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header,
  .section,
  .footer-inner,
  .page,
  .section.narrow {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 14px;
  }

  .nav {
    justify-content: flex-start;
  }

  .home-hero {
    min-height: auto;
    margin-top: 0;
    padding: 54px 14px 36px;
  }

  .home-hero::before {
    background:
      linear-gradient(180deg, rgba(10, 16, 21, 0.9), rgba(10, 16, 21, 0.72)),
      url("./store/small-promo-tile-440x280.jpg") center / cover no-repeat;
  }

  h1 {
    font-size: 48px;
  }

  .hero-text,
  .lead {
    font-size: 16px;
  }

  .nowrap-title {
    font-size: clamp(14px, 4.1vw, 18px);
  }

  .feature-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .shot-frame,
  .shot-card .shot-frame {
    max-height: 320px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
