:root {
  --ink-950: #170f08;
  --ink-900: #24170d;
  --ink-800: #3a2414;
  --sand-100: #f8f0e2;
  --sand-200: #f0e2c5;
  --sand-300: #e7d3aa;
  --surface: #fffaf4;
  --surface-strong: #fffdf9;
  --line: rgba(89, 53, 20, 0.12);
  --brand: #c88425;
  --brand-deep: #8d5413;
  --brand-soft: rgba(200, 132, 37, 0.16);
  --accent: #8f1d2c;
  --forest: #315b3a;
  --success: #20744a;
  --warning: #b56a13;
  --danger: #b42318;
  --muted: #71573f;
  --white: #ffffff;
  --shadow-xl: 0 30px 80px rgba(29, 14, 4, 0.18);
  --shadow-lg: 0 18px 40px rgba(36, 19, 6, 0.12);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at top left, rgba(200, 132, 37, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(143, 29, 44, 0.12), transparent 30%),
    linear-gradient(180deg, #fffaf4 0%, #f7ecdc 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.hidden { display: none !important; }

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.marketing-body {
  background:
    radial-gradient(circle at top left, rgba(200, 132, 37, 0.18), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(143, 29, 44, 0.1), transparent 26%),
    linear-gradient(180deg, #fffaf4 0%, #f6ecdc 100%);
}

.control-body {
  background:
    radial-gradient(circle at top left, rgba(200, 132, 37, 0.18), transparent 24%),
    linear-gradient(180deg, #1a120b 0%, #26170d 100%);
}

.section-kicker,
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 248, 239, 0.82);
  border-bottom: 1px solid rgba(89, 53, 20, 0.08);
}

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

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-950);
}

.site-brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.site-brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: visible;
}

.site-brand-logo img {
  width: 244px;
  height: auto;
  overflow: visible;
}

.site-brand strong,
.footer-brand strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
}

.site-brand small,
.footer-brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.site-header .site-brand {
  align-items: flex-start;
}

.site-header .site-brand small {
  margin-top: 0;
  line-height: 1.2;
}

.site-header .site-brand-stack,
.footer-brand .site-brand-stack {
  padding-top: 4px;
}

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

.site-nav a {
  color: var(--muted);
  font-weight: 700;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--ink-950);
}

.site-nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink-950);
  color: var(--white) !important;
}

.site-nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  color: var(--ink-950);
  border-radius: 999px;
  padding: 10px 14px;
}

.hero-section,
.trust-section,
.feature-band,
.ai-section,
.story-section,
.timeline-section,
.origin-section,
.industry-section,
.detail-section,
.pricing-section,
.faq-section,
.contact-section,
.cta-section {
  padding: 84px 0;
}

.page-hero {
  padding: 56px 0 44px;
}

.hero-grid,
.ai-layout,
.story-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  margin: 18px 0 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: none;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.page-hero .shell,
.hero-section .shell {
  width: min(1280px, calc(100vw - 32px));
}

.page-hero p {
  max-width: 68rem;
}

.hero-lead,
.page-hero p,
.section-head p,
.ai-panel p,
.story-copy p,
.origin-panel p,
.cta-box p,
.contact-copy p,
.price-card p,
.detail-card p,
.industry-card p,
.faq-grid p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #e0ae62 100%);
  color: #fffaf3;
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  color: var(--ink-950);
}

.hero-points,
.detail-card ul,
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points li,
.detail-card li,
.price-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--ink-800);
  line-height: 1.6;
}

.hero-points li::before,
.detail-card li::before,
.price-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand);
}

.hero-showcase,
.showcase-primary,
.mini-metric,
.feature-card,
.detail-card,
.industry-card,
.price-card,
.faq-grid article,
.contact-form-card,
.cta-box,
.admin-hero,
.env-card,
.modal,
.premium-card {
  background: rgba(255, 252, 247, 0.86);
  border: 1px solid rgba(89, 53, 20, 0.08);
  box-shadow: var(--shadow-lg);
}

.hero-showcase {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.hero-copy,
.hero-showcase,
.page-hero .shell,
.showcase-primary,
.cta-box {
  --parallax-shift: 0px;
  transform: translate3d(0, var(--parallax-shift), 0);
  will-change: transform;
}

.showcase-primary {
  border-radius: 24px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(141, 84, 19, 0.92), rgba(54, 29, 10, 0.95));
  color: var(--white);
}

.showcase-primary h2 {
  margin: 14px 0 12px;
  font-size: 30px;
  line-height: 1.18;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.showcase-primary p,
.showcase-tag {
  color: rgba(255, 248, 238, 0.85);
}

.showcase-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-stack {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.mini-metric {
  border-radius: 18px;
  padding: 18px 20px;
}

.mini-metric strong,
.feature-card h3,
.industry-card strong,
.faq-grid h3,
.contact-points strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.mini-metric span {
  color: var(--muted);
  line-height: 1.6;
}

.trust-grid,
.section-head,
.section-head.narrow {
  display: grid;
  gap: 18px;
}

.trust-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.trust-grid h2,
.section-head h2,
.ai-panel h2,
.cta-box h2,
.contact-copy h2,
.contact-form-card h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.03em;
}

.trust-stats,
.feature-grid,
.industry-grid,
.detail-grid,
.faq-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

.trust-stats { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(2, 1fr); }
.industry-grid { grid-template-columns: repeat(3, 1fr); }
.detail-grid { grid-template-columns: repeat(2, 1fr); }
.faq-grid { grid-template-columns: repeat(2, 1fr); }
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }

.trust-stats article,
.feature-card,
.industry-card,
.detail-card,
.faq-grid article,
.price-card {
  border-radius: 24px;
  padding: 26px;
}

.trust-stats strong,
.price-card h2 {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.trust-stats strong { font-size: 18px; margin-bottom: 8px; }
.trust-stats span { color: var(--muted); line-height: 1.6; }

.feature-card p,
.industry-card p,
.detail-card p,
.faq-grid p {
  margin: 0;
}

.ai-list {
  display: grid;
  gap: 18px;
}

.ai-list article {
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,246,234,0.94));
  border: 1px solid rgba(89, 53, 20, 0.08);
}

.ai-list strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.ai-list p,
.contact-points p,
.contact-direct p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.story-copy h2,
.origin-panel h2 {
  margin: 16px 0 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.story-panel-card,
.timeline-card,
.origin-panel {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(89, 53, 20, 0.08);
  box-shadow: var(--shadow-lg);
}

.story-panel-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.story-panel-card::before,
.origin-panel::before {
  content: '';
  position: absolute;
  inset: auto auto 0 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(200, 132, 37, 0.18), transparent 68%);
  pointer-events: none;
}

.story-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.story-stat {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.92) 0%, rgba(247, 236, 220, 0.88) 100%);
  border: 1px solid rgba(89, 53, 20, 0.08);
  box-shadow: 0 14px 28px rgba(36, 19, 6, 0.08);
}

.story-stat strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--ink-950);
}

.story-stat span,
.story-panel-note,
.timeline-card p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.story-panel-note {
  margin: 22px 0 0;
}

.timeline-wrap {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 0 0;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 112px;
  width: 2px;
  background: linear-gradient(180deg, rgba(200, 132, 37, 0.34) 0%, rgba(143, 29, 44, 0.24) 100%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 28px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-year {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink-950);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 18px 32px rgba(23, 15, 8, 0.18);
}

.timeline-card {
  position: relative;
  padding: 26px 28px;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 26px;
  left: -13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand) 0%, var(--accent) 100%);
  box-shadow: 0 0 0 8px rgba(200, 132, 37, 0.12);
}

.timeline-card h3 {
  margin: 0 0 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  line-height: 1.18;
}

.timeline-card p {
  margin: 0;
}

.origin-panel {
  position: relative;
  padding: 32px;
  overflow: hidden;
}

.cta-box {
  border-radius: 30px;
  padding: 36px 38px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.site-footer {
  padding: 44px 0 56px;
  border-top: 1px solid rgba(89, 53, 20, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 24px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  line-height: 1.7;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.reveal-left {
  transform: translate3d(-36px, 24px, 0);
}

.reveal-on-scroll.reveal-right {
  transform: translate3d(36px, 24px, 0);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, var(--parallax-shift, 0px), 0);
}

.contact-points,
.contact-direct {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-form-card {
  border-radius: 28px;
  padding: 28px;
}

.stack,
.stack-sm,
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-800);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(89, 53, 20, 0.12);
  background: rgba(255,255,255,0.8);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--ink-950);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(200, 132, 37, 0.55);
  box-shadow: 0 0 0 4px rgba(200, 132, 37, 0.12);
}

.lead-form-message,
.error,
.hint {
  font-size: 13px;
  line-height: 1.6;
}

.lead-form-message,
.hint { color: var(--muted); }
.error { color: var(--danger); }

.price-card .price-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-card h2 {
  font-size: 48px;
  margin: 18px 0 12px;
}

.price-card h2 span {
  font-size: 16px;
  color: var(--muted);
  margin-left: 4px;
}

.price-card.featured {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,240,219,0.92));
  transform: translateY(-8px);
  border-color: rgba(200, 132, 37, 0.3);
}

.control-login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.control-login-layout {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
}

.control-login-copy {
  color: rgba(255, 243, 228, 0.92);
}

.control-login-copy h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin: 18px 0 16px;
}

.control-login-copy p {
  color: rgba(255, 239, 219, 0.74);
  font-size: 18px;
  line-height: 1.7;
  max-width: 32rem;
}

.back-link,
.ghost-link {
  color: rgba(255, 239, 219, 0.82);
}

.premium-card,
.login-card {
  border-radius: 28px;
  padding: 34px;
  background: rgba(255, 250, 243, 0.95);
}

.login-card h1 {
  margin: 12px 0 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.control-logo,
.login-card .logo {
  width: 280px;
  max-width: 100%;
  min-height: 68px;
  display: grid;
  place-items: center;
}

.control-logo img,
.login-card .logo img {
  width: 100%;
  height: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 22px;
  background: rgba(28, 17, 9, 0.94);
  color: #f7ead7;
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ffcf63;
  color: #2b1708;
  font-size: 11px;
  font-weight: 800;
}

button {
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
}

button.primary {
  background: linear-gradient(135deg, var(--brand) 0%, #e0ae62 100%);
  color: #fffaf3;
}

button.ghost,
.ghost-inline {
  background: rgba(255,255,255,0.06);
  color: #f4e7d6;
  border-color: rgba(255,255,255,0.14);
}

button.btn-sm,
.ghost-inline {
  padding: 10px 14px;
}

.content { padding: 26px 22px 40px; }

.admin-hero {
  border-radius: 24px;
  padding: 26px 28px;
  margin-bottom: 20px;
}

.lead-panel {
  border-radius: 24px;
  padding: 26px 28px;
  margin-bottom: 20px;
}

.lead-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.lead-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-summary-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(89, 53, 20, 0.1);
  color: var(--ink-900);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead-summary-pill-accent {
  background: rgba(200, 132, 37, 0.14);
  border-color: rgba(200, 132, 37, 0.22);
  color: var(--brand-deep);
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.lead-card {
  border-radius: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(89, 53, 20, 0.08);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-card.is-unread {
  border-color: rgba(200, 132, 37, 0.3);
  box-shadow: 0 20px 40px rgba(200, 132, 37, 0.14);
}

.lead-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.lead-card-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.lead-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.lead-meta a {
  color: var(--brand-deep);
  word-break: break-all;
}

.lead-requirements {
  margin: 0;
  color: var(--ink-800);
  line-height: 1.65;
}

.lead-alert-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lead-action-btn {
  padding: 10px 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(89, 53, 20, 0.1);
  color: var(--ink-900);
}

.lead-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lead-status-new {
  background: rgba(200, 132, 37, 0.16);
  color: var(--brand-deep);
}

.lead-status-contacting,
.lead-status-contacted {
  background: rgba(32, 116, 74, 0.14);
  color: var(--success);
}

.lead-status-qualified {
  background: rgba(49, 91, 58, 0.16);
  color: var(--forest);
}

.lead-status-closed {
  background: rgba(113, 87, 63, 0.12);
  color: var(--muted);
}

.admin-kicker {
  margin: 0 0 8px;
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-hero h2 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 30px;
}

.env-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.loading {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

.env-card {
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.env-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.env-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.env-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.env-status.active { background: rgba(32, 116, 74, 0.14); color: var(--success); }
.env-status.inactive { background: rgba(181, 106, 19, 0.14); color: var(--warning); }
.env-status.unknown { background: rgba(113, 87, 63, 0.1); color: var(--muted); }

.env-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.env-meta a {
  color: var(--brand-deep);
  word-break: break-all;
}

.env-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.env-actions button {
  padding: 10px 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(89, 53, 20, 0.1);
  color: var(--ink-900);
}

.env-actions button.danger { color: var(--danger); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 11, 6, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.modal {
  width: min(720px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 26px;
  padding: 28px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-header h2 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 980px) {
  .hero-grid,
  .ai-layout,
  .story-layout,
  .contact-layout,
  .trust-grid,
  .control-login-layout,
  .footer-grid,
  .pricing-grid,
  .detail-grid,
  .feature-grid,
  .industry-grid,
  .faq-grid,
  .trust-stats {
    grid-template-columns: 1fr;
  }

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

  .story-stat-grid {
    grid-template-columns: 1fr;
  }

  .timeline-wrap::before {
    left: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 52px;
  }

  .timeline-year {
    justify-self: start;
    min-height: 46px;
  }

  .timeline-card::before {
    top: 18px;
    left: -40px;
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-brand-logo img {
    width: 196px;
  }

  .site-brand-stack {
    gap: 2px;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 252, 247, 0.98);
    border: 1px solid rgba(89, 53, 20, 0.08);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero-section,
  .page-hero,
  .trust-section,
  .feature-band,
  .ai-section,
  .story-section,
  .timeline-section,
  .origin-section,
  .industry-section,
  .detail-section,
  .pricing-section,
  .faq-section,
  .contact-section,
  .cta-section {
    padding: 64px 0;
  }

  .shell {
    width: min(100vw - 24px, 1180px);
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }

  .site-brand {
    gap: 10px;
  }

  .site-brand-logo img {
    width: 168px;
  }

  .site-brand-stack {
    gap: 2px;
  }

  .site-brand small,
  .footer-brand small {
    font-size: 11px;
  }

  .page-hero {
    padding: 48px 0 28px;
  }

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

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .topbar-right {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .hero-copy,
  .hero-showcase,
  .page-hero .shell,
  .showcase-primary,
  .cta-box,
  .reveal-on-scroll {
    transition: none !important;
    transform: none !important;
  }

  .reveal-on-scroll {
    opacity: 1;
  }
}
