/* Gesloc marketing site — tokens ported from the "Modernist" design system
   (claude.ai/design project fa74a29a…, component library be0a2ad5…).
   Kept as plain CSS / no build step, matching how the source design ships. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;800&display=swap');

:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-accent-2: #e15b47;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);

  --color-accent-100: #fff2ef;
  --color-accent-600: #dd2b0f;
  --color-accent-700: #ae1800;
  --color-accent-800: #7c1405;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-heading-weight: 800;
  --font-body: "Archivo", system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;

  --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
}

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }
a { color: var(--color-accent); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--color-accent-700); }
img, svg { display: block; }
html { scroll-behavior: smooth; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-700);
  margin: 0 0 var(--space-3);
}

.text-muted { color: color-mix(in srgb, var(--color-text) 78%, transparent); }

.hr {
  height: 2px;
  border: 0;
  margin: 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 15px;
  line-height: 1.2;
  color: var(--color-text);
  background: transparent;
  border: 1px solid transparent;
  padding: 12px 22px;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost-invert {
  color: var(--color-bg);
  border: 1px solid var(--color-bg);
}
.btn-ghost-invert:hover { background: color-mix(in srgb, var(--color-bg) 12%, transparent); color: var(--color-bg); }
.btn.btn-block { width: 100%; justify-content: center; }

/* — tags — */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 3px 10px;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — shell — */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
  display: flex;
  flex-direction: column;
}

/* — nav — */
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding: 20px 0;
  border-bottom: 2px solid var(--color-divider);
}
.brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-right: auto;
  color: var(--color-text);
}
.brand:hover { color: var(--color-text); }
.nav-links { display: flex; flex-wrap: wrap; gap: 24px; }
.nav-links a { color: var(--color-text); font-size: 14px; }
.nav-links a:hover { color: var(--color-accent); }
.nav-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* — reveal-on-scroll — */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; opacity: 1; transform: none; }
}

/* — hero — */
.hero {
  padding: 72px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  max-width: 18ch;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  max-width: 56ch;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note {
  font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.hero-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
.hero-strip-card {
  border: 2px solid var(--color-divider);
  padding: 20px;
}
.hero-strip-card--accent { border-color: var(--color-accent); }
.hero-strip-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  margin: 0 0 8px;
}
.hero-strip-card--accent .hero-strip-label { color: var(--color-accent-700); }
.hero-strip-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
}
.hero-strip-arrow {
  display: flex;
  justify-content: center;
  color: var(--color-accent);
}

/* — problem — */
.problem {
  padding: 56px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}
.problem h2 { font-size: clamp(24px, 3vw, 32px); max-width: 16ch; }
.problem-quote {
  border-left: 2px solid var(--color-accent);
  padding-left: 24px;
  display: flex;
  align-items: center;
}
.problem-quote p {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* — features — */
.section { padding: 56px 0; }
.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  padding: 28px 0;
  border-top: 2px solid var(--color-divider);
}
.feature-num {
  flex: 0 0 48px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--color-accent);
}
.feature-title {
  flex: 1 1 260px;
  min-width: 200px;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.feature-copy {
  flex: 2 1 320px;
  min-width: 260px;
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* — how it works — */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.step-icon { color: var(--color-accent); margin-bottom: 10px; }
.step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  color: var(--color-accent);
  margin: 0 0 8px;
}
.step-title { font-size: 17px; margin: 0 0 6px; }
.step-copy {
  font-size: 14px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* — roles / sharing — */
.roles {
  padding: 56px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
}
.roles h2 { font-size: clamp(24px, 3vw, 32px); max-width: 18ch; margin: 0 0 12px; }
.roles-copy {
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 48ch;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  margin: 0 0 8px;
}
.roles-list { display: flex; flex-direction: column; }
.role-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--color-divider);
}
.role-name { font-family: var(--font-heading); font-weight: 800; font-size: 15px; }
.role-desc {
  font-size: 14px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
  text-align: right;
}

/* — pricing — */
.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.pricing-head h2 { font-size: clamp(24px, 3vw, 32px); }
.cycle-toggle {
  display: inline-flex;
  border: 2px solid var(--color-divider);
}
.cycle-toggle button {
  border: 0;
  cursor: pointer;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  background: transparent;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cycle-toggle button + button { border-left: 2px solid var(--color-divider); }
.cycle-toggle button[aria-pressed="true"] { background: var(--color-accent); color: var(--color-bg); }
.cycle-toggle .discount { font-size: 11px; font-weight: 600; opacity: 0.75; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border: 2px solid var(--color-divider);
}
.plan-card {
  padding: 28px 24px;
  border-left: 2px solid var(--color-divider);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.plan-card:first-child { border-left: 0; }
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.plan-head-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.plan-name { font-family: var(--font-heading); font-weight: 800; font-size: 16px; }
.plan-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.02em;
}
.plan-period { font-size: 15px; font-weight: 400; color: color-mix(in srgb, var(--color-text) 60%, transparent); }
.plan-sub { font-size: 13px; color: color-mix(in srgb, var(--color-text) 65%, transparent); margin: 4px 0 0; }
.plan-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}
.plan-features svg { flex: none; margin-top: 3px; color: var(--color-accent); }
.plan-cta { justify-content: center; }
.pricing-footnote {
  font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
  margin: 16px 0 0;
}
[data-cycle-panel] { display: contents; }
[data-cycle-panel][hidden] { display: none; }

/* — security — */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.security-item { display: flex; gap: 14px; }
.security-item svg { flex: none; color: var(--color-accent); }
.security-item p {
  font-size: 14.5px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}

/* — faq — */
.faq-item {
  border-top: 2px solid var(--color-divider);
}
.faq-item summary {
  list-style: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chevron { flex: none; color: var(--color-accent); transition: transform .2s ease; }
.faq-item[open] summary .chevron { transform: rotate(180deg); }
.faq-item p {
  font-size: 15px;
  line-height: 1.65;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
  margin: 0 0 20px;
  max-width: 60ch;
}

/* — final CTA band — */
.cta-band { background: var(--color-accent); color: var(--color-bg); }
.cta-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px clamp(20px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-band h3 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 20ch;
  letter-spacing: -0.015em;
}
.cta-band-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  opacity: 0.85;
}

/* — footer — */
.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer .brand { font-size: 14px; margin-right: 0; }
.site-footer .copyright {
  font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
