/* ---- tokens ---- */
:root{
  --porcelain: #f6f4ef;
  --porcelain-line: #dcd7cb;
  --navy: #1d2b4d;
  --navy-2: #24365f;
  --steel: #6b6f72;
  --steel-light: #9a9d9f;
  --indicator: #e7731a;
  --indicator-glow: rgba(231, 115, 26, 0.45);
  --paper: #fffdf9;

  --font-display: "Century Gothic", "Segoe UI Semibold", "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  min-height: 100vh;
  background: var(--porcelain);
  color: var(--navy);
  font-family: var(--font-body);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

/* ---- top status bar ---- */
.bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--porcelain-line);
}

.logo{
  height: 32px;
  width: auto;
  display: block;
}

.status{
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.dot{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--indicator);
  box-shadow: 0 0 0 0 var(--indicator-glow);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse{
  0%   { box-shadow: 0 0 0 0 var(--indicator-glow); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 122, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
}

/* ---- hero ---- */
.hero{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
  max-width: 46rem;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indicator);
  margin: 0 0 1rem;
}

.hero h1{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.lede{
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--steel);
  max-width: 34rem;
  margin: 0;
}

/* ---- control panel band ---- */
.panel{
  background: var(--navy-2);
  color: var(--porcelain);
  padding: 2.5rem 2rem;
}

.panel-inner{
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.panel-text{
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.toggle{
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--indicator);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--indicator-glow);
}
.toggle-knob{
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
}

.panel-heading{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.panel-sub{
  font-size: 0.9rem;
  color: var(--steel-light);
  margin: 0;
}

.cta{
  display: inline-block;
  background: var(--indicator);
  color: var(--navy);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: 4px;
  white-space: nowrap;
  transition: filter 0.15s ease;
}
.cta:hover{ filter: brightness(1.08); }
.cta:focus-visible{
  outline: 2px solid var(--porcelain);
  outline-offset: 3px;
}

/* ---- footer ---- */
.foot{
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--porcelain-line);
}

.find-us{
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--steel);
  margin: 0 0 0.5rem;
}
.find-us span{ color: var(--navy); font-weight: 600; }

.copyright{
  font-size: 0.75rem;
  color: var(--steel-light);
  margin: 0;
}

@media (max-width: 32rem){
  .bar{ padding: 1.25rem 1.25rem; }
  .hero{ padding: 3rem 1.25rem; }
  .panel{ padding: 2rem 1.25rem; }
  .panel-inner{ flex-direction: column; align-items: flex-start; }
  .cta{ width: 100%; text-align: center; }
  .foot{ padding: 1.5rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce){
  .dot{ animation: none; }
}
