/* Sections styles */

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(24, 21, 52, 0.65);
  backdrop-filter: saturate(140%) blur(22px);
  -webkit-backdrop-filter: saturate(140%) blur(22px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: inline-flex; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-github { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 880px) {
  .nav-links a:not(.nav-github) { display: none; }
  .nav-links .nav-github { display: inline-flex; }
}
@media (max-width: 560px) {
  .nav-github { display: none !important; }
}

/* ---- Hero ---- */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  pointer-events: none;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1400px; height: 1100px;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(168, 135, 235, 0.32), transparent 70%),
    radial-gradient(50% 40% at 70% 40%, rgba(243, 200, 160, 0.20), transparent 70%),
    radial-gradient(40% 30% at 50% 80%, rgba(220, 170, 150, 0.14), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.hero-inner { position: relative; text-align: center; }
.hero-copy { max-width: 1040px; margin: 0 auto; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 28px;
}
.pulse-dot {
  width: 6px; height: 6px;
  background: var(--cream);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(243,214,168,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(243,214,168,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(243,214,168,0); }
  100% { box-shadow: 0 0 0 0 rgba(243,214,168,0); }
}
.hero h1 { margin-top: 0; }
.hero .lede { margin: 22px auto 0; }
.hero-ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin: 36px 0 18px;
}
.hero-foot { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; color: var(--text-4); font-size: 12.5px; }
.dot-sep { display: inline-flex; align-items: center; gap: 24px; position: relative; }
.dot-sep + .dot-sep::before {
  content: "";
  position: absolute; left: -16px; top: 50%;
  width: 3px; height: 3px;
  background: var(--text-4);
  border-radius: 999px;
}

.hero-mockup-wrap {
  margin-top: 64px;
  position: relative;
}
.hero-mockup-wrap::after {
  content: "";
  position: absolute;
  left: 50%; top: 20%;
  transform: translateX(-50%);
  width: 90%; height: 80%;
  background:
    radial-gradient(40% 50% at 20% 40%, rgba(168, 135, 235, 0.45), transparent 70%),
    radial-gradient(40% 50% at 80% 60%, rgba(243, 200, 160, 0.35), transparent 70%);
  z-index: -1;
  filter: blur(70px);
}

/* ---- Section heads ---- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lede { margin: 18px auto 0; }

/* ---- Features ---- */
.features { padding-top: 60px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.008) 100%);
  padding: 36px 32px 38px;
  position: relative;
  transition: background .25s ease;
}
.feature-card:hover { background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%); }
.feature-ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  color: var(--cream);
  background: rgba(243,214,168,0.07);
  border: 1px solid rgba(243,214,168,0.18);
  border-radius: 10px;
  margin-bottom: 22px;
}
.feature-card h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-card p { font-size: 14.5px; line-height: 1.55; color: var(--text-2); }

@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---- Library ---- */
.library { padding: 140px 0; position: relative; }
.library-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: center;
}
.library-copy h2 { margin-top: 18px; }
.library-copy .lede { margin-top: 24px; }
.lib-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 18px;
}
.lib-list li {
  display: flex; gap: 14px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.lib-list b { color: var(--text); font-weight: 500; }
.lib-bull {
  flex-shrink: 0;
  width: 6px; height: 6px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--cream);
  box-shadow: 0 0 12px 1px rgba(243,214,168,0.4);
}

.library-views {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 18px;
}

.lib-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 12.5px;
}
.lib-card-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.lib-card-title {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: -0.01em;
}
.lib-rows { max-height: 460px; overflow: hidden; }
.lib-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.lib-row:last-child { border-bottom: none; }
.lib-row.active { background: rgba(243,214,168,0.07); }
.lib-row.active .lib-row-name { color: var(--cream-hi); }
.lib-row-initial {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 5px;
  background: rgba(255,255,255,0.04);
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: -0.02em;
}
.lib-row-name { color: var(--text); font-size: 13px; letter-spacing: -0.005em; }
.lib-row-sub { color: var(--text-4); font-size: 11px; margin-top: 1px; }
.lib-row-count {
  color: var(--text-3);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

/* Song table */
.song-table { padding: 4px 0; max-height: 460px; overflow: hidden; }
.song-th, .song-tr {
  display: grid;
  grid-template-columns: 32px 1.5fr 1fr 50px;
  gap: 12px;
  align-items: center;
  padding: 8px 16px;
  font-size: 12.5px;
}
.song-th {
  color: var(--text-4);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.song-tr { color: var(--text-2); border-bottom: 1px solid rgba(255,255,255,0.03); transition: background .15s; }
.song-tr:hover { background: rgba(255,255,255,0.02); }
.song-tr.active { background: rgba(243,214,168,0.06); }
.song-tr .num { color: var(--text-4); font-variant-numeric: tabular-nums; text-align: center; }
.song-tr .t { color: var(--text); font-size: 13px; letter-spacing: -0.005em; }
.song-tr.active .t { color: var(--cream-hi); }
.song-tr .p { color: var(--text-4); font-size: 11px; margin-top: 1px; }
.song-tr .work { color: var(--text-3); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-tr .len { color: var(--text-4); font-variant-numeric: tabular-nums; text-align: right; font-size: 11.5px; }

.playing {
  display: inline-flex; gap: 2px; align-items: flex-end; height: 12px;
}
.playing span {
  width: 2px;
  background: var(--cream);
  border-radius: 2px;
  animation: bar 1s ease-in-out infinite;
}
.playing span:nth-child(1) { height: 60%; animation-delay: -0.4s; }
.playing span:nth-child(2) { height: 90%; animation-delay: -0.2s; }
.playing span:nth-child(3) { height: 50%; }
@keyframes bar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

@media (max-width: 980px) {
  .library-inner { grid-template-columns: 1fr; gap: 40px; }
  .library-views { grid-template-columns: 1fr; }
}

/* ---- Open Source ---- */
.opensrc {
  position: relative;
}
.opensrc::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 80% 50%, rgba(168, 135, 235, 0.10), transparent 60%),
    radial-gradient(600px 400px at 20% 50%, rgba(243, 200, 160, 0.06), transparent 60%);
  pointer-events: none;
}
.opensrc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.opensrc-copy h2 { margin-top: 18px; }
.opensrc-copy .lede { margin-top: 24px; }
.opensrc-ctas { display: flex; gap: 12px; margin-top: 32px; }

.repo-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}
.repo-head {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
  font-size: 14px;
}
.repo-org { color: var(--text-2); }
.repo-sep { color: var(--text-4); }
.repo-name { color: var(--cream); font-weight: 500; }
.repo-vis {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 10.5px;
  color: var(--text-3);
}
.repo-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.5; margin-bottom: 22px; }
.repo-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 22px; }
.repo-stat {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex; flex-direction: column;
}
.repo-stat-num { font-family: var(--font-serif); font-size: 22px; color: var(--text); letter-spacing: -0.02em; }
.repo-stat span:last-child { font-size: 11px; color: var(--text-4); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }

.repo-lang { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.lang-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  background: rgba(255,255,255,0.04);
  margin-bottom: 4px;
}
.lang-leg { font-size: 11.5px; color: var(--text-3); display: inline-flex; align-items: center; gap: 6px; }
.lang-leg i { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }

@media (max-width: 880px) {
  .opensrc-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- Roadmap / Vote ---- */
.roadmap {
  padding: 140px 0;
}
.roadmap-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
  align-items: end;
}
.roadmap-head .lede { margin-top: 0; }
.roadmap-foot { display: flex; justify-content: center; margin-top: 36px; }
@media (max-width: 880px) {
  .roadmap-head { grid-template-columns: 1fr; gap: 24px; }
}

.vote-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line-strong); border-radius: var(--r-xl); overflow: hidden; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.vote-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 22px 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008));
  align-items: flex-start;
  transition: background .15s;
}
.vote-row:hover { background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); }
.vote-row-body { min-width: 0; }
.vote-row-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.vote-row-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  margin: 0;
}
.vote-row-desc { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.vote-row-foot { display: flex; gap: 18px; margin-top: 10px; font-size: 12px; color: var(--text-4); align-items: center; }

.hot-tag {
  display: inline-flex; align-items: center; gap: 5px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--cream);
  background: linear-gradient(90deg, rgba(243,214,168,0.12), rgba(243,214,168,0.04));
  border: 1px solid rgba(243,214,168,0.2);
  letter-spacing: 0.02em;
}
.hot-tag::before {
  content: "↑";
  font-size: 10px;
}

.muted-link { color: var(--text-3); display: inline-flex; align-items: center; gap: 6px; }
.muted-link:hover { color: var(--text-2); }

/* Vote button */
.vote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 56px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.02);
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  transition: all .15s ease;
}
.vote-btn:hover {
  border-color: rgba(243,214,168,0.35);
  color: var(--cream);
  background: rgba(243,214,168,0.04);
  transform: translateY(-1px);
}
.vote-btn.voted {
  background: linear-gradient(180deg, rgba(243,214,168,0.14), rgba(243,214,168,0.06));
  border-color: rgba(243,214,168,0.5);
  color: var(--cream-hi);
}
.vote-btn.voted svg { color: var(--cream-hi); }
.vote-btn svg { transition: transform .15s; }
.vote-btn:hover svg { transform: translateY(-1px); }
.vote-count { font-size: 13px; font-weight: 500; }

.vote-btn-lg { min-width: 64px; padding: 12px 14px; }
.vote-btn-lg .vote-count { font-size: 14.5px; }

@media (max-width: 640px) {
  .vote-row { padding: 18px 18px; gap: 14px; }
  .vote-btn { min-width: 48px; padding: 8px 10px; }
}

/* ---- Vote page ---- */
.vote-page { padding: 120px 0 100px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-3);
  font-size: 13.5px;
  margin-bottom: 36px;
  padding: 6px 10px;
  margin-left: -10px;
  border-radius: 6px;
}
.back-link:hover { color: var(--text); background: rgba(255,255,255,0.03); }

.vote-hero { max-width: 880px; margin-bottom: 48px; }
.vote-hero h1 { margin-top: 16px; }

.vote-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.vote-stat { background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008)); padding: 22px 24px; }
.vote-stat-num { font-family: var(--font-serif); font-size: 32px; color: var(--text); letter-spacing: -0.02em; line-height: 1; }
.vote-stat-lbl { font-size: 12px; color: var(--text-3); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 6px; }

.vote-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 56px 0 24px;
  align-items: center;
}
.vote-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-strong);
  color: var(--text-3);
  min-width: 220px;
  flex: 1;
  max-width: 320px;
}
.vote-search input {
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  outline: none;
  width: 100%;
}
.vote-search input::placeholder { color: var(--text-3); }

.vote-filters, .vote-sort { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.vote-sort { margin-left: auto; }
.vote-sort .muted { font-size: 12.5px; margin-right: 4px; color: var(--text-3); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.02);
  color: var(--text-2);
  font-size: 12.5px;
}
.chip:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.chip.active {
  background: rgba(243,214,168,0.1);
  border-color: rgba(243,214,168,0.35);
  color: var(--cream-hi);
}
.chip-n {
  font-size: 11px;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
  padding-left: 4px;
  border-left: 1px solid var(--line-strong);
  margin-left: -2px;
  padding-left: 8px;
}
.chip.active .chip-n { color: rgba(243,214,168,0.7); border-color: rgba(243,214,168,0.3); }

.vote-list.full { margin-top: 8px; }
.vote-footnote {
  margin-top: 48px;
  text-align: center;
  color: var(--text-3);
  font-size: 13.5px;
}
.vote-footnote a { color: var(--cream); }
.vote-footnote a:hover { color: var(--cream-hi); }

@media (max-width: 880px) {
  .vote-stats { grid-template-columns: repeat(2, 1fr); }
  .vote-sort { margin-left: 0; width: 100%; }
}

/* ---- Download ---- */
.download {
  padding: 140px 0 120px;
  text-align: center;
  position: relative;
  /* no overflow:hidden — let the ambient glow bleed into the section above */
}
.download::before {
  content: "";
  position: absolute;
  top: -340px; left: 50%;
  transform: translateX(-50%);
  width: 1400px; height: 1000px;
  background:
    radial-gradient(40% 45% at 30% 50%, rgba(168, 135, 235, 0.28), transparent 70%),
    radial-gradient(40% 45% at 70% 50%, rgba(243, 200, 160, 0.20), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}
.download-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.download-icon {
  border-radius: 26px;
  margin-bottom: 28px;
  box-shadow: 0 24px 60px -20px rgba(122,98,200,0.5), 0 12px 30px -10px rgba(243,214,168,0.3);
}
.download h2 {
  margin-top: 14px;
  line-height: 1.12;
  padding-bottom: 0.08em;
}
.download .lede { margin-top: 28px !important; }
.download-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 36px 0 16px; }
.download-meta {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  color: var(--text-4); font-size: 12.5px;
}
.download-meta .sep { color: var(--text-4); opacity: 0.5; }

.inline-link { color: var(--cream); border-bottom: 1px solid rgba(243,214,168,0.3); }
.inline-link:hover { color: var(--cream-hi); border-bottom-color: var(--cream); }

/* Mac App Store button */
.btn-mas {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px 12px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1d1a3f 0%, #14112c 100%);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text);
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow:
    0 20px 40px -10px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-mas:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
  box-shadow:
    0 24px 50px -10px rgba(0,0,0,0.55),
    0 0 30px -5px rgba(168, 135, 235, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-mas svg { color: var(--text); flex-shrink: 0; }
.btn-mas > span {
  display: flex; flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.btn-mas .mas-pre {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 3px;
}
.btn-mas .mas-title {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--text);
}

/* ---- Footer ---- */
.footer { padding: 80px 0 24px; border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand { max-width: 320px; }
.footer-tag { font-size: 13.5px; color: var(--text-3); margin-top: 18px; line-height: 1.5; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.iconbtn-lg {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--text-3);
}
.iconbtn-lg:hover { color: var(--text); border-color: var(--line-bright); }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-3); font-size: 13.5px; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-4);
  font-size: 12.5px;
}

@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
