:root {
  color-scheme: light;
  --ink: #18191f;
  --muted: #626875;
  --line: #d9dde5;
  --paper: #ffffff;
  --wash: #f4f7f6;
  --mint: #37a976;
  --teal: #167f91;
  --coral: #e26047;
  --amber: #f3b13f;
  --indigo: #4f5bd5;
  --shadow: 0 18px 45px rgba(26, 31, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(24, 25, 31, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

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

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a:hover {
  background: #eef2f1;
  color: var(--ink);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(24, 25, 31, 0.16);
}

.btn.secondary {
  background: transparent;
  color: var(--ink);
}

.btn.mint {
  border-color: var(--mint);
  background: var(--mint);
}

.btn.coral {
  border-color: var(--coral);
  background: var(--coral);
}

.btn.teal {
  border-color: var(--teal);
  background: var(--teal);
}

.hero,
.band,
.section {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 64px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  background: #ffffff;
}

.hero.compact {
  padding-top: 62px;
  padding-bottom: clamp(40px, 6vw, 72px);
}

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

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

h1 {
  max-width: 800px;
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.text-muted {
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.metric {
  min-height: 100px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: 28px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

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

.project-card,
.case-card,
.feature-card,
.pricing-card,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(24, 25, 31, 0.06);
}

.project-card {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  overflow: hidden;
}

.project-preview {
  min-height: 260px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.project-body p {
  color: var(--muted);
}

.project-body .btn {
  margin-top: auto;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid #cfd7d4;
  border-radius: 8px;
  background: #f8faf9;
  color: #3e4651;
  font-size: 13px;
  font-weight: 700;
}

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

.case-card,
.feature-card {
  min-height: 190px;
  padding: 24px;
}

.case-card b {
  color: var(--teal);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.band {
  background: #ffffff;
}

.band.alt {
  background: #f2f5f8;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-header p {
  max-width: 560px;
  color: var(--muted);
}

.footer {
  padding: 32px clamp(18px, 4vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fff;
}

.browser-frame,
.phone-frame,
.photo-frame,
.dashboard-frame {
  overflow: hidden;
  border: 1px solid rgba(24, 25, 31, 0.15);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.browser-frame {
  min-height: 420px;
}

.browser-dots {
  display: flex;
  gap: 7px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #f7f8fa;
}

.browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bec5ce;
}

.mock-hero {
  padding: 26px;
}

.mock-title {
  width: 72%;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--ink);
}

.mock-line {
  height: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #d8dde5;
}

.mock-line.short {
  width: 70%;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mock-tile {
  min-height: 112px;
  border-radius: 8px;
  background: #edf1f4;
}

.mock-tile:nth-child(2) {
  background: #ddf1e8;
}

.mock-tile:nth-child(3) {
  background: #fde8df;
}

.mock-chart {
  height: 150px;
  margin-top: 20px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent 0 35%, rgba(255, 255, 255, 0.8) 35% 36%, transparent 36%),
    linear-gradient(90deg, var(--mint) 18%, transparent 18%),
    linear-gradient(90deg, transparent 22%, var(--teal) 22% 43%, transparent 43%),
    linear-gradient(90deg, transparent 50%, var(--coral) 50% 72%, transparent 72%),
    #eef2f1;
}

.dashboard-frame {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  min-height: 420px;
  background: #111827;
  color: #fff;
}

.dash-side {
  padding: 26px 18px;
  background: #171b27;
}

.dash-pill {
  height: 34px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.dash-main {
  padding: 26px;
  background: #f8faf9;
  color: var(--ink);
}

.dash-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 14px;
  margin-top: 16px;
}

.dash-widget {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.progress {
  height: 10px;
  margin-top: 12px;
  border-radius: 8px;
  background: #e5e8ed;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--mint);
}

.photo-frame {
  position: relative;
  min-height: 430px;
  background:
    linear-gradient(135deg, rgba(24, 25, 31, 0.05), rgba(255, 255, 255, 0.2)),
    linear-gradient(135deg, #dfe8e4 0 28%, #aebfc0 28% 52%, #f0c06a 52% 68%, #2d353f 68%);
}

.photo-frame::before {
  position: absolute;
  inset: 24px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

.photo-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(280px, calc(100% - 48px));
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.phone-frame {
  width: min(320px, 100%);
  min-height: 570px;
  margin-inline: auto;
  padding: 18px;
  background: #171b27;
}

.phone-screen {
  min-height: 532px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
}

.bubble {
  max-width: 88%;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #eef2f1;
  color: var(--ink);
}

.bubble.alt {
  margin-left: auto;
  background: #dff3ea;
}

.ai-card {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fafb;
}

.ai-card .score {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--indigo);
  color: #fff;
  font-weight: 900;
}

.demo-hero {
  display: grid;
  min-height: calc(100vh - 72px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(46px, 7vw, 84px) clamp(18px, 4vw, 64px);
  background: #fff;
}

.demo-hero .lead {
  max-width: 620px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: #6c7280;
  font-weight: 800;
}

.logo-row span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.pricing-card {
  min-height: 340px;
  padding: 24px;
}

.price {
  margin: 18px 0;
  font-size: 40px;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.check-list li::before {
  content: "+";
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  background: #ddf1e8;
  color: #1b7f5a;
  font-weight: 900;
}

.form-panel {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #404653;
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #cfd6df;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

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

.mini-kpi {
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.mini-kpi strong {
  display: block;
  font-size: 30px;
}

.quote-band {
  padding: clamp(44px, 7vw, 82px) clamp(18px, 4vw, 64px);
  background: var(--ink);
  color: #fff;
}

.quote-band p {
  max-width: 900px;
  margin-bottom: 0;
  font-size: 40px;
  line-height: 1.12;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.timeline-step span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--amber);
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .demo-hero,
  .split,
  .dashboard-frame {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .case-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metrics,
  .mini-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .project-grid,
  .case-grid,
  .feature-grid,
  .pricing-grid,
  .metrics,
  .mini-kpis,
  .form-grid,
  .mock-grid,
  .dash-row {
    grid-template-columns: 1fr;
  }

  .hero,
  .demo-hero,
  .band,
  .section {
    padding-inline: 18px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 18px;
  }

  .quote-band p {
    font-size: 28px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-card {
    min-height: auto;
  }
}
