/*
 * Landing page design system.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Aesthetic: calm, premium SaaS (inspired by clay.com) — warm paper canvas, generous whitespace,
 * soft layered shadows, restrained 1px borders, medium type weights, and one confident accent.
 */

:root {
  --page-bg: #f6f5f2;
  --ink: #17171a;
  --ink-soft: #3d3d44;
  --muted: #6e6e78;
  --line: #e8e6e1;
  --line-strong: #d9d6cf;
  --panel: #ffffff;
  --panel-soft: #f1efea;

  --accent: #ff4d5e;
  --accent-ink: #d4233a;
  --accent-soft: #fff0f1;
  --teal: #0fb0b8;
  --teal-ink: #0a7d83;
  --teal-soft: #e6f6f7;
  --green: #1f9d5b;
  --amber: #b07900;

  --shadow-sm: 0 1px 2px rgba(20, 20, 25, 0.05), 0 1px 1px rgba(20, 20, 25, 0.04);
  --shadow-md: 0 10px 28px -10px rgba(20, 20, 25, 0.14), 0 2px 6px rgba(20, 20, 25, 0.05);
  --shadow-lg: 0 32px 64px -20px rgba(20, 20, 25, 0.24), 0 10px 24px -12px rgba(20, 20, 25, 0.12);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.landing-page {
  min-width: 320px;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

::selection {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.landing-shell {
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(15, 176, 184, 0.10), transparent 60%),
    radial-gradient(900px 480px at 8% 2%, rgba(255, 77, 94, 0.07), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--page-bg) 18%, var(--page-bg) 100%);
}

.site-header,
.hero-section,
.flow-band,
.pain-section,
.workflow-section,
.case-study-section,
.features-section,
.pricing-section,
.pricing-detail-section,
.pricing-page-hero,
.custom-contact-section,
.trial-section,
.faq-section,
.site-footer {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--ink), #34343c);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
}

.site-nav a,
.header-cta,
.primary-cta,
.secondary-cta,
.plan-cta {
  text-decoration: none;
}

.site-nav a {
  transition: color 0.15s ease;
}

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

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  background: #000000;
}

/* ---------- Hero ---------- */

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 56px;
  padding: 64px 0 48px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--teal-ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.6;
}

.hero-copy h1,
.hero-copy h2,
.pricing-page-hero h1,
.section-intro h2,
.pain-section h2,
.workflow-grid h3,
.case-copy h2,
.features-section h2,
.trial-copy h2,
.faq-section h2 {
  margin: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(40px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.pricing-page-hero {
  max-width: 860px;
  padding: 84px 0 50px;
  text-align: center;
}

.pricing-page-hero .eyebrow {
  justify-content: center;
}

.pricing-page-hero h1 {
  font-size: clamp(40px, 5.2vw, 66px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.pricing-page-hero p:last-child {
  max-width: 660px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 450;
  line-height: 1.55;
}

.hero-copy h2 {
  max-width: 600px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 450;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.primary-cta {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #000000;
}

.secondary-cta {
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.secondary-cta:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

/* ---------- Product preview ---------- */

.product-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #1f1f24, #17171a);
  padding: 15px 18px;
  color: #ffffff;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.preview-topbar strong {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
}

.preview-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  min-height: 500px;
}

.inbox-panel,
.booking-panel {
  padding: 22px;
}

.inbox-panel {
  border-right: 1px solid var(--line);
  background: #faf9f7;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-heading p,
.panel-heading strong {
  margin: 0;
}

.panel-heading p {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.panel-heading strong {
  border-radius: 999px;
  background: var(--teal-soft);
  padding: 5px 10px;
  color: var(--teal-ink);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.lead-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 15px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.lead-card + .lead-card {
  margin-top: 12px;
}

.lead-card.active {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1.5px rgba(15, 176, 184, 0.35), var(--shadow-md);
}

.lead-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.high-intent {
  background: rgba(31, 157, 91, 0.12);
  color: var(--green);
}

.qualifying {
  background: rgba(176, 121, 0, 0.13);
  color: var(--amber);
}

.nurture {
  background: rgba(255, 77, 94, 0.10);
  color: var(--accent-ink);
}

.lead-card h3 {
  margin: 11px 0 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lead-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.booking-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: #ffffff;
}

.conversation-card,
.qualification-card,
.calendar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
}

.message {
  width: fit-content;
  max-width: 90%;
  margin: 0;
  border-radius: 14px;
  padding: 10px 13px;
  font-size: 13px;
  line-height: 1.4;
}

.message + .message {
  margin-top: 9px;
}

.message.inbound {
  background: #f2f1ee;
  color: var(--ink-soft);
  border-bottom-left-radius: 4px;
}

.message.outbound {
  margin-left: auto;
  background: var(--ink);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.qualification-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  border-color: rgba(31, 157, 91, 0.25);
  background: rgba(31, 157, 91, 0.05);
}

.qualification-card span {
  color: var(--green);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.qualification-card strong,
.calendar-card strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.qualification-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  list-style: none;
}

.qualification-card li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--green);
  font-weight: 700;
}

.calendar-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border-color: var(--line);
}

.calendar-date {
  display: grid;
  width: 86px;
  min-height: 68px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--accent), var(--accent-ink));
  color: #ffffff;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.15;
  box-shadow: var(--shadow-sm);
}

.calendar-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Shared section spacing & type ---------- */

.pain-section,
.workflow-section,
.case-study-section,
.features-section,
.pricing-section,
.pricing-detail-section,
.custom-contact-section,
.trial-section,
.faq-section {
  padding: 88px 0;
}

.pain-section {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 48px;
  border-top: 1px solid var(--line);
}

.pain-section h2,
.section-intro h2,
.case-copy h2,
.features-section h2,
.pricing-section h2,
.custom-contact-section h2,
.trial-copy h2,
.faq-section h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.pain-section p,
.section-intro p,
.case-copy p,
.pricing-section p,
.trial-copy p,
.faq-grid p,
.feature-list p,
.workflow-grid p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.pain-section > div:first-child > p {
  margin-top: 14px;
}

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

.pain-grid article,
.workflow-grid article,
.feature-list article,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pain-grid article:hover,
.feature-list article:hover,
.faq-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.pain-grid strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pain-grid p,
.feature-list p,
.faq-grid p,
.workflow-grid p {
  margin-bottom: 0;
  margin-top: 8px;
  font-size: 14.5px;
}

/* ---------- Workflow (dark band) ---------- */

.workflow-section {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 360px at 88% -10%, rgba(15, 176, 184, 0.22), transparent 60%),
    radial-gradient(620px 320px at 0% 110%, rgba(255, 77, 94, 0.14), transparent 60%),
    linear-gradient(180deg, #1c1c21, #131316);
  color: #ffffff;
  padding-inline: clamp(24px, 5vw, 64px);
  box-shadow: var(--shadow-lg);
}

.section-intro {
  max-width: 740px;
}

.workflow-section .section-kicker {
  color: #5fd7dd;
}

.workflow-section .section-intro p,
.workflow-section .workflow-grid p {
  color: rgba(255, 255, 255, 0.66);
}

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

.workflow-grid article {
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.workflow-grid article:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

.workflow-grid span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(95, 215, 221, 0.16);
  color: #7fe3e8;
  font-weight: 600;
  font-size: 14px;
}

.workflow-grid h3,
.feature-list h3,
.faq-grid h3 {
  margin: 18px 0 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.feature-list h3,
.faq-grid h3 {
  margin-top: 0;
}

/* ---------- Case study ---------- */

.case-study-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 48px;
}

.case-copy p {
  margin-bottom: 0;
  margin-top: 14px;
}

.case-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.quote-mark {
  color: var(--accent);
  font-size: 60px;
  font-weight: 700;
  line-height: 0.6;
  font-family: Georgia, "Times New Roman", serif;
}

.case-card blockquote {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.case-results {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.case-results span {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-soft);
  padding: 13px 15px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Features ---------- */

.features-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) 1fr;
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.feature-panel {
  position: sticky;
  top: 28px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* ---------- Pricing ---------- */

.pricing-section {
  border-top: 1px solid var(--line);
}

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

.pricing-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.featured-plan {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1.5px rgba(255, 77, 94, 0.25), var(--shadow-lg);
}

.featured-plan:hover {
  box-shadow: 0 0 0 1.5px rgba(255, 77, 94, 0.35), var(--shadow-lg);
}

.custom-plan {
  background: linear-gradient(180deg, #1c1c21, #131316);
  border-color: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

.plan-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  width: fit-content;
  margin: 0;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.plan-heading p,
.plan-heading strong,
.plan-summary {
  margin: 0;
}

.plan-heading p {
  color: var(--teal-ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.custom-plan .plan-heading p {
  color: #5fd7dd;
}

.plan-heading strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan-heading strong span {
  font-size: 46px;
  font-weight: 700;
}

.plan-summary {
  min-height: 78px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.custom-plan .plan-summary,
.custom-plan .plan-features,
.custom-plan .plan-limits {
  color: rgba(255, 255, 255, 0.7);
}

.plan-limits,
.plan-features {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.plan-limits {
  border-block: 1px solid var(--line);
  padding-block: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.custom-plan .plan-limits {
  border-color: rgba(255, 255, 255, 0.14);
}

.plan-features {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.plan-limits li,
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.plan-limits li::before,
.plan-features li::before {
  content: "✓";
  flex: none;
  color: var(--green);
  font-weight: 700;
}

.custom-plan .plan-limits li::before,
.custom-plan .plan-features li::before {
  color: #5fd7dd;
}

.plan-cta {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.plan-cta:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.featured-plan .plan-cta {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.featured-plan .plan-cta:hover {
  background: #000000;
}

.secondary-plan-cta {
  border-color: rgba(255, 255, 255, 0.7);
  background: #ffffff;
  color: var(--ink);
}

.secondary-plan-cta:hover {
  border-color: #ffffff;
}

.pricing-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px;
  color: var(--muted);
  font-size: 14.5px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.pricing-note strong {
  color: var(--ink);
  font-weight: 600;
}

.pricing-detail-section {
  padding-top: 24px;
}

.pricing-detail-section .pricing-grid {
  margin-top: 0;
}

/* ---------- Custom contact / trial panels ---------- */

.custom-contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
}

.trial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: center;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 320px at 90% -20%, rgba(15, 176, 184, 0.22), transparent 60%),
    radial-gradient(560px 300px at 0% 120%, rgba(255, 77, 94, 0.16), transparent 60%),
    linear-gradient(180deg, #1c1c21, #131316);
  color: #ffffff;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
}

.trial-section .trial-copy .section-kicker {
  color: #5fd7dd;
}

.trial-section .trial-copy h2 {
  color: #ffffff;
}

.trial-section .trial-copy p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 14px;
}

.trial-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.trial-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.trial-form input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 13px 14px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.trial-form input::placeholder {
  color: #a3a3ac;
}

.trial-form input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 176, 184, 0.16);
}

.trial-form button {
  min-height: 52px;
  cursor: pointer;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.trial-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: #000000;
}

.trial-form p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.trial-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.trial-card strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.trial-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.trial-card .primary-cta {
  margin-top: 4px;
}

/* ---------- FAQ ---------- */

.faq-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer strong {
  color: var(--ink);
  font-weight: 600;
}

.site-footer small {
  font-size: 12.5px;
}

/* ---------- Spot illustrations (claymation 3D art) ---------- */

.hero-section,
.workflow-section,
.pricing-section {
  position: relative;
}

/* Lightning "instant reply" accent floating over the hero preview */
.hero-spot {
  position: absolute;
  z-index: 3;
  top: clamp(8px, 1.5vw, 26px);
  left: calc(50% - clamp(56px, 7vw, 92px));
  width: clamp(92px, 11vw, 148px);
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: rotate(-8deg);
  filter: drop-shadow(0 16px 22px rgba(20, 20, 25, 0.22));
}

/* Full-width storyboard banner under the hero */
.flow-band {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 20px 0 64px;
}

.flow-band .section-kicker {
  margin-bottom: 22px;
}

.flow-art {
  width: 100%;
  max-width: 880px;
  height: auto;
  filter: drop-shadow(0 26px 36px rgba(20, 20, 25, 0.16));
}

/* Absolutely-positioned spot art over a section */
.section-spot {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 24px 28px rgba(20, 20, 25, 0.30));
}

.workflow-spot {
  top: clamp(28px, 3vw, 44px);
  right: clamp(20px, 3vw, 48px);
  width: clamp(180px, 18vw, 260px);
}

.pricing-spot {
  top: 56px;
  right: clamp(0px, 2vw, 16px);
  width: clamp(150px, 15vw, 220px);
  filter: drop-shadow(0 20px 26px rgba(20, 20, 25, 0.16));
}

/* In-flow illustration inside the features panel */
.feature-spot {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 28px;
  filter: drop-shadow(0 20px 30px rgba(20, 20, 25, 0.14));
}

@media (max-width: 1080px) {
  .section-spot {
    display: none;
  }
}

@media (max-width: 980px) {
  /* Hero stacks single-column; the centred lightning accent no longer has a seam to sit on */
  .hero-spot {
    display: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .site-header,
  .hero-section,
  .flow-band,
  .pain-section,
  .workflow-section,
  .case-study-section,
  .features-section,
  .pricing-section,
  .pricing-detail-section,
  .pricing-page-hero,
  .custom-contact-section,
  .trial-section,
  .faq-section,
  .site-footer {
    width: min(100% - 32px, 760px);
  }

  .site-nav {
    display: none;
  }

  .hero-section,
  .pain-section,
  .case-study-section,
  .features-section,
  .custom-contact-section,
  .trial-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 40px;
    padding-top: 48px;
  }

  .pain-grid,
  .workflow-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 14px;
  }

  .brand-mark small,
  .header-cta {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .hero-actions,
  .primary-cta,
  .secondary-cta,
  .plan-cta {
    width: 100%;
  }

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

  .preview-grid {
    min-height: auto;
  }

  .inbox-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .qualification-card,
  .calendar-card {
    grid-template-columns: 1fr;
  }

  .calendar-card {
    align-items: flex-start;
  }

  .pain-section,
  .workflow-section,
  .case-study-section,
  .features-section,
  .pricing-section,
  .pricing-detail-section,
  .pricing-page-hero,
  .custom-contact-section,
  .trial-section,
  .faq-section {
    padding-block: 60px;
  }

  .case-card blockquote {
    font-size: 20px;
  }

  .plan-badge {
    position: static;
    margin-bottom: 14px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
