:root {
  --ink: #171614;
  --muted: #65615a;
  --paper: #f7f4ed;
  --paper-2: #eee7dc;
  --line: #ddd4c6;
  --teal: #0f766e;
  --amber: #d6862f;
  --blue: #2f6690;
  --coral: #c95843;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(23, 22, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(23, 22, 20, 0.76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

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

.main-nav {
  gap: clamp(12px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.nav-cta {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}

.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 118px clamp(20px, 6vw, 86px) 64px;
  overflow: hidden;
}

.hero-photo {
  background-image: url("assets/hero-workspace.png");
  background-size: cover;
  background-position: center right;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.92) 0%, rgba(18, 17, 15, 0.72) 42%, rgba(18, 17, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 17, 15, 0.48), rgba(18, 17, 15, 0.18));
}

.hero-content {
  position: relative;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 680px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(214, 134, 47, 0.28);
}

.button.primary.dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 38px 0 0;
}

.hero-stats div {
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 86px);
}

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

.intro-band {
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--ink);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
}

.section-copy {
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  margin-bottom: 34px;
}

.work-grid,
.pricing-grid,
.steps {
  display: grid;
  gap: 18px;
}

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

.work-card,
.price-card,
.steps article,
.demo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 22, 20, 0.06);
}

.work-card a {
  display: block;
  padding: 16px;
}

.work-card p,
.price-card p,
.steps p,
.demo-card p {
  color: var(--muted);
}

.mini-browser {
  position: relative;
  min-height: 220px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #d7d0c4;
  border-radius: 8px;
  background: #fbfaf6;
}

.mini-browser > span {
  position: absolute;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4cec3;
}

.mini-browser > span:nth-child(1) {
  left: 14px;
}

.mini-browser > span:nth-child(2) {
  left: 28px;
}

.mini-browser > span:nth-child(3) {
  left: 42px;
}

.preview-line,
.preview-metric-row,
.preview-service,
.preview-course {
  position: absolute;
  left: 22px;
  right: 22px;
  border-radius: 8px;
}

.preview-line {
  height: 14px;
  bottom: 48px;
  background: rgba(23, 22, 20, 0.18);
}

.preview-line.wide {
  bottom: 76px;
  right: 80px;
  height: 20px;
}

.preview-metric-row {
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.preview-metric-row b {
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.saas-preview {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.95), rgba(47, 102, 144, 0.92)),
    #0f766e;
}

.saas-preview .preview-line,
.saas-preview .preview-line.wide {
  background: rgba(255, 255, 255, 0.74);
}

.local-preview {
  background:
    linear-gradient(135deg, rgba(214, 134, 47, 0.94), rgba(247, 244, 237, 0.96)),
    #d6862f;
}

.preview-service {
  top: 54px;
  height: 88px;
  background: rgba(255, 255, 255, 0.72);
}

.creator-preview {
  background:
    linear-gradient(135deg, rgba(201, 88, 67, 0.94), rgba(23, 22, 20, 0.9)),
    #c95843;
}

.preview-course {
  top: 50px;
  width: 112px;
  height: 112px;
  right: auto;
  border: 14px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
}

.muted {
  background: var(--paper-2);
}

.deliverables {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(32px, 6vw, 86px);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 14px 14px 42px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 16px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}

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

.price-card {
  padding: 26px;
}

.price-card.featured {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: var(--shadow);
}

.label {
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 46px;
}

.scope-note {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
}

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

.steps article {
  padding: 24px;
}

.steps span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 900;
}

.final-cta {
  background: var(--teal);
  color: var(--white);
}

.final-cta .eyebrow {
  color: #ffd38f;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(20px, 6vw, 86px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
}

.demo-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 237, 0.88);
  backdrop-filter: blur(14px);
}

.demo-brand {
  font-weight: 900;
}

.demo-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.demo-hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding: clamp(72px, 9vw, 118px) clamp(20px, 6vw, 86px);
}

.demo-hero.saas {
  background: #eef7f5;
}

.demo-hero.local {
  background: #fff2dd;
}

.demo-hero.creator {
  background: #f8ebe7;
}

.demo-hero h1 {
  color: var(--ink);
}

.demo-hero p {
  color: var(--muted);
  font-size: 19px;
}

.demo-visual {
  min-height: 430px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.demo-dashboard {
  padding: 20px;
}

.demo-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.demo-pill {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.demo-chart {
  height: 170px;
  margin-bottom: 18px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.12), rgba(15, 118, 110, 0)),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(23, 22, 20, 0.08) 59px 60px);
  position: relative;
}

.demo-chart::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 86px;
  height: 4px;
  background: var(--teal);
  transform: skewY(-8deg);
  border-radius: 8px;
}

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

.demo-card {
  padding: 16px;
}

.demo-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.service-photo {
  min-height: 240px;
  background:
    linear-gradient(135deg, rgba(214, 134, 47, 0.74), rgba(47, 102, 144, 0.62)),
    linear-gradient(45deg, #fff8ec, #d9f1ec);
  position: relative;
}

.service-photo::before,
.service-photo::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.service-photo::before {
  width: 170px;
  height: 120px;
  right: 32px;
  top: 40px;
}

.service-photo::after {
  width: 240px;
  height: 78px;
  left: 30px;
  bottom: 32px;
}

.service-panel {
  padding: 24px;
}

.course-cover {
  display: grid;
  place-items: center;
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(201, 88, 67, 0.86), rgba(23, 22, 20, 0.92)),
    var(--coral);
  color: var(--white);
}

.course-cover span {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 18px solid rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.demo-section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 86px);
}

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

.feature-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.demo-footer {
  padding: 34px clamp(20px, 6vw, 86px);
  background: var(--ink);
  color: var(--white);
}

.order-hero {
  min-height: 70vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  padding: clamp(78px, 9vw, 124px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(214, 134, 47, 0.14)),
    var(--paper);
}

.order-hero h1 {
  color: var(--ink);
}

.lead,
.muted-copy {
  color: var(--muted);
  font-size: 19px;
}

.order-summary,
.brief-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.order-summary {
  padding: 26px;
}

.order-summary h2 {
  margin-bottom: 18px;
  font-size: 42px;
}

.compact-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.order-section {
  padding-top: 74px;
}

.order-layout {
  align-items: start;
}

.brief-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.brief-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  padding: 12px 12px;
}

.brief-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
  }

  .main-nav a:not(.nav-cta) {
    display: none;
  }

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

  .hero-overlay {
    background: rgba(18, 17, 15, 0.76);
  }

  .split,
  .deliverables,
  .demo-hero,
  .order-hero {
    grid-template-columns: 1fr;
  }

  .work-grid,
  .pricing-grid,
  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .demo-nav {
    display: none;
  }

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

@media (max-width: 520px) {
  .brand span:last-child {
    display: none;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-width: 0;
  }

  h1 {
    font-size: 42px;
  }
}
