/* ============================================================
   Tool Index — Apple system language
   Inspired by apple.com: pure white, hero typography, soft cards,
   rounded 22px, single blue accent.
   ============================================================ */

:root {
  --bg:        #FFFFFF;
  --bg-soft:   #F5F5F7;
  --bg-card:   #FFFFFF;
  --text:      #1D1D1F;
  --text-2:    #6E6E73;
  --text-3:    #86868B;
  --line:      #D2D2D7;
  --line-soft: #E5E5EA;
  --blue:      #0071E3;
  --blue-2:    #0058B0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.08);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", "Inter", system-ui, Arial, sans-serif;

  --maxw: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ---------- Container ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Nav (sticky, glass) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 48px;
  padding: 0 22px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 19px; letter-spacing: -0.022em;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 28px; height: 28px;
  background: var(--text);
  color: #fff;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  opacity: .88;
}
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-cta {
  font-size: 13px; color: var(--blue); font-weight: 400;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 96px 0 56px;
  background: linear-gradient(180deg, #fbfbfd 0%, #ffffff 100%);
}
.hero .eyebrow {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 14px;
  letter-spacing: -0.022em;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 auto 14px;
  max-width: 14ch;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #0071E3, #5AC8FA 60%, #BF5AF2);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero .lede {
  font-size: clamp(19px, 2vw, 24px);
  color: var(--text-2);
  max-width: 56ch;
  margin: 0 auto 36px;
  line-height: 1.4;
  letter-spacing: -0.016em;
}
.hero .cta-row {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.016em;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue); color: #fff;
}
.btn-primary:hover { background: var(--blue-2); text-decoration: none; }
.btn-ghost {
  color: var(--blue); border-color: var(--blue);
}
.btn-ghost:hover { background: rgba(0,113,227,.08); text-decoration: none; }

/* ---------- Metrics strip ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 56px auto 0;
  max-width: 980px;
  padding: 28px 0;
  border-top: 1px solid var(--line-soft);
}
.metric {
  text-align: center;
}
.metric b {
  display: block;
  font-size: 40px; font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.metric span {
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: -0.008em;
}

/* ---------- Featured strip (iconography showcase) ---------- */
.featured {
  background: var(--bg-soft);
  padding: 88px 0;
}
.featured-head {
  text-align: center;
  margin-bottom: 48px;
}
.featured-head h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0 0 10px;
}
.featured-head p {
  color: var(--text-2);
  font-size: 19px;
  margin: 0;
}
.icon-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.icon-cell {
  background: #fff;
  border-radius: 22px;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
  position: relative;
  overflow: hidden;
}
.icon-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.icon-cell svg { width: 44%; height: 44%; }
.icon-cell .lbl {
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: -0.01em;
}

/* ---------- Index section ---------- */
.section {
  padding: 88px 0;
}
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0;
}
.section-head p {
  color: var(--text-2);
  margin: 0;
  font-size: 17px;
  max-width: 40ch;
}

/* ---------- Toolbar ---------- */
.toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 28px;
}
.search {
  display: flex; align-items: center;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 0 14px;
  height: 48px;
}
.search svg { width: 18px; height: 18px; color: var(--text-2); flex-shrink: 0; }
.search input {
  flex: 1; border: 0; background: transparent;
  font: inherit; color: var(--text);
  padding: 0 12px; outline: 0;
  letter-spacing: -0.016em;
}
.search input::placeholder { color: var(--text-3); }
.toolbar select {
  font: inherit; font-size: 14px;
  border: 0; background: var(--bg-soft);
  color: var(--text);
  padding: 0 16px; height: 48px;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: -0.012em;
}

/* ---------- Filter pills (Apple tab bar style) ---------- */
.pills {
  display: flex; gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-bottom: 4px;
  margin: 0 0 28px;
}
.pill {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 980px;
  background: var(--bg-soft);
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  letter-spacing: -0.008em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background 160ms;
}
.pill:hover { background: #ececf0; }
.pill.is-active {
  background: var(--text);
  color: #fff;
}

/* ---------- Tool grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ---------- Tool card (Apple product card) ---------- */
.tcard {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 28px;
  display: flex; flex-direction: column;
  min-height: 320px;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  border: 1px solid var(--line-soft);
}
.tcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.tcard .mark {
  width: 72px; height: 72px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  background: #f5f5f7;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.tcard .mark img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.tcard .mark.mark-fallback {
  background: var(--text);
}
.tcard .meta-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: -0.008em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tcard h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0 0 6px;
  line-height: 1.2;
}
.tcard h3 a { color: var(--text); }
.tcard h3 a:hover { text-decoration: none; color: var(--blue); }
.tcard .studio {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 14px;
  letter-spacing: -0.012em;
}
.tcard p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.45;
  letter-spacing: -0.012em;
}
.tcard .tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.tag {
  font-size: 11px;
  color: var(--text-2);
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 980px;
  letter-spacing: -0.008em;
}
.tcard .src {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: -0.008em;
}
.tcard .src a { color: var(--blue); }
.tcard .stats {
  display: flex; gap: 16px;
  margin: 16px 0 12px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--text-2);
}
.tcard .stats b {
  display: block;
  font-size: 19px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.018em;
}
.tcard .stats div { flex: 1; }

/* ---------- News Panel ---------- */
.newspanel {
  background: var(--bg);
  padding: 88px 0 64px;
}
.np-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.np-eyebrow {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.np-head h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.026em;
  margin: 0;
}
.np-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: -0.008em;
}
.np-dot {
  width: 8px; height: 8px;
  background: #FF4D6D;
  border-radius: 50%;
  animation: news-pulse 1.6s infinite;
}
.np-sep { color: var(--line); }
.np-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.np-card {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 220ms ease, background 220ms ease;
}
.np-card:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.np-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.np-time {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: -0.008em;
  font-variant-numeric: tabular-nums;
}
.np-card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.35;
  margin: 0;
  flex: 1;
}
.np-card h3 a {
  color: var(--text);
  text-decoration: none;
}
.np-card h3 a:hover { color: var(--blue); }
.np-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: -0.008em;
  margin-top: 4px;
}
.np-source { font-weight: 500; }
.np-out {
  color: var(--blue);
  text-decoration: none;
}
.np-out:hover { text-decoration: underline; }
@media (max-width: 1068px) {
  .np-grid { grid-template-columns: repeat(2, 1fr); }
  .np-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .np-grid { grid-template-columns: 1fr; }
}

/* ---------- Top 10 ---------- */
.toplist {
  background: #fff;
  padding: 88px 0 64px;
}
.tl-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.tl-eyebrow {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.tl-head h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.026em;
  margin: 0;
}
.tl-more {
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.tl-more:hover { text-decoration: underline; }
.tl-rows {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tl-row {
  display: grid;
  grid-template-columns: 48px 1.6fr 1.4fr 130px;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: 14px;
  transition: transform 160ms ease, background 160ms ease;
}
.tl-row:hover {
  background: #fff;
  transform: translateX(2px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.tl-rank {
  font-family: -apple-system, BlinkMacSystemFont, monospace;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: -0.012em;
}
.tl-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.tl-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.012em;
}
.tl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tl-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.012em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tl-name:hover { color: var(--blue); }
.tl-studio {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: -0.008em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tl-bar {
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 980px;
  overflow: hidden;
}
.tl-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue) 0%, #5AC8FA 100%);
  border-radius: 980px;
  transform-origin: left;
  animation: tl-grow 700ms cubic-bezier(.2,.7,.2,1) both;
}
@keyframes tl-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tl-visits {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.tl-visits b {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.014em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.tl-visits span {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: -0.008em;
  text-transform: uppercase;
}
@media (max-width: 1068px) {
  .tl-row { grid-template-columns: 36px 1.6fr 1fr 90px; gap: 12px; }
  .tl-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .tl-row { grid-template-columns: 28px 1fr 70px; }
  .tl-bar { display: none; }
}

/* ---------- Compare ---------- */
.cmp-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  color: var(--text-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 160ms ease;
  z-index: 2;
}
.cmp-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.tcard.is-compared { box-shadow: 0 0 0 2px var(--blue); }
.tcard.is-compared .cmp-btn { background: var(--blue); color: #fff; border-color: var(--blue); }

#compare-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
  z-index: 60;
  transform: translateY(100%);
  transition: transform 240ms ease;
}
#compare-bar.is-open { transform: translateY(0); }
.cmp-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cmp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  padding: 6px 6px 6px 12px;
  border-radius: 980px;
  font-size: 13px;
  letter-spacing: -0.008em;
}
.cmp-chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.cmp-chip button {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-2);
  line-height: 1;
}
.cmp-chip button:hover { background: var(--line); color: var(--text); }
.cmp-actions { display: flex; gap: 8px; align-items: center; }
.cmp-link {
  background: transparent;
  border: 0;
  color: var(--text-2);
  font-size: 14px;
  cursor: pointer;
  padding: 6px 10px;
}
.cmp-link:hover { color: var(--text); }
.cmp-primary {
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 980px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.cmp-primary:hover { background: #0058B0; }

/* modal */
.cmp-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 24px;
}
.cmp-modal.is-open { display: flex; }
.cmp-modal-card {
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  max-width: 1100px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  position: relative;
}
.cmp-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 0;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.cmp-close:hover { background: var(--line); }
.cmp-modal-card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0 0 22px;
}
.cmp-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.cmp-col {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 20px;
}
.cmp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cmp-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
  letter-spacing: -0.012em;
}
.cmp-head h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.014em;
  margin: 0;
}
.cmp-rows { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.cmp-rows > div {
  display: flex; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid var(--line-soft);
  padding: 4px 0;
}
.cmp-rows .lbl { color: var(--text-3); letter-spacing: -0.008em; }
.cmp-rows .val { color: var(--text); text-align: right; letter-spacing: -0.008em; }
.cmp-visit {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-size: 14px;
  text-decoration: none;
}
.cmp-visit:hover { text-decoration: underline; }

@media (max-width: 1068px) {
  .cmp-bar-inner { flex-direction: column; align-items: stretch; }
  .cmp-actions { justify-content: space-between; }
}
.tcard { position: relative; }

.notes {
  background: var(--bg-soft);
  padding: 88px 0;
}
.notes-head { text-align: center; margin-bottom: 56px; }
.notes-head h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0 0 8px;
}
.notes-head p { color: var(--text-2); margin: 0; font-size: 17px; }
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ncard {
  background: #fff;
  border-radius: 22px;
  padding: 32px;
  border: 1px solid var(--line-soft);
}
.ncard .kind {
  font-size: 12px;
  color: var(--blue);
  letter-spacing: -0.008em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ncard h4 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0 0 10px;
  line-height: 1.25;
}
.ncard p {
  font-size: 15px;
  color: var(--text-2);
  margin: 0;
  letter-spacing: -0.012em;
  line-height: 1.5;
}

/* ---------- Submit strip (Apple-style CTA section) ---------- */
.cta {
  text-align: center;
  padding: 112px 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}
.cta h2 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0 0 12px;
  line-height: 1.05;
}
.cta p {
  color: var(--text-2);
  font-size: 19px;
  max-width: 50ch;
  margin: 0 auto 32px;
  letter-spacing: -0.014em;
}

/* ---------- Footer ---------- */
.foot {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 28px;
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: -0.006em;
}
.foot .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.foot h5 {
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.006em;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 4px 0; }
.foot li a { color: var(--text-2); }
.foot li a:hover { color: var(--text); text-decoration: none; }
.foot .legal {
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.foot .legal a { color: var(--text-2); }

/* ---------- Empty ---------- */
.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 88px 0;
  font-size: 19px;
  color: var(--text-2);
  background: var(--bg-soft);
  border-radius: 22px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .notes-grid { grid-template-columns: 1fr; }
  .foot .grid { grid-template-columns: 1fr 1fr; }
  .icon-row { grid-template-columns: repeat(4, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 734px) {
  .grid { grid-template-columns: 1fr; }
  .toolbar { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 64px 0 36px; }
  .featured, .section, .notes, .cta { padding: 64px 0; }
  .icon-row { grid-template-columns: repeat(3, 1fr); }
  .foot .grid { grid-template-columns: 1fr; }
}