:root {
  color-scheme: dark;
  --bg: #101513;
  --panel: #17201c;
  --panel-soft: #eef1e8;
  --text: #f6f3eb;
  --muted: #b7c1ba;
  --ink: #14201c;
  --line: rgba(246, 243, 235, 0.18);
  --teal: #54b8aa;
  --amber: #e9a643;
  --brick: #b8644c;
  --paper: #f5f0e6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(16, 21, 19, 0.72);
  border-bottom: 1px solid rgba(246, 243, 235, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px clamp(18px, 5vw, 72px) 96px;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 21, 19, 0.92), rgba(16, 21, 19, 0.68) 42%, rgba(16, 21, 19, 0.22)),
    linear-gradient(0deg, rgba(16, 21, 19, 0.78), rgba(16, 21, 19, 0.04) 44%);
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.piece-type {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: min(780px, 100%);
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.96;
  font-weight: 760;
  overflow-wrap: break-word;
  hyphens: auto;
}

.lead {
  max-width: min(650px, 100%);
  color: #d9ded7;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  overflow-wrap: break-word;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--paper);
  color: var(--ink);
}

.button.secondary {
  background: rgba(246, 243, 235, 0.08);
  color: var(--text);
}

.section {
  padding: clamp(72px, 10vw, 124px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

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

.section h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.03;
}

.section p {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-band,
.notes-band {
  background: var(--paper);
  color: var(--ink);
}

.intro-band p,
.notes-band p {
  color: #43534c;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.5fr 1fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
}

.intro-grid h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
}

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

.tool-card,
.note-item,
.creative-piece {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tool-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--panel);
}

.tool-index {
  color: var(--teal);
  font-weight: 800;
}

.tool-card h3,
.note-item h3,
.creative-piece h3 {
  margin: 24px 0 12px;
  font-size: 1.28rem;
}

.tool-card p,
.creative-piece p {
  color: var(--muted);
}

.status {
  margin-top: auto;
  color: var(--amber);
  font-size: 0.92rem;
  font-weight: 700;
}

.notes-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
}

.note-list {
  display: grid;
  gap: 14px;
}

.note-item {
  padding: 22px;
  background: #ffffff;
  color: var(--ink);
}

.note-item time {
  color: var(--brick);
  font-size: 0.9rem;
  font-weight: 700;
}

.note-item h3 {
  margin-top: 10px;
}

.creative-board {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 14px;
}

.creative-piece {
  min-height: 230px;
  padding: 24px;
  background: #18221f;
}

.feature-piece {
  grid-row: span 3;
  min-height: 474px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(0deg, rgba(16, 21, 19, 0.92), rgba(16, 21, 19, 0.32)),
    url("assets/hero-workspace.png") center / cover;
}

.feature-piece h3 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.now-band {
  background: #26312b;
}

.now-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
}

.now-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.now-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: #e8ece5;
  font-size: 1.1rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer a {
  color: var(--text);
  text-decoration: none;
}

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

  .hero {
    min-height: 88vh;
    padding-top: 112px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 21, 19, 0.94), rgba(16, 21, 19, 0.72)),
      linear-gradient(0deg, rgba(16, 21, 19, 0.82), rgba(16, 21, 19, 0.12));
  }

  .intro-grid,
  .notes-layout,
  .now-layout,
  .creative-board {
    grid-template-columns: 1fr;
  }

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

  .feature-piece {
    grid-row: auto;
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .hero-content {
    max-width: min(340px, calc(100vw - 48px));
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 2.75rem);
    line-height: 1;
    max-width: min(340px, calc(100vw - 48px));
  }

  .lead {
    font-size: 1rem;
    max-width: min(330px, calc(100vw - 48px));
  }

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

  .tool-card {
    min-height: 220px;
  }

  .footer {
    flex-direction: column;
  }
}
