:root {
  --bg: #f3f6f1;
  --card: #ffffff;
  --text: #1d2a1f;
  --muted: #5d6e60;
  --primary: #2f7d4f;
  --primary-hover: #24633e;
  --accent: #d9a441;
  --border: #d5dfd7;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.08);
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 12px;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }

p { margin: 0 0 16px; max-width: 70ch; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 16px; padding-left: 24px; max-width: 70ch; }
li { margin-bottom: 8px; }

a { color: var(--primary); text-decoration: none; font-weight: 600; }
a:hover { color: var(--primary-hover); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.chart-bar {
  background: var(--text);
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 0;
}

.chart-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--primary); }
.brand-compass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--card);
  border-radius: var(--radius);
  font-size: 16px;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-link {
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.nav-link:hover, .nav-link.is-active {
  background: var(--bg);
  color: var(--primary);
  text-decoration: none;
}


.section { margin-top: 48px; margin-bottom: 48px; }
.section-head { margin-bottom: 24px; }
.muted-lead { color: var(--muted); font-size: 16px; margin-bottom: 0; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-compact { padding-top: 32px; }
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-copy { flex: 1; min-width: 280px; }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.hero-lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 0;
}
.hero-cta-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--primary);
  color: var(--card);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--card);
}
.btn-outline {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.like-btn[aria-pressed="true"], .like-btn[data-gf-liked] {
  background: var(--primary);
  color: var(--card);
  border-color: var(--primary);
}

.tier-board { padding: 24px; box-shadow: var(--shadow-lg); }
.tier-controls { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.control-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.tab-group, .mode-group, .toggle-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tab-btn, .mode-btn, .chip-btn {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.tab-btn:hover, .mode-btn:hover, .chip-btn:hover { border-color: var(--primary); }
.tab-btn.is-active, .mode-btn.is-active, .chip-btn.is-active {
  background: var(--primary);
  color: var(--card);
  border-color: var(--primary);
}

.search-box { flex: 1; min-width: 240px; }
.search-box input, .field-group input[type="text"], .field-group input[type="number"], .field-group textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
}


.inspector-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}
.inspector-empty { font-size: 14px; color: var(--muted); }
.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.inspector-title { display: block; font-family: var(--font-heading); font-size: 22px; font-weight: 400; line-height: 1.2; margin: 4px 0 0; }
.inspector-grades { display: flex; gap: 8px; flex-wrap: wrap; }
.grade-pill, .badge-inline {
  display: inline-block;
  padding: 4px 8px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.badge-gold { background: var(--accent); color: var(--text); border-color: var(--accent); }
.inspector-perk { font-size: 14px; color: var(--text); margin-bottom: 8px; }
.inspector-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.tier-rows { display: flex; flex-direction: column; gap: 12px; }
.tier-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--bg);
}
.tier-badge {
  width: 84px;
  flex-shrink: 0;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
}
.tier-s { background: var(--primary); color: var(--card); }
.tier-a { background: var(--text); color: var(--accent); }
.tier-b { background: var(--accent); color: var(--text); }
.tier-c { background: var(--card); color: var(--text); border: 1px solid var(--primary); }
.tier-d { background: var(--card); color: var(--muted); border: 1px solid var(--border); }
.tier-letter { font-family: var(--font-heading); font-size: 28px; line-height: 1.2; }
.tier-sub { font-size: 12px; font-weight: 600; }

.tier-items {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.tier-chip {
  text-align: left;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.chip-thumb {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius);
}
.chip-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.item-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.row-thumb {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--radius);
}
.tier-chip:hover, .tier-chip.is-selected {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.chip-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chip-name { font-size: 16px; font-weight: 700; color: var(--text); }
.chip-tag { font-size: 12px; font-weight: 600; color: var(--primary); }
.chip-note { font-size: 12px; color: var(--muted); }
.tier-empty-msg { font-size: 14px; color: var(--muted); padding: 16px 0 0; }


.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  text-decoration: none;
}
.pillar-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.pillar-card h3 { font-size: 22px; margin: 0; }
.pillar-card p, .pillar-card span { font-size: 14px; color: var(--muted); font-weight: 400; margin: 0; }
.pillar-kicker { font-size: 12px !important; font-weight: 700 !important; color: var(--primary) !important; }

.fact-card { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.fact-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.fact-value { font-size: 18px; font-weight: 700; color: var(--text); }
.fact-sub { font-size: 12px; color: var(--muted); }

.tool-shell, .filter-table-card, .prose-section, .empty-state-card { padding: 24px; }
.tool-shell { margin-top: 24px; box-shadow: var(--shadow-lg); }
.finder-controls { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.finder-input-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.finder-input-row input[type="number"] { width: 128px; font-weight: 700; }
.finder-input-row input[type="range"] { flex: 1; min-width: 160px; accent-color: var(--primary); }
.quick-level-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.finder-result {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.finder-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.finder-island { margin: 8px 0 0; }
.finder-next-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.finder-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.finder-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.finder-stat p { font-size: 14px; margin: 4px 0 0; }

.filter-table-card { margin-top: 24px; }
.best-fruits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.best-fruits-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.best-fruits-col h3 { font-size: 18px; font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; }
.best-fruits-col ul { margin: 0; padding-left: 24px; font-size: 14px; }
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.chart-figure { margin: 0; padding: 16px; }
.chart-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

.prose h2 { margin-top: 32px; margin-bottom: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 24px; margin-bottom: 8px; }
.table-scroll, .prose table { max-width: 100%; overflow-x: auto; }
.atlas-table, .prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}
.atlas-table th, .atlas-table td, .prose th, .prose td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.atlas-table th, .prose th {
  background: var(--bg);
  font-weight: 700;
  color: var(--text);
}

.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.faq-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.faq-card h3 { font-size: 18px; font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; }
.faq-card p { font-size: 14px; color: var(--muted); }


.engage-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.engage-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.engage-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-toast, .form-msg { font-size: 14px; color: var(--primary); font-weight: 600; }

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.field-group { display: flex; flex-direction: column; gap: 4px; }
.field-label { font-size: 14px; font-weight: 600; color: var(--text); }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.reply-banner {
  font-size: 14px;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 600;
}

.comment-list { display: flex; flex-direction: column; gap: 12px; }
.empty-comments { display: none; font-size: 14px; color: var(--muted); }
.comment-list[data-gf-empty] .empty-comments { display: block; }
.comment-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.comment-item[data-gf-owner] {
  border-color: var(--primary);
  background: var(--card);
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 14px;
}
.owner-tag {
  background: var(--primary);
  color: var(--card);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius);
}
.comment-time, .reply-target { font-size: 12px; color: var(--muted); }
.comment-body { font-size: 14px; color: var(--text); margin-bottom: 8px; }
.reply-btn {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 0;
  cursor: pointer;
}
.comment-replies {
  margin-top: 12px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding-top: 48px;
  padding-bottom: 32px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.footer-heading { display: block; font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: var(--muted); font-weight: 400; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { padding-top: 24px; font-size: 12px; color: var(--muted); }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .section { margin-top: 32px; margin-bottom: 32px; }
  .hero-cta-box { width: 100%; }
  .hero-cta-box .btn, .form-actions .btn, .finder-input-row .btn { width: 100%; }
  .tier-board, .tool-shell, .filter-table-card, .prose-section, .engage-section { padding: 16px; }
  .tier-row { flex-direction: column; }
  .tier-badge { width: 100%; flex-direction: row; justify-content: space-between; padding: 8px 12px; }
  .prose table { display: block; overflow-x: auto; }
  .tier-items, .pillar-grid, .facts-grid, .finder-details-grid, .faq-list, .inspector-meta, .footer-grid, .best-fruits-grid {
    grid-template-columns: 1fr;
  }
}



/* === Maritime RPG HUD & GPU Motion Layer (Zero-CLS, Compositor Only) === */
.voyage-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 60;
  pointer-events: none;
  background: transparent;
}
.voyage-progress-bar {
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.chart-coords {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live-beacon {
  width: 8px;
  height: 8px;
  border-radius: var(--radius);
  background: var(--accent);
  display: inline-block;
  animation: beaconPulse 2.4s ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand-compass {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
}
.brand:hover .brand-compass {
  transform: rotate(90deg) scale(1.08);
  background: var(--accent);
  color: var(--text);
}

.nav-link {
  position: relative;
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after, .nav-link.is-active::after {
  transform: scaleX(1);
}

.hero-compact {
  position: relative;
  background-image:
    linear-gradient(to right, rgba(213, 223, 215, 0.38) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(213, 223, 215, 0.38) 1px, transparent 1px);
  background-size: 32px 32px;
  border-radius: var(--radius);
}

.btn, .tab-btn, .mode-btn, .chip-btn {
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover, .tab-btn:hover, .mode-btn:hover, .chip-btn:hover {
  transform: translate3d(0, -1px, 0);
}
.btn:active, .tab-btn:active, .mode-btn:active, .chip-btn:active {
  transform: translate3d(0, 0, 0) scale(0.97);
}

.tier-chip {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.tier-chip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 48px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translate3d(-64px, 0, 0) skewX(-18deg);
  pointer-events: none;
}
.tier-chip:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: var(--shadow-lg);
}
.tier-chip:hover::after {
  transition: transform 0.55s ease;
  transform: translate3d(280px, 0, 0) skewX(-18deg);
}
.tier-chip.is-selected {
  border-color: var(--accent);
  transform: translate3d(0, -2px, 0);
}
.chip-thumb, .row-thumb {
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.tier-chip:hover .chip-thumb,
.tier-chip.is-selected .chip-thumb,
.atlas-table tbody tr:hover .row-thumb {
  transform: scale(1.12) rotate(-4deg);
}
.atlas-table tbody tr {
  transition: background-color 0.16s ease;
}
.atlas-table tbody tr:hover {
  background: var(--bg);
}

.tier-s .tier-letter {
  display: inline-block;
  animation: sBadgeFloat 3.2s ease-in-out infinite;
}

.tier-chip.is-cascading,
.atlas-table tbody tr.is-cascading {
  animation: chipCascade 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.inspector-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.inspector-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.inspector-detail.hud-pop,
.finder-result.hud-pop {
  animation: hudPop 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.power-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 84px;
}
.power-track {
  display: block;
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.power-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillar-card, .fact-card, .faq-card {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.pillar-card:hover, .fact-card:hover, .faq-card:hover {
  transform: translate3d(0, -4px, 0);
}
.pillar-arrow {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.pillar-card:hover .pillar-arrow {
  transform: translate3d(4px, 0, 0);
}

.finder-compass-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.finder-level-field { flex: 1; min-width: 0; }
.compass-dial {
  width: 64px;
  height: 64px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.compass-needle {
  transform-origin: 32px 32px;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.sea-progress-wrap { width: 100%; }
.sea-progress-track {
  width: 100%;
  height: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sea-progress-fill {
  width: 100%;
  height: 100%;
  background: var(--primary);
  transform: scaleX(0.32);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-ready.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.sea-horizon {
  position: relative;
  width: 100%;
  height: 48px;
  margin-top: 48px;
  overflow: hidden;
  pointer-events: none;
}
.sea-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 48px;
  will-change: transform;
}
.sea-wave-back {
  color: var(--border);
  opacity: 0.65;
  animation: waveDrift 26s linear infinite;
}
.sea-wave-front {
  color: var(--card);
  animation: waveDrift 16s linear infinite reverse;
}
.site-footer { margin-top: 0; }

@keyframes beaconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}
@keyframes waveDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@keyframes hudPop {
  0% { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.99); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes chipCascade {
  0% { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.97); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes sBadgeFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -2px, 0); }
}

@media (max-width: 640px) {
  .finder-compass-row { flex-direction: column; align-items: flex-start; }
  .power-stat { min-width: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-ready {
    opacity: 1 !important;
    transform: none !important;
  }
}
