:root {
  --black: #000000;
  --near-black: #262626;
  --darkest: #090909;
  --white: #ffffff;
  --snow: #fafafa;
  --light-gray: #e5e5e5;
  --border-light: #d4d4d4;
  --stone: #737373;
  --mid-gray: #525252;
  --silver: #a3a3a3;
  --button-text-dark: #404040;
  --focus-ring: rgba(59, 130, 246, 0.5);
  --display-font: "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono-font: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  gap: 24px;
}

.brand,
.nav-menu,
.search-pill,
.hero-actions,
.tag-row,
.panel-header,
.tab-pills,
.site-footer,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.brand-icon {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 9px;
}

.nav-menu {
  gap: 24px;
  color: var(--black);
  font-size: 16px;
  font-weight: 400;
}

.nav-menu a:not(.button):hover,
.site-footer a:hover {
  color: var(--mid-gray);
}

.text-link {
  color: var(--black);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--black);
  background: transparent;
  border: 0;
  border-radius: 9999px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.search-pill {
  width: 230px;
  min-height: 44px;
  gap: 10px;
  padding: 0 16px;
  color: var(--silver);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 9999px;
}

.search-pill svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-pill input {
  width: 100%;
  min-width: 0;
  color: var(--near-black);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-pill input::placeholder {
  color: var(--silver);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.button-black {
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);
}

.button-gray {
  color: var(--near-black);
  background: var(--light-gray);
  border: 1px solid var(--light-gray);
}

.button-white {
  color: var(--button-text-dark);
  background: var(--white);
  border: 1px solid var(--border-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.hero,
.feature,
.integrations,
.download,
.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  justify-items: center;
  padding: 88px 0 112px;
  text-align: center;
}

.hero-mark {
  width: 132px;
  height: 132px;
  margin-bottom: 40px;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 28px;
}

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

h1,
h2 {
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: normal;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 48px;
  line-height: 1;
}

.hero p {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--stone);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.56;
}

.hero-actions {
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  align-items: center;
  gap: 64px;
  padding: 112px 0;
}

.feature-reverse .feature-copy {
  order: 2;
}

.feature-reverse .panel {
  order: 1;
}

.kicker {
  margin-bottom: 16px;
  color: var(--silver);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
}

.feature-copy h2,
.integrations h2,
.download h2 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: 36px;
  line-height: 1.11;
}

.feature-copy p,
.integrations > p:not(.kicker),
.download p {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--stone);
  font-size: 18px;
  line-height: 1.56;
}

.tag-row {
  flex-wrap: wrap;
  gap: 10px;
}

.tag-row span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 14px;
  color: var(--near-black);
  background: var(--light-gray);
  border-radius: 9999px;
  font-size: 14px;
  line-height: 1.43;
}

.panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
}

.panel-header {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--silver);
  font-family: var(--mono-font);
  font-size: 12px;
  line-height: 1.63;
}

.copy-button,
.tab-pills button {
  min-height: 34px;
  padding: 6px 14px;
  color: var(--button-text-dark);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  cursor: pointer;
}

pre {
  margin: 0;
  overflow-x: auto;
  color: var(--near-black);
  font-family: var(--mono-font);
  font-size: 16px;
  line-height: 1.5;
}

.reminder-panel {
  background: var(--snow);
}

.tab-pills {
  gap: 8px;
  margin-bottom: 24px;
  padding: 4px;
  border: 1px solid var(--light-gray);
  border-radius: 9999px;
}

.tab-pills button {
  border-color: transparent;
  background: transparent;
}

.tab-pills .is-active {
  color: var(--near-black);
  background: var(--light-gray);
}

.reminder-list {
  display: grid;
  gap: 12px;
}

.reminder-list article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
}

.reminder-list span,
.workflow-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--silver);
  font-size: 12px;
  line-height: 1.33;
}

.reminder-list strong,
.workflow-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--near-black);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.33;
}

.reminder-list small {
  color: var(--stone);
  font-size: 14px;
  line-height: 1.43;
}

.app-preview {
  --app-surface: #f6f6fb;
  --app-surface-container: #e7e8ee;
  --app-surface-low: #f0f1f6;
  --app-surface-lowest: #ffffff;
  --app-surface-variant: #d7dce5;
  --app-primary: #005da5;
  --app-primary-light: #58a6ff;
  --app-text: #2d2f33;
  --app-muted: #5e6470;
  --app-outline: #aeb6c2;
  --app-positive: #2f855a;
  --app-shadow: rgba(45, 47, 51, 0.06) 0 12px 24px;
  min-width: 0;
  padding: 18px;
  color: var(--app-text);
  background: var(--app-surface);
  border: 1px solid var(--light-gray);
  border-radius: 24px;
  box-shadow: var(--app-shadow);
}

.app-list-preview,
.app-reminder-preview {
  align-self: center;
}

.app-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.app-preview-caption {
  display: block;
  margin-bottom: 3px;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.app-preview-header strong {
  display: block;
  font-family: var(--display-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.app-icon-button,
.app-bookmark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--app-text);
  background: var(--app-surface-variant);
  border: 0;
  border-radius: 9999px;
  cursor: pointer;
}

.app-icon-button.is-active,
.app-bookmark.is-followed {
  color: var(--white);
  background: var(--app-primary);
}

.app-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin-bottom: 16px;
  padding: 0 16px;
  color: var(--app-muted);
  background: var(--app-surface-low);
  border-radius: 24px;
}

.app-search-field span {
  font-size: 19px;
  line-height: 1;
}

.app-search-field input {
  width: 100%;
  min-width: 0;
  color: var(--app-text);
  background: transparent;
  border: 0;
  outline: 0;
}

.app-search-field input::placeholder {
  color: var(--app-muted);
}

.app-filter-card,
.app-conference-card,
.app-detail-card,
.app-reminder-card,
.app-milestone-card,
.app-empty-state {
  padding: 20px;
  background: var(--app-surface-lowest);
  border-radius: 24px;
  box-shadow: var(--app-shadow);
}

.app-filter-card {
  margin-bottom: 14px;
  background: var(--app-surface-container);
}

.app-filter-card > strong,
.app-reminder-card > h3,
.app-milestone-card > h3 {
  display: block;
  margin: 0 0 14px;
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.app-chip-row,
.app-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-chip-row + .app-chip-row {
  margin-top: 10px;
}

.app-chip {
  min-height: 38px;
  padding: 9px 16px;
  color: var(--app-text);
  background: var(--app-surface-variant);
  border: 0;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}

.app-chip.is-selected {
  color: var(--white);
  background: var(--app-primary);
}

.app-sync-banner,
.app-next-reminder {
  margin-bottom: 14px;
  padding: 10px 16px;
  color: var(--app-text);
  background: var(--app-surface-container);
  border-radius: 18px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.33;
}

.app-card-stack {
  display: grid;
  gap: 16px;
  max-height: 560px;
  overflow: auto;
  padding-right: 2px;
}

.app-conference-card[hidden] {
  display: none;
}

.app-card-title-row,
.app-deadline-row,
.app-status-row,
.app-milestone-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.app-conference-card h3,
.app-detail-card h3 {
  margin: 0 0 6px;
  color: var(--app-text);
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
}

.app-conference-card p,
.app-detail-card p,
.app-reminder-card p {
  margin: 0;
  color: var(--app-muted);
  font-size: 14px;
  line-height: 1.43;
}

.app-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  color: var(--app-muted);
  font-size: 13px;
  font-weight: 500;
}

.app-deadline-row {
  align-items: flex-end;
  margin-bottom: 12px;
}

.app-deadline-row span {
  display: block;
  margin-bottom: 5px;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 500;
}

.app-deadline-row strong {
  color: var(--app-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.app-deadline-row em {
  flex: 0 0 auto;
  color: var(--app-primary);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.app-event-date {
  margin-bottom: 14px !important;
  font-size: 12px !important;
}

.app-card-note {
  margin-top: 12px;
  color: var(--app-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.33;
  text-align: center;
}

.app-status-row {
  align-items: center;
}

.app-status-row span,
.app-status-row small,
.app-level-badge,
.app-milestone-row em {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  color: var(--app-text);
  background: var(--app-surface-variant);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.app-status-row small {
  color: var(--app-primary);
}

.app-empty-state {
  margin-top: 16px;
  background: var(--app-surface-container);
}

.app-empty-state strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display-font);
  font-size: 20px;
  line-height: 1.2;
}

.app-empty-state p {
  margin: 0;
  color: var(--app-muted);
  font-size: 14px;
  line-height: 1.43;
}

.app-reminder-card {
  margin: 0;
}

.app-detail-summary {
  margin-top: 16px !important;
  color: var(--app-text) !important;
}

.app-reminder-card p {
  margin-bottom: 14px;
  font-size: 12px;
}

.app-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.app-next-reminder {
  margin: 0;
  color: var(--app-primary);
  background: transparent;
  padding: 0;
}

.app-milestone-row {
  padding: 16px;
  background: var(--app-surface-low);
  border-radius: 18px;
}

.app-milestone-row strong,
.app-milestone-row span,
.app-milestone-row small {
  display: block;
}

.app-milestone-row strong {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.app-milestone-row span {
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.43;
}

.app-milestone-row small {
  color: var(--app-muted);
  font-size: 12px;
  line-height: 1.33;
}

.app-milestone-row em {
  color: var(--app-positive);
  font-style: normal;
}

.integrations {
  padding: 112px 0;
  text-align: center;
}

.integrations h2,
.integrations > p:not(.kicker) {
  margin-right: auto;
  margin-left: auto;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
  text-align: left;
}

.workflow-grid article {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
}

.workflow-grid p {
  margin: 0;
  color: var(--stone);
  font-size: 14px;
  line-height: 1.43;
}

.download {
  display: grid;
  justify-items: center;
  padding: 112px 0;
  text-align: center;
}

.download h2 {
  margin-right: auto;
  margin-left: auto;
}

.download p {
  margin-right: auto;
  margin-left: auto;
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0;
  color: var(--stone);
  border-top: 1px solid var(--light-gray);
  font-size: 14px;
  line-height: 1.43;
}

.site-footer .brand {
  color: var(--black);
}

.site-footer nav {
  gap: 24px;
}

@media (max-width: 1024px) {
  .site-nav,
  .hero,
  .feature,
  .integrations,
  .download,
  .site-footer {
    width: min(100% - 40px, 960px);
  }

  .nav-menu {
    gap: 18px;
  }

  .search-pill {
    width: 190px;
  }

  .feature {
    gap: 48px;
  }

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

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

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 64px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
  }

  .site-header.is-open .nav-menu {
    display: flex;
  }

  .nav-menu a:not(.button) {
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .search-pill {
    width: 100%;
  }

  .feature,
  .feature-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-reverse .feature-copy,
  .feature-reverse .panel {
    order: initial;
  }
}

@media (max-width: 640px) {
  .site-nav,
  .hero,
  .feature,
  .integrations,
  .download,
  .site-footer {
    width: min(100% - 32px, 560px);
  }

  .hero {
    padding: 72px 0 88px;
  }

  .hero-mark {
    width: 104px;
    height: 104px;
    margin-bottom: 32px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.05;
  }

  .feature-copy h2,
  .integrations h2,
  .download h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .hero p,
  .feature-copy p,
  .integrations > p:not(.kicker),
  .download p {
    font-size: 16px;
    line-height: 1.5;
  }

  .feature,
  .integrations,
  .download {
    padding: 88px 0;
  }

  .panel {
    padding: 20px;
  }

  pre {
    font-size: 14px;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
