:root {
  color-scheme: light dark;
  --bg: #f7f8fb;
  --bg-elevated: #ffffff;
  --bg-soft: #eef3f8;
  --text: #15171a;
  --muted: #5f6873;
  --faint: #858d98;
  --line: rgba(21, 23, 26, 0.12);
  --strong-line: rgba(21, 23, 26, 0.2);
  --blue: #2878f0;
  --blue-soft: #dceaff;
  --red: #ef4f54;
  --red-soft: #ffe2e3;
  --green: #0a9b7a;
  --green-soft: #d8f4ed;
  --violet: #7a55d8;
  --violet-soft: #ece4ff;
  --amber: #b77900;
  --amber-soft: #fff0ce;
  --shadow: 0 26px 80px rgba(26, 35, 48, 0.16);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Segoe UI, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  margin: 0;
  max-width: 100%;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: 100%;
  max-width: var(--max);
  min-height: 68px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand {
  gap: 10px;
  font-size: 1.46rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav-links a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--blue);
}

.store-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.store-button img {
  width: 190px;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(21, 23, 26, 0.18));
}

.store-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.hero {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 16px 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: 5rem;
  line-height: 0.96;
  font-weight: 900;
}

.hero-logo-title img {
  width: 136px;
  height: 136px;
  border-radius: 30px;
  box-shadow: 0 22px 52px rgba(21, 23, 26, 0.16);
}

.hero-subtitle {
  margin: 12px 0 0;
  color: var(--blue);
  font-size: 1.6rem;
  font-weight: 800;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1.45;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.store-button {
  line-height: 0;
}

.secondary-button {
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--strong-line);
  background: color-mix(in srgb, var(--bg-elevated) 70%, transparent);
}

.hero-art {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-screenshot {
  width: auto;
  height: min(72vh, 680px);
  max-width: min(100%, 360px);
  object-fit: contain;
}

.tablet-frame,
.phone-frame {
  position: absolute;
  background: #1a1c20;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.tablet-frame {
  right: 0;
  top: 10px;
  width: 530px;
  height: 376px;
  border-radius: 26px;
  padding: 12px;
  transform: rotate(1deg);
}

.tablet-screen,
.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f7f8fb;
}

.tablet-screen {
  display: grid;
  grid-template-columns: 146px 1fr;
  border-radius: 18px;
}

.tablet-sidebar {
  padding: 24px 16px;
  background: #edf3fa;
  border-right: 1px solid rgba(20, 24, 32, 0.08);
}

.sidebar-title {
  color: #15171a;
  font-weight: 900;
  margin-bottom: 22px;
}

.sidebar-item {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: #68717d;
  font-size: 0.82rem;
  font-weight: 700;
}

.sidebar-item.active {
  color: #ffffff;
  background: #2878f0;
}

.tablet-main {
  padding: 22px;
  color: #17191d;
}

.app-toolbar,
.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-toolbar {
  margin-bottom: 14px;
  font-weight: 850;
}

.app-toolbar span:last-child {
  color: #68717d;
  font-size: 0.82rem;
  font-weight: 750;
}

.progress-rail {
  height: 10px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #dde5f0;
  overflow: hidden;
}

.progress-rail span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2878f0, #0a9b7a);
}

.timeline-row {
  display: grid;
  grid-template-columns: 42px 16px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(20, 24, 32, 0.08);
}

.timeline-row .time {
  color: #68717d;
  font-size: 0.78rem;
  font-weight: 800;
}

.timeline-row .dot {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  border-radius: 50%;
  border: 3px solid #2878f0;
}

.timeline-row.done .dot {
  border-color: #0a9b7a;
  background: #0a9b7a;
}

.timeline-row.upcoming .dot {
  border-color: #ef4f54;
}

.timeline-row strong {
  display: block;
  font-size: 0.9rem;
}

.timeline-row p {
  margin: 2px 0 0;
  color: #68717d;
  font-size: 0.78rem;
}

.phone-frame {
  left: 20px;
  bottom: 0;
  width: 242px;
  height: 488px;
  border-radius: 42px;
  padding: 10px;
  transform: rotate(-5deg);
}

.phone-screen {
  position: relative;
  border-radius: 34px;
  padding: 18px;
  color: #17191d;
}

.phone-status {
  width: 88px;
  height: 23px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #17191d;
}

.mini-label {
  display: block;
  color: #68717d;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.phone-header strong {
  font-size: 1.45rem;
}

.pill {
  padding: 7px 9px;
  border-radius: 999px;
  background: #ffe2e3;
  color: #b3262b;
  font-size: 0.72rem;
  font-weight: 850;
}

.today-ring {
  width: 148px;
  height: 148px;
  margin: 30px auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#2878f0 0 64%, #e6edf5 64% 100%);
}

.today-ring::before {
  content: "";
  position: absolute;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #f7f8fb;
}

.today-ring span {
  position: relative;
  font-size: 1.4rem;
  font-weight: 900;
}

.task-list {
  display: grid;
  gap: 10px;
}

.task {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(20, 24, 32, 0.08);
  border-radius: 8px;
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 750;
}

.task span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c5d0dc;
}

.task.done span {
  border-color: #0a9b7a;
  background: #0a9b7a;
  box-shadow: inset 0 0 0 4px #ffffff;
}

.trust-strip {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 24px;
  padding: 0 16px;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
}

.trust-strip span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elevated) 72%, transparent);
  font-size: 0.9rem;
  font-weight: 750;
}

.section,
.band,
.cta-section,
.site-footer {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 92px;
}

.section {
  padding: 92px 16px;
}

.section.compact {
  padding: 74px 16px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.split-copy h2,
.privacy-band h2,
.cta-section h2,
.legal-hero h1 {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.08;
}

.section-heading p,
.split-copy p,
.privacy-band p,
.cta-section p,
.legal-hero p,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 1.1rem;
}

.feature-grid,
.use-case-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.feature-card,
.use-case-grid article,
.pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.feature-card {
  min-height: 260px;
  padding: 22px;
}

.feature-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  margin-bottom: 22px;
}

.feature-mark svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-mark.blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.feature-mark.red {
  background: var(--red-soft);
  color: var(--red);
}

.feature-mark.green {
  background: var(--green-soft);
  color: var(--green);
}

.feature-mark.violet {
  background: var(--violet-soft);
  color: var(--violet);
}

.feature-mark.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.feature-card h3,
.use-case-grid h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.feature-card p,
.use-case-grid p {
  margin: 0;
  color: var(--muted);
}

.band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.split-section {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 420px;
  gap: 36px;
  align-items: center;
}

.split-copy p {
  max-width: 640px;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.calendar-preview {
  aspect-ratio: 1194 / 989;
  min-height: 0;
  padding: 0;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.calendar-preview picture,
.calendar-preview img {
  display: block;
  width: 100%;
  height: 100%;
}

.calendar-preview img {
  object-fit: cover;
}

.use-case-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.use-case-grid article {
  padding: 24px;
}

.screenshots-section {
  padding: 0 16px 84px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 26px;
  align-items: start;
}

.screenshot-card {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.screenshot-card img {
  display: block;
  width: min(100%, 300px);
  height: auto;
}

.screenshot-card figcaption {
  color: var(--text);
  font-weight: 850;
  font-size: 1rem;
  text-align: center;
}

.pricing-section {
  padding-top: 22px;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: stretch;
}

.pricing-card {
  min-height: 100%;
  padding: 26px;
}

.pricing-card.featured-plan {
  border-color: color-mix(in srgb, var(--blue) 42%, var(--line));
  box-shadow: 0 22px 52px color-mix(in srgb, var(--blue) 14%, transparent);
}

.pricing-card-header {
  min-height: 152px;
  margin-bottom: 18px;
}

.plan-kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.55rem;
}

.plan-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.pricing-card-header p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.plan-options {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.plan-options span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

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

.plan-features li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.privacy-band {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: var(--text);
  color: var(--bg);
}

.privacy-band p {
  max-width: 680px;
  margin: 18px 0 0;
  color: color-mix(in srgb, var(--bg) 72%, transparent);
}

.privacy-band .text-link {
  flex: 0 0 auto;
  padding: 12px 15px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--bg) 34%, transparent);
  font-weight: 800;
}

.cta-section {
  padding: 96px 16px 84px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.cta-section > picture img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 26px;
  box-shadow: 0 20px 46px rgba(21, 23, 26, 0.18);
}

.cta-section p {
  max-width: 620px;
  margin: 16px 0 28px;
  font-size: 1.1rem;
}

.site-footer {
  padding: 30px 16px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 24px;
  row-gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.footer-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: var(--text);
}

.site-footer nav {
  min-width: 0;
  max-width: 100%;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.legal-body {
  background: var(--bg);
}

.legal-main {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 76px 16px 92px;
}

.legal-hero {
  margin-bottom: 42px;
}

.legal-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-content section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.legal-content p,
.legal-content ul {
  margin: 0;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 750;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101113;
    --bg-elevated: #181b20;
    --bg-soft: #20262d;
    --text: #f5f7fb;
    --muted: #a6b0bd;
    --faint: #75808d;
    --line: rgba(245, 247, 251, 0.12);
    --strong-line: rgba(245, 247, 251, 0.22);
    --blue: #5da0ff;
    --blue-soft: rgba(45, 118, 235, 0.2);
    --red: #ff6b70;
    --red-soft: rgba(239, 79, 84, 0.22);
    --green: #23c39b;
    --green-soft: rgba(10, 155, 122, 0.2);
    --violet: #a78bfa;
    --violet-soft: rgba(124, 85, 216, 0.24);
    --amber: #f0bb4f;
    --amber-soft: rgba(183, 121, 0, 0.24);
    --shadow: 0 28px 86px rgba(0, 0, 0, 0.38);
  }

  .site-header {
    background: color-mix(in srgb, var(--bg) 82%, transparent);
  }

  .store-button img {
    filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.3));
  }

  .tablet-screen,
  .phone-screen,
  .today-ring::before {
    background: #111316;
  }

  .tablet-sidebar {
    background: #191f27;
    border-color: rgba(255, 255, 255, 0.08);
  }

  .sidebar-title,
  .tablet-main,
  .phone-screen {
    color: #f5f7fb;
  }

  .sidebar-item,
  .app-toolbar span:last-child,
  .timeline-row .time,
  .timeline-row p,
  .mini-label {
    color: #a6b0bd;
  }

  .progress-rail {
    background: #2a313a;
  }

  .timeline-row {
    border-top-color: rgba(255, 255, 255, 0.08);
  }

  .phone-status {
    background: #f5f7fb;
  }

  .task {
    background: #191f27;
    border-color: rgba(255, 255, 255, 0.08);
  }

  .task.done span {
    box-shadow: inset 0 0 0 4px #191f27;
  }

}

@media (max-width: 1500px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 54px;
  }

  .hero-art {
    min-height: 620px;
  }

  .tablet-frame {
    left: 72px;
    right: auto;
    width: min(100%, 560px);
  }

  .phone-frame {
    left: 0;
  }

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

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

  .calendar-preview {
    max-width: 480px;
  }

  .screenshot-grid {
    gap: 18px;
  }

  .screenshot-card img {
    width: min(100%, 250px);
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 42px 12px 34px;
  }

  h1 {
    font-size: 3.6rem;
  }

  .hero-logo-title img {
    width: 108px;
    height: 108px;
    border-radius: 24px;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-text {
    font-size: 1.08rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .store-button,
  .secondary-button {
    width: 100%;
  }

  .store-button img {
    width: min(100%, 220px);
  }

  .hero-art {
    min-height: 500px;
    margin-top: 4px;
  }

  .hero-screenshot {
    height: min(62vh, 500px);
    max-width: min(82vw, 260px);
  }

  .tablet-frame {
    left: 46px;
    width: 460px;
    height: 330px;
    transform: rotate(1deg) scale(0.58);
    transform-origin: top left;
  }

  .phone-frame {
    width: 218px;
    height: 438px;
    transform: rotate(-5deg) scale(0.6);
    transform-origin: bottom left;
  }

  .tablet-screen {
    grid-template-columns: 112px 1fr;
  }

  .tablet-sidebar {
    padding: 18px 10px;
  }

  .sidebar-item {
    font-size: 0.72rem;
  }

  .tablet-main {
    padding: 16px;
  }

  .section {
    padding: 66px 12px;
  }

  .section-heading h2,
  .split-copy h2,
  .privacy-band h2,
  .cta-section h2,
  .legal-hero h1 {
    font-size: 2rem;
  }

  .feature-grid,
  .use-case-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-section {
    padding: 0 12px 66px;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .screenshot-card img {
    width: min(100%, 320px);
  }

  .feature-card {
    min-height: 0;
  }

  .split-section,
  .privacy-band {
    padding: 24px;
  }

  .privacy-band {
    display: grid;
  }

  .privacy-band .text-link {
    text-align: center;
  }

  .site-footer {
    align-items: start;
  }

  .legal-main {
    padding: 52px 12px 92px;
  }
}

@media (max-width: 430px) {
  .hero-art {
    min-height: 450px;
  }

  .hero-screenshot {
    height: min(58vh, 450px);
    max-width: min(80vw, 230px);
  }

  .tablet-frame {
    left: 36px;
    transform: rotate(1deg) scale(0.54);
  }

  .phone-frame {
    transform: rotate(-5deg) scale(0.56);
  }
}
