:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07090d;
  color: #f6f7f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.landing-page {
  background:
    radial-gradient(circle at 74% 0%, rgba(24, 64, 139, 0.34), transparent 32rem),
    #07090d;
  color: #f6f7f2;
}

.site-header,
.site-footer,
.hero-section,
.section-band,
.split-section {
  margin: 0 auto;
  max-width: 1180px;
  width: calc(100% - 40px);
}

.site-header {
  align-items: center;
  display: flex;
  gap: 24px;
  min-height: 72px;
  padding: 18px 0;
}

.brand,
.site-nav,
.hero-actions,
.site-footer {
  align-items: center;
  display: flex;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: #f0c66b;
  border-radius: 8px;
  color: #07090d;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-nav {
  color: #b9c0cc;
  gap: 22px;
  margin-left: auto;
}

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

.site-nav a {
  font-size: 14px;
  font-weight: 650;
}

.header-cta,
.primary-action,
.secondary-action,
.install-strip button,
.text-link,
.tracker-page button,
.tracker-page a {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
}

.header-cta,
.primary-action,
.install-strip button,
.tracker-page button,
.tracker-page a {
  background: #f0c66b;
  border: 1px solid #f0c66b;
  color: #111111;
  cursor: pointer;
}

.hero-section {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  min-height: calc(100vh - 72px);
  padding: 58px 0 88px;
}

.hero-copy h1 {
  font-size: clamp(56px, 9vw, 116px);
  letter-spacing: 0;
  line-height: 0.89;
  margin: 0;
  max-width: 790px;
}

.hero-subcopy {
  color: #c9d0db;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
  margin: 26px 0 0;
  max-width: 690px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  min-height: 50px;
  padding: 0 22px;
}

.secondary-action {
  background: transparent;
  border: 1px solid rgba(246, 247, 242, 0.32);
  color: #f6f7f2;
}

.install-strip {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  margin-top: 24px;
  max-width: 760px;
  padding: 10px;
}

.install-strip code {
  color: #dce3ee;
  flex: 1;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.install-strip button {
  min-height: 36px;
}

.publish-note {
  color: #8f98a6;
  font-size: 13px;
  line-height: 1.45;
  margin: 12px 0 0;
  max-width: 620px;
}

.hero-product {
  display: grid;
  gap: 16px;
}

.spinner-compare {
  display: grid;
  gap: 10px;
}

.spinner-before,
.spinner-after,
.tracker-mockup,
.terminal-panel,
.steps article,
.source-grid div {
  border-radius: 8px;
}

.spinner-before,
.spinner-after {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 8px;
  grid-template-columns: 64px 1fr auto;
  padding: 14px 16px;
}

.spinner-before {
  background: rgba(255, 255, 255, 0.05);
  color: #8f98a6;
}

.spinner-after {
  background: #f6f7f2;
  color: #0a0d12;
  box-shadow: 0 18px 60px rgba(240, 198, 107, 0.22);
}

.spinner-before span,
.spinner-after span,
.mockup-label,
.mockup-stats span,
.steps article span,
.terminal-panel span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.spinner-before strong,
.spinner-after strong {
  font-size: 16px;
}

.spinner-before em,
.spinner-after em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.tracker-mockup {
  background: #111823;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.mockup-topbar {
  align-items: center;
  background: #0b1018;
  display: flex;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
}

.mockup-topbar span {
  background: #334155;
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

.mockup-body {
  padding: 26px;
}

.mockup-label {
  color: #f0c66b;
  margin: 0 0 8px;
}

.mockup-line {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 820;
  line-height: 0.98;
  margin: 0 0 22px;
}

.mockup-progress {
  background: #283241;
  border-radius: 999px;
  height: 9px;
  overflow: hidden;
}

.mockup-progress span {
  background: linear-gradient(90deg, #f0c66b, #3da2ff);
  display: block;
  height: 100%;
  width: 33%;
}

.mockup-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.mockup-stats div {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 7px;
  padding: 12px;
}

.mockup-stats span {
  color: #9ba6b6;
  display: block;
  letter-spacing: 0;
}

.mockup-stats strong {
  display: block;
  font-size: 24px;
  margin-top: 6px;
}

.section-band,
.split-section {
  background: #f7f8f2;
  box-shadow: 0 0 0 100vmax #f7f8f2;
  clip-path: inset(0 -100vmax);
  color: #0b0d12;
  padding: 96px 0;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-heading h2,
.split-section h2,
.source-copy h2 {
  font-size: clamp(40px, 6vw, 78px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.section-heading p,
.split-section p,
.source-copy p {
  color: #4c5666;
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  max-width: 500px;
}

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

.steps article,
.source-grid div {
  background: #ffffff;
  border: 1px solid #d8dde7;
  padding: 24px;
}

.steps article span {
  color: #194fb3;
}

.steps h3,
.source-grid strong {
  color: #111827;
  display: block;
  font-size: 22px;
  margin: 28px 0 10px;
}

.steps p,
.source-grid span {
  color: #536071;
  line-height: 1.55;
  margin: 0;
}

.split-section {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
}

.split-section p {
  margin-top: 20px;
}

.text-link {
  color: #194fb3;
  margin-top: 24px;
  padding: 0;
}

.terminal-panel {
  background: #0b1018;
  border: 1px solid #232d3d;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.2);
  color: #dce3ee;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  padding: 24px;
}

.terminal-panel p {
  color: #dce3ee;
  font-size: 14px;
  margin: 0;
  max-width: none;
  padding: 11px 0;
}

.terminal-panel p + p {
  border-top: 1px solid #1d2736;
}

.terminal-panel span {
  color: #f0c66b;
  display: inline-block;
  min-width: 54px;
}

.source-section {
  align-items: start;
  border-top: 1px solid #d8dde7;
  display: grid;
  gap: 34px;
  grid-template-columns: 0.78fr 1fr;
}

.source-copy p {
  margin-top: 18px;
}

.source-grid {
  display: grid;
  gap: 12px;
}

.source-grid strong {
  margin: 0 0 8px;
}

.site-footer {
  background: #f7f8f2;
  border-top: 1px solid #d8dde7;
  box-shadow: 0 0 0 100vmax #f7f8f2;
  clip-path: inset(0 -100vmax);
  color: #4c5666;
  gap: 18px;
  justify-content: flex-end;
  padding: 28px 0 40px;
}

.site-footer span {
  color: #111827;
  font-weight: 800;
  margin-right: auto;
}

.tracker-page {
  background: #f7f8f2;
  color: #1f2933;
}

.shell {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 320px;
  min-height: 100vh;
  padding: 24px;
}

.panel {
  align-self: start;
  background: #ffffff;
  border: 1px solid #d8dde7;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  padding: 20px;
}

.panel[hidden],
#sessionsPanel[hidden] {
  display: none;
}

.compact {
  position: sticky;
  top: 24px;
}

.topbar {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.eyebrow {
  color: #194fb3;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 4px;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.1;
  margin: 0;
}

.tracker-page h1 {
  font-size: 28px;
}

.tracker-page h2 {
  font-size: 16px;
  margin-bottom: 14px;
}

.iconButton {
  min-width: 42px;
  padding: 0 10px;
}

.devotions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: 20px 0;
}

.devotion {
  align-items: start;
  background: #fbfcfe;
  border-color: #d8dde7;
  color: #1f2933;
  display: grid;
  justify-content: start;
  min-height: 72px;
  text-align: left;
}

.devotion span {
  color: #667085;
  font-size: 13px;
}

.devotion.active {
  background: #eef5ff;
  border-color: #194fb3;
}

.current {
  background: #eff3f9;
  border-radius: 8px;
  padding: 22px;
}

.bead,
.progressText {
  color: #667085;
  font-size: 14px;
  margin: 0;
}

.line {
  font-size: clamp(30px, 6vw, 64px);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 10px 0 22px;
  overflow-wrap: anywhere;
}

.progressTrack {
  background: #d8dde7;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.progressBar {
  background: linear-gradient(90deg, #194fb3, #f0c66b);
  height: 100%;
  transition: width 180ms ease;
  width: 0%;
}

.progressText {
  margin-top: 8px;
}

.metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0;
}

.metrics div {
  border: 1px solid #d8dde7;
  border-radius: 8px;
  padding: 14px;
}

.metrics span,
.session span,
.empty {
  color: #667085;
  display: block;
  font-size: 13px;
}

.metrics strong {
  display: block;
  font-size: 24px;
  margin-top: 6px;
}

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

.sessions {
  display: grid;
  gap: 10px;
}

.account-card {
  border-bottom: 1px solid #e5e9f0;
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.accountStatus {
  color: #536071;
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.authForm,
.accountPanel {
  display: grid;
  gap: 10px;
}

.authForm[hidden],
.accountPanel[hidden] {
  display: none;
}

.authForm label {
  display: grid;
  gap: 5px;
}

.authForm label span,
.tokenBox span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.authForm input {
  border: 1px solid #d8dde7;
  border-radius: 7px;
  color: #111827;
  font: inherit;
  min-height: 38px;
  padding: 0 10px;
}

.authActions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.tokenBox {
  background: #eff3f9;
  border: 1px solid #d8dde7;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 10px;
}

.tokenBox[hidden] {
  display: none;
}

.tokenBox code {
  background: #0b1018;
  border-radius: 7px;
  color: #f6f7f2;
  display: block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  padding: 10px;
}

.session {
  border-bottom: 1px solid #e5e9f0;
  padding-bottom: 10px;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero-section,
  .split-section,
  .source-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 38px;
  }

  .section-heading {
    align-items: start;
    display: grid;
  }

  .steps,
  .mockup-stats {
    grid-template-columns: 1fr;
  }

  .shell {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .compact {
    position: static;
  }

  .metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .hero-section,
  .section-band,
  .split-section {
    width: calc(100% - 24px);
  }

  .site-header {
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  .hero-copy h1 {
    font-size: 54px;
  }

  .install-strip,
  .spinner-before,
  .spinner-after {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .install-strip {
    display: grid;
  }

  .section-band,
  .split-section {
    padding: 64px 0;
  }
}
