:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #151816;
  --muted: #66736a;
  --line: #dfe7df;
  --green: #0f172a;
  --green-soft: #eef2f7;
  --accent: #1e3a8a;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { max-width: 920px; }
.section { padding: 112px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 23, 42, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  display: block;
  width: auto;
  height: 76px;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(45, 122, 84, .28);
  outline-offset: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, .74);
  font-size: .94rem;
  font-weight: 650;
}

.nav-links a:hover { color: #fff; }

.nav-button {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  color: #fff !important;
}

.nav-button:hover {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
}

.hero {
  padding-top: 28px;
  padding-bottom: 92px;
}

.hero.section {
  padding-top: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(340px, .78fr);
  align-items: start;
  gap: 72px;
}

.hero-copy {
  padding-top: 18px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 660px;
  margin-bottom: 26px;
  font-size: clamp(2.1rem, 3.35vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 560;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.hero-copy p,
.section-heading p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-copy p {
  max-width: 560px;
  line-height: 1.78;
  font-weight: 450;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

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

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.primary:hover { background: #111c33; }

.button.light {
  background: #fff;
  color: var(--green);
  border-color: rgba(255, 255, 255, .7);
}

.text-link {
  color: var(--green);
  font-weight: 750;
  border-bottom: 1px solid rgba(18, 71, 52, .25);
}

.profile-demo {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 24px 70px rgba(21, 24, 22, .08);
}

.demo-note {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: .75rem;
  font-weight: 800;
}

.demo-search {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .92rem;
}

.demo-cover {
  display: grid;
  place-items: center;
  height: 220px;
  margin: 16px 0;
  border-radius: 12px;
  background: #111827;
  overflow: hidden;
}

.demo-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: contrast(1.08) saturate(1.08) brightness(1.02);
  transform: translateZ(0);
}

.profile-demo h2 {
  margin-bottom: 4px;
  font-size: 1.45rem;
}

.demo-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.demo-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-size: .78rem;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(21, 24, 22, .08);
}

.demo-meta {
  margin-bottom: 0;
  color: var(--muted);
}

.demo-rating {
  margin-bottom: 2px;
  color: var(--text);
  font-size: .92rem;
  font-weight: 750;
}

.demo-rating .stars {
  color: #c58b19;
  letter-spacing: 0;
}

.demo-rating span {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
  border-bottom: 1px solid var(--line);
}

.demo-tabs span {
  position: relative;
  padding: 0 0 10px;
  color: var(--muted);
  text-align: center;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-tabs span:first-child {
  color: #1a73e8;
}

.demo-tabs span:first-child::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -1px;
  height: 2px;
  border-radius: 999px 999px 0 0;
  background: #1a73e8;
}

.demo-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.demo-actions span {
  min-width: 0;
  padding: 10px 6px;
  border: 1px solid #d6e3fb;
  border-radius: 999px;
  color: #1a73e8;
  text-align: center;
  font-weight: 750;
  font-size: .78rem;
}

.profile-demo ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
}

.profile-demo li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

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

.services {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-list span,
.process-line span {
  color: var(--accent);
  font-weight: 800;
  font-size: .9rem;
}

.service-list p,
.process-line p {
  margin-bottom: 0;
  color: var(--muted);
}

.comparison-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(21, 24, 22, .08);
}

.comparison-image img {
  display: block;
  width: 100%;
  height: auto;
}

.process { background: #fff; }

.process-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.process-line article {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.process-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.process-cta p {
  margin: 0;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 750;
}

.contact { padding-bottom: 86px; }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 54px;
  border-radius: 22px;
  background: var(--green);
  color: #fff;
}

.contact-panel .eyebrow,
.contact-panel p {
  color: rgba(255, 255, 255, .78);
}

.contact-panel h2 {
  max-width: 760px;
  margin-bottom: 14px;
}

.contact-panel p {
  max-width: 660px;
  margin-bottom: 0;
}

.footer {
  padding: 30px 0 42px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-size: .92rem;
}

.footer p { margin: 0; }

.footer div:last-child {
  display: flex;
  gap: 16px;
}

.footer a:hover { color: var(--green); }

.footer-brand img {
  height: 64px;
  border-radius: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
}

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

@media (max-width: 860px) {
  .section { padding: 82px 0; }
  .hero-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 42px; }
  .hero-copy { padding-top: 0; }
  .process-line {
    grid-template-columns: 1fr;
  }
  .process-cta,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container { width: min(100% - 30px, 1120px); }
  .nav { min-height: 66px; }
  .brand img { height: 58px; }
  .nav-links { gap: 12px; font-size: .88rem; }
  .nav-links a:not(.nav-button) { display: none; }
  h1 {
    font-size: 2.05rem;
    line-height: 1.12;
  }
  h2 { font-size: 2.1rem; }
  .hero {
    padding-top: 22px;
    padding-bottom: 72px;
  }
  .hero.section {
    padding-top: 14px;
  }
  .hero-actions,
  .button {
    width: 100%;
  }
  .hero-actions { align-items: stretch; }
  .text-link { text-align: center; padding: 10px; }
  .service-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .comparison-image {
    width: calc(100% + 20px);
    margin-left: -10px;
    border-radius: 12px;
  }
  .contact-panel {
    padding: 34px 24px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
