/* L4Desk landing — design tokens */
:root {
  --bg: #f6f7fb;
  --bg-dark: #0d1220;
  --bg-muted: #eef1f7;
  --surface: #ffffff;
  --text: #141a28;
  --text-muted: #5b6578;
  --text-on-dark: #e8ecf5;
  --text-on-dark-muted: #9aa6bc;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #16a34a;
  --accent-soft: #dcfce7;
  --border: #d8dee9;
  --border-dark: #243049;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --mono: "Cascadia Code", "SF Mono", Consolas, monospace;
  --container: 1120px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--bg-muted);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, 720px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
  text-decoration: none;
  line-height: 1.2;
}

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

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

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

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(232, 236, 245, 0.35);
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  width: 100%;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(37, 99, 235, 0.18), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(22, 163, 74, 0.1), transparent),
    var(--bg-dark);
  color: var(--text-on-dark);
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7dd3a0;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  font-weight: 750;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-on-dark-muted);
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-pills li {
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark-muted);
}

/* Hero hook: agent conversation */
.hero-visual {
  position: relative;
}

.hook-agent {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hook-bubble {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  max-width: 22rem;
  animation: fadeUp 0.7s ease both;
}

.hook-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7dd3a0;
  margin-bottom: 0.25rem;
}

.hook-bubble p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-on-dark);
}

.hook-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.mini-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--text);
  animation: fadeUp 0.7s ease both;
}

.mini-card:nth-child(1) { animation-delay: 0.12s; }
.mini-card:nth-child(2) { animation-delay: 0.24s; }
.mini-card:nth-child(3) { animation-delay: 0.36s; }

.mini-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  object-position: top;
  background: #0b0f18;
}

.mini-card span {
  display: block;
  padding: 0.55rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-dark .section-lead {
  color: var(--text-on-dark-muted);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

.narrow .section-lead {
  text-align: center;
}

.narrow h2 {
  text-align: center;
}

/* Role tabs */
.role-tabs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tab-list {
  display: flex;
  gap: 0.35rem;
  padding: 0.75rem;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.7rem 1.35rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}

.tab.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.tab-panels {
  padding: 2rem;
}

.tab-panel[hidden] {
  display: none;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.25rem;
  align-items: center;
}

.panel-grid h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.panel-grid > div > p {
  color: var(--text-muted);
  margin: 0 0 1.15rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2316a34a'%3E%3Cpath d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 5-5L12.6 5z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.shot-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.shot-frame img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: top;
}

.shot-frame figcaption,
.shot-frame-code figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
}

.shot-frame-code {
  background: var(--bg-dark);
  border-color: var(--border-dark);
}

.code-sample {
  margin: 0;
  padding: 1.5rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #d1e3ff;
}

.c-comment { color: #6b7c99; }
.c-key { color: #7dd3a0; }
.c-str { color: #f0c674; }
.c-bool { color: #c39bff; }

/* Dual screens hook */
.hook-dual {
  margin-bottom: 2.5rem;
}

.hook-dual-frame {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap: 1.25rem;
  align-items: end;
  max-width: 900px;
  margin: 0 auto;
}

.shot-desktop,
.shot-mobile {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: #000;
}

.shot-desktop img {
  width: 100%;
  animation: hookSlideIn 0.8s ease both;
}

.shot-mobile img {
  width: 100%;
  border-radius: var(--radius);
  animation: hookSlideIn 0.8s 0.25s ease both;
}

.live-badge {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  background: rgba(13, 18, 32, 0.85);
  border: 1px solid rgba(125, 211, 160, 0.45);
  color: #7dd3a0;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.live-badge::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.hook-caption {
  text-align: center;
  color: var(--text-on-dark-muted);
  margin: 1.5rem auto 0;
  max-width: 36rem;
  font-size: 1.05rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.pill {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Control hook */
.hook-control {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.control-frame {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  animation: controlPulse 4.5s ease-in-out infinite;
}

.control-frame img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: top;
}

.control-copy h3 {
  margin: 0 0 0.85rem;
  font-size: 1.45rem;
}

.control-copy p {
  color: var(--text-on-dark-muted);
  margin: 0 0 0.85rem;
}

.note {
  font-size: 0.92rem;
  color: var(--text-muted);
  border-left: 3px solid var(--border);
  padding-left: 0.95rem;
  margin: 1.15rem 0 0;
}

.section-dark .note {
  color: var(--text-on-dark-muted);
  border-left-color: var(--border-dark);
}

.note-center {
  text-align: center;
  border-left: 0;
  padding: 1rem 1.5rem;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  margin-top: 2rem;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.15rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.steps h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

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

/* AI split cards */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.card header {
  margin-bottom: 1.15rem;
}

.card h3 {
  margin: 0.65rem 0 0;
  font-size: 1.25rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.tag-live {
  background: var(--accent-soft);
  color: #15803d;
}

.tag-api {
  background: #dbeafe;
  color: #1d4ed8;
}

/* Timeline hook */
.hook-timeline {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.hook-timeline h3 {
  margin: 0 0 1.75rem;
  font-size: 1.35rem;
  color: var(--text);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.timeline li {
  display: flex;
  align-items: center;
  gap: 0;
}

.timeline li span {
  display: inline-block;
  padding: 0.75rem 1.45rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.timeline li:not(:last-child)::after {
  content: "→";
  margin: 0 0.65rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.15rem;
}

.hook-timeline .hook-caption {
  color: var(--text-muted);
  margin-top: 0;
}

/* Trust */
.hook-trust {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.trust-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
}

.trust-formula {
  font-family: var(--mono);
  font-size: 0.88rem;
  background: var(--bg-muted);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0 0 1rem;
  color: var(--primary);
  font-weight: 600;
}

.trust-card > p:last-child {
  margin: 0;
  color: var(--text-muted);
}

.trust-center {
  display: grid;
  place-items: center;
}

.trust-node {
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), #1e40af);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
  animation: trustPulse 3.5s ease-in-out infinite;
}

/* Role cards */
.role-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.role-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.role-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.role-q {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  margin: 0 0 0.65rem !important;
}

.role-card > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA form */
.section-cta {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 99, 235, 0.12), transparent),
    var(--bg);
  padding-bottom: 5.5rem;
}

.demo-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.demo-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.demo-form label.grow {
  grid-column: 1 / -1;
}

.demo-form input[type="text"],
.demo-form input[type="email"],
.demo-form select {
  font: inherit;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
}

.demo-form input:focus,
.demo-form select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.interest {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.95rem;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  background: var(--bg);
}

.interest legend {
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0 0.35rem;
}

.check {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500 !important;
  cursor: pointer;
}

.check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--primary);
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

.form-status.is-error {
  color: #dc2626;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  padding: 2.75rem 0;
  border-top: 1px solid var(--border-dark);
}

.footer-inner {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.site-footer .logo {
  color: var(--text-on-dark);
}

.site-footer p {
  margin: 0;
  max-width: 32rem;
}

.muted {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hookSlideIn {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes controlPulse {
  0%,
  72%,
  100% {
    border-color: transparent;
  }
  35%,
  65% {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
  }
}

@keyframes trustPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .role-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hook-trust {
    grid-template-columns: 1fr;
  }

  .trust-center {
    order: -1;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
  }

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

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-inner .btn-sm {
    display: none;
  }

  .hero-grid,
  .panel-grid,
  .hook-control,
  .split,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.25rem 0;
  }

  .hook-dual-frame {
    grid-template-columns: 1fr;
  }

  .shot-mobile {
    max-width: 280px;
    margin-inline: auto;
  }

  .hook-cards {
    grid-template-columns: 1fr;
  }

  .mini-card img {
    height: 140px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .steps,
  .role-cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.25rem 0;
  }

  .tab-panels {
    padding: 1.25rem;
  }

  .demo-form {
    padding: 1.25rem;
  }

  .timeline {
    flex-direction: column;
    align-items: center;
  }

  .timeline li:not(:last-child)::after {
    content: "↓";
    margin: 0.35rem 0;
    display: block;
    text-align: center;
  }

  .timeline li {
    flex-direction: column;
    width: 100%;
  }
}
