:root {
  --bg: #f8f9fb;
  --surface: #fff;
  --ink: #18232e;
  --muted: #667382;
  --line: #e1e6eb;
  --panel: #eef2f6;
  --accent: #236c57;
  --accent-soft: #e8f2ed;
  --white: #fff;
  --danger: #9b3434;
  --heading: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
input,
select {
  font: inherit;
}
header,
footer {
  max-width: 1440px;
  margin: auto;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header nav,
footer nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
header nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
}
header nav a:last-child {
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 6px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  letter-spacing: -0.4px;
  font-size: 17px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--white);
  width: 29px;
  height: 29px;
  font: italic 25px var(--heading);
  border-radius: 7px;
}
.brand-sub {
  font-weight: 400;
  color: var(--muted);
}
main {
  max-width: 1280px;
  margin: auto;
  padding: 60px 48px;
  min-height: 70vh;
}
h1,
h2,
h3 {
  line-height: 1.22;
  font-weight: 550;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 42px;
  margin: 12px 0 20px;
}
h2 {
  font-size: 25px;
  margin: 0 0 12px;
}
h3 {
  font-size: 17px;
  margin: 0 0 7px;
}
p {
  max-width: 850px;
}
p:last-child {
  margin-bottom: 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 510px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 18px 0 52px;
}
.hero h1 {
  font-family: var(--heading);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: -1.7px;
  line-height: 1.08;
}
.hero .lead {
  margin: 26px 0;
}
.hero .actions {
  margin: 26px 0 18px;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--white);
  background: var(--accent);
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.5;
}
button:hover,
.button:hover {
  filter: brightness(0.96);
}
button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
button:disabled {
  background: var(--panel);
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
  filter: none;
}
.text-link {
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.product-preview {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 25px 30px 23px;
  transform: rotate(-1deg);
}
.preview-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--muted);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.preview-bar .pill {
  margin-left: auto;
}
.mini-brand {
  color: var(--accent);
  font: italic 26px var(--heading);
}
.preview-heading {
  font: 30px/1.2 var(--heading);
  letter-spacing: -0.5px;
  margin: 25px 0;
}
.preview-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.preview-row > span:last-child {
  margin-left: auto;
  color: var(--muted);
}
.preview-index {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.preview-row strong {
  font-size: 13px;
  font-weight: 550;
}
.preview-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0 0;
}
.preview-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 550;
  padding: 4px 8px;
  letter-spacing: 0;
}
.pill.neutral {
  background: var(--panel);
  color: var(--muted);
}
section {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.value-section {
  padding-top: 45px;
}
.value-section > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}
.principles > div {
  display: flex;
  gap: 22px;
  padding: 0 0 25px;
}
.principles > div > span {
  font-size: 11px;
  color: var(--muted);
  padding-top: 3px;
}
.principles p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.section-heading p {
  margin: 4px 0 0;
}
.section-heading .eyebrow {
  margin: 0 0 10px;
}
.platform-list {
  border-top: 1px solid var(--line);
}
.platform-list > div {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.platform-list strong {
  font-weight: 550;
}
.platform-list > div > span:not(.pill) {
  color: var(--muted);
  font-size: 13px;
}
footer {
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 28px;
}
footer strong {
  color: var(--ink);
  font-weight: 550;
}
footer a {
  text-decoration: none;
  color: var(--muted);
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -80px;
  background: var(--surface);
  padding: 10px;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
.workspace {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 38px;
  margin: -28px -16px 0;
}
.workspace aside {
  border-right: 1px solid var(--line);
  padding: 6px 20px 0 0;
  display: flex;
  flex-direction: column;
  align-self: start;
  position: sticky;
  top: 24px;
  min-height: 480px;
}
.workspace aside nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-item {
  padding: 10px 12px;
  border-radius: 5px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-item:first-child {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 550;
}
.nav-item:hover {
  background: var(--panel);
}
.sidebar-foot {
  margin-top: 160px;
  padding: 16px 10px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.sidebar-foot a {
  text-decoration: none;
}
.workspace-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 26px;
}
.workspace-heading h1 {
  font-size: 30px;
  margin: 4px 0 10px;
  font-weight: 550;
}
.workspace-heading .muted {
  margin: 0;
}
.workspace-heading > .pill {
  margin-top: 6px;
}
article {
  min-width: 0;
}
.connection-panel {
  margin: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.connection-panel h2 {
  font-size: 17px;
}
.connection-panel .section-heading {
  align-items: start;
  margin-bottom: 12px;
}
.range-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
}
select,
input {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  max-width: 100%;
}
select {
  font-size: 12px;
}
.provider-actions {
  margin: 16px 0 12px;
}
.consent {
  font-size: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 3px;
  align-items: center;
  color: var(--muted);
}
input[type="checkbox"] {
  margin: 0 5px 0 0;
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
}
.account {
  border-top: 1px solid var(--line);
  padding: 18px 0 0;
  margin-top: 18px;
}
.account strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.account > span {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.account .actions {
  margin: 12px 0 0;
}
.account button {
  min-height: 32px;
  font-size: 11px;
  padding: 6px 11px;
}
.account button[data-disconnect] {
  color: var(--muted);
  margin-left: auto;
  border-color: transparent;
}
.connection-note {
  font-size: 10px;
}
.results {
  margin-top: 30px;
  padding-top: 26px;
}
.results h2 {
  font-size: 20px;
}
.results .section-heading {
  margin-bottom: 10px;
}
.report-status {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 16px;
}
.notice {
  padding: 13px 16px;
  background: var(--panel);
  border-left: 2px solid var(--accent);
  font-size: 12px;
}
.summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.summary > span {
  padding: 18px;
  border-right: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.summary > span:last-child {
  border: 0;
}
.summary b {
  display: block;
  font-size: 26px;
  letter-spacing: -0.7px;
  color: var(--ink);
  font-weight: 550;
  line-height: 1.4;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.report-window {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 14px;
}
.report-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 9px;
  overflow: hidden;
}
.report-block summary {
  padding: 12px 16px;
  font-size: 12px;
  cursor: pointer;
  font-weight: 550;
}
.report-block summary span {
  float: right;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.report-block[open] summary {
  border-bottom: 1px solid var(--line);
}
.report-block .table-wrap {
  padding: 0 8px;
}
.report-block .notice {
  margin: 10px;
}
.table-wrap {
  overflow: auto;
  max-height: 440px;
  max-width: 100%;
}
.video-table {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
td,
th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
th {
  font-weight: 500;
  color: var(--muted);
  font-size: 10px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 1;
}
td:first-child {
  white-space: normal;
  min-width: 180px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: var(--bg);
}
.video-table td:first-child {
  width: 58%;
  min-width: 240px;
}
.video-title {
  background: none;
  border: 0;
  color: var(--ink);
  padding: 0;
  text-align: left;
  min-height: 0;
  font-size: 12px;
  line-height: 1.5;
  display: block;
}
.video-title:hover {
  color: var(--accent);
  filter: none;
}
small {
  font-size: 9px;
  color: var(--muted);
}
.video-table td:not(:first-child) {
  text-align: right;
}
.video-table th:not(:first-child) {
  text-align: right;
}
#detail:empty,
#daily:empty,
#summary:empty,
.video-table:empty {
  display: none;
}
#detail > section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-top: 26px;
  background: var(--surface);
}
#detail h2 {
  font-size: 20px;
  max-width: 700px;
}
.chart {
  background: var(--surface);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 20px 0;
}
.chart h3 {
  font-size: 13px;
  margin: 0 0 18px;
}
.chart .muted {
  font-size: 10px;
}
svg {
  width: 100%;
  height: auto;
  display: block;
}
svg text {
  fill: var(--muted);
  font: 11px sans-serif;
}
.steps {
  padding-left: 20px;
}
.steps li {
  padding: 7px 0;
}
body:has(.workspace) main {
  max-width: 1440px;
}
body:not(:has(.workspace)) main > h1 {
  font-family: var(--heading);
  font-weight: 400;
}
body:not(:has(.workspace)) main > p,
body:not(:has(.workspace)) main > ol {
  max-width: 860px;
  color: var(--muted);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media (max-width: 1000px) {
  header,
  footer {
    padding: 20px 28px;
  }
  main {
    padding: 45px 28px;
  }
  .hero {
    gap: 36px;
  }
  .workspace {
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 24px;
    margin: 0;
  }
  .workspace aside {
    padding-right: 12px;
  }
  .summary b {
    font-size: 22px;
  }
  .summary > span {
    padding: 12px;
  }
  .split {
    gap: 40px;
  }
  .connection-panel {
    padding: 20px;
  }
}
@media (max-width: 720px) {
  header,
  footer {
    padding: 18px 20px;
    gap: 15px;
  }
  header nav {
    gap: 12px;
  }
  .brand-sub {
    display: none;
  }
  .brand {
    font-size: 15px;
  }
  header nav a {
    font-size: 11px;
  }
  header nav a:last-child {
    padding: 6px 9px;
  }
  main {
    padding: 32px 20px;
  }
  .hero,
  .split {
    display: block;
  }
  .hero {
    padding: 0;
  }
  .hero h1 {
    font-size: 40px;
  }
  .lead {
    font-size: 16px;
  }
  .product-preview {
    margin-top: 36px;
    transform: none;
    padding: 22px;
  }
  .preview-heading {
    font-size: 27px;
  }
  .principles {
    margin-top: 28px;
  }
  .platform-list > div {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 18px 0;
  }
  .platform-list > div > span:not(.pill) {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .platform-list .pill {
    grid-column: 2;
    grid-row: 1;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading > .text-link {
    font-size: 11px;
    max-width: 100px;
  }
  .workspace {
    display: block;
  }
  .workspace aside {
    position: static;
    border: 0;
    min-height: 0;
    padding: 0;
    margin-bottom: 28px;
  }
  .workspace aside > .eyebrow,
  .sidebar-foot {
    display: none;
  }
  .workspace aside nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .nav-item {
    padding: 8px 10px;
    font-size: 11px;
  }
  .workspace-heading h1 {
    font-size: 27px;
  }
  .workspace-heading > .pill {
    font-size: 9px;
  }
  .connection-panel {
    padding: 16px;
  }
  .connection-panel .section-heading {
    flex-direction: column;
    gap: 10px;
  }
  .range-label {
    width: 100%;
  }
  .range-label select {
    width: 100%;
  }
  .provider-actions {
    gap: 7px;
  }
  .provider-actions button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary > span {
    padding: 15px;
  }
  .summary > span:nth-child(2) {
    border-right: 0;
  }
  .summary > span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .summary b {
    font-size: 25px;
  }
  .account button[data-disconnect] {
    margin-left: 0;
  }
  .report-block summary span {
    float: none;
    display: block;
    padding-top: 4px;
    margin-left: 14px;
  }
  .chart {
    padding: 12px;
  }
  .report-status {
    overflow-wrap: anywhere;
  }
  #detail > section {
    padding: 16px;
  }
  .brand-mark {
    width: 26px;
    height: 26px;
  }
  footer nav {
    gap: 18px;
    flex-wrap: wrap;
  }
}

@media (max-width: 360px) {
  header {
    flex-wrap: wrap;
  }
  header nav {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
}
