:root {
  color-scheme: light;
  --ink: #211915;
  --muted: #6f6258;
  --soft: #f6f1e8;
  --paper: #fffaf2;
  --line: #ded2c0;
  --blue: #245d8f;
  --green: #2f6b57;
  --copper: #a24a29;
  --shadow: 0 24px 70px rgba(35, 25, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(33, 25, 21, 0.08);
  background: rgba(255, 250, 242, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(33, 25, 21, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav a[aria-current="page"],
.nav a:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  display: grid;
  min-height: calc(100vh - 74px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(44px, 7vw, 92px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.96), rgba(255, 250, 242, 0.78)),
    url("screenshots/sessions.png") center / cover;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 820px;
  font-size: clamp(48px, 8vw, 104px);
}

h2 {
  font-size: clamp(34px, 5vw, 62px);
}

h3 {
  font-size: clamp(22px, 3vw, 30px);
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #44372f;
  font-size: clamp(20px, 2.6vw, 29px);
  line-height: 1.3;
}

.supporting {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: rgba(255, 250, 242, 0.78);
}

.device-stage {
  position: relative;
  min-height: 680px;
}

.phone {
  position: absolute;
  width: min(45vw, 310px);
  overflow: hidden;
  border: 9px solid #191512;
  border-radius: 42px;
  background: #191512;
  box-shadow: var(--shadow);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.phone.primary-shot {
  top: 0;
  right: 8%;
  z-index: 3;
}

.phone.secondary-shot {
  top: 160px;
  left: 0;
  z-index: 2;
  transform: rotate(-5deg);
}

.phone.tertiary-shot {
  right: 0;
  bottom: 0;
  z-index: 1;
  transform: rotate(4deg);
}

.band {
  padding: clamp(58px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.band.soft {
  background: var(--soft);
}

.section-head {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.install-grid,
.feature-grid,
.audience-grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}

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

.update-panel {
  margin-top: 18px;
}

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

.panel {
  min-width: 0;
  border: 1px solid rgba(33, 25, 21, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.82);
  box-shadow: 0 18px 50px rgba(35, 25, 18, 0.08);
}

.panel-content {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
}

.panel p,
.panel li {
  color: var(--muted);
}

.panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.code-block {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 0;
  padding: 18px;
  border-radius: 8px;
  background: #17120f;
  color: #fff5e8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.58;
  white-space: pre;
}

.code-block code {
  display: block;
  width: max-content;
  min-width: 100%;
}

.note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.flow {
  padding: 24px;
  border: 1px solid rgba(33, 25, 21, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.flow strong {
  display: block;
  margin-bottom: 12px;
}

.flow-line {
  color: var(--muted);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.screen-card {
  overflow: hidden;
  border: 1px solid rgba(33, 25, 21, 0.12);
  border-radius: 8px;
  background: #fff;
}

.screen-card img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-card figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  display: grid;
  min-height: 420px;
  place-items: center;
  text-align: center;
}

.final-cta p {
  margin: 18px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(33, 25, 21, 0.1);
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.privacy-main {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 90px) clamp(20px, 5vw, 44px);
}

.privacy-main h4 {
  max-width: 820px;
  font-size: 20px;
  font-weight: 800;
}

.privacy-main section {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid rgba(33, 25, 21, 0.12);
}

.privacy-main p,
.privacy-main li {
  color: var(--muted);
  font-size: 18px;
}

.privacy-main ul {
  padding-left: 22px;
}

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

  .device-stage {
    min-height: 520px;
  }

  .phone {
    width: min(44vw, 260px);
  }

  .install-grid,
  .comparison,
  .feature-grid,
  .audience-grid,
  .screen-row {
    grid-template-columns: 1fr;
  }

  .screen-row {
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .nav a {
    flex: 1;
  }

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

  .device-stage {
    min-height: 430px;
  }

  .phone {
    border-width: 6px;
    border-radius: 30px;
  }

  .phone img {
    border-radius: 23px;
  }

  .phone.primary-shot {
    right: 0;
  }

  .phone.secondary-shot {
    top: 120px;
  }

  .phone.tertiary-shot {
    bottom: 10px;
  }

  .code-block {
    font-size: 12px;
  }
}
