@font-face {
  font-family: "Rubik";
  src: url("assets/rubik.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --page: #ffffff;
  --ink: #07090d;
  --ink-soft: #282c31;
  --muted: #666c76;
  --surface: #f4f6f8;
  --surface-raised: #eef1f5;
  --control: #eff1f5;
  --border: #e2e5ea;
  --border-strong: #b9bfc9;
  --primary: #020618;
  --slate: #314158;
  --green: #10b981;
  --green-dark: #137a34;
  --red: #ef4444;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --amber: #f59e0b;
  --pink: #ec4899;
  --cyan: #06b6d4;
  --shadow-soft: 0 26px 70px rgba(49, 65, 88, 0.14);
  --shadow-tight: 0 16px 36px rgba(49, 65, 88, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  color: var(--ink);
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(239, 241, 245, 0.72), rgba(255, 255, 255, 0) 520px),
    var(--page);
  color: var(--ink);
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.42);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 22px 28px;
  position: relative;
  z-index: 2;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
}

.brand img {
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

.nav-byline {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-byline a {
  color: var(--ink);
  font-weight: 700;
}

.nav-byline a:hover {
  color: var(--slate);
}

.hero {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  margin: 0 auto;
  max-width: 1160px;
  padding: 38px 28px 70px;
  position: relative;
}

.hero-copy {
  max-width: 560px;
  min-width: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink);
  font-size: 76px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

.lead {
  color: var(--muted);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 22px;
  max-width: 520px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.beta-trigger {
  align-items: center;
  background: var(--primary);
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.beta-trigger:hover {
  background: var(--ink-soft);
  box-shadow: var(--shadow-tight);
  transform: translateY(-2px);
}

.beta-trigger-hero {
  font-size: 18px;
  min-height: 60px;
  padding: 0 28px;
}

.play-badge {
  align-items: center;
  display: inline-flex;
  line-height: 0;
  transition: transform 180ms ease, filter 180ms ease;
}

.play-badge:hover {
  filter: drop-shadow(0 12px 22px rgba(49, 65, 88, 0.14));
  transform: translateY(-2px);
}

.play-badge img {
  height: auto;
  width: 232px;
}

.play-badge-final img {
  width: 264px;
}

.mini-proof {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mini-proof li {
  align-items: center;
  color: var(--slate);
  display: flex;
  font-size: 16px;
  font-weight: 400;
  gap: 10px;
}

.point-icon {
  flex: 0 0 30px;
  height: 30px;
  object-fit: contain;
  width: 30px;
}

.hero-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.phone-frame {
  aspect-ratio: 1080 / 2400;
  background: linear-gradient(145deg, #23262b, #08090b);
  border: 1px solid rgba(2, 6, 24, 0.74);
  border-radius: 52px;
  box-shadow:
    0 34px 82px rgba(49, 65, 88, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  margin: 0;
  overflow: visible;
  padding: 11px;
  position: relative;
  width: 310px;
}

.phone-frame-large {
  width: 360px;
}

.phone-frame::before {
  background: #111318;
  border-radius: 0 8px 8px 0;
  content: "";
  height: 76px;
  position: absolute;
  right: -5px;
  top: 118px;
  width: 5px;
}

.phone-frame::after {
  background: #111318;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 72px 0 #111318;
  content: "";
  height: 46px;
  left: -5px;
  position: absolute;
  top: 116px;
  width: 5px;
}

.phone-frame img {
  border-radius: 42px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.feature-band {
  align-items: center;
  background: var(--surface);
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  margin: 0;
  min-height: 760px;
  padding: 88px max(28px, calc((100vw - 1160px) / 2));
}

.feature-band-alt {
  background: var(--page);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
}

.feature-media {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.feature-copy {
  max-width: 520px;
  min-width: 0;
}

.feature-copy h2,
.section-heading h2,
.final-cta h2 {
  color: var(--ink);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 22px;
}

.feature-copy p,
.section-heading p,
.final-cta p {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
  margin-bottom: 30px;
}

.feature-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  align-items: center;
  color: var(--ink-soft);
  display: flex;
  font-size: 18px;
  font-weight: 700;
  gap: 12px;
}

.feature-list li::before {
  background: var(--green);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 9px;
  width: 9px;
}

.feature-band-alt .feature-list li::before {
  background: var(--purple);
}

#organize .feature-list li::before {
  background: var(--amber);
}

.trust-section {
  padding: 76px max(28px, calc((100vw - 1160px) / 2));
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 0;
  max-width: 720px;
}

.section-heading p {
  margin: 0;
}

.trust-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-tile {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  min-height: 168px;
  padding: 20px;
}

.tile-icon {
  display: block;
  height: 52px;
  margin-bottom: 18px;
  object-fit: contain;
  width: 52px;
}

.trust-tile h3 {
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 9px;
}

.trust-tile p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.final-cta {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 760px;
  padding: 112px 28px;
  text-align: center;
}

.final-cta > img {
  filter: drop-shadow(0 18px 32px rgba(49, 65, 88, 0.18));
  margin-bottom: 30px;
  width: 112px;
}

.final-cta .play-badge-final img {
  width: 264px;
}

.final-cta p {
  max-width: 620px;
}

.beta-dialog {
  background: transparent;
  border: 0;
  max-width: min(640px, calc(100vw - 36px));
  padding: 0;
}

.beta-dialog::backdrop {
  background: rgba(2, 6, 24, 0.46);
  backdrop-filter: blur(6px);
}

.beta-dialog-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(2, 6, 24, 0.22);
  color: var(--ink);
  padding: 30px;
  position: relative;
}

.modal-close {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 24px;
  font-weight: 500;
  height: 38px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
}

.modal-close:hover {
  background: var(--control);
}

.beta-kicker {
  color: var(--slate);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.beta-dialog h2 {
  color: var(--ink);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 14px;
  max-width: 460px;
}

.beta-intro,
.beta-note {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.beta-intro {
  margin-bottom: 24px;
  max-width: 520px;
}

.beta-steps {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.beta-steps li {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: grid;
  gap: 14px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  padding: 14px;
}

.beta-steps span {
  align-items: center;
  background: var(--primary);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.beta-steps strong {
  color: var(--ink);
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.beta-steps p,
.beta-note {
  margin: 0;
}

.beta-steps p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.beta-steps a {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  padding: 11px 14px;
  white-space: nowrap;
}

.beta-steps a:hover {
  border-color: var(--primary);
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  font-size: 15px;
  font-weight: 400;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 28px;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 20px;
}

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

.site-footer p a {
  color: var(--ink);
  font-weight: 500;
}

.policy-page {
  margin: 0 auto;
  max-width: 820px;
  padding: 72px 28px 104px;
}

.policy-page h1 {
  color: var(--ink);
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 28px;
}

.policy-date {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.policy-page h2 {
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  margin: 42px 0 14px;
}

.policy-page p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.policy-page a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .site-nav {
    flex-wrap: wrap;
  }

  .hero {
    gap: 46px;
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 620px;
  }

  h1 {
    font-size: 58px;
  }

  .lead {
    font-size: 22px;
  }

  .phone-frame-large {
    width: 340px;
  }

  .feature-band,
  .feature-band-alt {
    gap: 42px;
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 80px;
    padding-top: 80px;
  }

  .feature-band-alt .feature-copy {
    order: 2;
  }

  .feature-band-alt .feature-media {
    order: 1;
  }

  .feature-copy {
    margin: 0 auto;
    max-width: 680px;
    text-align: center;
  }

  .feature-list {
    justify-items: center;
  }

  .section-heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    justify-content: center;
    padding: 18px;
  }

  .brand {
    font-size: 18px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding: 22px 18px 56px;
  }

  .hero-copy {
    margin: 0 auto;
    text-align: center;
  }

  h1 {
    font-size: 56px;
    line-height: 1;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions {
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  .nav-byline {
    display: none;
  }

  .play-badge-hero img,
  .play-badge-final img {
    width: 224px;
  }

  .beta-trigger,
  .beta-trigger-hero {
    width: min(100%, 240px);
  }

  .mini-proof {
    justify-items: center;
  }

  .mini-proof li {
    justify-content: center;
  }

  .phone-frame,
  .phone-frame-large {
    border-radius: 34px;
    padding: 6px;
    width: min(100%, 312px);
  }

  .phone-frame img {
    border-radius: 28px;
  }

  .feature-band,
  .feature-band-alt {
    padding: 64px 18px;
  }

  .feature-copy h2,
  .section-heading h2,
  .final-cta h2 {
    font-size: 38px;
    line-height: 1.04;
  }

  .feature-copy p,
  .section-heading p,
  .final-cta p {
    font-size: 18px;
  }

  .feature-list li {
    font-size: 16px;
  }

  .trust-section {
    padding: 72px 18px;
    text-align: center;
  }

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

  .trust-tile {
    border-radius: 18px;
    min-height: 0;
    padding: 20px;
    text-align: center;
  }

  .tile-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .final-cta {
    padding: 84px 18px;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    gap: 16px;
    padding: 24px 18px;
    text-align: center;
  }

  .policy-page {
    padding: 48px 18px 76px;
  }

  .policy-page h1 {
    font-size: 40px;
  }

  .policy-page h2 {
    font-size: 22px;
  }

  .policy-page p {
    font-size: 16px;
  }

  .beta-dialog {
    max-height: calc(100dvh - 40px);
    max-width: min(348px, calc(100vw - 36px));
    overflow-y: auto;
  }

  .beta-dialog-panel {
    border-radius: 18px;
    padding: 22px 18px 18px;
  }

  .modal-close {
    font-size: 22px;
    height: 34px;
    right: 14px;
    top: 14px;
    width: 34px;
  }

  .beta-kicker {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .beta-dialog h2 {
    font-size: 24px;
    line-height: 1.08;
    margin-bottom: 10px;
    padding-right: 42px;
  }

  .beta-intro,
  .beta-note {
    font-size: 14px;
    line-height: 1.4;
  }

  .beta-intro {
    margin-bottom: 16px;
  }

  .beta-steps {
    gap: 12px;
    margin-bottom: 16px;
  }

  .beta-steps li {
    align-items: start;
    border-radius: 14px;
    column-gap: 10px;
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 13px;
    row-gap: 10px;
  }

  .beta-steps span {
    font-size: 13px;
    height: 30px;
    width: 30px;
  }

  .beta-steps strong {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 3px;
  }

  .beta-steps p {
    font-size: 12px;
    line-height: 1.25;
  }

  .beta-steps a {
    border-radius: 10px;
    display: inline-flex;
    font-size: 12px;
    grid-column: 1 / -1;
    justify-content: center;
    line-height: 1;
    min-height: 36px;
    padding: 12px;
    text-align: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
