@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap");

:root {
  color-scheme: light dark;
  --page-bg: #f1f1f5;
  --text: #333;
  --link: gray;
  --screenshot-bg: #fff;
  --screenshot-dark-bg: #151515;
  --description: #333;
  --window-border: rgba(0, 0, 0, 0.08);
  --window-bg: rgba(250, 250, 249, 0.96);
  --window-text: #121212;
  --window-shadow: rgba(0, 0, 0, 0.14);
  --muted: rgba(18, 18, 18, 0.36);
  --control-text: #121212;
  --soft-bg: rgba(18, 18, 18, 0.06);
  --soft-text: rgba(18, 18, 18, 0.56);
  --faint-text: rgba(18, 18, 18, 0.32);
  --active-bg: rgba(36, 196, 90, 0.08);
  --active-text: #24c45a;
  --playback-bg: #111;
  --playback-text: #fff;
  --playback-muted: rgba(255, 255, 255, 0.52);
  --notes-bg: rgba(18, 18, 18, 0.03);
  --notes-text: rgba(18, 18, 18, 0.62);
  --popover-bg: rgba(250, 250, 249, 0.94);
  --popover-shadow: rgba(0, 0, 0, 0.12);
  --menu-active-bg: rgba(36, 196, 90, 0.12);
  --menu-active-text: #24a84d;
  --icon-shadow:
    0 0.2px 0 rgba(0, 0, 0, 0.021),
    0 0.7px 0.4px rgba(0, 0, 0, 0.028),
    0 1.8px 1.1px rgba(0, 0, 0, 0.033),
    0 3.6px 2.3px rgba(0, 0, 0, 0.036),
    0 6.4px 4.3px rgba(0, 0, 0, 0.04),
    0 10.8px 7.4px rgba(0, 0, 0, 0.043),
    0 17.9px 12.4px rgba(0, 0, 0, 0.046),
    0 30.1px 20.9px rgba(0, 0, 0, 0.05),
    0 54.4px 38px rgba(0, 0, 0, 0.056),
    0 100px 80px rgba(0, 0, 0, 0.07);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #101010;
    --text: #f4f1e8;
    --link: #a8d8b4;
    --screenshot-bg: #171717;
    --screenshot-dark-bg: #101010;
    --description: rgba(244, 241, 232, 0.9);
    --window-border: rgba(255, 255, 255, 0.09);
    --window-bg: rgba(24, 24, 22, 0.96);
    --window-text: #f4f1e8;
    --window-shadow: rgba(0, 0, 0, 0.34);
    --muted: rgba(244, 241, 232, 0.48);
    --control-text: #f4f1e8;
    --soft-bg: rgba(255, 255, 255, 0.06);
    --soft-text: rgba(244, 241, 232, 0.62);
    --faint-text: rgba(244, 241, 232, 0.38);
    --active-bg: rgba(36, 196, 90, 0.14);
    --active-text: #3de375;
    --playback-bg: #0b0b0d;
    --playback-text: #f7f4ed;
    --playback-muted: rgba(247, 244, 237, 0.58);
    --notes-bg: rgba(255, 255, 255, 0.06);
    --notes-text: rgba(244, 241, 232, 0.66);
    --popover-bg: rgba(24, 24, 22, 0.94);
    --popover-shadow: rgba(0, 0, 0, 0.34);
    --menu-active-bg: rgba(36, 196, 90, 0.16);
    --menu-active-text: #3de375;
    --icon-shadow:
      0 0.2px 0 rgba(255, 255, 255, 0.08),
      0 0.7px 0.4px rgba(0, 0, 0, 0.18),
      0 1.8px 1.1px rgba(0, 0, 0, 0.22),
      0 3.6px 2.3px rgba(0, 0, 0, 0.24),
      0 6.4px 4.3px rgba(0, 0, 0, 0.26),
      0 10.8px 7.4px rgba(0, 0, 0, 0.28),
      0 17.9px 12.4px rgba(0, 0, 0, 0.3),
      0 30.1px 20.9px rgba(0, 0, 0, 0.34),
      0 54.4px 38px rgba(0, 0, 0, 0.38),
      0 100px 80px rgba(0, 0, 0, 0.46);
  }
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 400;
}

h1 {
  margin-bottom: 0.15em;
  font-size: 2rem;
  font-weight: 600;
}

h2 {
  margin-bottom: 0.5em;
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1em;
}

a {
  display: inline;
  color: var(--link);
}

section.marquee {
  width: 100%;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--page-bg);
  text-align: center;
}

section.marquee.bottom {
  height: auto;
  min-height: 70vh;
  padding: 10vw 5vw;
  background: var(--page-bg);
}

.footer-links {
  margin-top: 2rem;
}

img.icon {
  width: 5rem;
  height: 5rem;
  margin-bottom: 2em;
  border-radius: 1.15rem;
  box-shadow: var(--icon-shadow);
}

img.download {
  width: 150px;
  max-width: 48vw;
  margin-top: 3em;
}

section.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 5vw 0;
  margin-bottom: 10vw;
}

section.feature .screenshot {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
  background: var(--screenshot-bg);
}

.screenshot-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

section.feature .description {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 5vw;
  box-sizing: border-box;
  font-size: 1.25em;
  line-height: 1.28;
  color: var(--description);
}

.session-window {
  width: min(100%, 560px);
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--window-border);
  border-radius: 18px;
  background: var(--window-bg);
  color: var(--window-text);
  box-shadow: 0 30px 90px var(--window-shadow);
}

.session-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.session-header h2 {
  margin: 0 0 5px;
  font-size: 17px;
  line-height: 1.1;
}

.session-header p,
.session-footer,
.notes-column p,
.menu-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--control-text);
  font: inherit;
}

.add-row {
  height: 42px;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 0 12px;
  border-radius: 5px;
  background: var(--soft-bg);
  color: var(--soft-text);
  font-size: 13px;
}

.session-list {
  display: grid;
  gap: 2px;
  min-height: 160px;
  margin: 0 -8px;
}

.session-item {
  height: 42px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  align-items: center;
  column-gap: 12px;
  padding: 0 12px;
  border-radius: 5px;
  font-size: 13px;
}

.session-item span {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.session-item p {
  margin: 0;
}

.session-item em {
  color: var(--faint-text);
  font-style: normal;
  text-align: right;
}

.session-item.active {
  background: var(--active-bg);
  color: var(--active-text);
}

.session-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  margin-top: 10px;
}

section.feature .screenshot.dark {
  background: var(--screenshot-dark-bg);
}

.playback-window {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  background: var(--playback-bg);
  color: var(--playback-text);
}

.playback-window h2 {
  color: var(--playback-text);
  font-size: 17px;
}

.playback-copy {
  margin: auto 0;
}

.playback-copy h3 {
  max-width: 460px;
  margin-bottom: 10px;
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 600;
  line-height: 0.98;
}

.playback-copy p,
.up-next p {
  margin: 0;
  color: var(--playback-muted);
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.2;
}

.up-next {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin-bottom: 22px;
  font-size: 13px;
}

.up-next p {
  font-size: 13px;
}

.progress,
.mini-progress {
  height: 4px;
  background: #24c45a;
}

.progress {
  width: 44%;
}

.notes-window {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(180px, 0.7fr);
  gap: 28px;
}

.notes-column {
  padding-top: 34px;
}

.notes-column h3 {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 600;
}

.notes-column div {
  min-height: 190px;
  padding: 13px;
  border-radius: 5px;
  background: var(--notes-bg);
  color: var(--notes-text);
  font-size: 13px;
  line-height: 1.45;
}

.menu-popover {
  width: min(100%, 360px);
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--window-border);
  border-radius: 18px;
  background: var(--popover-bg);
  color: var(--window-text);
  box-shadow: 0 30px 80px var(--popover-shadow);
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}

.menu-header button {
  width: 34px;
  height: 32px;
}

.menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 14px;
}

.menu-row.active {
  background: var(--menu-active-bg);
  color: var(--menu-active-text);
}

.mini-progress {
  width: 38%;
  margin: 14px -16px -16px;
}

.policy-page {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 48px 0 72px;
}

.policy-home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.policy-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: var(--icon-shadow);
}

.policy-content h1 {
  margin-bottom: 0.35em;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 0.98;
}

.policy-content h2 {
  margin-top: 2.2em;
  margin-bottom: 0.65em;
  font-size: 1.2rem;
  line-height: 1.15;
}

.policy-content p {
  margin: 0 0 1em;
  color: var(--description);
  font-size: 1rem;
  line-height: 1.65;
}

.policy-content .effective-date {
  margin-bottom: 2.2em;
  color: var(--link);
}

@media only screen and (min-width: 768px) {
  section.feature.right {
    flex-direction: row-reverse;
  }

  section.feature.left {
    flex-direction: row;
  }

  section.feature .description {
    width: 40%;
  }

  section.feature .screenshot {
    width: 60%;
  }
}

@media only screen and (max-width: 620px) {
  .session-window {
    min-height: 360px;
    padding: 22px;
    border-radius: 14px;
  }

  .notes-window {
    grid-template-columns: 1fr;
  }

  .notes-column {
    display: none;
  }

  .playback-copy h3 {
    font-size: 34px;
  }
}
