/* Lasair main.css - light professional theme */

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

:root {
  --bg: #fbfaf7;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --bg-subtle: #f4f1ea;
  --bg-wash: #fffcf7;
  --border: #ded7ca;
  --border-dim: #ece6dc;
  --text: #18140f;
  --text-muted: #6e665d;
  --text-light: #9a9186;
  --accent: #f59e3a;
  --accent-dim: #de8625;
  --accent-soft: #fff1dc;
  --success: #16825d;
  --success-soft: #e8f5ef;
  --danger: #dc2626;
  --ink: #252018;
  --teal: #2f7f74;
  --blue: #334e68;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 8px;
  --max-w: 1120px;
  --font: 'Instrument Sans', 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html {
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-top: 58px;
  background: var(--bg);
}

a {
  color: var(--accent-dim);
  text-decoration: none;
}

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

img {
  max-width: 100%;
}

strong {
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Navigation */
.nav {
  border-bottom: 1px solid var(--border-dim);
  padding: 0 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
}

.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
}

.nav__logo img,
.footer__logo img {
  display: block;
  border-radius: 6px;
}

.nav__links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}

.nav__links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.4rem;
}

.nav__links a:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0.56rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font);
  line-height: 1.2;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary,
.btn-primary:visited,
.nav__links a.btn-primary,
.nav__links a.btn-primary:visited {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  box-shadow: none;
}

.btn-primary:hover:not(:disabled),
.nav__links a.btn-primary:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  color: var(--ink);
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(24, 20, 15, 0.03);
}

.btn-outline:hover:not(:disabled) {
  background: var(--bg-subtle);
  border-color: #cfc6b8;
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
  border-color: var(--danger);
}

.btn-sm {
  min-height: 2rem;
  padding: 0.34rem 0.8rem;
  font-size: 0.8rem;
}

.btn-lg {
  min-height: 2.75rem;
  padding: 0.78rem 1.55rem;
  font-size: 0.95rem;
}

/* Cards and shared blocks */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(24, 20, 15, 0.05), 0 1px 2px rgba(24, 20, 15, 0.04);
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-muted {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.placeholder {
  background: var(--bg-subtle);
  border: 1px dashed #cfc6b8;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  user-select: none;
}

.placeholder__icon {
  width: 32px;
  height: 32px;
  border: 1px solid #cfc6b8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

input[type="email"],
input[type="password"],
input[type="text"] {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text);
  font-family: var(--font);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

input::placeholder {
  color: var(--text-light);
}

input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 58, 0.15);
}

.form-error {
  color: var(--danger);
  font-size: 0.825rem;
  margin-top: 0.25rem;
}

.form-hint {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Hero */
.hero {
  padding: 5.2rem 1.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-dim);
  background: var(--bg);
}

.hero__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  color: var(--accent-dim);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero__headline {
  width: 100%;
  max-width: 1020px;
  font-size: 4.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1.15rem;
  overflow-wrap: anywhere;
}

.hero__sub {
  width: 100%;
  font-size: 1.08rem;
  color: #554d44;
  line-height: 1.7;
  margin-bottom: 1.45rem;
  max-width: 660px;
}

.hero__cta {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.platform-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.platform-note a {
  color: var(--accent-dim);
  font-weight: 700;
}

.hero__demo {
  width: 100%;
}

.hero__visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}

.product-demo {
  position: relative;
  width: min(100%, 1080px);
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 3.35rem;
  padding: 0.72rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 14px 36px rgba(24, 20, 15, 0.1);
}

.media-placeholder {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.media-placeholder__chrome {
  height: 2.45rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.media-placeholder__chrome span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #d8d0c3;
}

.media-placeholder__chrome span:first-child {
  background: var(--accent);
}

.media-placeholder__body {
  height: calc(100% - 2.45rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.5rem;
  background: var(--bg);
  color: var(--text-muted);
  text-align: center;
}

.media-placeholder__type {
  color: var(--accent-dim);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.media-placeholder strong {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.3;
}

.media-placeholder--feature {
  aspect-ratio: 16 / 9;
  height: auto;
}

.media-placeholder--feature .media-placeholder__body {
  height: 100%;
}

/* Feature highlights */
.features {
  padding: 4.2rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-dim);
}

.features__inner,
.use-cases__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 2.3rem;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.section-sub {
  margin-top: 0.7rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 560px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  min-height: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.feature-item__body {
  padding: 0.15rem 0.2rem 0.25rem;
}

.feature-item__title {
  font-weight: 800;
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.feature-card__desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* Use cases */
.use-cases {
  padding: 4.2rem 1.5rem;
  border-bottom: 1px solid var(--border-dim);
  background: var(--bg-subtle);
}

.use-cases__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.use-cases__copy {
  position: sticky;
  top: 6rem;
  margin-bottom: 0;
}

.workflow-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.workflow-item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.35rem;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--border-dim);
}

.workflow-item:last-child {
  border-bottom: none;
}

.workflow-item > span {
  color: var(--accent-dim);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.workflow-item strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

.workflow-item p {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* Keyboard affordance */
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  padding: 0.1rem 0.38rem;
  border: 1px solid var(--border);
  border-bottom-color: #c4baaa;
  border-radius: 5px;
  background: #ffffff;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.82em;
  font-weight: 700;
  box-shadow: inset 0 -1px 0 #eee7dc;
}

/* CTA band */
.cta-band {
  padding: 4.2rem 1.5rem;
  text-align: center;
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border-dim);
}

.cta-band__inner {
  max-width: 560px;
  margin: 0 auto;
}

.cta-band__title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.cta-band__sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.65rem;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
}

.cta-band .platform-note {
  color: var(--text-muted);
}

.cta-band .platform-note a {
  color: var(--accent-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-band__note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Auth pages */
.auth-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  background: var(--bg-subtle);
}

.auth-box {
  width: 100%;
  max-width: 390px;
}

.auth-box__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.auth-box__sub {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.auth-box .card {
  margin-bottom: 0.75rem;
}

.auth-links {
  text-align: center;
  font-size: 0.825rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.auth-notice {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  background: rgba(245, 158, 58, 0.08);
  border: 1px solid rgba(245, 158, 58, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1rem;
}

/* Dashboard */
.dashboard {
  padding: 2.5rem 1.25rem;
  flex: 1;
}

.dashboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dashboard__title {
  font-size: 1.4rem;
  font-weight: 800;
}

.dashboard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.balance-display {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.5rem 0 1.25rem;
}

.balance-display__number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
}

.balance-display__label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.device-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.device-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.device-item__name {
  font-weight: 700;
  font-size: 0.875rem;
}

.device-item__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.badge-active {
  background: var(--success-soft);
  color: var(--success);
}

.badge-inactive {
  background: rgba(110, 102, 93, 0.1);
  color: var(--text-muted);
}

/* Activate page */
.activate-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  background: var(--bg-subtle);
}

.activate-box {
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.activate-box__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.activate-box__sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.pairing-code {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent-dim);
  font-variant-numeric: tabular-nums;
  margin: 1.25rem 0;
  font-family: 'Courier New', Courier, monospace;
}

.pairing-code--loading {
  color: var(--text-light);
  font-size: 1.5rem;
  font-family: var(--font);
}

.expiry-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0.75rem 0 0.4rem;
}

.expiry-bar__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 1s linear;
}

.expiry-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.activate-steps {
  text-align: left;
  margin: 1rem 0;
}

.activate-steps ol {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.activate-steps li {
  line-height: 1.6;
}

/* Buy and pricing */
.buy-wrapper {
  padding: 3rem 1.5rem;
  flex: 1;
}

.buy-wrapper__title {
  font-size: 1.9rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.4rem;
}

.buy-wrapper__sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 0.9rem;
}

.pricing-section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-muted);
  max-width: var(--max-w);
  margin: 0 auto 0.75rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 1rem;
  max-width: var(--max-w);
  margin: 0 auto 3rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(24, 20, 15, 0.08);
  border-color: #cfc6b8;
}

.pricing-card--featured {
  border-color: rgba(245, 158, 58, 0.5);
  background: linear-gradient(180deg, #ffffff 0, #fff8ed 100%);
}

.pricing-card__badge {
  position: absolute;
  top: -0.64rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card__credits {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.pricing-card__price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
}

.pricing-card__perks li::before {
  content: "+ ";
  color: var(--success);
  font-weight: 800;
}

/* Legal pages */
.legal-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-wrapper h1 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.legal-wrapper .effective {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 3rem;
}

.legal-wrapper h2 {
  font-size: 0.72rem;
  font-weight: 800;
  margin: 2.5rem 0 0.85rem;
  text-transform: uppercase;
  color: var(--text-light);
  border-top: 1px solid var(--border-dim);
  padding-top: 2rem;
}

.legal-wrapper p,
.legal-wrapper li {
  line-height: 1.75;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-wrapper p + p {
  margin-top: 0.75rem;
}

.legal-wrapper ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.legal-wrapper li {
  margin-bottom: 0.4rem;
}

.legal-wrapper .contact-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.legal-wrapper .contact-box p {
  margin: 0.2rem 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.legal-wrapper .highlight {
  background: var(--bg-subtle);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1rem 0;
}

.subprocessor-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.82rem;
}

.subprocessor-table th,
.subprocessor-table td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.subprocessor-table th {
  background: var(--bg-subtle);
  font-weight: 800;
  color: var(--text);
  font-size: 0.78rem;
}

.subprocessor-table td {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Help page */
.help-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.help-wrapper h1 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  background: var(--bg-card);
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-dim);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  background: var(--bg-subtle);
}

.faq-item h3 {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.4rem;
}

.faq-item p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.faq-item p + p {
  margin-top: 0.4rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.contact-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(24, 20, 15, 0.05);
}

.contact-section h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.contact-section p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.contact-section a.btn {
  display: inline-flex;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-dim);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: #f4f1ea;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

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

.footer a:hover {
  color: var(--text);
}

.footer__logo img {
  display: block;
  opacity: 1;
  transition: opacity 0.15s;
}

.footer__logo {
  display: inline-flex;
}

.footer__logo:hover img {
  opacity: 0.86;
}

/* Alerts and spinner */
.alert {
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.alert-error {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.alert-success {
  background: rgba(22, 163, 74, 0.07);
  border: 1px solid rgba(22, 163, 74, 0.2);
  color: #15803d;
}

.alert-info {
  background: rgba(245, 158, 58, 0.09);
  border: 1px solid rgba(245, 158, 58, 0.22);
  color: #92400e;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(245, 158, 58, 0.22);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero__headline {
    font-size: 3rem;
  }

  .feature-list,
  .use-cases__layout {
    grid-template-columns: 1fr;
  }

  .use-cases__copy {
    position: static;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3.8rem 1.25rem 0;
  }

  .product-demo {
    aspect-ratio: 16 / 9;
    margin-top: 2.3rem;
    padding: 0.45rem;
  }

  .media-placeholder__chrome {
    height: 2rem;
  }

  .media-placeholder__body {
    height: calc(100% - 2rem);
  }

  .features,
  .use-cases,
  .cta-band {
    padding: 3rem 1.25rem;
  }
}

@media (max-width: 600px) {
  .nav,
  .hero,
  .features,
  .use-cases,
  .cta-band,
  .footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .nav__inner,
  .hero__inner,
  .features__inner,
  .use-cases__inner,
  .product-demo {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    min-width: 0;
  }

  .nav {
    padding: 0 1rem;
  }

  .nav__inner {
    position: relative;
  }

  .nav__links {
    position: absolute;
    right: 0;
    gap: 0.35rem;
  }

  .nav__links a:first-child {
    display: none;
  }

  .hero__headline {
    width: calc(100vw - 2.5rem);
    max-width: 21rem;
    font-size: 2.2rem;
  }

  .hero__sub {
    width: calc(100vw - 2.5rem);
    max-width: 21rem;
    font-size: 1rem;
  }

  .hero__cta,
  .cta-band__actions {
    width: calc(100vw - 2.5rem);
    max-width: calc(100vw - 2.5rem);
  }

  .product-demo {
    width: calc(100vw - 2.5rem);
    max-width: calc(100vw - 2.5rem);
  }

  .hero__cta .btn,
  .cta-band__actions .btn {
    width: auto;
    min-width: 13rem;
    max-width: 100%;
  }

  .feature-item {
    min-height: 0;
  }

  .workflow-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1.1rem;
  }

  .media-placeholder__body {
    padding: 1rem;
  }

  .media-placeholder strong {
    font-size: 0.95rem;
  }

  .dashboard__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pairing-code {
    font-size: 2.35rem;
  }

}

@media (max-width: 420px) {
  .hero__cta .btn,
  .cta-band__actions .btn {
    width: 100%;
  }
}
