:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --fg: #f5f5f5;
  --fg-muted: #a3a3a3;
  --fg-dim: #6b6b6b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --radius: 16px;
  --font: "Inter", "Noto Sans TC", "Noto Sans Thai", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.lang-th {
  font-family: "Noto Sans Thai", "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.75;
}

body.lang-hi {
  font-family: "Noto Sans Devanagari", "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
}

body.lang-zh {
  font-family: "Noto Sans TC", "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.brand-name {
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a:hover { color: var(--fg); }

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg) !important;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav-cta:hover {
  background: #fff;
  color: #000 !important;
  border-color: #fff;
}


/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
  margin-left: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--fg-dim);
}

.lang-switch a {
  color: var(--fg-dim);
  transition: color 0.25s var(--ease);
}

.lang-switch a:hover {
  color: var(--fg);
}

.lang-switch a.lang-active {
  color: var(--fg);
  font-weight: 500;
}

.lang-sep {
  opacity: 0.45;
  user-select: none;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 8vw, 5rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.hero h1 {
  margin: 0 0 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero h1 .zh {
  display: block;
  font-size: clamp(1.55rem, 3.6vw, 2.55rem);
  line-height: 1.25;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}
html[lang="en"] .hero h1 .zh {
  max-width: 22ch;
}
html[lang="zh-Hant"] .hero h1 .zh {
  max-width: 12ch;
  font-size: clamp(1.85rem, 4.4vw, 3rem);
}

.hero h1 .en {
  display: block;
  font-size: clamp(0.98rem, 1.8vw, 1.25rem);
  font-weight: 300;
  color: var(--fg-muted);
  letter-spacing: -0.01em;
  max-width: 36rem;
  line-height: 1.4;
}

.subtitle {
  margin: 0 0 2.25rem;
  max-width: 36rem;
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  color: var(--fg-muted);
  font-weight: 300;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn-primary:hover { transform: translateY(-2px); background: #e8e8e8; }

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-en {
  font-weight: 400;
  opacity: 0.55;
  font-size: 0.82rem;
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--fg-muted);
  cursor: default;
  pointer-events: none;
}

.hero-mark {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: min(280px, 70%);
  height: auto;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  animation: float 7s var(--ease) infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Mission */
.mission {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-inner.narrow { max-width: 720px; text-align: center; }

.mission-label {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.mission-text {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.mission-en {
  margin: 0;
  color: var(--fg-dim);
  font-weight: 300;
  font-size: 1rem;
}

/* Pillars — brushed steel / ember */
.pillars {
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
  --steel-a: #1a1d21;
  --steel-b: #0e1013;
  --steel-c: #16191d;
  --steel-edge: #9aa3ad;
  --ember: #ff9e80;
  --ember-hot: #ff6b6b;
  --ember-gold: #ffd93d;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-head.centered { text-align: center; }

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  color: var(--fg-muted);
  font-weight: 300;
  font-size: 1rem;
}

.section-head.centered .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.en-inline {
  display: inline-block;
  margin-left: 0.65rem;
  font-weight: 300;
  color: var(--fg-dim);
  font-size: 0.65em;
}

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

.pillar {
  --ember-intensity: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.85rem 1.5rem 1.95rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(125deg, rgba(220, 228, 236, 0.09) 0%, transparent 28%),
    linear-gradient(155deg, rgba(255,255,255,0.055) 0%, transparent 45%),
    linear-gradient(165deg, #22262c 0%, #12151a 42%, #0a0c0f 72%, #14171c 100%);
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 0 rgba(0, 0, 0, 0.55),
    inset 1px 0 0 rgba(255, 255, 255, 0.04),
    0 10px 32px rgba(0, 0, 0, 0.45),
    0 0 calc(6px + var(--ember-intensity) * 28px)
      rgba(255, 158, 128, calc(var(--ember-intensity) * 0.55));
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.25s ease-out;
  will-change: transform, box-shadow;
}

/* Subtle brushed noise on the steel face */
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* 1px beveled metallic border: silver → ember */
.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(230, 236, 242, calc(0.85 + var(--ember-intensity) * 0.15)) 0%,
    rgba(170, 180, 192, 0.45) 22%,
    rgba(110, 118, 128, 0.35) 40%,
    rgba(255, 158, 128, calc(0.55 + var(--ember-intensity) * 0.45)) 62%,
    rgba(255, 107, 107, calc(0.4 + var(--ember-intensity) * 0.5)) 82%,
    rgba(255, 217, 61, calc(0.35 + var(--ember-intensity) * 0.45)) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: calc(0.72 + var(--ember-intensity) * 0.28);
  transition: opacity 0.2s ease-out;
}

/* Ember sweep line on first reveal (scroll-into-view) */
.pillar .pillar-sweep {
  position: absolute;
  top: 0;
  left: -40%;
  width: 42%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 217, 61, 0.05) 30%,
    rgba(255, 158, 128, 0.35) 50%,
    rgba(255, 107, 107, 0.12) 70%,
    transparent 100%
  );
  transform: skewX(-18deg) translateX(0);
}

.pillar.in-view .pillar-sweep {
  animation: pillarSweep 0.95s var(--ease) 0.08s 1 both;
}

@keyframes pillarSweep {
  0% { opacity: 0; transform: skewX(-18deg) translateX(0); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: skewX(-18deg) translateX(340%); }
}

.pillar > *:not(.pillar-sweep) {
  position: relative;
  z-index: 3;
}

@media (hover: hover) {
  .pillar:hover {
    transform: translateY(-6px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.09),
      inset 0 -1px 0 rgba(0, 0, 0, 0.45),
      0 16px 40px rgba(0, 0, 0, 0.45),
      0 0 32px rgba(255, 158, 128, 0.22);
  }
  .pillar:hover .pillar-num {
    text-shadow:
      0 0 18px rgba(255, 158, 128, 0.45),
      0 0 36px rgba(255, 107, 107, 0.2);
  }
}

.pillar:active {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(255, 158, 128, 0.28);
}

.pillar-num {
  display: block;
  font-size: clamp(2.75rem, 9vw, 3.6rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 1.15rem;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(198, 208, 218, 0.72);
  text-shadow:
    0 0 18px rgba(255, 158, 128, 0.28),
    0 0 40px rgba(255, 107, 107, 0.12),
    0 1px 0 rgba(0, 0, 0, 0.65);
  transition: text-shadow 0.35s var(--ease);
}

.pillar h3 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.pillar-en {
  margin: 0 0 1.15rem;
  color: var(--fg-dim);
  font-size: 0.85rem;
  font-weight: 300;
}

.pillar-body {
  margin: 0 0 0.55rem;
  color: var(--fg-muted);
  font-size: 0.98rem;
}

.pillar-body-en {
  margin: 0;
  color: var(--fg-dim);
  font-size: 0.85rem;
  font-weight: 300;
}

/* Bots */
.bots {
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}

.bot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.bot-card {
  padding: 1.85rem 1.65rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.bot-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.bot-card-coming {
  border-style: dashed;
  opacity: 0.85;
}


.bot-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin: 0 0 1rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,0.06), transparent 70%);
}

.bot-icon img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.45));
}

.bot-card-coming .bot-icon {
  opacity: 0.92;
}

@media (max-width: 560px) {
  .bot-icon { width: 96px; height: 96px; border-radius: 22px; }
  .bot-icon img { width: 88px; height: 88px; }
}

.bot-badge {
  display: inline-block;
  margin-bottom: 1.15rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
  border: 1px solid var(--line-strong);
}

.bot-badge.muted {
  background: transparent;
  color: var(--fg-dim);
  border-color: var(--line);
}

.bot-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.bot-body {
  margin: 0 0 0.45rem;
  color: var(--fg-muted);
  font-size: 0.98rem;
}

.bot-body-en {
  margin: 0;
  color: var(--fg-dim);
  font-size: 0.85rem;
  font-weight: 300;
}

/* Pricing */
.pricing {
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 820px;
}

.price-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.price-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.price-card-featured {
  border-color: var(--line-strong);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.05), transparent 55%),
    var(--bg-elevated);
}

.price-label {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.price-label-en {
  display: inline-block;
  margin-left: 0.4rem;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.75;
}

.price-amount {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.price-desc {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* Feedback */
.feedback {
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02));
}

.feedback-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 0.5rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-row label {
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.optional {
  color: var(--fg-dim);
  font-weight: 300;
}

.required {
  color: var(--fg-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.98rem;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--fg-dim);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a3a3a3' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row select option {
  background: #111;
  color: var(--fg);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.feedback-thanks {
  margin: 0.5rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.feedback-error {
  margin: 0.5rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(220, 80, 80, 0.45);
  background: rgba(220, 80, 80, 0.08);
  color: #f0b4b4;
  font-size: 0.95rem;
}

.form-row.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.feedback .section-inner.narrow {
  text-align: center;
}

/* Contact */
.contact {
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255,255,255,0.04), transparent);
}

.contact h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact-note {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--fg-muted);
}

.contact-note:last-of-type {
  margin-bottom: 2rem;
}

.contact-en {
  margin: 0 0 2rem;
  color: var(--fg-dim);
  font-weight: 300;
}

/* Quote */
.quote {
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255,255,255,0.04), transparent);
  text-align: center;
}

.quote-inner {
  text-align: center;
}

.quote-hello {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.quote h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.quote-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--fg-muted);
  font-weight: 300;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem) 2.25rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--line);
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--fg-dim);
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-size: 0.82rem;
  color: var(--fg-dim);
}

.footer-link:hover {
  color: var(--fg);
}

.footer-sep {
  opacity: 0.5;
}


/* US / Veteran accents */
.us-accent {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #0A3161;
  z-index: 60;
  pointer-events: none;
}

.us-flag {
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.veteran-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.75rem 0.35rem 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 49, 97, 0.28);
  color: var(--fg-muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.veteran-badge .us-flag {
  width: 22px;
  height: 12px;
}

.footer-veteran {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-veteran .us-flag {
  width: 18px;
  height: 10px;
}

.site-header {
  /* sit below the 3px accent */
  top: 3px;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s var(--ease) forwards;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 0.2s forwards;
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav > a:not(.nav-cta) { display: none; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
  }
  .hero-mark { order: -1; }
  .hero-logo { width: min(180px, 42vw); border-radius: 22px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .bot-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-submit {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up, .fade-in, .hero-logo { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pillar.in-view .pillar-sweep { animation: none; opacity: 0; }
  .pillar {
    transition: none;
    --ember-intensity: 0 !important;
  }
  .pillar:hover, .pillar:active { transform: none; }
}

/* Demo CTA on bot cards */
.bot-demo-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 1.15rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.bot-demo-btn:hover {
  transform: translateY(-2px);
  background: #e8e8e8;
}
.bot-card-demo {
  opacity: 1;
  border-style: solid;
}
.bot-card-demo .bot-badge.muted {
  color: var(--fg-muted);
}

/* Shared demo page layout */
.demo-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2rem) 4rem;
}
.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.demo-back {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.demo-back:hover { color: var(--fg); }
.demo-lang {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.78rem;
}
.demo-lang button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg-dim);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}
.demo-lang button.active {
  color: var(--fg);
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.06);
}
.demo-hero {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}
.demo-hero img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: contain;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.06), transparent 70%);
}
.demo-hero h1 {
  margin: 0 0 0.25rem;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.demo-hero p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.92rem;
}
.demo-banner {
  margin: 0 0 1.5rem;
  padding: 0.7rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--fg-dim);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.02);
}
.demo-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  padding: 1.25rem 1.2rem;
  margin-bottom: 1.15rem;
}
.demo-panel h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 500;
}
.demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.demo-chip {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--fg);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.demo-chip:hover, .demo-chip.selected {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
}
.demo-input-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.demo-input-row input,
.demo-input-row select,
.demo-input-row textarea {
  flex: 1 1 180px;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #0a0a0a;
  color: var(--fg);
  font-family: inherit;
  font-size: 0.92rem;
}
.demo-input-row textarea { min-height: 72px; resize: vertical; }
.demo-input-row input:focus,
.demo-input-row select:focus,
.demo-input-row textarea:focus {
  outline: none;
  border-color: #fff;
}
.demo-run {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #fff;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.demo-run:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.demo-run:not(:disabled):hover { background: #e8e8e8; }
.demo-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.demo-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg-dim);
  font-size: 0.9rem;
  opacity: 0.45;
  transition: opacity 0.35s var(--ease), color 0.35s var(--ease);
}
.demo-steps li:last-child { border-bottom: none; }
.demo-steps li.on {
  opacity: 1;
  color: var(--fg);
}
.demo-steps li.done {
  opacity: 0.85;
  color: var(--fg-muted);
}
.demo-step-dot {
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 0.1rem;
}
.demo-steps li.on .demo-step-dot,
.demo-steps li.done .demo-step-dot {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.demo-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.demo-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.demo-list li:last-child { border-bottom: none; }
.demo-list .qty {
  color: var(--fg-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.demo-cart {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(255,180,80,0.45);
  background: rgba(255,160,40,0.06);
}
.demo-cart .cart-label {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0b060;
  margin-bottom: 0.45rem;
}
.demo-cart .cart-total {
  font-size: 1.15rem;
  font-weight: 500;
}
.demo-cart .cart-note {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--fg-dim);
}
.demo-table-wrap { overflow-x: auto; }
.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.demo-table th,
.demo-table td {
  text-align: left;
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.demo-table th {
  color: var(--fg-dim);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.demo-price-box {
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
}
.demo-price-box .range {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.demo-price-box .why {
  margin: 0;
  color: var(--fg-muted);
  font-size: 0.85rem;
}
.demo-reply {
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0a0a0a;
  white-space: pre-wrap;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--fg-muted);
}
.demo-example-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--fg-dim);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.demo-hidden { display: none !important; }
.demo-file-hint {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--fg-dim);
}
@media (max-width: 420px) {
  .demo-hero img { width: 56px; height: 56px; border-radius: 14px; }
  .demo-hero h1 { font-size: 1.3rem; }
  .demo-input-row { flex-direction: column; }
  .demo-run { width: 100%; justify-content: center; }
}
