:root {
  font-synthesis-weight: none;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/DMSans-VariableFont_opsz,wght.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

@font-face {
  font-family: "DM Mono";
  src: url("./assets/fonts/DMMono-Light.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "DM Mono";
  src: url("./assets/fonts/DMMono-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --ink: #030304;
  --muted: rgba(3, 3, 4, 0.62);
  --soft: #f8f7f4;
  --paper: #ffffff;
  --line: rgba(3, 3, 4, 0.12);
  --line-strong: rgba(3, 3, 4, 0.22);
  --purple: #9b4dff;
  --purple-dark: #7430d9;
  --purple-soft: rgba(155, 77, 255, 0.14);
  --stone: #a88662;
  --green: #0f8c72;
  --shadow: 0 24px 70px rgba(3, 3, 4, 0.1);
  --radius: 8px;
  --sidebar: 280px;
  --font-ui: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
a {
  font: inherit;
}

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

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 30px 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 34px;
}

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

.nav-list {
  display: grid;
  gap: 6px;
}

.nav-link {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius);
  color: rgba(3, 3, 4, 0.58);
  font-size: 12px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link span {
  width: 24px;
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--purple-soft);
  color: var(--ink);
}

.nav-link:hover {
  transform: translateX(2px);
}

.sidebar-actions {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.ghost-button,
.primary-button,
.secondary-button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  min-height: 42px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ghost-button:hover,
.secondary-button:hover {
  border-color: var(--purple);
  color: var(--purple-dark);
}

main {
  min-width: 0;
}

.section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vh, 76px) clamp(34px, 5vw, 76px);
  border-bottom: 1px solid #eeeaf4;
  scroll-margin-top: 0;
}

.section:nth-child(even) {
  background: linear-gradient(90deg, #fbfaf8 0%, #fff 50%, #fbf8ff 100%);
}

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

.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 24%, rgba(155, 77, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 24% 78%, rgba(155, 77, 255, 0.1), transparent 26rem),
    linear-gradient(180deg, #030304 0%, #07070a 100%);
  color: #f3f1ec;
  box-shadow: inset 0 -8rem 8rem rgba(3, 3, 4, 0.55);
}

.hero-layout {
  display: grid;
  min-height: calc(100svh - clamp(96px, 14vh, 152px));
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(34px, 6vh, 58px);
  align-content: stretch;
}

.proposal-mark,
.small-label {
  color: var(--purple);
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.2;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.hero .proposal-mark {
  color: var(--purple);
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  color: inherit;
  font-family: var(--font-mono);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 300;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: clamp(33px, 3.55vw, 54px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 400;
}

h3 {
  margin-bottom: 9px;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 850;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-lede {
  max-width: 720px;
  color: rgba(243, 241, 236, 0.72);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.45;
  font-weight: 400;
}

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

.primary-button {
  border-color: var(--purple);
  background: var(--purple);
  color: white;
  min-height: 48px;
  padding: 0 20px;
}

.secondary-button {
  min-height: 48px;
  padding: 0 20px;
}

.hero .secondary-button {
  border-color: rgba(243, 241, 236, 0.24);
  background: transparent;
  color: #f3f1ec;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(243, 241, 236, 0.18);
  border-bottom: 1px solid rgba(243, 241, 236, 0.18);
}

.metric-card {
  min-height: auto;
  border: 0;
  border-right: 1px solid rgba(243, 241, 236, 0.14);
  border-radius: 0;
  padding: 22px 24px 24px 0;
  margin-right: 24px;
  background: transparent;
  color: #f3f1ec;
  box-shadow: none;
}

.metric-card:last-child {
  border-right: 0;
  margin-right: 0;
}

.metric-value {
  display: block;
  margin-bottom: 14px;
  color: #f3f1ec;
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
  font-weight: 400;
}

.metric-label {
  display: block;
  color: rgba(243, 241, 236, 0.64);
  opacity: 1;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 500;
}

.section-heading {
  margin-bottom: 38px;
  max-width: 940px;
}

.section-heading span {
  display: block;
  margin-bottom: 14px;
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
}

.section-heading p {
  max-width: 920px;
  font-size: clamp(18px, 1.65vw, 21px);
  line-height: 1.46;
}

.section-heading.narrow {
  max-width: 880px;
}

.section-heading.compact h2 {
  font-size: clamp(33px, 3.55vw, 54px);
}

.split {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.quote-panel,
.table-card,
.offer-band,
.pricing-card,
.expectation-card,
.next-box,
.closing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.quote-panel {
  padding: 32px;
  display: grid;
  align-content: start;
  gap: 28px;
}

blockquote {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  font-weight: 400;
  max-width: 100%;
}

.quote-panel .small-label,
.quote-panel blockquote,
.quote-panel p {
  margin: 0;
}

.table-card {
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row span:first-child {
  color: var(--ink);
  font-weight: 780;
}

.table-head {
  background: #030304;
  color: white;
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table-head span,
.table-head span:first-child {
  color: white;
}

.competitor-grid,
.principle-grid,
.pricing-grid,
.kpi-grid {
  display: grid;
  gap: 14px;
}

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

.competitor-grid article,
.principle-grid > div,
.kpi-grid > div {
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.competitor-grid p,
.principle-grid p {
  margin-bottom: 0;
  font-size: 16px;
}

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

.system-node {
  min-height: 156px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  position: relative;
}

.system-node.main {
  grid-column: span 3;
  min-height: 122px;
  background: var(--ink);
  color: #fff;
}

.system-node strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 400;
}

.system-node span {
  display: block;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.system-node.main span {
  color: rgba(255, 255, 255, 0.72);
}

.offer-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: center;
  padding: 34px;
  background: #030304;
  color: #fff;
}

.offer-band p {
  color: rgba(255, 255, 255, 0.74);
}

.offer-band .small-label {
  color: #c9a9ff;
}

.offer-band h3 {
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 400;
}

.offer-price {
  min-height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
}

.offer-price span {
  font-size: 13px;
  font-weight: 850;
  color: #c9a9ff;
}

.offer-price strong {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
}

.offer-price p {
  margin: 10px 0 0;
  font-size: 15px;
}

.principle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.deliverable-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.deliverable-list article {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.deliverable-list article:last-child {
  border-bottom: 0;
}

.deliverable-list article > span {
  color: var(--purple);
  font-size: 13px;
  font-weight: 850;
}

.deliverable-list p {
  margin-bottom: 0;
  font-size: 16px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.timeline article {
  min-height: 285px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline span {
  display: block;
  margin-bottom: 54px;
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
}

.timeline h3 {
  font-size: 18px;
  line-height: 1.18;
  white-space: nowrap;
}

.timeline p {
  margin-bottom: 0;
  font-size: 15px;
}

.pricing-grid {
  grid-template-columns: 0.86fr 1.1fr 0.86fr;
  align-items: stretch;
}

.pricing-card {
  padding: 30px;
  box-shadow: none;
}

.pricing-card.featured {
  background: #030304;
  color: #fff;
  transform: translateY(-14px);
  box-shadow: var(--shadow);
}

.pricing-card.featured p,
.pricing-card.featured li {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-card.featured .small-label {
  color: #c9a9ff;
}

.card-price {
  margin: 24px 0;
  color: var(--purple);
  font-size: 46px;
  line-height: 1;
  font-weight: 400;
}

.featured .card-price {
  color: #fff;
}

ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.expectation-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.expectation-card {
  min-height: 250px;
  padding: 32px;
  box-shadow: none;
}

.expectation-card.positive {
  border-color: rgba(15, 140, 114, 0.3);
  background: #f2fbf8;
}

.expectation-card p {
  margin-bottom: 0;
}

.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.kpi-grid div {
  min-height: 190px;
}

.kpi-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
}

.kpi-grid strong {
  display: block;
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 1.2;
}

.kpi-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.final-section {
  background:
    linear-gradient(90deg, #fbfaf8 0%, #fff 50%, #fbf8ff 100%);
  color: var(--ink);
  border-bottom: 0;
}

.final-stack {
  display: grid;
  min-height: calc(100svh - clamp(96px, 14vh, 152px));
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 40px;
  align-content: stretch;
}

.final-stack > div {
  align-self: center;
}

.final-section p,
.final-section li {
  color: var(--muted);
}

.next-box {
  padding: 28px;
  background: #fff;
  border-color: var(--line);
  box-shadow: none;
}

.proposal-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.proposal-footer img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.proposal-footer strong,
.proposal-footer span {
  display: block;
}

.proposal-footer strong {
  margin-bottom: 4px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 850;
}

.proposal-footer span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #030304;
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 750;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    height: auto;
    position: sticky;
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand,
  .sidebar-actions {
    display: none;
  }

  .nav-list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
  }

  .nav-link {
    white-space: nowrap;
  }

  .section {
    min-height: auto;
    padding: 72px 24px;
  }

  .hero-layout,
  .split,
  .offer-band,
  .pricing-grid,
  .expectation-layout,
  .final-stack {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .competitor-grid,
  .system-map,
  .principle-grid,
  .timeline,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    border-bottom: 0;
  }

  .metric-card {
    margin-right: 0;
    padding: 18px 18px 18px 0;
  }

  .metric-card:nth-child(2) {
    border-right: 0;
  }

  .system-node.main {
    grid-column: span 2;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 42px;
  }

  .section-heading p,
  .hero-lede {
    font-size: 19px;
  }

  .hero-panel,
  .competitor-grid,
  .system-map,
  .principle-grid,
  .timeline,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    border-right: 0;
    border-bottom: 1px solid rgba(243, 241, 236, 0.14);
  }

  .metric-card:last-child {
    border-bottom: 0;
  }

  .system-node.main {
    grid-column: auto;
  }

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

  .deliverable-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .offer-price {
    min-height: 170px;
  }
}

@media (max-width: 1320px) and (min-width: 1061px) {
  h1 {
    max-width: 820px;
    font-size: clamp(38px, 4.6vw, 58px);
  }

  .hero-lede {
    max-width: 720px;
    font-size: clamp(18px, 1.65vw, 22px);
  }

  .metric-card {
    padding: 20px;
  }
}

@media (max-height: 760px) and (min-width: 1061px) {
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-layout {
    gap: 24px;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(36px, 4.2vw, 54px);
  }

  .hero-lede {
    font-size: clamp(17px, 1.55vw, 21px);
  }

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

  .metric-card {
    min-height: 124px;
  }
}

@media print {
  body {
    background: #fff;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .section {
    min-height: auto;
    display: block;
    padding: 38px 28px;
    break-inside: avoid;
    page-break-inside: avoid;
    background: #fff !important;
  }

  .hero {
    min-height: auto;
  }

  .quote-panel,
  .table-card,
  .offer-band,
  .pricing-card,
  .expectation-card,
  .next-box,
  .closing-card,
  .metric-card {
    box-shadow: none;
  }

  .primary-button,
  .secondary-button {
    display: none;
  }
}
  font-family: var(--font-mono);
