:root {
  --paper: #f4f0e8;
  --ink: #16130d;
  --muted: rgba(22, 19, 13, 0.58);
  --soft: rgba(22, 19, 13, 0.1);
  --accent: #ff3b14;
  --panel: #fffdf8;
  --cream: #f4f0e8;
  --shadow: 4px 4px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 16px 40px;
  background: var(--ink);
  color: var(--cream);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
}

.brand span,
.brand strong,
h1,
.number,
.hero-score strong,
.hero-time strong,
.plan-preview aside strong {
  font-family: Impact, "Arial Black", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand span,
.brand strong {
  font-size: 30px;
  line-height: 1;
}

.brand strong {
  color: var(--accent);
}

.brand em {
  margin-left: 8px;
  color: rgba(244, 240, 232, 0.56);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(244, 240, 232, 0.08);
}

.tabs button,
.console-link {
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  background: transparent;
  color: rgba(244, 240, 232, 0.66);
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.tabs button.active {
  background: var(--accent);
  color: var(--ink);
}

.console-link {
  border: 2px solid rgba(244, 240, 232, 0.28);
}

.console-link:hover,
.tabs button:hover {
  color: var(--cream);
}

.tabs button.active:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: 44px 40px 56px;
}

.hero-shadow {
  position: absolute;
  right: -34px;
  top: -74px;
  color: rgba(244, 240, 232, 0.045);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 340px;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 40px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin-top: 6px;
  font-size: 96px;
  line-height: 0.92;
}

.hero-copy p:not(.eyebrow) {
  max-width: 500px;
  margin-top: 16px;
  color: rgba(244, 240, 232, 0.72);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.hero-score > span,
.hero-time > span {
  display: block;
  margin-bottom: 4px;
  color: rgba(244, 240, 232, 0.55);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-score strong {
  display: flex;
  align-items: baseline;
  color: var(--accent);
  font-size: 128px;
  line-height: 0.85;
}

.hero-score strong span {
  display: inline;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

.hero-score small {
  color: rgba(244, 240, 232, 0.45);
  font-size: 56px;
}

.hero-time {
  padding-bottom: 14px;
}

.hero-time strong {
  display: block;
  font-size: 40px;
  line-height: 1;
}

.hero-time p {
  margin-top: 3px;
  color: rgba(244, 240, 232, 0.55);
  font-size: 13px;
  font-weight: 700;
}

.meter {
  position: relative;
  display: flex;
  gap: 6px;
  margin-top: 36px;
}

.meter span {
  flex: 1;
  height: 12px;
  border-radius: 3px;
  background: rgba(244, 240, 232, 0.12);
}

.meter span.done {
  background: var(--accent);
}

.shell {
  display: grid;
  gap: 22px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 36px 40px 64px;
}

.screen {
  display: none;
}

.screen.active {
  display: grid;
  gap: 22px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head h2,
.plan-preview h2 {
  margin-top: 7px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 2px solid var(--ink);
  border-radius: 2px;
}

.legend span:first-child i {
  border: 0;
  background: var(--accent);
}

.board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px;
}

.goal {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
}

.goal.complete {
  box-shadow: 6px 6px 0 var(--accent);
}

.board-empty {
  grid-column: 1 / -1;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
}

.board-empty h3 {
  margin-top: 7px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.board-empty p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.board-empty button {
  margin-top: 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--accent);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 14px;
  text-transform: uppercase;
}

.goal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.number {
  color: var(--ink);
  font-size: 62px;
  line-height: 0.8;
}

.complete .number {
  color: var(--accent);
}

.category {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product { background: #2563eb; }
.media { background: #db2777; }
.systems { background: #0d9488; }
.ai { background: #9333ea; }
.data { background: #0891b2; }
.ops { background: #ca8a04; }
.content { background: #e11d48; }
.learning { background: #4f46e5; }
.creative { background: #f97316; }
.personal { background: #16a34a; }

.goal h3 {
  margin-bottom: 16px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.15;
}

.goal ul {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.goal li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}

.goal li button {
  display: block;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  padding: 0;
  text-align: left;
}

.goal li::before {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border: 2px solid rgba(22, 19, 13, 0.28);
  border-radius: 5px;
  content: "";
}

.goal li.checked {
  color: rgba(22, 19, 13, 0.45);
  text-decoration: line-through;
}

.goal li.checked::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 5px var(--accent);
}

.goal footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  border-top: 1px solid var(--soft);
  padding-top: 13px;
}

.goal footer span {
  color: rgba(22, 19, 13, 0.5);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.complete footer span {
  color: var(--accent);
}

.goal footer strong {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 18px;
  letter-spacing: 0.03em;
}

.plan-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: var(--cream);
  padding: 28px;
}

.plan-hero h2,
.composer h2,
.slots-head h2,
.parking-head h2 {
  margin-top: 7px;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.plan-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 10px;
  color: rgba(244, 240, 232, 0.68);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.plan-hero aside {
  min-width: 170px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 4px 4px 0 rgba(244, 240, 232, 0.25);
  color: var(--ink);
  padding: 18px;
  text-align: center;
}

.plan-hero aside strong {
  display: block;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 74px;
  line-height: 0.9;
}

.plan-hero aside span,
.slots-head strong,
.form-note {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 26px;
  align-items: start;
}

.composer,
.slots-panel,
.idea {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.composer {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.composer-head,
.slots-head,
.parking-head,
.idea-top,
.idea-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.composer-head h2,
.slots-head h2,
.parking-head h2 {
  margin: 0;
  font-size: 24px;
}

.composer label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.composer input,
.composer select,
.composer textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  letter-spacing: 0;
  padding: 12px 13px;
}

.composer textarea {
  min-height: 118px;
  resize: vertical;
}

.composer button,
.parking-head button,
.idea-actions button,
.slot button {
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--accent);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 9px 13px;
  text-transform: uppercase;
}

.composer button:hover,
.parking-head button:hover,
.idea-actions button:hover,
.slot button:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.form-note {
  color: var(--muted);
  letter-spacing: 0.08em;
}

.slots-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.slots-head {
  margin-bottom: 16px;
}

.slots-head strong {
  color: var(--accent);
}

.slot-list {
  display: grid;
  gap: 8px;
}

.slot {
  display: grid;
  grid-template-columns: 36px 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  background: var(--paper);
  padding: 10px 12px;
}

.slot.empty {
  grid-template-columns: 36px minmax(0, 1fr);
  border: 1.5px dashed rgba(22, 19, 13, 0.3);
  background: transparent;
  color: rgba(22, 19, 13, 0.45);
}

.slot span {
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 26px;
  line-height: 1;
}

.slot i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.slot strong {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot button {
  box-shadow: none;
  font-size: 11px;
  padding: 5px 8px;
}

.parking-head {
  margin-top: 10px;
}

.parking-lot {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.idea {
  display: grid;
  gap: 13px;
  padding: 18px;
}

.idea-top strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.idea h3 {
  font-size: 19px;
  line-height: 1.18;
}

.idea ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.idea-actions {
  justify-content: flex-start;
}

.idea-actions .ghost {
  background: transparent;
}

.empty-card {
  color: var(--muted);
}

.plan-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 24px;
}

.plan-preview p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.plan-preview aside {
  min-width: 150px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 18px;
  text-align: center;
}

.plan-preview aside strong {
  display: block;
  font-size: 68px;
  line-height: 0.9;
}

.plan-preview aside span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .topbar,
  .hero-content,
  .section-head,
  .plan-preview,
  .plan-hero,
  .plan-grid {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .topbar,
  .section-head {
    flex-direction: column;
  }

  .hero-score strong {
    font-size: 88px;
  }

  h1 {
    font-size: 72px;
  }

  .slots-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .topbar,
  .hero,
  .shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand em,
  .console-link {
    display: none;
  }

  h1 {
    font-size: 54px;
  }

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