:root {
  color-scheme: dark;
  --bg: #070c14;
  --panel: #0d1724;
  --panel-2: #111d2c;
  --ink: #f5fbff;
  --muted: #91a4b7;
  --line: #223346;
  --mint: #8fd8c8;
  --green: #37d99e;
  --gold: #ffd15f;
  --coral: #ff7f55;
  --blue: #64b5ff;
  --violet: #8b7cff;
  --shadow: 0 34px 110px rgb(0 0 0 / 42%);
  --glow: 0 0 46px rgb(55 217 158 / 24%);
  --font-main: "Nunito", "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --scribble:
    "Segoe Print", "Bradley Hand ITC", "Comic Sans MS", "Marker Felt", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 18%, rgb(55 217 158 / 20%), transparent 30%),
    radial-gradient(circle at 86% 14%, rgb(139 124 255 / 22%), transparent 28%),
    radial-gradient(circle at 68% 76%, rgb(255 127 85 / 12%), transparent 30%),
    var(--bg);
  font-family: var(--font-main);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 70%), transparent 82%);
  content: "";
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 72px;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgb(7 12 20 / 78%);
  border-bottom: 1px solid rgb(143 216 200 / 14%);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 850;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgb(143 216 200 / 32%));
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--ink);
  outline: 0;
}

.header-action,
.primary-action,
.secondary-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 850;
}

.header-action,
.primary-action {
  color: #04130f;
  background: var(--mint);
  border: 1px solid rgb(255 255 255 / 18%);
  box-shadow: 0 16px 34px rgb(143 216 200 / 18%);
}

.header-action {
  padding: 0 15px;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(390px, 0.78fr) minmax(640px, 1.12fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  padding: 112px clamp(18px, 5vw, 72px) 58px;
  overflow: hidden;
}

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

.eyebrow {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 5.4vw, 6.4rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.4vw, 4.6rem);
  font-weight: 860;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.lede {
  max-width: 640px;
  margin-bottom: 0;
  color: #b9c7d5;
  font-size: clamp(1.1rem, 1.45vw, 1.28rem);
  line-height: 1.58;
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  padding: 0 18px;
}

.secondary-action {
  color: var(--ink);
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 14%);
}

.header-action:hover,
.header-action:focus-visible,
.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
  outline: 0;
  transform: translateY(-1px);
}

.product-shell {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #101b2a, #0b121e);
  border: 1px solid rgb(143 216 200 / 22%);
  border-radius: 18px;
  box-shadow: var(--shadow), var(--glow);
}

.product-shell::before {
  position: absolute;
  inset: -32% -18% auto auto;
  width: 360px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgb(139 124 255 / 36%), transparent 68%);
  content: "";
}

.shell-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 62px;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  background: rgb(5 13 22 / 92%);
  border-bottom: 1px solid var(--line);
}

.shell-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  font-weight: 850;
}

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

.shell-tabs {
  display: flex;
  gap: 8px;
}

.shell-tabs span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  color: #b8c7d6;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
}

.shell-tabs .active {
  color: #06140f;
  background: var(--green);
}

.workspace-preview {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 250px minmax(360px, 1fr);
  grid-template-rows: minmax(330px, 1fr) auto;
  gap: 16px;
  min-height: 642px;
  padding: 18px;
}

.capture-panel,
.mind-map,
.kanban-preview {
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgb(0 0 0 / 18%);
}

.capture-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.panel-label {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.capture-panel h2 {
  font-size: 1.56rem;
  font-family: var(--scribble);
  font-weight: 700;
  line-height: 1.08;
}

.capture-panel p {
  color: var(--muted);
  line-height: 1.56;
}

.capture-panel button {
  width: max-content;
  min-height: 40px;
  padding: 0 13px;
  color: #06140f;
  background: var(--gold);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
}

.mind-map {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  background:
    linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px),
    rgb(9 19 31 / 92%);
  background-size: 34px 34px, 34px 34px, auto;
}

.mind-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mind-map path {
  fill: none;
  stroke: rgb(100 181 255 / 72%);
  stroke-linecap: round;
  stroke-width: 5;
  filter: drop-shadow(0 0 12px rgb(100 181 255 / 42%));
}

.map-node {
  position: absolute;
  min-height: 40px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: #06140f;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgb(0 0 0 / 28%);
  font-family: var(--scribble);
  font-size: 0.86rem;
  font-weight: 700;
}

.mind-map .node-icon {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  color: var(--violet);
  font-size: 1rem;
  line-height: 1;
}

.map-node.core {
  left: 50%;
  top: 50%;
  color: #04130f;
  background: var(--mint);
  border: 1px solid rgb(255 255 255 / 18%);
  box-shadow: 0 14px 30px rgb(0 0 0 / 24%);
  transform: translate(-50%, -50%);
}

.node-a {
  left: 7%;
  top: 13%;
  background: var(--gold);
}

.node-b {
  right: 7%;
  top: 14%;
  background: var(--mint);
}

.node-c {
  left: 8%;
  bottom: 12%;
  color: #ffffff;
  background: var(--violet);
}

.node-d {
  right: 8%;
  bottom: 12%;
  background: var(--coral);
}

.node-e {
  left: 50%;
  top: 7%;
  background: var(--blue);
  transform: translateX(-50%);
}

.kanban-preview {
  grid-column: 1 / -1;
  padding: 16px;
}

.board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.board-heading strong {
  color: #c4d2de;
  font-size: 0.9rem;
}

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

.columns article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 148px;
  padding: 13px;
  background: rgb(5 13 22 / 52%);
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 10px;
}

.columns small {
  color: var(--green);
  font-weight: 950;
}

.columns b {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 11px 12px;
  color: #11211c;
  background: #f8da70;
  border: 0;
  border-radius: 4px;
  box-shadow:
    0 8px 18px rgb(0 0 0 / 18%),
    inset 0 -10px 16px rgb(125 92 16 / 6%);
  font-family: var(--scribble);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.28;
  transform: rotate(-0.4deg);
  transform-origin: 50% 50%;
}

.columns article:nth-child(2) b {
  background: #9be1d0;
}

.columns article:nth-child(3) b {
  background: #ffa988;
}

.columns b:nth-of-type(2) {
  transform: rotate(0.35deg);
}

.workflow,
.why,
.waitlist {
  padding: clamp(70px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.workflow {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(360px, 0.62fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  background: linear-gradient(180deg, rgb(13 23 36 / 82%), rgb(7 12 20 / 96%));
  border-top: 1px solid rgb(143 216 200 / 14%);
}

.section-heading {
  margin-bottom: 0;
}

.flow-grid {
  position: relative;
  width: min(560px, 100%);
  height: 360px;
  justify-self: center;
  outline: 0;
}

.flow-grid article {
  position: absolute;
  inset: 0;
  min-height: 250px;
  width: min(350px, 84%);
  padding: 34px 24px 24px;
  color: #13231f;
  background: #f8da70;
  border: 0;
  border-radius: 5px;
  box-shadow:
    0 14px 34px rgb(0 0 0 / 20%),
    inset 0 -18px 24px rgb(125 92 16 / 7%);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

.flow-grid article::before {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 74px;
  height: 16px;
  background: rgb(255 255 255 / 30%);
  border-radius: 2px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 9%);
  transform: translateX(-50%) rotate(0.4deg);
  content: "";
}

.flow-grid article:nth-child(2) {
  z-index: 2;
  background: #9be1d0;
  transform: rotate(2deg) translate(34px, 28px);
}

.flow-grid article:nth-child(3) {
  z-index: 1;
  background: #ffa988;
  transform: rotate(-3deg) translate(68px, 56px);
}

.flow-grid article:nth-child(1) {
  z-index: 3;
  transform: rotate(-1deg) translate(0, 0);
}

.flow-grid:hover article,
.flow-grid:focus article,
.flow-grid:focus-visible article {
  box-shadow:
    0 18px 42px rgb(0 0 0 / 24%),
    inset 0 -18px 24px rgb(125 92 16 / 7%);
}

.flow-grid:hover article:nth-child(1),
.flow-grid:focus article:nth-child(1),
.flow-grid:focus-visible article:nth-child(1) {
  transform: rotate(-5deg) translate(-96px, -18px);
}

.flow-grid:hover article:nth-child(2),
.flow-grid:focus article:nth-child(2),
.flow-grid:focus-visible article:nth-child(2) {
  transform: rotate(1deg) translate(68px, 30px);
}

.flow-grid:hover article:nth-child(3),
.flow-grid:focus article:nth-child(3),
.flow-grid:focus-visible article:nth-child(3) {
  transform: rotate(6deg) translate(220px, 70px);
}

.flow-grid article:hover,
.flow-grid article:focus-within {
  z-index: 6;
  box-shadow:
    0 24px 54px rgb(0 0 0 / 30%),
    inset 0 -18px 24px rgb(125 92 16 / 7%);
}

.flow-grid:hover article:nth-child(1):hover,
.flow-grid:focus article:nth-child(1):hover,
.flow-grid:focus-visible article:nth-child(1):hover {
  transform: rotate(-2deg) translate(-76px, -30px) scale(1.04);
}

.flow-grid:hover article:nth-child(2):hover,
.flow-grid:focus article:nth-child(2):hover,
.flow-grid:focus-visible article:nth-child(2):hover {
  transform: rotate(0deg) translate(70px, 10px) scale(1.04);
}

.flow-grid:hover article:nth-child(3):hover,
.flow-grid:focus article:nth-child(3):hover,
.flow-grid:focus-visible article:nth-child(3):hover {
  transform: rotate(3deg) translate(190px, 42px) scale(1.04);
}

.flow-grid span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 10px;
  color: #06140f;
  background: rgb(255 255 255 / 44%);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 950;
}

.flow-grid p,
.why p {
  color: var(--muted);
  line-height: 1.62;
}

.flow-grid h3 {
  font-family: var(--scribble);
  font-size: 1.32rem;
  font-weight: 700;
}

.flow-grid p {
  color: #33443e;
}

.why {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 6vw, 80px);
  align-items: start;
  background: var(--bg);
  border-top: 1px solid rgb(143 216 200 / 12%);
}

.why p {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(320px, 0.64fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgb(139 124 255 / 18%), transparent 28%),
    linear-gradient(180deg, rgb(7 12 20 / 92%), rgb(13 23 36 / 88%));
  border-top: 1px solid rgb(143 216 200 / 12%);
}

.waitlist-copy p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.62;
}

.waitlist-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgb(0 0 0 / 26%);
}

.waitlist-form label {
  display: grid;
  gap: 8px;
}

.waitlist-form label span {
  color: #d8e7f2;
  font-size: 0.9rem;
  font-weight: 800;
}

.waitlist-form input,
.waitlist-form textarea {
  width: 100%;
  color: var(--ink);
  background: rgb(5 13 22 / 76%);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 8px;
  font: inherit;
  outline: 0;
}

#waitlist-email {
  scroll-margin-top: 120px;
}

.waitlist-form input {
  min-height: 48px;
  padding: 0 13px;
}

.waitlist-form textarea {
  min-height: 104px;
  padding: 12px 13px;
  resize: vertical;
}

.waitlist-form input:focus,
.waitlist-form textarea:focus {
  border-color: rgb(143 216 200 / 66%);
  box-shadow: 0 0 0 4px rgb(143 216 200 / 12%);
}

.waitlist-form button {
  min-height: 48px;
  color: #04130f;
  background: var(--mint);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgb(143 216 200 / 18%);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.form-status {
  min-height: 1.5em;
  margin-bottom: 0;
  color: var(--mint);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #050912;
  border-top: 1px solid rgb(143 216 200 / 12%);
}

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

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header nav {
    display: none;
  }

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

  .kanban-preview {
    grid-column: auto;
  }

  .mind-map {
    min-height: 430px;
  }

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

  .flow-grid {
    justify-self: start;
    width: min(560px, calc(100vw - 56px));
  }
}

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

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.05rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .hero-actions a {
    flex: 1 1 230px;
  }

  .shell-bar,
  .board-heading {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .shell-tabs {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
  }

  .workspace-preview {
    min-height: auto;
    padding: 12px;
  }

  .mind-map {
    min-height: 360px;
  }

  .map-node {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 0.76rem;
  }

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

  .flow-grid {
    height: 430px;
  }

  .flow-grid article {
    width: min(310px, 86%);
  }

  .flow-grid article:nth-child(2) {
    transform: rotate(2deg) translate(22px, 32px);
  }

  .flow-grid article:nth-child(3) {
    transform: rotate(-3deg) translate(42px, 64px);
  }

  .flow-grid:hover article:nth-child(1),
  .flow-grid:focus article:nth-child(1),
  .flow-grid:focus-visible article:nth-child(1) {
    transform: rotate(-4deg) translate(-6px, -14px);
  }

  .flow-grid:hover article:nth-child(2),
  .flow-grid:focus article:nth-child(2),
  .flow-grid:focus-visible article:nth-child(2) {
    transform: rotate(1deg) translate(18px, 92px);
  }

  .flow-grid:hover article:nth-child(3),
  .flow-grid:focus article:nth-child(3),
  .flow-grid:focus-visible article:nth-child(3) {
    transform: rotate(4deg) translate(34px, 198px);
  }

  .flow-grid:hover article:nth-child(1):hover,
  .flow-grid:focus article:nth-child(1):hover,
  .flow-grid:focus-visible article:nth-child(1):hover {
    transform: rotate(-2deg) translate(-4px, -18px) scale(1.02);
  }

  .flow-grid:hover article:nth-child(2):hover,
  .flow-grid:focus article:nth-child(2):hover,
  .flow-grid:focus-visible article:nth-child(2):hover {
    transform: rotate(0deg) translate(16px, 76px) scale(1.02);
  }

  .flow-grid:hover article:nth-child(3):hover,
  .flow-grid:focus article:nth-child(3):hover,
  .flow-grid:focus-visible article:nth-child(3):hover {
    transform: rotate(2deg) translate(30px, 168px) scale(1.02);
  }

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