/* Ekrocx documentation — aligned with main apps homepage */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --pink: #ec4899;
  --blue: #4f46e5;
  --blue-deep: #4338ca;
  --blue-soft: #eef2ff;
  --teal: #10b981;
  --teal-deep: #059669;
  --ink: #0f172a;
  --text: #334155;
  --muted: #5b6478;
  --line: #e6e8f0;
  --bg: #f7f6fb;
  --white: #ffffff;
  --brand-gradient: linear-gradient(120deg, var(--indigo), var(--violet) 48%, var(--pink));
  --shadow: 0 16px 40px -18px rgba(79, 70, 229, 0.35);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1100px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(79, 70, 229, 0.14), transparent 60%),
    radial-gradient(700px 380px at 100% 0%, rgba(236, 72, 153, 0.12), transparent 55%),
    var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .logo-text strong {
  font-family: "Plus Jakarta Sans", "Inter", Arial, sans-serif;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--indigo);
  text-decoration: none;
}

a:hover {
  color: var(--blue-deep);
}
  .nav a.nav-all-apps:hover {
    background: #510efb;
}
/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 251, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.35);
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: min(1200px, calc(100% - 80px));
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--ink);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--brand-gradient);
  background-size: 180% 180%;
  animation: shift 8s ease infinite;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 6px;
  flex-shrink: 0;
}

.logo-mark span {
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.7);
}

.logo-mark span:nth-child(1),
.logo-mark span:nth-child(4) {
  background: #fff;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.20;
}

.logo-text strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--brand-gradient);
  background-size: 180% 180%;
  animation: shift 8s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-text span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 2px;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
  color: var(--ink);
  background: #fff;
}

.nav a.active {
  color: var(--indigo);
  background: var(--blue-soft);
}

.nav a.nav-all-apps {
  color: #fff;
  background: var(--brand-gradient);
  background-size: 180% 180%;
  animation: shift 8s ease infinite;
  box-shadow: 0 8px 20px -10px rgba(79, 70, 229, 0.55);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.nav a.nav-all-apps:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(79, 70, 229, 0.55);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ——— Layout ——— */

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 0px 64px;
      max-width: min(1200px, calc(100% - 80px));
}

/* .page-narrow {
  max-width: 920px;
} */

.page-hero {
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 800;
}

h2 {
  margin: 48px 0 14px;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 800;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ink);
  font-weight: 700;
}

.lead,
.subtitle {
  margin: 0;
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
}

.updated {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 14px;
}

/* ——— Components ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-gradient);
  background-size: 180% 180%;
  animation: shift 8s ease infinite;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 50px -18px rgba(79, 70, 229, 0.5);
  color: #fff !important;
}

.btn-secondary {
  background: #fff;
  animation: none;
  color: var(--ink) !important;
  border: 1.5px solid var(--line);
  box-shadow: none;
}

.btn-secondary:hover {
  border-color: #c7d2fe;
  background: #fff;
  color: var(--indigo) !important;
  box-shadow: 0 10px 24px -16px rgba(79, 70, 229, 0.35);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 16px 0;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-top: 0;
}

.support-box,
.note,
.callout {
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 70%);
  border: 1px solid #c7d2fe;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 20px 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.support-box:hover,
.note:hover,
.callout:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.support-box h2,
.note h2 {
  margin-top: 0;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.step::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--brand-gradient);
  background-size: 180% 180%;
  animation: shift 8s ease infinite;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}

.step:hover::before {
  transform: scaleX(1);
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.screenshot {
  margin: 18px 0 8px;
}

.screenshot img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.step:hover .screenshot img,
.screenshot img:hover {
  transform: scale(1.01);
  box-shadow: 0 24px 48px -20px rgba(79, 70, 229, 0.35);
}

.caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

ul, ol {
  padding-left: 22px;
  margin: 10px 0;
}

li {
  margin-bottom: 8px;
}

/* ——— Home hub ——— */

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
  padding: 28px 0 12px;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: -1;
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.blob-1 { width: 280px; height: 280px; top: -60px; left: -80px; background: rgba(129, 140, 248, 0.5); }
.blob-2 { width: 220px; height: 220px; top: 40px; right: -40px; background: rgba(244, 114, 182, 0.45); animation-delay: -5s; }
.blob-3 { width: 180px; height: 180px; bottom: -30px; left: 40%; background: rgba(56, 189, 248, 0.35); animation-delay: -8s; }

.home-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img {
    width: 90%;
    border-radius: 8px;
    box-shadow: var(--shadow);
    animation: floaty 6s ease-in-out infinite;
}

.hero-chip {
  position: absolute;
  bottom: 18px;
  left: 8%;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  animation: floaty 5s ease-in-out infinite reverse;
  box-shadow: var(--shadow);
}

.swatch-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.swatch-row i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: block;
  animation: pop 2.8s ease-in-out infinite;
}

.swatch-row i:nth-child(2) { animation-delay: .2s; }
.swatch-row i:nth-child(3) { animation-delay: .4s; }
.swatch-row i:nth-child(4) { animation-delay: .6s; }

.hub-heading {
  margin-top: 0;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hub-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: block;
}

.hub-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--brand-gradient);
  background-size: 180% 180%;
  animation: shift 8s ease infinite;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.hub-card:hover {
  transform: translateY(-8px);
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
  color: inherit;
}

.hub-card:hover::before {
  transform: scaleX(1);
}

.hub-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--indigo);
  font-weight: 800;
  margin-bottom: 14px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.hub-card:hover .icon {
  transform: scale(1.08);
  background: #e0e7ff;
}

.hub-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.hub-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hub-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 8px 0 40px;
}

.hub-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hub-stat:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}

.hub-stat b {
  display: block;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 26px;
  letter-spacing: -0.04em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hub-stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0 40px;
}

.feature-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-panel:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}

.feature-panel h3 {
  margin: 0 0 8px;
}

.feature-panel p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14.5px;
}

.feature-panel ul {
  margin: 0;
  padding-left: 18px;
}

.feature-panel li {
  margin-bottom: 6px;
  font-size: 14px;
}

.quick-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0 40px;
}

.quick-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.quick-step .num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.quick-step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.quick-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin: 18px 0 40px;
  align-items: start;
}

.preview-grid .screenshot {
  margin: 0;
}

/* ——— FAQ ——— */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq details:hover {
  transform: translateY(-2px);
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--indigo);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq .answer {
  padding: 0 20px 18px;
  color: var(--muted);
  border-top: 1px solid transparent;
}

.faq details[open] .answer {
  border-top-color: var(--line);
  padding-top: 14px;
}

/* ——— Pricing ——— */

.pricing-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 22px 64px;
}

.notice {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 300px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
}

.plan-card.featured {
  border-color: #c7d2fe;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.plan-card.featured:hover {
  transform: translateY(-8px);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.price {
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.yearly {
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  min-height: 20px;
}

.features-title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features li {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 9px;
  padding-left: 22px;
  position: relative;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--indigo);
  font-weight: 800;
}

.bottom-text {
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}

/* ——— Tables / video ——— */

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

th, td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
}

th {
  background: var(--blue-soft);
  color: var(--ink);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

.video-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.video-box video,
.video-box iframe {
  width: 100%;
  border-radius: 12px;
  border: none;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.section {
  margin-top: 40px;
}

/* ——— Footer ——— */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  margin-top: auto;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 22px 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
    max-width: min(1200px, calc(100% - 80px));
}

.footer-inner a {
  font-weight: 600;
}

/* ——— Motion ——— */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.page-hero.reveal,
.home-hero.reveal {
  transition-delay: 0.05s;
}

.hub-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.hub-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.hub-card.reveal:nth-child(3) { transition-delay: 0.15s; }
.hub-card.reveal:nth-child(4) { transition-delay: 0.2s; }
.hub-card.reveal:nth-child(5) { transition-delay: 0.25s; }
.hub-card.reveal:nth-child(6) { transition-delay: 0.3s; }

@keyframes shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, 18px, 0) scale(1.08); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}


/* ——— Responsive ——— */
@media (min-width: 1920px) {
.page {
    padding: 36px 0px 64px;
    max-width: min(1400px, calc(100% - 80px));
}
.header-inner {
    padding: 14px 0px;
    max-width: min(1400px, calc(100% - 80px));
}
.footer-inner {
    padding: 22px 8px;
    max-width: min(1400px, calc(100% - 80px));
}
}
@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-card.featured {
    transform: none;
  }

  .home-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-hero .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero .actions {
    justify-content: center;
  }

  .hub-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hub-stats,
  .quick-steps,
  .feature-split,
  .preview-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }
  .footer-inner {
    max-width: calc(100% - 32px);
}
.header-inner {
    max-width: calc(100% - 32px);
}
.page-narrow {
    max-width: calc(100% - 32px);
}

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 8px;
  }

  .nav.open {
    display: flex;
  }

  .hub-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hub-stats,
  .quick-steps,
  .feature-split,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 12px 0px;
  }

  .hero-chip {
    margin-top: 14px;
    display: inline-flex;
    animation: none;
  }

  .hero-visual img {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
