/* Atdrive Software Design System component styles (components/bundle.css), copied verbatim from
 * https://claude.ai/artifact/TLuZmf1VuiW3ap7VvPkpsH via AtDrive's bd app (web/src/atdrive/atdrive.css):
 * class and variable prefix renamed from ad- to atd- (ad blockers hide .ad-*), and no Google Fonts
 * @import: Poppins is self-hosted (packages/brand/fonts/poppins.css, loaded first). Keep in sync with
 * the design system; don't edit by hand. Donevoy's dv- kit and app styles live in apps/web/src/styles
 * (see docs/architecture/design-system.md). */

:root {
  --atd-gradient-brand: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
  --atd-gradient-numeral: linear-gradient(135deg, var(--brand), var(--brand-3));
  --atd-gradient-soft: linear-gradient(90deg, rgba(255, 68, 1, 0.05) 0%, rgba(255, 102, 0, 0.05) 100%);
}

body { margin: 0; font-family: var(--font-sans); background: var(--surface); color: var(--ink); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
.atd-row { display: flex; flex-wrap: wrap; gap: var(--space-16); align-items: center; padding: var(--space-24); }
.atd-stack { display: flex; flex-direction: column; gap: var(--space-24); padding: var(--space-24); }
.atd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-24); padding: var(--space-24); }
.atd-band { background: var(--surface); color: var(--ink); }

/* Focus: one ring everywhere */
.atd-btn:focus-visible, .atd-icon-btn:focus-visible, .atd-tile:focus-visible, .atd-dot:focus-visible,
.atd-nav-link:focus-visible, .atd-nav-logo:focus-visible, .atd-input:focus-visible {
  outline: 2px solid var(--focus-ring); outline-offset: 2px;
}

/* Button */
.atd-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8); font-family: inherit; font-weight: 500; border: 0; border-radius: var(--radius-sm); cursor: pointer; text-decoration: none; white-space: nowrap; transition: filter .15s, background-color .15s, box-shadow .15s; }
.atd-btn-sm { font-size: 14px; line-height: 21px; padding: 11px var(--space-22); }
.atd-btn-md { font-size: 15px; line-height: 22px; padding: var(--space-14) var(--space-16); min-height: var(--control-height); box-sizing: border-box; }
.atd-btn-lg { font-size: 20px; line-height: 30px; padding: var(--space-16) var(--space-20); }
.atd-btn-primary { background: var(--atd-gradient-brand); color: var(--on-brand); }
.atd-btn-primary.atd-btn-lg { box-shadow: var(--shadow-cta); }
.atd-btn-primary:hover { filter: brightness(1.06); }
.atd-btn-solid { background: var(--brand-strong); color: var(--on-brand-strong); }
.atd-btn-solid:hover { filter: brightness(1.08); }
.atd-btn-secondary { background: var(--surface); color: var(--brand-strong); box-shadow: inset 0 0 0 1px var(--brand); }
.atd-btn-secondary:hover { background: var(--brand-soft); }
.atd-btn-ghost { background: transparent; color: var(--ink); }
.atd-btn-ghost:hover { background: var(--surface-muted); }
.atd-btn:disabled, .atd-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; filter: none; box-shadow: none; }
.atd-btn-icon { display: inline-block; }

/* Icon button */
.atd-icon-btn { width: var(--icon-button); height: var(--icon-button); border-radius: var(--radius-round); border: 0; background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-float); font: 400 18px/1 var(--font-sans); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.atd-icon-btn:hover { color: var(--brand-strong); }
.atd-icon-btn:disabled { opacity: .45; cursor: not-allowed; }

/* NavBar */
.atd-nav { background: var(--surface); }
.atd-nav-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-16); min-height: var(--nav-height); display: flex; align-items: center; gap: var(--space-16); }
.atd-nav-logo { display: flex; align-items: center; flex-shrink: 0; border-radius: var(--radius-xs); }
.atd-nav-logo img { height: 24px; width: auto; display: block; }
.atd-nav-wordmark { font-weight: 700; font-style: italic; color: var(--brand-strong); font-size: 20px; }
.atd-nav-links { display: flex; align-items: center; gap: var(--space-30); margin-left: auto; margin-right: var(--space-30); }
.atd-nav-link { color: var(--ink); font-size: 15px; line-height: 22px; font-weight: 500; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; border-radius: var(--radius-xs); }
.atd-nav-link:hover, .atd-nav-link.is-active { color: var(--brand-strong); }
.atd-nav-caret { font-size: 9px; opacity: .55; }

/* Selectable tile */
.atd-tile { display: flex; flex-direction: column; gap: var(--space-10); text-align: left; padding: var(--space-24); border-radius: var(--radius-xs); border: 1px solid transparent; background: transparent; color: var(--ink); font-family: inherit; cursor: pointer; width: 100%; }
.atd-tile:hover { background: var(--surface-muted); }
.atd-tile.is-selected { border-color: var(--brand); background: var(--atd-gradient-soft); }
.atd-tile-title { font-size: 24px; line-height: 26px; font-weight: 600; color: var(--heading); }
.atd-tile-desc { font-size: 16px; line-height: 24px; color: var(--ink); }

/* Carousel dots */
.atd-dots { display: inline-flex; gap: var(--space-8); align-items: center; }
.atd-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: var(--radius-pill); background: var(--dot-inactive); cursor: pointer; transition: width .2s; }
.atd-dot.is-active { width: 28px; background: var(--atd-gradient-brand); }

/* Typography */
.atd-eyebrow { display: inline-block; font-size: 14px; line-height: 21px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; }
.atd-eyebrow-muted { color: var(--ink-muted); }
.atd-eyebrow-ink { color: var(--ink); }
.atd-eyebrow-brand { color: var(--brand-strong); }
.atd-highlight { background: var(--atd-gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.atd-heading { display: flex; flex-direction: column; gap: var(--space-10); max-width: var(--prose-max); }
.atd-heading.is-center { align-items: center; text-align: center; margin: 0 auto; }
.atd-heading-title { margin: 0; color: var(--heading); font-weight: 600; }
.atd-h1 { font-size: 56px; line-height: 68.32px; }
.atd-h2 { font-size: 47.52px; line-height: 57.024px; }
.atd-h3 { font-size: 24px; line-height: 28.8px; }
.atd-heading-desc { margin: 0; font-size: 18px; line-height: 27px; color: var(--ink); }

/* Card */
.atd-card { border-radius: var(--radius-lg); padding: var(--space-32); box-sizing: border-box; }
.atd-card-default { background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-card); }
.atd-card-outline { background: var(--surface-raised); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.atd-card-brand { background: var(--atd-gradient-brand); color: var(--on-brand); }
.atd-card-glass { background: rgba(255, 255, 255, 0.05); color: var(--ink); box-shadow: var(--shadow-glass); padding: var(--space-28); }

/* Stat */
.atd-stat { display: flex; flex-direction: column; gap: 2px; }
.atd-stat-value { font-size: 30px; line-height: 36px; font-weight: 700; color: var(--brand-accent); }
.atd-stat-label { font-size: 14px; line-height: 21px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-muted); }
.atd-card-brand .atd-stat-value { color: var(--on-brand); font-size: 47.52px; line-height: 57.024px; font-weight: 500; }
.atd-card-brand .atd-stat-label { color: var(--on-brand); text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 400; }

/* Process step */
.atd-step { display: flex; flex-direction: column; gap: var(--space-10); }
.atd-step-num { font-size: 73.44px; line-height: 80.784px; font-weight: 700; background: var(--atd-gradient-numeral); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; align-self: flex-start; }
.atd-step-title { margin: 0; font-size: 24px; line-height: 28.8px; font-weight: 600; color: var(--heading); }
.atd-step-body { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink); }

/* Testimonial */
.atd-quote { margin: 0; display: flex; flex-direction: column; gap: var(--space-24); }
.atd-quote-text { margin: 0; font-size: 18px; line-height: 28.8px; }
.atd-quote-who { display: flex; align-items: center; gap: var(--space-14); }
.atd-quote-who > span { display: flex; flex-direction: column; }
.atd-quote-avatar { width: 48px; height: 48px; border-radius: var(--radius-round); object-fit: cover; flex-shrink: 0; }
.atd-quote-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand-strong); font-weight: 600; }
.atd-card-brand .atd-quote-initial { background: rgba(255, 255, 255, 0.2); color: var(--on-brand); }
.atd-quote-name { font-size: 16px; font-weight: 600; line-height: 24px; }
.atd-quote-role { font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.atd-card-brand .atd-quote-role { color: var(--on-brand); opacity: .85; }

/* Fields */
.atd-field { display: flex; flex-direction: column; gap: var(--space-10); font-family: var(--font-sans); }
.atd-field-label { font-size: 15.75px; line-height: 1.5; font-weight: 600; color: var(--heading); }
.atd-field-req { color: var(--danger); }
.atd-input { font-family: inherit; font-size: 16px; line-height: 24px; color: var(--ink); background: var(--surface-subtle); border: 1px solid var(--line-strong); border-radius: var(--radius-input); padding: var(--space-20) var(--space-22); box-sizing: border-box; width: 100%; }
.atd-input::placeholder { color: var(--ink-muted); }
.atd-input:hover { border-color: var(--ink-muted); }
.atd-input:focus-visible { border-color: var(--brand-strong); }
.atd-input:disabled { opacity: .55; cursor: not-allowed; }
.atd-textarea { resize: vertical; padding: var(--space-22); }
.atd-select-wrap { position: relative; display: flex; }
.atd-select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; }
.atd-select-caret { position: absolute; right: var(--space-22); top: 50%; transform: translateY(-50%); font-size: 9px; color: var(--ink-muted); pointer-events: none; }
.atd-field-hint { font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.atd-field-error { font-size: 14px; line-height: 21px; color: var(--danger); font-weight: 500; }
.atd-field.is-invalid .atd-input { border-color: var(--danger); }

/* Badge */
.atd-badge { display: inline-flex; align-items: center; gap: var(--space-4); font-size: 14px; line-height: 21px; font-weight: 500; padding: 2px var(--space-10); border-radius: var(--radius-pill); white-space: nowrap; }
.atd-badge-neutral { background: var(--surface-muted); color: var(--ink); }
.atd-badge-brand { background: var(--brand-soft); color: var(--brand-strong); }
.atd-badge-success { background: var(--success-soft); color: var(--success); }
.atd-badge-warning { background: var(--warning-soft); color: var(--warning); }
.atd-badge-danger { background: var(--danger-soft); color: var(--danger); }
.atd-badge-info { background: var(--info-soft); color: var(--info); }

/* Alert */
.atd-alert { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-16) var(--space-20); border-radius: var(--radius-sm); border: 1px solid; font-size: 16px; line-height: 24px; color: var(--ink); }
.atd-alert-title { font-weight: 600; }
.atd-alert-info { background: var(--info-soft); border-color: var(--info); }
.atd-alert-info .atd-alert-title { color: var(--info); }
.atd-alert-success { background: var(--success-soft); border-color: var(--success); }
.atd-alert-success .atd-alert-title { color: var(--success); }
.atd-alert-warning { background: var(--warning-soft); border-color: var(--warning); }
.atd-alert-warning .atd-alert-title { color: var(--warning); }
.atd-alert-danger { background: var(--danger-soft); border-color: var(--danger); }
.atd-alert-danger .atd-alert-title { color: var(--danger); }

/* Table */
.atd-table-wrap { border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-card); overflow-x: auto; }
.atd-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; color: var(--ink); }
.atd-table-caption { text-align: left; padding: var(--space-20) var(--space-24) 0; font-weight: 600; color: var(--heading); }
.atd-table th { text-align: left; font-size: 14px; line-height: 21px; font-weight: 600; letter-spacing: .7px; text-transform: uppercase; color: var(--ink-muted); padding: var(--space-16) var(--space-24); border-bottom: 1px solid var(--line); white-space: nowrap; }
.atd-table td { padding: var(--space-16) var(--space-24); border-bottom: 1px solid var(--line); }
.atd-table tbody tr:last-child td { border-bottom: 0; }
.atd-table tbody tr:hover td { background: var(--surface-muted); }
