/* adminrs.net — Hightouch-inspired design tokens */
:root {
  --primary: #40de9e;
  --accent-hover: #2ea281;
  --accent-pressed: #228457;
  --accent-wash: #e3fcee;
  --accent-soft: #b2f9d4;
  --ink: #141213;
  --body: #302d2e;
  --muted: #8f8a8b;
  --muted-strong: #696365;
  --canvas: #ffffff;
  --surface-alt: #f5f5f5;
  --surface-warm: #ebebeb;
  --border: #c7c2c3;
  --border-soft: #ebebeb;
  --on-primary: #141213;
  --on-dark: #f5f5f5;
  --footer-bg: #141213;
  --reframe-green: #efffbc;
  --max-width: 1240px;
  --section-space: clamp(64px, 10vw, 120px);
  --hero-space: clamp(72px, 12vw, 128px);
  --radius-lg: 12px;
  --radius-card: 16px;
  --font: "Inter", system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --transition: 160ms ease;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 16px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59, 65, 62, 0.17);
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}

.nav-links a:hover {
  color: var(--accent-hover);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition),
    transform var(--transition);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--on-primary);
}

.btn-primary:active {
  background: var(--accent-pressed);
}

.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--muted);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

@media (min-width: 480px) {
  .btn-block-sm-auto {
    width: auto;
  }
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-space) 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-strong);
  margin: 0 0 16px;
}

.headline {
  font-size: clamp(32px, 5vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
}

.body-lg {
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  margin: 0;
}

.text-muted {
  color: var(--muted);
}

.text-measure {
  max-width: 640px;
}

/* Hero */
.hero {
  padding: var(--hero-space) 0 var(--section-space);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
}

.hero-brand {
  display: block;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-strong);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 24px;
}

.hero-carousel {
  position: relative;
  min-height: 2.1em;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease;
  margin: 0;
  font: inherit;
  color: inherit;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
    transform: none;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

.hero-visual {
  background: var(--surface-alt);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--border-soft);
}

.hero-visual-inner {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--on-dark);
}

.hero-visual h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--primary);
}

.hero-visual p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.85);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chip {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-lg);
  background: rgba(64, 222, 158, 0.15);
  color: var(--primary);
  border: 1px solid rgba(64, 222, 158, 0.35);
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
}

.carousel-dots button[aria-selected="true"] {
  background: var(--primary);
}

.carousel-pause {
  font-size: 13px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 6px 12px;
  cursor: pointer;
  color: var(--body);
}

.carousel-pause:hover {
  border-color: var(--muted);
}

/* Logo strip */
.logo-strip {
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

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

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  align-items: center;
}

.logo-item {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
  opacity: 0.75;
}

/* Benefits */
.benefits-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--canvas);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid var(--border-soft);
  transition: box-shadow var(--transition), transform var(--transition);
}

.section-alt .card {
  background: var(--canvas);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(20, 18, 19, 0.06);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--accent-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-pressed);
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 8px;
}

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

/* Workflow */
.workflow-steps {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .workflow-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.step {
  position: relative;
  padding: 20px;
  background: var(--surface-alt);
  border-radius: var(--radius-card);
}

.step-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted-strong);
}

/* Trust */
.trust-grid {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.trust-quote {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  padding: 24px;
  background: var(--reframe-green);
  border-radius: var(--radius-card);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.badge {
  flex: 1 1 140px;
  padding: 16px 20px;
  background: var(--canvas);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  text-align: center;
}

.badge strong {
  display: block;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.badge span {
  font-size: 13px;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  background: var(--footer-bg);
  color: var(--on-dark);
  padding: var(--section-space) 0;
  text-align: center;
}

.cta-band .headline {
  color: var(--on-dark);
}

.cta-band .body-lg {
  color: rgba(245, 245, 245, 0.8);
  margin: 0 auto 32px;
}

.cta-band .btn-primary {
  min-width: 220px;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: rgba(245, 245, 245, 0.65);
  padding: 32px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

.footer-inner a:hover {
  color: var(--accent-soft);
}
