:root {
  --bg: #f7f7f2;
  --surface: #ffffff;
  --surface-strong: #fdfdf9;
  --ink: #181b20;
  --muted: #5d6572;
  --line: #d8ddd2;
  --blue: #285f9f;
  --blue-hover: #1f4d83;
  --blue-soft: rgba(40, 95, 159, 0.1);
  --gold: #8f5b25;
  --gold-soft: rgba(143, 91, 37, 0.12);
  --green: #27744f;
  --green-soft: rgba(39, 116, 79, 0.12);
  --dark: #111416;
  --dark-surface: #191e22;
  --dark-line: #343b40;
  --shadow: 0 18px 50px rgba(24, 27, 32, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img,
svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 221, 210, 0.82);
  background: rgba(247, 247, 242, 0.92);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--blue-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

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

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(40, 95, 159, 0.18);
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(24, 27, 32, 0.08);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover {
  background: #242b30;
}

.page-section {
  padding: 88px 0;
}

.page-section.compact {
  padding: 64px 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 247, 242, 0.98) 0%, rgba(247, 247, 242, 0.92) 42%, rgba(247, 247, 242, 0.72) 100%),
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 88px;
  background: linear-gradient(180deg, rgba(247, 247, 242, 0), var(--surface));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 104px;
}

.hero-copy {
  max-width: 610px;
}

.logo-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.logo-line img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(40, 95, 159, 0.18);
}

.logo-line span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

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

h1 {
  max-width: 780px;
  font-size: clamp(52px, 8vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 850;
}

.page-hero h1 {
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
}

.hero-lede {
  max-width: 590px;
  margin-top: 26px;
  color: #3f4851;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.35;
}

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

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  right: max(20px, calc((100vw - var(--max)) / 2));
  top: 50%;
  width: min(44vw, 560px);
  min-width: 440px;
  transform: translateY(-45%);
  opacity: 0.95;
}

.product-window {
  border: 1px solid rgba(52, 59, 64, 0.18);
  border-radius: 8px;
  background: #111416;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #191e22;
  border-bottom: 1px solid #343b40;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0a15c;
}

.window-dot:nth-child(2) {
  background: #69ba8f;
}

.window-dot:nth-child(3) {
  background: #7da9d8;
}

.window-title {
  margin-left: 8px;
  color: #aab0a8;
  font-size: 12px;
  font-weight: 650;
}

.window-body {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.metric-row,
.extension-row,
.setting-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #343b40;
  border-radius: 8px;
  background: #191e22;
}

.metric-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(125, 169, 216, 0.16);
  color: #7da9d8;
  display: grid;
  place-items: center;
}

.metric-title {
  color: #f2f3ee;
  font-weight: 750;
}

.metric-copy {
  margin-top: 3px;
  color: #aab0a8;
  font-size: 12px;
}

.metric-value {
  color: #69ba8f;
  font-weight: 800;
}

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

.mini-stat {
  border: 1px solid #343b40;
  border-top: 2px solid #7da9d8;
  border-radius: 8px;
  padding: 14px;
  background: #191e22;
}

.mini-stat:nth-child(2) {
  border-top-color: #d0a15c;
}

.mini-stat:nth-child(3) {
  border-top-color: #69ba8f;
}

.mini-stat strong {
  display: block;
  color: #f2f3ee;
  font-size: 22px;
}

.mini-stat span {
  color: #aab0a8;
  font-size: 11px;
  font-weight: 650;
}

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

.timeline-line {
  height: 10px;
  border-radius: 999px;
  background: #20262b;
  overflow: hidden;
}

.timeline-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #7da9d8;
}

.timeline-line:nth-child(2) span {
  width: 52%;
  background: #d0a15c;
}

.timeline-line:nth-child(3) span {
  width: 78%;
  background: #69ba8f;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 820;
}

.section-heading p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 18px;
}

.proof-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.proof-item {
  min-height: 130px;
  padding: 22px;
  background: var(--surface);
}

.proof-item strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  color: var(--blue);
}

.proof-item span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

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

.feature-card,
.pricing-card,
.faq-item,
.policy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card {
  padding: 24px;
  min-height: 238px;
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.feature-card:nth-child(2n) .icon-box {
  background: var(--gold-soft);
  color: var(--gold);
}

.feature-card:nth-child(3n) .icon-box {
  background: var(--green-soft);
  color: var(--green);
}

.feature-card h3,
.pricing-card h3,
.faq-item h3,
.policy-card h3 {
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.feature-card p,
.pricing-card p,
.faq-item p,
.policy-card p,
.policy-card li {
  color: var(--muted);
  font-size: 15px;
}

.dark-band {
  background: var(--dark);
  color: #f2f3ee;
}

.dark-band .section-heading p,
.dark-band .step-copy,
.dark-band .comparison-row span {
  color: #aab0a8;
}

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

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

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--dark-surface);
}

.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(125, 169, 216, 0.16);
  color: #7da9d8;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.settings-panel {
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: #15191c;
  overflow: hidden;
}

.settings-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid var(--dark-line);
}

.settings-panel-header img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.settings-panel-body {
  padding: 16px;
  display: grid;
  gap: 12px;
}

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

.setting-label {
  color: #f2f3ee;
  font-weight: 700;
}

.setting-desc {
  margin-top: 3px;
  color: #aab0a8;
  font-size: 12px;
}

.toggle {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #7da9d8;
  padding: 3px;
}

.toggle::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  margin-left: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  padding: 28px;
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.price {
  margin: 20px 0;
  font-size: 40px;
  line-height: 1;
  font-weight: 850;
}

.price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}

.check-list svg {
  color: var(--green);
  margin-top: 2px;
}

.page-hero {
  padding: 92px 0 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero .section-inner {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 40px;
  align-items: end;
}

.page-hero p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 20px;
  max-width: 690px;
}

.page-hero-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  padding: 18px;
}

.install-list {
  display: grid;
  gap: 12px;
}

.install-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
}

.install-item strong {
  display: block;
  margin-bottom: 3px;
}

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

.number-dot {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 850;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.faq-list,
.policy-grid {
  display: grid;
  gap: 14px;
}

.faq-item,
.policy-card {
  padding: 22px;
}

.policy-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 28px;
  position: sticky;
  top: 92px;
}

.contact-panel h2 {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.contact-panel p {
  color: var(--muted);
  margin-bottom: 20px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

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

.site-footer {
  background: var(--dark);
  color: #f2f3ee;
  padding: 52px 0 30px;
}

.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.6fr);
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 18px;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.footer-copy {
  margin-top: 14px;
  max-width: 360px;
  color: #aab0a8;
  font-size: 14px;
}

.footer-col h3 {
  font-size: 13px;
  margin: 0 0 12px;
  color: #f2f3ee;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  color: #aab0a8;
  font-size: 14px;
}

.footer-col a:hover {
  color: #f2f3ee;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--dark-line);
  color: #aab0a8;
  font-size: 13px;
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 58px 0 360px;
  }

  .hero-visual {
    width: min(720px, calc(100vw - 34px));
    min-width: 0;
    right: 17px;
    top: auto;
    bottom: 34px;
    transform: none;
  }

  .proof-grid,
  .feature-grid,
  .pricing-grid,
  .workflow,
  .page-hero .section-inner,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-visual {
    max-width: 520px;
  }

  .contact-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    width: min(100% - 28px, var(--max));
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .section-inner,
  .hero-inner,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, var(--max));
  }

  .page-section {
    padding: 62px 0;
  }

  .page-hero {
    padding: 62px 0 48px;
  }

  .hero-inner {
    padding-bottom: 330px;
  }

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

  .hero-actions,
  .goodbye-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 54px;
  }

  .page-hero h1 {
    font-size: 44px;
  }

  .hero-inner {
    padding-bottom: 300px;
  }

  .metric-row {
    grid-template-columns: 38px 1fr;
  }

  .metric-value {
    grid-column: 2;
  }

  .product-window {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
