:root {
  --bg-main: #f7f4ee;
  --bg-card: #ffffff;
  --bg-muted: #efeae1;
  --text-main: #171717;
  --text-muted: #66615a;
  --text-soft: #8a8378;
  --border: #e3ddd2;
  --dark: #171717;
  --dark-text: #f7f4ee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: Inter, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.nm-container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.nm-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 238, 0.82);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.nm-header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-right: 8px;
  flex: 0 0 auto;
}

.brand span {
  font-size: 16px;
  font-weight: 700;
}

.brand small {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 11px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav a {
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav a:hover {
  background: rgba(128, 128, 128, 0.08);
  color: var(--text-main);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 14px 22px;
  color: var(--text-main);
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.btn-primary:hover {
  background: #2a2a2a;
}

.btn-secondary:hover,
.btn-outline:hover {
  background: var(--bg-card);
}

.header-btn {
  padding: 11px 18px;
  font-size: 14px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--text-main);
}

.hero {
  padding: 104px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 72px;
}

.badge {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  color: var(--text-main);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.lead {
  margin: 24px 0 0;
  color: var(--text-main);
  font-size: 21px;
  font-weight: 550;
  line-height: 1.3;
}

.sublead {
  max-width: 500px;
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

.launch-panel {
  max-width: 590px;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(23, 23, 23, 0.08);
}

.launch-kicker,
.eyebrow,
.card-top span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-panel h2 {
  margin: 8px 0 4px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.launch-panel p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.countdown div {
  min-width: 0;
  padding: 14px 10px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-muted);
  text-align: center;
}

.countdown strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.countdown span {
  display: block;
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
}

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

.hero-card,
.solution-card,
.direction-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.hero-card {
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(23, 23, 23, 0.08);
  cursor: pointer;
}

.card-top h3 {
  margin: 8px 0 24px;
  color: var(--text-main);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.workflow-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workflow-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-muted);
}

.workflow-list b {
  min-width: 20px;
  color: var(--text-soft);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.tags,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.tags span,
.pill-row span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.intro,
.directions,
.dark-wrap,
.solutions {
  padding-bottom: 72px;
}

.intro {
  padding-top: 64px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.section-title,
.intro h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.intro p,
.section-head p,
.author p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.direction-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 22px;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}

.direction-card:hover,
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(23, 23, 23, 0.07);
}

.direction-card.muted {
  background: #fbf8f2;
}

.direction-card.warm {
  background: #f3eee6;
}

.direction-card h3,
.solution-card h3 {
  margin: 0;
  color: var(--text-main);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.direction-card p {
  flex: 1;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
}

.direction-card span {
  display: block;
  margin-top: 20px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
}

.dark-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 64px;
  border-radius: 32px;
  background: var(--dark);
  color: var(--dark-text);
}

.dark-title {
  max-width: 590px;
  margin: 0;
  color: var(--dark-text);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.dark-body {
  max-width: 650px;
  margin: 24px 0 0;
  color: #a8a29a;
  font-size: 18px;
  line-height: 1.6;
}

.section-head {
  max-width: 540px;
  margin-bottom: 40px;
}

.section-head p {
  margin-top: 12px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: 26px;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.solution-card h3 {
  font-size: 21px;
}

.solution-card dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.solution-card dt {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.solution-card dd {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.pill-row {
  margin-top: auto;
}

.btn-outline {
  align-self: flex-start;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
}

.author {
  padding: 72px 0;
  background: var(--bg-muted);
}

.author-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: center;
  gap: 64px;
}

.author img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
}

.author h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.author p {
  max-width: 620px;
  margin-top: 18px;
}

.toast {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  max-width: min(340px, calc(100vw - 24px));
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: #171717;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 18px 60px rgba(23, 23, 23, 0.26);
  transition: opacity 0.25s, transform 0.25s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .nm-container {
    width: min(100% - 40px, 1180px);
  }

  .nav,
  .header-btn {
    display: none;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

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

  .hero-grid,
  .intro-grid,
  .author-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 640px) {
  .nm-container {
    width: min(100% - 32px, 1180px);
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .section-title,
  .intro h2,
  .author h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 19px;
  }

  .countdown,
  .direction-grid {
    grid-template-columns: 1fr;
  }

  .launch-panel,
  .hero-card,
  .solution-card {
    border-radius: 22px;
    padding: 22px;
  }

  .dark-section {
    padding: 36px 28px;
    border-radius: 24px;
  }

  .dark-title {
    font-size: 26px;
  }

  .toast {
    max-width: calc(100% - 24px);
    text-align: center;
  }
}
