:root {
  color-scheme: light;
  --ink: #0d1117;
  --ink-2: #151b23;
  --ink-3: #212830;
  --paper: #faf8f4;
  --surface: #ffffff;
  --surface-2: #f1eee8;
  --line: #ddd7cc;
  --line-dark: rgba(255, 255, 255, 0.12);
  --muted: #667085;
  --muted-dark: #9da8b6;
  --blue: #3b82f6;
  --cyan: #18b6a6;
  --coral: #f06b4f;
  --amber: #f2b84b;
  --green: #20b26b;
  --danger: #c43d32;
  --shadow-soft: 0 18px 60px rgba(13, 17, 23, 0.14);
  --shadow-hard: 0 30px 120px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  min-height: 100vh;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

svg {
  height: 18px;
  stroke-width: 2.1;
  width: 18px;
}

.hidden {
  display: none !important;
}

.site-shell {
  background: var(--paper);
}

.site-nav {
  align-items: center;
  color: #ffffff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  margin: 0 auto;
  max-width: 1280px;
  padding: 22px clamp(18px, 4vw, 46px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}

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

.brand img {
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.22);
  height: 34px;
  width: 34px;
}

.site-nav nav {
  align-items: center;
  display: flex;
  gap: clamp(14px, 3vw, 30px);
}

.site-nav nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.site-nav .nav-action {
  background: #ffffff;
  border-radius: 999px;
  color: var(--ink);
  min-width: 88px;
  padding: 10px 16px;
  text-align: center;
}

.hero {
  background: var(--ink);
  color: #ffffff;
  min-height: 94vh;
  overflow: hidden;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(13, 17, 23, 0.98) 0%, rgba(13, 17, 23, 0.9) 36%, rgba(13, 17, 23, 0.54) 68%, rgba(13, 17, 23, 0.28) 100%),
    radial-gradient(circle at 18% 24%, rgba(24, 182, 166, 0.18), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(59, 130, 246, 0.16), transparent 30%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-product {
  inset: 0;
  opacity: 0.74;
  position: absolute;
}

.product-chrome {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  bottom: clamp(24px, 7vw, 76px);
  box-shadow: var(--shadow-hard);
  left: max(470px, 42vw);
  min-width: 790px;
  overflow: hidden;
  position: absolute;
  right: clamp(-260px, -7vw, -86px);
  top: clamp(118px, 15vh, 146px);
}

.chrome-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
}

.chrome-row span {
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.chrome-row span:nth-child(1) {
  background: #ff6b5f;
}

.chrome-row span:nth-child(2) {
  background: #ffc45c;
}

.chrome-row span:nth-child(3) {
  background: #42d17d;
}

.chrome-row strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  margin-left: 8px;
}

.chrome-row em {
  color: #72e5d4;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  margin-left: auto;
}

.product-app {
  display: grid;
  grid-template-columns: 186px minmax(420px, 1fr) 270px;
  height: calc(100% - 44px);
}

.product-app aside,
.product-app section {
  min-width: 0;
}

.product-app > aside:first-child {
  background: rgba(0, 0, 0, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 8px;
  padding: 24px 16px;
  place-content: start stretch;
}

.product-app aside b,
.product-app aside span {
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  padding: 12px;
}

.product-app aside b {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.product-app section {
  background: #f8f6f0;
  color: var(--ink);
  display: grid;
  gap: 12px;
  grid-template-rows: auto auto auto auto auto 1fr;
  padding: 26px;
}

.product-header p {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.product-header h2 {
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0 0 4px;
}

.product-add,
.product-task {
  background: #ffffff;
  border: 1px solid #ddd7cc;
  border-radius: 8px;
}

.product-add {
  color: #87909d;
  padding: 16px 18px;
}

.product-task {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 24px 1fr auto;
  min-height: 78px;
  padding: 14px 16px;
}

.product-task.accent {
  border-left: 4px solid var(--coral);
}

.product-task i {
  border: 2px solid #9aa5b1;
  border-radius: 999px;
  height: 23px;
  width: 23px;
}

.product-task strong,
.product-task small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-task small {
  color: #6c7682;
  display: block;
  margin-top: 4px;
}

.product-task time {
  color: #6c7682;
  font-size: 12px;
  font-weight: 850;
}

.product-task.done {
  opacity: 0.58;
}

.inspector {
  background: #ffffff;
  border-left: 1px solid #ddd7cc;
  color: var(--ink);
  padding: 26px 20px;
}

.inspector p,
.inspector span {
  color: #6c7682;
  font-size: 12px;
  font-weight: 900;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.inspector h3 {
  font-size: 24px;
  line-height: 1.05;
  margin: 0 0 28px;
}

.inspector b {
  background: var(--surface-2);
  border-radius: 7px;
  display: block;
  margin: 0 0 24px;
  padding: 12px;
}

.inspector div {
  background: var(--surface-2);
  border-radius: 7px;
  height: 13px;
  margin-bottom: 10px;
}

.inspector div:last-child {
  width: 72%;
}

.hero-content {
  bottom: 11vh;
  left: clamp(18px, 6vw, 76px);
  max-width: 650px;
  position: absolute;
  z-index: 2;
}

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0 0 13px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(50px, 6vw, 84px);
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
  max-width: 680px;
}

.hero-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  margin: 22px 0 0;
  max-width: 560px;
}

.hero-actions,
.editor-actions,
.header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 0 17px;
  text-decoration: none;
}

.button.light {
  background: #ffffff;
  color: var(--ink);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.button.dark {
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(13, 17, 23, 0.16);
  color: #ffffff;
}

.button.danger {
  background: #fff1ef;
  border-color: #efb7ad;
  color: var(--danger);
}

.button.full {
  width: 100%;
}

.workflow {
  margin: 0 auto;
  max-width: 1220px;
  padding: 72px clamp(18px, 4vw, 46px);
}

.section-heading {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.4fr);
  margin-bottom: 22px;
}

.section-heading h2,
.privacy h2,
.login-copy h2 {
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

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

.workflow-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 260px;
  padding: 24px;
}

.workflow-grid article span {
  color: var(--coral);
  display: block;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 58px;
}

.workflow-grid h3 {
  font-size: 27px;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 12px;
}

.workflow-grid p,
.privacy p,
.login-copy p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.privacy {
  align-items: center;
  background: #151b23;
  color: #ffffff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  margin: 0 auto 72px;
  max-width: 1220px;
  padding: 42px clamp(22px, 4vw, 42px);
}

.privacy p {
  color: #b7c2d0;
  max-width: 720px;
}

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

.privacy-list span {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  display: flex;
  gap: 10px;
  font-weight: 820;
  min-height: 46px;
  padding: 0 14px;
}

.login-section {
  align-items: start;
  display: grid;
  gap: clamp(28px, 6vw, 86px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 430px);
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 clamp(18px, 4vw, 46px) 84px;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.auth-tabs {
  background: var(--surface-2);
  border-radius: 9px;
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
  padding: 4px;
}

.auth-tabs button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  min-height: 42px;
}

.auth-tabs button.active {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(13, 17, 23, 0.08);
}

form label {
  color: #344054;
  display: grid;
  font-size: 13px;
  font-weight: 820;
  gap: 7px;
  margin-bottom: 14px;
}

input,
select,
textarea {
  background: #ffffff;
  border: 1px solid #cfd6df;
  border-radius: 8px;
  color: var(--ink);
  min-height: 43px;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.password-rules {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  gap: 4px;
  margin: -4px 0 14px;
}

.password-rules span.met {
  color: var(--green);
}

.link-button {
  background: transparent;
  border: 0;
  color: var(--blue);
  cursor: pointer;
  font-weight: 850;
  margin-top: 12px;
  padding: 0;
}

.form-message {
  color: var(--muted);
  font-size: 13px;
  min-height: 20px;
}

.workspace {
  background: #f4f6f8;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  background: var(--ink);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100vh;
  padding: 20px 16px;
}

.brand.compact {
  color: #ffffff;
  font-size: 18px;
  padding: 2px 2px 18px;
}

.view-nav {
  display: grid;
  gap: 5px;
}

.view-nav button,
.project-list button,
.signout {
  align-items: center;
  border: 0;
  cursor: pointer;
  display: flex;
  font-weight: 820;
  gap: 10px;
}

.view-nav button,
.project-list button {
  background: transparent;
  border-radius: 8px;
  color: #bdc7d4;
  min-height: 40px;
  padding: 0 12px;
  text-align: left;
}

.view-nav button.active,
.project-list button.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.sidebar-section {
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
}

.section-title {
  color: #8390a0;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.project-create {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 40px;
  margin-bottom: 12px;
}

.project-create input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.project-create input::placeholder {
  color: #8390a0;
}

.project-create button {
  align-items: center;
  background: #ffffff;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: center;
}

.project-list {
  display: grid;
  gap: 4px;
}

.project-list .empty-state {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: #8390a0;
  padding: 14px;
}

.signout {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: #ffffff;
  justify-content: center;
  margin-top: auto;
  min-height: 44px;
}

.task-main {
  display: grid;
  gap: 16px;
  grid-template-rows: auto auto auto 1fr;
  min-width: 0;
  padding: clamp(16px, 3vw, 30px);
}

.task-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.task-header h1 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
}

.search-box {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d7dde5;
  border-radius: 9px;
  color: #7a8593;
  display: flex;
  gap: 8px;
  height: 46px;
  margin: 0;
  min-width: min(34vw, 320px);
  padding: 0 12px;
}

.search-box input {
  border: 0;
  box-shadow: none;
  min-height: 0;
  padding: 0;
}

.search-box input:focus {
  box-shadow: none;
}

.quick-add,
.stats-row > div,
.task-editor,
.task-card,
.empty-state {
  background: #ffffff;
  border: 1px solid #d7dde5;
  border-radius: 10px;
}

.quick-add {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, 200px) minmax(140px, 170px) auto;
  padding: 12px;
}

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

.stats-row > div {
  display: grid;
  gap: 2px;
  padding: 15px 16px;
}

.stats-row strong {
  font-size: 28px;
}

.stats-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 830;
}

.task-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(290px, 1fr) minmax(330px, 0.72fr);
  min-height: 0;
}

.task-list {
  display: grid;
  gap: 9px;
  max-height: calc(100vh - 265px);
  overflow: auto;
  padding-right: 4px;
}

.task-card {
  align-items: start;
  border-left: 4px solid transparent;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 78px;
  padding: 14px;
  text-align: left;
}

.task-card.selected {
  border-color: var(--blue);
  border-left-color: var(--blue);
}

.task-card.priority-3 {
  border-left-color: var(--coral);
}

.task-card.done {
  opacity: 0.62;
}

.task-card.done .task-title {
  text-decoration: line-through;
}

.task-check {
  appearance: none;
  border: 2px solid #98a2ad;
  border-radius: 999px;
  height: 23px;
  margin: 2px 0 0;
  padding: 0;
  width: 23px;
}

.task-check:checked {
  background: var(--green);
  border-color: var(--green);
}

.task-title {
  color: var(--ink);
  display: block;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 720;
  gap: 8px;
  margin-top: 7px;
}

.empty-state {
  color: var(--muted);
  padding: 24px;
}

.task-editor {
  align-self: start;
  padding: 18px;
  position: sticky;
  top: 18px;
}

.editor-empty {
  align-items: start;
  color: var(--muted);
  display: grid;
  gap: 8px;
  padding: 34px 12px;
}

.editor-empty strong {
  color: var(--ink);
  font-size: 20px;
}

.editor-empty svg {
  color: var(--blue);
  height: 26px;
  width: 26px;
}

.two-col {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.checkbox-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.checkbox-row input {
  min-height: auto;
  width: auto;
}

.modal {
  align-items: center;
  background: rgba(13, 17, 23, 0.68);
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 20px;
  position: fixed;
  z-index: 20;
}

.modal-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: var(--shadow-hard);
  max-width: 420px;
  padding: 22px;
  width: min(100%, 420px);
}

.modal-card h2 {
  margin: 0 0 8px;
}

.modal-card p {
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1060px) {
  .product-chrome {
    left: 44vw;
    min-width: 760px;
    right: -320px;
  }

  .product-app {
    grid-template-columns: 156px minmax(360px, 1fr) 230px;
  }

  .workflow-grid,
  .privacy,
  .login-section,
  .task-layout {
    grid-template-columns: 1fr;
  }

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

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

  .sidebar {
    min-height: auto;
  }

  .view-nav,
  .project-list {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .project-create {
    max-width: 420px;
  }

  .task-list {
    max-height: none;
  }

  .task-editor {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav nav {
    width: 100%;
  }

  .site-nav nav a:not(.nav-action) {
    display: none;
  }

  .nav-action {
    width: 100%;
  }

  .hero {
    min-height: 844px;
  }

  .hero-content {
    bottom: auto;
    left: 18px;
    right: 18px;
    top: 376px;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 52px);
    line-height: 0.96;
  }

  .hero-product {
    opacity: 0.5;
  }

  .product-chrome {
    bottom: auto;
    height: 252px;
    left: 14px;
    min-width: 0;
    right: 14px;
    top: 110px;
  }

  .product-app {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .product-app > aside:first-child {
    padding: 16px 10px;
  }

  .product-app section {
    gap: 8px;
    padding: 14px;
  }

  .inspector,
  .product-task time {
    display: none;
  }

  .product-task {
    grid-template-columns: 23px minmax(0, 1fr);
    min-height: 56px;
    padding: 10px 12px;
  }

  .product-header h2 {
    font-size: 40px;
  }

  .product-add {
    padding: 10px 12px;
  }

  .workflow,
  .login-section {
    padding-bottom: 56px;
    padding-top: 56px;
  }

  .privacy {
    margin-bottom: 56px;
  }

  .hero-actions,
  .header-actions,
  .editor-actions,
  .task-header {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .search-box {
    min-width: 0;
    width: 100%;
  }

  .quick-add,
  .stats-row,
  .two-col {
    grid-template-columns: 1fr;
  }
}
