:root {
  --gest-accent: #f97316;
  --gest-accent-hover: #ea580c;
  --gest-accent-soft: #fff7ed;
  --gest-ink: #0f172a;
  --gest-muted: #64748b;
  --gest-border: #e2e8f0;
  --gest-bg: #f8fafc;
  --gest-card: #ffffff;
  --gest-radius: 1rem;
  --gest-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.gest-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.gest-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.gest-brand-link {
  text-decoration: none;
  color: inherit;
}

.gest-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.15;
}

.gest-brand-logo-wrap {
  display: block;
  flex-shrink: 0;
}

.gest-brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.gest-brand-copy {
  display: flex;
  flex-direction: column;
}

.gest-brand-product {
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
}

.gest-brand-byline {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--gest-muted);
}

.gest-brand-byline span {
  color: var(--gest-accent);
  font-weight: 600;
}

.gest-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
  color: var(--gest-muted);
}

.gest-nav a:hover {
  color: var(--gest-ink);
}

.gest-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.gest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.gest-btn-primary {
  background: var(--gest-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
}

.gest-btn-primary:hover {
  background: var(--gest-accent-hover);
  color: #fff;
}

.gest-btn-secondary {
  background: #fff;
  border-color: var(--gest-border);
  color: var(--gest-ink);
}

.gest-btn-secondary:hover {
  border-color: #cbd5e1;
}

.gest-btn-ghost {
  background: transparent;
  color: var(--gest-muted);
}

.gest-btn-ghost:hover {
  color: var(--gest-ink);
}

.gest-hero {
  padding: 4.5rem 0 3rem;
}

.gest-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.gest-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--gest-accent-soft);
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.gest-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.gest-hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  color: var(--gest-muted);
  max-width: 38rem;
}

.gest-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.gest-hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--gest-muted);
  font-size: 0.9rem;
}

.gest-hero-bullets li::before {
  content: "✓";
  color: var(--gest-accent);
  font-weight: 700;
  margin-right: 0.35rem;
}

.gest-hero-panel {
  background: linear-gradient(160deg, #111827 0%, #1e293b 100%);
  color: #f8fafc;
  border-radius: 1.35rem;
  padding: 1.5rem;
  box-shadow: var(--gest-shadow);
}

.gest-chat-preview {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  min-height: 280px;
}

.gest-chat-msg {
  max-width: 85%;
  padding: 0.75rem 0.9rem;
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.gest-chat-msg.user {
  margin-left: auto;
  background: rgba(249, 115, 22, 0.18);
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.gest-chat-msg.agent {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gest-section {
  padding: 4rem 0;
}

.gest-section-alt {
  background: #fff;
  border-block: 1px solid var(--gest-border);
}

.gest-section-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.gest-section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
}

.gest-section-head p {
  margin: 0;
  color: var(--gest-muted);
}

.gest-steps {
  display: grid;
  gap: 1rem;
}

.gest-step {
  background: var(--gest-card);
  border: 1px solid var(--gest-border);
  border-radius: var(--gest-radius);
  padding: 1.25rem 1.35rem;
}

.gest-step-num {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gest-accent-soft);
  color: #c2410c;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.gest-grid-3 {
  display: grid;
  gap: 1rem;
}

.gest-card {
  background: var(--gest-card);
  border: 1px solid var(--gest-border);
  border-radius: var(--gest-radius);
  padding: 1.35rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.gest-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.gest-card p {
  margin: 0;
  color: var(--gest-muted);
  font-size: 0.92rem;
}

.gest-tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
}

.gest-tag-soon {
  background: #eef2ff;
  color: #4338ca;
}

.gest-cta {
  padding: 3.5rem 0 4.5rem;
}

.gest-cta-box {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 55%, #f8fafc 100%);
  border: 1px solid #fed7aa;
  border-radius: 1.35rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--gest-shadow);
}

.gest-cta-box h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.gest-cta-box p {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  color: var(--gest-muted);
}

.gest-footer {
  border-top: 1px solid var(--gest-border);
  background: #fff;
  padding: 2.5rem 0 2rem;
}

.gest-footer-grid {
  display: grid;
  gap: 2rem;
}

.gest-footer-links {
  display: grid;
  gap: 1.5rem;
}

.gest-footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gest-muted);
}

.gest-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: #334155;
}

.gest-footer-col a:hover {
  color: var(--gest-accent);
}

.gest-footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gest-border);
  color: var(--gest-muted);
  font-size: 0.82rem;
  text-align: center;
}

/* Auth shell */
.gest-auth-wrap {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 2rem 0 3rem;
}

.gest-auth-card {
  width: min(480px, calc(100% - 2rem));
  background: #fff;
  border: 1px solid var(--gest-border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--gest-shadow);
}

.gest-auth-card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
}

.gest-auth-sub {
  margin: 0 0 1.5rem;
  color: var(--gest-muted);
  font-size: 0.95rem;
}

.gest-form-group {
  margin-bottom: 1rem;
}

.gest-form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.gest-input {
  width: 100%;
  border: 1px solid var(--gest-border);
  border-radius: 0.75rem;
  padding: 0.78rem 0.9rem;
  font: inherit;
  background: #fff;
}

.gest-input:focus {
  outline: none;
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.gest-input-otp {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
}

.gest-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--gest-muted);
}

.gest-check input {
  margin-top: 0.2rem;
}

.gest-check a {
  color: var(--gest-accent);
  font-weight: 600;
}

.gest-alert {
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.gest-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.gest-alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.gest-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.gest-alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.gest-auth-footer {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--gest-muted);
}

.gest-auth-footer a {
  color: var(--gest-accent);
  font-weight: 600;
}

.gest-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem;
  background: #f1f5f9;
  border-radius: 999px;
}

.gest-auth-tab {
  text-align: center;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gest-muted);
}

.gest-auth-tab.is-active {
  background: #fff;
  color: var(--gest-ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.gest-legal-page {
  padding: 2.5rem 0 4rem;
}

.gest-legal-page h1 {
  margin: 0 0 0.5rem;
}

.gest-legal-meta {
  color: var(--gest-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.gest-legal-body h2 {
  margin-top: 2rem;
  font-size: 1.15rem;
}

.gest-legal-body p,
.gest-legal-body li {
  color: #334155;
}

@media (min-width: 768px) {
  .gest-nav {
    display: flex;
  }

  .gest-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .gest-steps {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .gest-footer-grid {
    grid-template-columns: 1.2fr 2fr;
  }

  .gest-footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .gest-header-actions .gest-btn-ghost {
    display: none;
  }
}

.gest-price-card { display: flex; flex-direction: column; gap: .75rem; }
.gest-price-card .gest-price { margin: 0; font-size: 1.05rem; }
.gest-price-card .gest-price strong { font-size: 2rem; color: var(--gest-text, #0f172a); }
.gest-price-card .gest-price span { color: var(--gest-muted, #64748b); font-size: .95rem; }
.gest-price-alt { margin: 0; font-size: .85rem; color: var(--gest-muted, #64748b); }
.gest-price-features { margin: 0; padding-left: 1.1rem; color: var(--gest-muted, #475569); font-size: .92rem; }
.gest-price-features li { margin-bottom: .35rem; }
.gest-btn-block { display: block; text-align: center; margin-top: auto; }
.gest-price-featured { border: 2px solid #0f766e; position: relative; }
.gest-price-featured .gest-tag { position: absolute; top: .75rem; right: .75rem; }
.gest-legal-page h1 { margin-bottom: .75rem; }
.gest-legal-body h2 { margin-top: 1.5rem; font-size: 1.1rem; }
