/* Altuva components — reads tokens.css custom properties only. */
.al-logo { display: inline-block; vertical-align: middle; flex: none; }
.al-logo-left { fill: var(--green-700); }
.al-logo-right { fill: var(--green-500); }
.al-logo-word { fill: var(--text); }

.al-icon { display: inline-block; flex: none; vertical-align: middle; }

/* Button — black primary with tactile inset shadow; green only as `accent` */
.al-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500;
  border-radius: var(--radius-md); border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, transform .1s ease;
}
.al-btn:active { transform: translateY(0.5px); }
.al-btn--sm { padding: 8px 12px; }
.al-btn--md { padding: 12px 16px; }
.al-btn--lg { padding: 14px 20px; font-size: 15px; }
.al-btn .al-icon { margin-right: -2px; }
.al-btn--block { display: flex; width: 100%; }
.al-btn--primary { background: var(--action); color: var(--on-action); box-shadow: var(--shadow-action); }
.al-btn--primary:hover { background: var(--action-hover); }
.al-btn--secondary { background: var(--button-face); color: var(--text); box-shadow: var(--shadow-button); }
.al-btn--secondary:hover { background: var(--surface-sunken); }
.al-btn--ghost { background: transparent; color: var(--text-muted); }
.al-btn--ghost:hover { color: var(--text); background: var(--surface-sunken); }
.al-btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-button); }
.al-btn--accent:hover { background: var(--accent-hover); }
.al-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.al-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Badge */
.al-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500;
  padding: 3px 8px; border-radius: var(--radius-sm); white-space: nowrap;
}
.al-badge--neutral { background: var(--surface-sunken); color: var(--text-muted); }
.al-badge--accent { background: var(--accent-soft-strong); color: var(--accent); }
.al-badge--outline { background: var(--surface); color: var(--text-muted); box-shadow: var(--shadow-ring); }
.al-badge-dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: currentColor; }

/* Field */
.al-field { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-sans); }
.al-field-label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.al-input {
  font: inherit; font-size: 15px; line-height: 22px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: 10px 12px; width: 100%; box-sizing: border-box;
}
.al-input::placeholder { color: var(--text-subtle); }
.al-input:hover { border-color: var(--text-muted); }
.al-input:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.al-field-hint { margin: 0; font-size: 13px; line-height: 18px; color: var(--text-subtle); }
.al-field--error .al-input { border-color: var(--danger); }
.al-field--error .al-field-hint { color: var(--danger); }

/* Card — ring, not border */
.al-card {
  font-family: var(--font-sans); color: var(--text);
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-ring);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); box-sizing: border-box;
}
.al-card--accent { background: var(--accent-soft); box-shadow: none; }
.al-card-icon {
  width: 36px; height: 36px; border-radius: var(--radius-md); display: inline-flex; align-items: center; justify-content: center;
  color: var(--text); background: var(--surface); box-shadow: var(--shadow-ring); margin-bottom: var(--space-2);
}
.al-eyebrow { margin: 0; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text-subtle); }
.al-card-title { margin: 0; font-size: 18px; line-height: 26px; font-weight: 500; letter-spacing: -0.01em; }
.al-card-body { font-size: 15px; line-height: 22px; color: var(--text-muted); }
.al-card-body p { margin: 0; }

/* Headline — grotesk headline with one italic serif phrase */
.al-headline { font-family: var(--font-sans); display: flex; flex-direction: column; gap: var(--space-4); }
.al-headline--center { align-items: center; text-align: center; margin: 0 auto; max-width: 820px; }
.al-headline--left { align-items: flex-start; text-align: left; max-width: 720px; }
.al-headline-title { margin: 0; color: var(--text); font-weight: 500; text-wrap: balance; }
.al-headline--display { font-size: 64px; line-height: 68px; letter-spacing: -0.025em; }
.al-headline--h1 { font-size: 52px; line-height: 56px; letter-spacing: -0.022em; }
.al-headline--h2 { font-size: 40px; line-height: 46px; letter-spacing: -0.02em; }
.al-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-size: 1.06em; }
.al-accent--green { color: var(--accent); }
.al-headline-sub { margin: 0; font-size: 18px; line-height: 28px; color: var(--text-muted); max-width: 560px; text-wrap: pretty; }
.al-headline-actions { display: flex; gap: var(--space-3); margin-top: var(--space-2); flex-wrap: wrap; justify-content: inherit; }
.al-headline--center .al-headline-actions { justify-content: center; }

/* NavBar — floating pill */
.al-nav { font-family: var(--font-sans); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: 10px 0; }
.al-nav--floating { display: inline-flex; padding: 6px 6px 6px 14px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
.al-nav-brand { display: inline-flex; align-items: center; }
.al-nav-links { display: flex; gap: var(--space-1); }
.al-nav-link { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-muted); text-decoration: none; padding: 6px 10px; border-radius: var(--radius-md); }
.al-nav-link:hover { color: var(--text); background: var(--surface-sunken); }
.al-nav-actions { display: flex; gap: var(--space-2); align-items: center; }

/* FeatureGrid — hairline-divided columns */
.al-fgrid { font-family: var(--font-sans); display: grid; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.al-fgrid-cell { padding: var(--space-6) var(--space-6) var(--space-8); border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.al-fgrid-cell:last-child { border-right: 1px solid var(--border); }
.al-fgrid-visual { min-height: 140px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); }
.al-fgrid-title { margin: 0; font-size: 22px; line-height: 28px; font-weight: 400; letter-spacing: -0.015em; color: var(--text); }
.al-fgrid-body { margin: 0; font-size: 15px; line-height: 22px; color: var(--text-muted); }

/* Pricing */
.al-price { gap: var(--space-3); padding: var(--space-8) var(--space-6); }
.al-price--featured { box-shadow: 0 0 0 1.5px var(--accent), 0 12px 32px rgba(0,0,0,0.06); }
.al-price-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.al-price-desc { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-muted); }
.al-price-amount { display: flex; align-items: baseline; gap: 4px; margin-top: var(--space-2); }
.al-price-num { font-size: 44px; line-height: 48px; font-weight: 500; letter-spacing: -0.035em; }
.al-price-per { font-size: 15px; color: var(--text-subtle); }
.al-price-setup { margin: 0; font-size: 14px; color: var(--text-subtle); }
.al-price-list { list-style: none; margin: var(--space-2) 0 var(--space-4); padding: var(--space-4) 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 22px; color: var(--text-muted); }
.al-price-list li { display: flex; gap: 10px; align-items: flex-start; }
.al-price-list .al-icon { color: var(--accent); margin-top: 2px; }

/* Stat */
.al-stat { font-family: var(--font-sans); display: flex; flex-direction: column; gap: var(--space-1); }
.al-stat-value { margin: 0; font-size: 56px; line-height: 60px; font-weight: 500; letter-spacing: -0.035em; color: var(--text); }
.al-stat-caption { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-subtle); max-width: 28ch; }
