:root {
  color-scheme: light;
  --ink: #16202a;
  --muted: #5f6d7a;
  --line: #d9e1e8;
  --soft: #f4f7f9;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --gold: #d6a13a;
  --blue: #2563eb;
  --shadow: 0 18px 60px rgba(22, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: var(--accent);
  border-radius: 6px;
  font-weight: 800;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a,
.site-footer a {
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: 680px;
  padding: clamp(60px, 9vw, 110px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(110deg, rgba(15, 118, 110, 0.12), rgba(214, 161, 58, 0.08) 42%, rgba(37, 99, 235, 0.10)),
    #f8fbfc;
}

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

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

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

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
}

.button.secondary {
  color: var(--accent-dark);
  background: #ffffff;
  border: 1px solid var(--line);
}

.workflow-visual {
  min-height: 340px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-top {
  display: flex;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.visual-top span {
  width: 10px;
  height: 10px;
  background: var(--line);
  border-radius: 50%;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 26px;
}

.node {
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  background: #fbfcfd;
}

.node strong,
.node small {
  display: block;
}

.node small {
  color: var(--muted);
}

.node.ai {
  border-left-color: var(--blue);
}

.node.output {
  border-left-color: var(--gold);
}

.connector {
  width: 2px;
  height: 20px;
  margin-left: 28px;
  background: var(--line);
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

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

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

.feature-grid article,
.price-card,
.contact-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid p,
.price-card p,
.contact-section p,
.legal-page p {
  color: var(--muted);
}

.policy-note {
  background: var(--soft);
}

.policy-note p {
  max-width: 900px;
  margin: 16px 0 0;
  color: var(--muted);
}

.price-card.featured {
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.10);
}

.price {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}

ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: start;
  background: #fbfcfd;
}

.contact-card p {
  margin: 0 0 16px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(46px, 8vw, 88px) clamp(18px, 5vw, 40px);
}

.legal-page h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.legal-page section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.updated {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .workflow-visual {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 12px;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1.03;
  }
}
