:root {
  --ink: #15212f;
  --muted: #5f6b7a;
  --line: #dbe2ea;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --teal: #1aa7a1;
  --coral: #f26a4f;
  --yellow: #f3c748;
  --navy: #263a59;
  --shadow: 0 18px 45px rgba(21, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.header-cta {
  padding: 0 18px;
  color: white;
  background: var(--ink);
}

.button {
  padding: 0 22px;
  border: 1px solid var(--ink);
}

.button.primary {
  color: white;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: white;
}

.hero {
  display: grid;
  min-height: calc(100vh - 74px);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(40px, 6vw, 86px) clamp(20px, 5vw, 72px) clamp(32px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(26, 167, 161, 0.12), rgba(242, 106, 79, 0.08) 42%, rgba(243, 199, 72, 0.12)),
    var(--paper);
}

.hero-copy {
  max-width: 640px;
  min-width: 0;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
}

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

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.trust-list li {
  padding: 8px 11px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
}

.product-visual {
  position: relative;
  min-height: 520px;
  min-width: 0;
}

.phone-frame,
.dashboard-panel {
  position: absolute;
  background: white;
  border: 1px solid rgba(21, 33, 47, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-frame {
  left: 2%;
  top: 34px;
  width: min(300px, 45%);
  padding: 20px;
  transform: rotate(-4deg);
}

.phone-top {
  width: 64px;
  height: 7px;
  margin: 0 auto 24px;
  background: var(--line);
  border-radius: 8px;
}

.message {
  width: 88%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.message.incoming {
  color: var(--ink);
  background: var(--soft);
}

.message.outgoing {
  margin-left: auto;
  color: white;
  background: var(--teal);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.quick-actions span {
  display: grid;
  min-width: 0;
  min-height: 36px;
  place-items: center;
  color: var(--navy);
  background: rgba(243, 199, 72, 0.22);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-panel {
  right: 0;
  bottom: 12px;
  width: min(430px, 62%);
  padding: 22px;
}

.panel-header,
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-header {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 850;
}

.metric-row {
  padding: 14px 16px;
  margin-bottom: 14px;
  background: var(--soft);
  border-radius: 8px;
}

.metric-row span,
.automation-step {
  color: var(--muted);
}

.metric-row strong {
  color: var(--teal);
  font-size: 26px;
}

.automation-step {
  position: relative;
  padding: 13px 14px 13px 38px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.automation-step::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--line);
  border-radius: 50%;
  transform: translateY(-50%);
}

.automation-step.active {
  color: var(--ink);
  border-color: rgba(26, 167, 161, 0.35);
  background: rgba(26, 167, 161, 0.08);
}

.automation-step.active::before {
  background: var(--teal);
}

.mini-chart {
  display: flex;
  height: 86px;
  align-items: end;
  gap: 12px;
  padding-top: 20px;
}

.mini-chart span {
  flex: 1;
  min-width: 18px;
  background: linear-gradient(180deg, var(--coral), var(--yellow));
  border-radius: 8px 8px 0 0;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.band {
  background: var(--soft);
}

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

.feature-grid,
.pricing-grid,
.workflow-track {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.price-card,
.workflow-track > div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  padding: 24px;
}

.feature-card p,
.price-card p,
.workflow-track p,
.site-footer p,
.policy-content p,
.privacy-hero p {
  color: var(--muted);
}

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

.workflow {
  background: white;
}

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

.workflow-track > div {
  padding: 28px;
  background: linear-gradient(180deg, #ffffff, #f7fafc);
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 20px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 850;
}

.plans {
  background: #fbfcfe;
}

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

.price-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(26, 167, 161, 0.5);
  box-shadow: var(--shadow);
}

.plan-name {
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 900;
}

.price-card h3 {
  margin-bottom: 10px;
  font-size: 42px;
}

.price-card h3 span {
  color: var(--muted);
  font-size: 16px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 28px;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
}

.price-card li::before {
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--teal);
  border-radius: 50%;
}

.price-card .button {
  margin-top: auto;
}

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

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 72px);
  color: white;
  background: var(--ink);
}

.contact-band .eyebrow,
.contact-band h2 {
  color: white;
}

.contact-band .button.primary {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 42px clamp(20px, 5vw, 72px);
  background: #101821;
  color: white;
}

.footer-brand .brand-mark {
  background: linear-gradient(135deg, var(--yellow), var(--coral));
}

address,
.footer-links {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.site-footer a,
.site-footer span,
.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer strong {
  color: white;
}

.privacy-hero {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px) 38px;
  background: linear-gradient(135deg, rgba(26, 167, 161, 0.12), rgba(242, 106, 79, 0.08));
}

.privacy-hero h1 {
  font-size: clamp(44px, 7vw, 82px);
}

.privacy-hero p {
  max-width: 780px;
  font-size: 19px;
}

.policy-content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.policy-content h2 {
  margin-top: 34px;
  font-size: 28px;
}

.policy-content a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 460px;
  }

  .feature-grid,
  .pricing-grid,
  .workflow-track,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 34px 18px 30px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

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

  .button {
    width: 100%;
  }

  .product-visual {
    min-height: 530px;
  }

  .phone-frame,
  .dashboard-panel {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    transform: none;
  }

  .phone-frame {
    left: auto;
    top: auto;
  }

  .dashboard-panel {
    right: auto;
    bottom: auto;
    margin-top: 16px;
  }

  .section,
  .contact-band {
    padding-right: 18px;
    padding-left: 18px;
  }
}
