/* =========================================================
   Deer Finder — SCOTAVIUS WORLDWIDE
   Palette matched to ScottCenter / PhotoScott DesignSystem
   ========================================================= */

:root {
  --scott-bg: #14171f;
  --scott-bg-end: #0f111c;
  --scott-sidebar: #1a1c26;
  --scott-accent: #59a6ff;
  --scott-accent-hover: #4a95ee;
  --scott-text: rgba(255, 255, 255, 0.92);
  --scott-text-sec: rgba(255, 255, 255, 0.55);
  --scott-text-dim: rgba(255, 255, 255, 0.38);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --card: rgba(26, 28, 38, 0.88);
  --card-solid: #1a1c26;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --header-h: 88px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --rank-highest: #59a6ff;
  --rank-elevated: #7ec8a3;
  --rank-secondary: rgba(255, 255, 255, 0.45);
  --rank-lowest: rgba(255, 255, 255, 0.28);
  --warm: #e8a86a;
  --warn: #e8b84a;
  --danger: #e07060;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--scott-text);
  background: linear-gradient(160deg, var(--scott-bg) 0%, var(--scott-bg-end) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  min-height: 100dvh;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

/* ---------- Brand header ---------- */
.brand-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 28, 38, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand-header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  min-height: var(--header-h);
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--scott-text);
}

.brand-tagline {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--scott-text-sec);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Main ---------- */
.main {
  padding-bottom: calc(32px + var(--safe-bottom));
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: clamp(220px, 42vw, 300px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, transparent 20%, rgba(15, 17, 28, 0.95) 100%),
    url("https://images.unsplash.com/photo-1484406566174-9da000fda645?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  /* Midpoint between original 35% (antlers-only) and 68% (too high) */
  background-position: center 52%;
  transform: scale(1.02);
  transition: transform 8s ease-out;
}

.hero:hover .hero-bg {
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 23, 31, 0.25) 0%,
    rgba(15, 17, 28, 0.55) 45%,
    rgba(15, 17, 28, 0.92) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 20px 18px 22px;
  width: 100%;
}

.hero-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--scott-accent);
}

.hero-title {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-meta {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--scott-text-sec);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: rgba(89, 166, 255, 0.16);
  color: var(--scott-accent);
  border: 1px solid rgba(89, 166, 255, 0.28);
}

.pill-muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--scott-text-sec);
  border-color: var(--border);
}

.pill-adjusted {
  background: rgba(126, 200, 163, 0.14);
  color: #7ec8a3;
  border-color: rgba(126, 200, 163, 0.35);
}

.pill-warn {
  background: rgba(232, 184, 74, 0.14);
  color: var(--warn);
  border-color: rgba(232, 184, 74, 0.35);
}

/* ---------- Controls bar ---------- */
.controls-bar {
  display: grid;
  grid-template-columns: 1.1fr minmax(9.5rem, 1.35fr) auto;
  gap: 8px;
  padding: 14px 16px 6px;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: linear-gradient(180deg, rgba(15, 17, 28, 0.98) 70%, transparent);
}

.ctrl-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--scott-text);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
  text-align: left;
  overflow: hidden;
}

.ctrl-chip:hover {
  border-color: var(--border-strong);
  background: rgba(32, 35, 48, 0.95);
}

.ctrl-chip:active {
  transform: scale(0.98);
}

.ctrl-chip:focus-visible {
  outline: 2px solid var(--scott-accent);
  outline-offset: 2px;
}

.ctrl-icon {
  flex-shrink: 0;
  color: var(--scott-accent);
  display: flex;
}

.ctrl-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.ctrl-date {
  position: relative;
  cursor: pointer;
  overflow: visible; /* allow native calendar popover to paint correctly */
}

/* Cover the chip so the control is clickable; keep slightly non-zero opacity
   so browsers still treat it as an interactive date field. */
.date-input {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  opacity: 0.011;
  cursor: pointer;
  color: transparent;
  background: transparent;
  font-size: 16px; /* avoid iOS focus zoom */
  -webkit-appearance: none;
  appearance: none;
}

.date-input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.ctrl-toggle.active {
  border-color: rgba(89, 166, 255, 0.4);
  background: rgba(89, 166, 255, 0.1);
}

.ctrl-toggle:not(.active) .ctrl-icon {
  color: var(--scott-text-sec);
}

/* ---------- Sections ---------- */
.section {
  padding: 18px 16px 4px;
  animation: fadeUp 0.35s ease both;
}

.section-head {
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-sub {
  margin: 0;
  font-size: 12px;
  color: var(--scott-text-sec);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.card-soft {
  background: rgba(26, 28, 38, 0.65);
}

.card-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--scott-text-sec);
}

.card-body {
  margin: 0;
  font-size: 14px;
  color: var(--scott-text);
  line-height: 1.55;
}

.empty-state {
  text-align: center;
  color: var(--scott-text-sec);
  font-size: 14px;
}

.empty-state p {
  margin: 0;
}

/* ---------- Movement windows ---------- */
.window-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.window-card {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  gap: 0 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.15s ease;
  animation: fadeUp 0.4s ease both;
}

.window-card:nth-child(1) { animation-delay: 0.02s; }
.window-card:nth-child(2) { animation-delay: 0.06s; }
.window-card:nth-child(3) { animation-delay: 0.1s; }
.window-card:nth-child(4) { animation-delay: 0.14s; }
.window-card:nth-child(5) { animation-delay: 0.18s; }

.window-card:hover {
  border-color: var(--border-strong);
}

.window-rank-bar {
  width: 6px;
  height: 100%;
  min-height: 48px;
  border-radius: 4px;
  background: var(--rank-secondary);
  align-self: stretch;
}

.window-card.rank-highest .window-rank-bar { background: var(--rank-highest); box-shadow: 0 0 12px rgba(89, 166, 255, 0.35); }
.window-card.rank-elevated .window-rank-bar { background: var(--rank-elevated); }
.window-card.rank-secondary .window-rank-bar { background: var(--rank-secondary); }
.window-card.rank-lowest .window-rank-bar { background: var(--rank-lowest); }

.window-main {
  min-width: 0;
}

.window-name {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 600;
}

.window-time {
  margin: 0;
  font-size: 13px;
  color: var(--scott-text-sec);
  font-variant-numeric: tabular-nums;
}

.window-weather {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #7ec8a3;
  font-weight: 500;
}

.window-card.rank-highest .window-weather,
.window-card.rank-elevated .window-weather {
  color: #8fd4b0;
}

.window-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  color: var(--scott-text-sec);
  border: 1px solid var(--border);
}

.window-card.rank-highest .window-badge {
  background: rgba(89, 166, 255, 0.14);
  color: var(--scott-accent);
  border-color: rgba(89, 166, 255, 0.3);
}

.window-card.rank-elevated .window-badge {
  background: rgba(126, 200, 163, 0.12);
  color: #7ec8a3;
  border-color: rgba(126, 200, 163, 0.28);
}

/* ---------- Weather grid ---------- */
.weather-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.weather-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.weather-tile-label {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--scott-text-sec);
}

.weather-tile-value {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.weather-tile-sub {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--scott-text-sec);
}

.note-list {
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--scott-text);
  font-size: 13px;
}

.note-list li {
  margin-bottom: 6px;
}

.hunter-note {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--scott-text-sec);
  font-style: italic;
}

/* ---------- Solar row ---------- */
.solar-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 520px) {
  .solar-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .weather-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.solar-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

.solar-tile-label {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--scott-text-sec);
}

.solar-tile-value {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- Briefing ---------- */
.briefing-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.briefing-rec {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--scott-text);
}

.briefing-meta {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: 13px;
}

.briefing-meta dt {
  margin: 0;
  color: var(--scott-text-sec);
  font-weight: 500;
}

.briefing-meta dd {
  margin: 0;
  font-weight: 500;
}

.briefing-windows {
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.briefing-window-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.briefing-window-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.briefing-window-list .bw-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--scott-text);
}

.briefing-window-list .bw-time {
  font-size: 12px;
  color: var(--scott-text-sec);
  font-variant-numeric: tabular-nums;
}

.briefing-window-list .bw-weather {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #7ec8a3;
}

.briefing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--scott-accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--scott-accent);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: var(--scott-accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--scott-text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-block {
  width: 100%;
}

.btn-danger-ghost {
  color: var(--danger);
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--scott-text-sec);
  cursor: pointer;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--scott-text);
}

/* ---------- Status / toast ---------- */
.status-banner {
  margin: 8px 16px 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: rgba(89, 166, 255, 0.1);
  border: 1px solid rgba(89, 166, 255, 0.25);
  color: var(--scott-accent);
}

.status-banner.error {
  background: rgba(224, 112, 96, 0.1);
  border-color: rgba(224, 112, 96, 0.3);
  color: #f0a090;
}

.status-banner.hidden,
.hidden {
  display: none !important;
}

.toast {
  position: fixed;
  bottom: calc(24px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 300;
  max-width: min(90vw, 360px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(26, 28, 38, 0.96);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 500;
  color: var(--scott-text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.hidden {
  display: block !important;
  opacity: 0;
}

/* ---------- Bottom sheet ---------- */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sheet-backdrop.open {
  opacity: 1;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  max-width: 720px;
  margin: 0 auto;
  max-height: min(88dvh, 640px);
  background: var(--scott-sidebar);
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: var(--safe-bottom);
}

.sheet.open {
  transform: translateY(0);
}

.sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  margin: 10px auto 0;
  flex-shrink: 0;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 20px;
  border-bottom: 1px solid var(--border);
}

.sheet-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.sheet-body {
  padding: 16px 18px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--scott-text-sec);
}

.field-hint {
  margin: -8px 0 0;
  font-size: 12px;
  color: var(--scott-text-sec);
  min-height: 1.2em;
  line-height: 1.45;
}

.field-hint:not(:empty) {
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  background: rgba(232, 184, 74, 0.1);
  border: 1px solid rgba(232, 184, 74, 0.28);
  color: #e8c87a;
}

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

.search-row {
  display: flex;
  gap: 8px;
}

.search-row input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.25);
  color: var(--scott-text);
  font: inherit;
  font-size: 14px;
}

.search-row input::placeholder {
  color: var(--scott-text-dim);
}

.search-row input:focus {
  outline: none;
  border-color: var(--scott-accent);
  box-shadow: 0 0 0 3px rgba(89, 166, 255, 0.15);
}

.search-results {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-results:empty {
  display: none;
}

.search-results li button {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--scott-text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.12s ease;
}

.search-results li button:hover {
  background: rgba(89, 166, 255, 0.1);
  border-color: rgba(89, 166, 255, 0.25);
}

.search-results .result-main {
  font-weight: 600;
  display: block;
}

.search-results .result-sub {
  font-size: 11px;
  color: var(--scott-text-sec);
  display: block;
  margin-top: 2px;
}

.saved-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.saved-list li.muted {
  color: var(--scott-text-sec);
  font-size: 13px;
  padding: 4px 0;
}

.saved-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.saved-item button.select {
  flex: 1;
  text-align: left;
  border: none;
  background: transparent;
  color: var(--scott-text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.saved-item .saved-coords {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--scott-text-sec);
  margin-top: 2px;
}

/* ---------- Footer ---------- */
.app-footer {
  padding: 28px 20px 12px;
  text-align: center;
}

.app-footer p {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--scott-text-sec);
}

.app-footer .footer-note {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--scott-text-dim);
  max-width: 36em;
  margin: 0 auto;
  line-height: 1.45;
}

/* ---------- Desktop polish ---------- */
@media (min-width: 720px) {
  #app {
    border-left: 1px solid rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.35);
  }

  .brand-header-inner {
    padding: 18px 28px;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .brand-title {
    font-size: 1.85rem;
  }

  .brand-tagline {
    font-size: 11px;
    letter-spacing: 1.2px;
  }

  .hero {
    height: 280px;
    max-height: 300px;
  }

  .hero-content,
  .controls-bar,
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .status-banner {
    margin-left: 24px;
    margin-right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg {
    transition: none;
  }
}
