/* SlinkDash marketing site — home.slinkdigital.site
 * Derived from the SlinkDash design system tokens (design/tokens).
 * Static, framework-free. Geist carries voice; Geist Mono carries every number.
 */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&family=Geist+Mono:wght@400;500;600&display=swap');

:root {
  --orange-50:  #FFF3EB;
  --orange-100: #FFE1CC;
  --orange-400: #FF8126;
  --orange-500: #FF6803;
  --orange-600: #E25303;
  --orange-700: #AE3A02;

  --ink-950: #0B0501;
  --ink-900: #161210;
  --ink-850: #1F1A17;
  --ink-800: #2A2320;
  --ink-700: #3D3531;
  --ink-500: #756A63;
  --ink-400: #9A8F88;
  --ink-300: #BFBFBF;
  --ink-200: #D9D5D1;
  --ink-150: #E6E2DE;
  --ink-100: #EFECE8;
  --ink-50:  #F7F5F2;
  --white:   #FFFFFF;

  --profit-500: #1F8A5B;

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --container: 1080px;
  --shadow-card: 0 1px 2px rgba(11, 5, 1, 0.04), 0 12px 32px -12px rgba(11, 5, 1, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--ink-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--orange-600); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums lining-nums;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-700);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-150);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.site-header .logo img { display: block; height: 30px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 500;
}

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

.nav-links { display: flex; gap: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

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

.btn-primary {
  background: var(--orange-500);
  color: var(--white) !important;
}

.btn-primary:hover { background: var(--orange-600); }
.btn-primary:active { background: var(--orange-700); transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink-800) !important;
  border-color: var(--ink-200);
}

.btn-ghost:hover { border-color: var(--ink-300); background: var(--white); }

.site-nav .btn { padding: 9px 18px; font-size: 0.9rem; }

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--ink-100);
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.lang-switch a {
  padding: 7px 13px;
  border-radius: 7px;
  color: var(--ink-500);
  font-weight: 500;
  line-height: 1;
}

.lang-switch a:hover { color: var(--ink-950); text-decoration: none; }

.lang-switch a.active {
  color: var(--ink-950);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(11, 5, 1, 0.08);
  cursor: default;
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; }

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 3.9rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: var(--ink-950);
  margin: 20px 0 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange-500);
}

.hero .lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-500);
  max-width: 46ch;
  margin: 0 0 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Receipt (signature element) ---------- */
.receipt {
  background: var(--white);
  border: 1px solid var(--ink-150);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 26px 28px 24px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums lining-nums;
  font-size: 0.92rem;
}

.receipt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--profit-500);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--profit-500);
  position: relative;
}

.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--profit-500);
  opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { transform: scale(0.5); opacity: 0.9; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { opacity: 0; }
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px dashed var(--ink-200);
  color: var(--ink-700);
}

.receipt-row .amount { color: var(--ink-950); font-weight: 500; }
.receipt-row .amount.neg { color: var(--ink-500); font-weight: 400; }

.receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 4px;
  padding: 16px 0 4px;
  border-top: 2px solid var(--ink-950);
}

.receipt-total .label {
  font-weight: 600;
  color: var(--ink-950);
  font-size: 0.95rem;
}

.receipt-total .amount {
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--orange-500);
  letter-spacing: -0.01em;
}

.receipt-margin {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  font-size: 0.78rem;
  color: var(--ink-500);
}

.receipt-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 26px;
}

.receipt-bars span {
  width: 7px;
  border-radius: 2.5px;
  background: var(--orange-100);
}

.receipt-bars span:nth-child(1) { height: 32%; }
.receipt-bars span:nth-child(2) { height: 46%; }
.receipt-bars span:nth-child(3) { height: 40%; }
.receipt-bars span:nth-child(4) { height: 58%; }
.receipt-bars span:nth-child(5) { height: 52%; }
.receipt-bars span:nth-child(6) { height: 72%; }
.receipt-bars span:nth-child(7) { height: 100%; background: var(--orange-500); }

/* Load choreography: rows reveal in sequence, like a till printing. */
@media (prefers-reduced-motion: no-preference) {
  .receipt .reveal {
    opacity: 0;
    transform: translateY(6px);
    animation: printline 420ms ease-out forwards;
  }

  .receipt .reveal:nth-of-type(1) { animation-delay: 150ms; }
  .receipt .reveal:nth-of-type(2) { animation-delay: 320ms; }
  .receipt .reveal:nth-of-type(3) { animation-delay: 490ms; }
  .receipt .reveal:nth-of-type(4) { animation-delay: 660ms; }
  .receipt .reveal:nth-of-type(5) { animation-delay: 830ms; }
  .receipt-total.reveal { animation-delay: 1050ms !important; }
  .receipt-margin.reveal { animation-delay: 1250ms !important; }

  @keyframes printline {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--ink-150); border-bottom: 1px solid var(--ink-150); }

.section-head { max-width: 620px; margin-bottom: 48px; }

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink-950);
  margin: 14px 0 12px;
}

.section-head p { color: var(--ink-500); margin: 0; font-size: 1.05rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--ink-150);
  border-radius: 14px;
  padding: 26px 24px;
}

.section.alt .feature { background: var(--ink-50); }

.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange-50);
  color: var(--orange-600);
  margin-bottom: 18px;
}

.feature .icon svg { width: 20px; height: 20px; }

.feature h3 {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink-950);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature p { margin: 0; font-size: 0.92rem; color: var(--ink-500); line-height: 1.6; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 24px 26px 24px;
  background: var(--white);
  border: 1px solid var(--ink-150);
  border-radius: 14px;
}

.step .step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--orange-600);
  display: block;
  margin-bottom: 14px;
}

.step h3 { font-size: 1.02rem; font-weight: 650; color: var(--ink-950); margin: 0 0 8px; }
.step p { margin: 0; font-size: 0.92rem; color: var(--ink-500); line-height: 1.6; }

/* ---------- Data / trust strip ---------- */
.trust {
  background: var(--white);
  border: 1px solid var(--ink-150);
  border-radius: 16px;
  padding: 34px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: start;
}

.trust .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-50);
  color: var(--orange-600);
}

.trust .icon svg { width: 22px; height: 22px; }

.trust h2 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.015em; color: var(--ink-950); margin: 0 0 10px; }
.trust p { margin: 0 0 10px; font-size: 0.95rem; color: var(--ink-500); }
.trust p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink-950);
  color: var(--ink-200);
  border-radius: 20px;
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 0 0 8px;
}

.cta-band p { margin: 0; color: var(--ink-400); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  color: var(--ink-400);
  padding: 56px 0 40px;
  margin-top: 96px;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--ink-850);
}

.footer-brand img { height: 28px; width: auto; display: block; margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 34ch; line-height: 1.6; }

.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 14px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--ink-200); }
.footer-col a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 0.82rem;
  color: var(--ink-500);
}

.footer-bottom a { color: var(--ink-400); }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 40px; }

.legal article {
  max-width: 720px;
  background: var(--white);
  border: 1px solid var(--ink-150);
  border-radius: 18px;
  padding: 56px 60px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 720;
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--ink-950);
  margin: 14px 0 8px;
}

.legal .effective {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-500);
  margin: 0 0 36px;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink-950);
  margin: 40px 0 12px;
}

.legal h3 {
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--ink-950);
  margin: 26px 0 8px;
}

.legal p, .legal li { font-size: 0.97rem; line-height: 1.7; color: var(--ink-700); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }

.legal .callout {
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 20px 0;
}

.legal .callout p { margin: 0; color: var(--ink-800); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero .lede { max-width: none; }
  .nav-links { display: none; }
  .section { padding: 64px 0; }
  .cta-band { padding: 44px 28px; }
  .legal article { padding: 40px 28px; }
  .trust { grid-template-columns: 1fr; padding: 28px 24px; }
  .footer-cols { gap: 44px; }
}
