:root {
  --ink: #18201c;
  --muted: #5e6963;
  --paper: #f7f8f4;
  --white: #ffffff;
  --mint: #68c99a;
  --yellow: #f4b51c;
  --line: #d9dfda;
  --max-site: 1120px;
  --max-copy: 720px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  background: rgba(247, 248, 244, 0.94);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  width: min(calc(100% - 40px), var(--max-site));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-title {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(650px, 72svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12px;
  background: var(--yellow);
  z-index: 2;
}

.hero-inner {
  width: min(calc(100% - 40px), var(--max-site));
  margin: 0 auto;
  padding: 80px 0 92px;
  position: relative;
  z-index: 1;
}

.hero-demo {
  position: absolute;
  height: min(560px, calc(100% - 40px));
  aspect-ratio: 0.475;
  right: max(40px, calc((100vw - var(--max-site)) / 2 + 100px));
  bottom: 20px;
  padding: 7px;
  background: #171817;
  border: 1px solid #303230;
  border-radius: 46px;
  box-shadow: 0 18px 42px rgba(24, 32, 28, 0.16);
  z-index: 0;
}

.hero-demo::before {
  content: "";
  position: absolute;
  width: 66px;
  height: 17px;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #050505;
  border-radius: 999px;
  z-index: 2;
}

.hero-demo::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 34px;
  top: 112px;
  left: -4px;
  background: #292b29;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 46px 0 #292b29;
}

.hero-demo-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: url("/assets/media/app-demo-poster.jpg") center / cover no-repeat;
  border-radius: 39px;
}

.hero-demo-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.eyebrow,
.page-kicker {
  color: #276d4b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 560px;
  margin-top: 10px;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
}

.tagline {
  max-width: 560px;
  margin-top: 20px;
  font-size: 30px;
  font-weight: 720;
  line-height: 1.35;
}

.primary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  margin-top: 32px;
  padding: 0 20px;
  background: var(--ink);
  border-radius: 6px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.release-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.release-status span {
  width: 10px;
  height: 10px;
  display: block;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.section-inner {
  width: min(calc(100% - 40px), var(--max-site));
  margin: 0 auto;
}

.feature-band {
  padding: 88px 0 96px;
  background: var(--paper);
}

.section-header {
  max-width: 620px;
}

.section-header h2,
.privacy-copy h2 {
  margin-top: 10px;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: 0;
}

.feature-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-grid article {
  min-width: 0;
  padding: 28px 28px 8px 0;
}

.feature-grid article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.feature-grid strong {
  display: block;
  font-size: 18px;
}

.feature-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.privacy-band {
  padding: 88px 0;
  background: var(--ink);
  color: var(--white);
}

.privacy-copy {
  max-width: var(--max-site);
}

.privacy-copy .eyebrow {
  color: var(--mint);
}

.privacy-copy p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 18px;
  color: #cbd2ce;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--white);
  font-weight: 700;
  text-underline-offset: 5px;
}

.page,
.post {
  width: min(calc(100% - 40px), var(--max-copy));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.page-header,
.post-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.page-header h1,
.post-header h1 {
  margin-top: 8px;
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: 0;
}

.page-description,
.post-header time {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.page-content,
.post-content {
  padding-top: 30px;
  color: #354039;
  font-size: 16px;
}

.page-content > :first-child,
.post-content > :first-child {
  margin-top: 0;
}

.page-content h2,
.post-content h2 {
  margin: 36px 0 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: 0;
}

.page-content p,
.post-content p,
.page-content ul,
.post-content ul,
.post-content ol {
  margin-bottom: 16px;
}

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

.page-content li,
.post-content li {
  margin-bottom: 6px;
}

.page-content a,
.post-content a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.date {
  color: var(--muted);
  font-size: 14px;
}

.post-list {
  list-style: none;
}

.post-list li {
  border-bottom: 1px solid var(--line);
}

.post-list a {
  display: block;
  padding: 24px 0;
  text-decoration: none;
}

.post-list time {
  color: var(--muted);
  font-size: 13px;
}

.post-list h2 {
  margin: 4px 0;
  font-size: 20px;
}

.post-list p,
.empty-state {
  color: var(--muted);
}

.empty-state {
  padding: 48px 0;
  text-align: center;
}

.post-nav {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.post-nav a {
  color: var(--muted);
  font-weight: 700;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 28px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  width: min(calc(100% - 40px), var(--max-site));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
  }

  .site-header-inner,
  .section-inner,
  .page,
  .post,
  .site-footer-inner,
  .hero-inner {
    width: min(calc(100% - 32px), var(--max-site));
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
    align-items: flex-start;
  }

  .hero-inner {
    padding: 58px 0 460px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .tagline {
    font-size: 24px;
  }

  .hero-demo {
    width: clamp(186px, 54vw, 210px);
    height: auto;
    left: 50%;
    right: auto;
    bottom: 20px;
    transform: translateX(-50%);
    padding: 5px;
    border-radius: 36px;
  }

  .hero-demo::before {
    width: 54px;
    height: 14px;
    top: 9px;
  }

  .hero-demo::after {
    height: 28px;
    top: 88px;
    box-shadow: 0 38px 0 #292b29;
  }

  .hero-demo-screen {
    border-radius: 31px;
  }

  .feature-band,
  .privacy-band {
    padding: 64px 0;
  }

  .section-header h2,
  .privacy-copy h2,
  .page-header h1,
  .post-header h1 {
    font-size: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .feature-grid article,
  .feature-grid article + article {
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .page,
  .post {
    padding-top: 48px;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-demo-video {
    display: none;
  }
}

@media (max-width: 390px) {
  .site-title {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 38px;
  }
}
