/* ==========================================================================
   Smart Meta Importer — Marketing site design system
   ========================================================================== */

:root {
  /* Brand Colors */
  --brand: #4f46e5;
  --brand-dark: #4338ca;
  --brand-light: #eef2ff;
  --brand-mid: #7c3aed;

  /* Text Colors */
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #64748b;

  /* Borders & Surfaces */
  --line: #e2e8f0;
  --surface: #ffffff;
  --canvas: #f7f6fb;
  --canvas-deep: #eef2ff;

  /* Warning */
  --warning-bg: #fff8e8;
  --warning-border: #f0d48a;
  --warning-ink: #7a5b10;

  /* Tip - Purple Theme */
  --tip-bg: #eef2ff;
  --tip-border: #c7d2fe;
  --tip-ink: #3730a3;

  /* Danger */
  --danger-bg: #fff1f1;
  --danger-border: #f0b4b4;
  --danger-ink: #8b1e1e;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(79, 70, 229, 0.08);
  --shadow-lg: 0 24px 48px rgba(79, 70, 229, 0.12);

  /* Border Radius */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;

  /* Layout */
  --header-h: 72px;
  --container: 1120px;

  /* Fonts */
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;

  /* Animation */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Focus */
  --focus: 0 0 0 3px #c7d2fe;

  /* Purple → Violet → Pink Gradient */
  --brand-gradient: linear-gradient(
    120deg,
    #4f46e5,
    #7c3aed 48%,
    #ec4899
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--brand-dark);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
  border-radius: var(--radius-xs);
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
      .nav a {
    color: #5b6478;
    text-decoration: none;
    transition: color 0.2s var(--ease);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    background: radial-gradient(circle at 90% 20%, rgba(52, 211, 153, 0.25), transparent 40%), linear-gradient(135deg, #855df5 0%, #b846b9 55%, #e5479d 100%);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.nav .nav-all-apps {
    background: linear-gradient(
  120deg,
  #6366F1,
  #8B5CF6 10%,
  #EC4899
);
    color: #fff;
    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;
    width: fit-content;
}
.nav__link:hover {
    color: #000000;
    background: #ffffff;
}
.nav__link.is-active {
    color: #4f46e5;
    background: #eef2ff;
}
.section {
  padding: 5rem 0;
}

.section--tight {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--surface);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.section__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
}

.section__head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center .section__lead {
  margin-inline: auto;
}

/* -------------------------------------------------------------------------- */
/* Buttons
/* -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  box-shadow: 0 8px 20px rgba(11, 110, 79, 0.18);
}

.btn:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--secondary {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-border: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  background: var(--canvas);
  color: var(--ink);
  border-color: #cbd5e1;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand);
  --btn-border: transparent;
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.btn--lg {
  min-height: 54px;
  padding-inline: 1.6rem;
  font-size: 1rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* -------------------------------------------------------------------------- */
/* Header
/* -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
    background: rgba(247, 246, 251, 0.82);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--brand);
  background: var(--brand-light);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-cta {
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem 1.25rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 0.85rem 1rem;
  }

  .nav .btn {
    margin-top: 0.5rem;
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* Hero
/* -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(26, 155, 108, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(11, 110, 79, 0.1), transparent 55%),
    linear-gradient(180deg, #f7faf8 0%, var(--canvas) 100%);
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero__title em {
  font-style: normal;
  color: var(--brand);
}

.hero__text {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 34rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero__meta svg {
  color: var(--brand);
}

.browser-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s var(--ease);
  animation: floatIn 0.8s var(--ease) both;
}

.browser-frame:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0deg) translateY(-4px);
}

.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.browser-frame__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-frame__dot:nth-child(1) {
  background: #f87171;
}

.browser-frame__dot:nth-child(2) {
  background: #fbbf24;
}

.browser-frame__dot:nth-child(3) {
  background: #34d399;
}

.browser-frame__url {
  margin-left: 0.5rem;
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-frame__body {
  aspect-ratio: 16 / 10;
  background: var(--canvas-deep);
}

.browser-frame__body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateY(-8deg) translateY(20px);
  }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .browser-frame {
    transform: none;
  }

  .browser-frame:hover {
    transform: translateY(-4px);
  }
}

/* -------------------------------------------------------------------------- */
/* Feature / benefit cards
/* -------------------------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c7e4d6;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-light);
  color: var(--brand);
  margin-bottom: 1rem;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.35rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Benefits list */

.benefit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.benefit-list__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-top: 0.15rem;
}

.benefit-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.benefit-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .benefit-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Preview gallery */

.preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.preview-grid .shot:first-child {
  grid-row: span 2;
}

@media (max-width: 800px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-grid .shot:first-child {
    grid-row: auto;
  }
}

/* Shot / screenshot figure */

.shot {
  margin: 0;
}

.shot__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.shot__frame:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.shot__frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.shot figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.shot--doc .shot__frame img {
  aspect-ratio: 16 / 9;
}

/* CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  background:
    radial-gradient(circle at 90% 20%, rgba(52, 211, 153, 0.25), transparent 40%),
    linear-gradient(135deg, #08553c 0%, #0b6e4f 55%, #147a58 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .btn {
  --btn-bg: #fff;
  --btn-fg: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.cta-band .btn:hover {
  background: #f0fdf6;
  color: var(--brand-dark);
}

/* -------------------------------------------------------------------------- */
/* Page hero (inner pages)
/* -------------------------------------------------------------------------- */

.page-hero {
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid var(--line);
    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%), #f7f6fb;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

/* -------------------------------------------------------------------------- */
/* FAQ
/* -------------------------------------------------------------------------- */

.faq-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.faq-cats a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.faq-cats a:hover {
  border-color: #c7e4d6;
  color: var(--brand);
  background: var(--brand-light);
}

.faq-group {
  margin-bottom: 2.5rem;
}

.faq-group h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.accordion {
  display: grid;
  gap: 0.75rem;
}

.accordion__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.accordion__item.is-open {
  border-color: #c7e4d6;
  box-shadow: var(--shadow-sm);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.accordion__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}

.accordion__panel {
  display: none;
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
}

.accordion__item.is-open .accordion__panel {
  display: block;
}

.accordion__panel p {
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* Privacy document
/* -------------------------------------------------------------------------- */

.doc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}

.doc h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.doc h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.doc h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.doc p,
.doc li {
  color: var(--ink-soft);
}

.doc ul {
  padding-left: 1.2rem;
}

.doc .placeholder {
    display: inline;
    /* background: #fff8db; */
    /* border-bottom: 1px dashed #d4b106; */
    padding: 0 0.2rem;
    color: #4f46e5;
    font-weight: 600;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

/* -------------------------------------------------------------------------- */
/* Support
/* -------------------------------------------------------------------------- */

.support-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.support-card,
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.support-card--accent {
  background:
    radial-gradient(circle at 100% 0%, rgba(52, 211, 153, 0.2), transparent 45%),
    linear-gradient(160deg, #0b6e4f, #08553c);
  color: #fff;
  border: 0;
}

.support-card--accent h2,
.support-card--accent p,
.support-card--accent a {
  color: #fff;
}

.support-card--accent p {
  opacity: 0.9;
}

.support-card--accent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 1.05rem;
}

.topic-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.topic-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  color: var(--ink);
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}

.topic-list a:hover {
  border-color: #c7e4d6;
  background: var(--brand-light);
  color: var(--brand-dark);
}

@media (max-width: 860px) {
  .support-layout {
    grid-template-columns: 1fr;
  }
}

/* Forms */

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 0.8rem 0.95rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--focus);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field .error {
  display: none;
  margin-top: 0.35rem;
  color: var(--danger-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #e11d48;
}

.field.is-invalid .error {
  display: block;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-xs);
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

/* -------------------------------------------------------------------------- */
/* Tutorial / docs layout
/* -------------------------------------------------------------------------- */

.docs {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 200px;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0 4rem;
}

.docs-sidebar,
.docs-toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  max-height: calc(100vh - var(--header-h) - 2rem);
  overflow: auto;
}

.docs-nav,
.docs-toc nav {
  display: grid;
  gap: 0.2rem;
}

.docs-nav a,
.docs-toc a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 2px solid transparent;
}

.docs-nav a:hover,
.docs-toc a:hover {
  color: var(--brand);
  background: var(--brand-light);
}

.docs-nav a.is-active,
.docs-toc a.is-active {
  color: var(--brand-dark);
  background: var(--brand-light);
  border-left-color: var(--brand);
}

.docs-sidebar__label,
.docs-toc__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
  padding-inline: 0.75rem;
}

.docs-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.docs-content > section {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.docs-content > section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.docs-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.docs-content h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.65rem;
}

.docs-content p,
.docs-content li {
  color: var(--ink-soft);
}

.docs-content ol.steps-list {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.docs-content ol.steps-list li {
  margin-bottom: 0.55rem;
}

.setting-block {
  margin: 1.25rem 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--canvas);
}

.setting-block h4 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

.callout {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--tip-border);
  background: var(--tip-bg);
  color: var(--tip-ink);
  font-size: 0.95rem;
}

.callout--tip {
  border-color: var(--tip-border);
  background: var(--tip-bg);
  color: var(--tip-ink);
}

.callout--note {
  border-color: #c7e4d6;
  background: var(--brand-light);
  color: var(--brand-dark);
}

.callout--warn {
  border-color: var(--warning-border);
  background: var(--warning-bg);
  color: var(--warning-ink);
}

.callout strong {
  display: block;
  margin-bottom: 0.2rem;
}

.code-block {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-xs);
  background: #0f172a;
  color: #e2e8f0;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.85rem;
  overflow-x: auto;
  line-height: 1.55;
}

.docs-mobile-nav {
  display: none;
  margin-bottom: 1rem;
}

.docs-mobile-nav select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 600;
  background: #fff;
}

@media (max-width: 1100px) {
  .docs {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .docs-toc {
    display: none;
  }
}

@media (max-width: 860px) {
  .docs {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    display: none;
  }

  .docs-mobile-nav {
    display: block;
  }
}

/* -------------------------------------------------------------------------- */
/* Footer
/* -------------------------------------------------------------------------- */

.site-footer {
  background: #000;
  color: #cbd5e1;
  padding: 4rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 0.85rem;
}

.site-footer p {
  margin: 0;
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-col h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: #94a3b8;
  font-weight: 500;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.88rem;
  color: #94a3b8;
}

.site-footer .placeholder, .footer-bottom .placeholder {
    background: rgb(223 71 160 / 18%);
    border-bottom: 1px dashed #df47a0;
    color: #df47a0;
    padding: 0 0.2rem;
    font-weight: 600;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------- */
/* Lightbox / back to top
/* -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  place-items: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(4px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox__dialog {
  position: relative;
  width: min(100%, 1080px);
  max-height: 90vh;
  background: #fff;
  border-radius: var(--radius);
  overflow: auto;
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.lightbox__dialog img {
  width: 100%;
  display: block;
}

.lightbox__caption {
  padding: 0.9rem 1.1rem 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
  z-index: 900;
  font-size: 1.2rem;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-dark);
}

/* Utilities */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

body.nav-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}