/* EVADDON site styles. Brand: lime #9bff66 + violet #7400b5 from the add-on icon. */
:root {
  color-scheme: light;
  --bg: #fbfaf6;
  --bg-alt: #f3f1ea;
  --surface: #ffffff;
  --ink: #17112a;
  --ink-soft: #3d3554;
  --muted: #6b6480;
  --line: #e4e0d6;
  --line-strong: #cfc9bb;
  --violet: #7400b5;
  --violet-deep: #55008a;
  --violet-soft: #f3e8fb;
  --lime: #9bff66;
  --lime-soft: #e9ffd9;
  --ok: #0f7a3c;
  --ok-bg: #e3f7e9;
  --warn: #8a5a00;
  --warn-bg: #fff3d6;
  --unk: #4c5468;
  --unk-bg: #eceef3;
  --bad: #b3261e;
  --bad-bg: #fde7e5;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(23, 17, 42, 0.04), 0 12px 32px -12px rgba(23, 17, 42, 0.18);
  --font-head: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--violet);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--violet-deep);
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.55rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 760px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--surface);
  padding: 8px 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--bg-alt);
  color: var(--ink);
}

.header-cta {
  margin-left: 4px;
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(116, 0, 181, 0.7);
}

.btn-primary:hover {
  background: var(--violet-deep);
  color: #fff;
}

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

.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.92rem;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.header-cta .short {
  display: none;
}

@media (max-width: 420px) {
  .header-cta .long {
    display: none;
  }
  .header-cta .short {
    display: inline;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 72px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  margin-bottom: 22px;
}

.eyebrow img {
  width: 18px;
  height: 18px;
}

.mark {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%);
  padding: 0 0.06em;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 14px 0 0;
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 32px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.proof li {
  display: flex;
  flex-direction: column;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.3;
}

.proof strong {
  font-family: var(--font-head);
  font-size: 1.45rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.stars {
  color: #e8a400;
  letter-spacing: 1px;
}

@media (max-width: 940px) {
  .hero {
    padding-top: 32px;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Product mock ---------- */
.mock {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 2px 0 rgba(23, 17, 42, 0.04), 0 40px 80px -30px rgba(52, 16, 92, 0.38);
  overflow: hidden;
  font-size: 13px;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #f7f6f2;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd8cc;
}

.mock-title {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-menu {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.mock-menu b {
  color: var(--violet);
  font-weight: 650;
}

.mock-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 172px;
}

.sheet {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 12px;
  table-layout: fixed;
}

.sheet th,
.sheet td {
  border-right: 1px solid #ebe8e0;
  border-bottom: 1px solid #ebe8e0;
  padding: 0 8px;
  height: 34px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sheet thead th {
  background: #f7f6f2;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  height: 24px;
  font-size: 11px;
}

.sheet .rn {
  width: 30px;
  background: #f7f6f2;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}

.sheet .hdr td {
  font-family: var(--font-body);
  font-weight: 650;
  color: var(--ink);
}

.chip {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 650;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.unk { background: var(--unk-bg); color: var(--unk); }
.chip.bad { background: var(--bad-bg); color: var(--bad); }

.mock.play .sheet td .chip {
  animation: chipIn 0.35s ease backwards;
}

.mock.play .sheet tr:nth-child(2) .chip { animation-delay: 0.5s; }
.mock.play .sheet tr:nth-child(3) .chip { animation-delay: 0.8s; }
.mock.play .sheet tr:nth-child(4) .chip { animation-delay: 1.1s; }
.mock.play .sheet tr:nth-child(5) .chip { animation-delay: 1.4s; }
.mock.play .sheet tr:nth-child(6) .chip { animation-delay: 1.7s; }
.mock.play .sheet tr:nth-child(7) .chip { animation-delay: 2.0s; }
.mock.play .sheet tr:nth-child(8) .chip { animation-delay: 2.3s; }
.mock.play .sheet tr:nth-child(9) .chip { animation-delay: 2.6s; }

@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

.side {
  border-left: 1px solid var(--line);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
}

.side-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
}

.side-head img {
  width: 22px;
  height: 22px;
}

.side-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}

.side-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.side-num {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.side-btn {
  display: block;
  text-align: center;
  background: var(--violet);
  color: #fff;
  border-radius: 8px;
  padding: 8px;
  font-weight: 650;
  font-size: 12.5px;
}

.side-progress {
  height: 6px;
  border-radius: 99px;
  background: var(--bg-alt);
  overflow: hidden;
  margin-top: 8px;
}

.side-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--lime);
  border-right: 2px solid var(--violet);
}

.mock.play .side-progress i {
  animation: fill 2.8s 0.3s ease-out backwards;
}

@keyframes fill {
  from {
    width: 0;
  }
}

.side small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.mock {
  container-type: inline-size;
  margin: 0;
}

.sheet .c-rn { width: 30px; }
.sheet .c-b { width: 156px; }
.sheet .c-c { width: 74px; }

@container (max-width: 680px) {
  .sheet .col-c {
    display: none;
  }
  .mock-menu {
    display: none;
  }
}

@container (max-width: 520px) {
  .mock-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .side {
    display: none;
  }
  .sheet .c-b { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .sheet td .chip,
  .side-progress i {
    animation: none;
    opacity: 1;
    transform: none;
    width: 100%;
  }
  html {
    scroll-behavior: auto;
  }
  .btn:hover {
    transform: none;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.kicker {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
}

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.benefit .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lime-soft);
  color: var(--violet);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.benefit .icon svg {
  width: 24px;
  height: 24px;
}

.benefit p {
  color: var(--ink-soft);
  margin: 0;
}

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

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-top: 64px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
}

.steps li::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 56px;
  right: -8px;
  border-top: 1.5px dashed var(--line-strong);
}

.steps li:last-child::after {
  display: none;
}

.steps p {
  color: var(--ink-soft);
  margin: 0;
}

.kbd {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 6px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps li {
    padding: 4px 0 0 64px;
  }
  .steps li::after {
    display: none;
  }
}

.callout {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.callout > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--surface);
}

.callout h3 {
  margin-bottom: 6px;
}

.callout p {
  margin: 0;
  color: var(--ink-soft);
}

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

/* Status legend */
.statuses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.status .chip {
  font-size: 12.5px;
  padding: 4px 10px;
  margin-bottom: 8px;
}

.status h3 {
  margin: 0;
  font-size: 1.05rem;
}

.status p {
  margin: 0;
  color: var(--ink-soft);
}

.status .todo {
  font-weight: 650;
  color: var(--ink);
  font-size: 0.95rem;
  margin-top: 6px;
}

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

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pack.free {
  grid-row: span 2;
  justify-content: center;
}

.pack {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pack .credits {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.pack .credits span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.pack .price {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--violet);
  line-height: 1.1;
  margin-top: 8px;
}

.pack .unit {
  font-size: 0.85rem;
  color: var(--muted);
}

.pack.free {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.pack.free .credits,
.pack.free .unit {
  color: #fff;
}

.pack.free .credits span {
  color: rgba(255, 255, 255, 0.7);
}

.pack.free .price {
  color: var(--lime);
}

.pack .tag {
  position: absolute;
  top: -11px;
  left: 18px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}

.pricing-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.pricing-notes li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-notes svg {
  width: 18px;
  height: 18px;
  color: var(--ok);
  flex: none;
}

@media (max-width: 960px) {
  .pricing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pack.free {
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pack .price {
    font-size: 1.8rem;
  }
  .pack.free {
    grid-column: 1 / -1;
  }
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line-strong);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-75%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

.faq .answer {
  padding: 0 0 22px;
  color: var(--ink-soft);
  max-width: 680px;
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* Final CTA */
.final {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.final::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.12;
}

.final h2 {
  color: #fff;
  margin-bottom: 10px;
}

.final p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  font-size: 1.1rem;
}

.final .btn-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: none;
}

.final .btn-primary:hover {
  background: #b6ff8f;
  color: var(--ink);
}

@media (max-width: 760px) {
  .final {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 88px;
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  font-size: 0.93rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer-grid h4 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-grid a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--violet);
  text-decoration: underline;
}

.footer-grid p {
  margin: 12px 0 0;
  max-width: 28em;
}

.footer-base {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Inner pages (help, setup, contact, legal) ---------- */
.page-head {
  padding: 56px 0 24px;
}

.page-head .lede {
  margin-bottom: 0;
}

.page-head .updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 12px;
}

.doc {
  padding-bottom: 24px;
}

.doc h2 {
  font-size: 1.55rem;
  margin: 48px 0 14px;
  padding-top: 8px;
}

.doc h3 {
  margin: 28px 0 8px;
}

.doc p,
.doc li {
  color: var(--ink-soft);
}

.doc ul,
.doc ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}

.doc li {
  margin-bottom: 0.5em;
}

.doc li::marker {
  color: var(--violet);
  font-weight: 700;
}

.doc .box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 20px 0;
}

.doc .box > :last-child {
  margin-bottom: 0;
}

.doc .box.tip {
  background: var(--lime-soft);
  border-color: #c9f2ad;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.toc a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

.toc a:hover {
  border-color: var(--violet);
  color: var(--violet);
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  margin: 8px 0 32px;
}

.contact-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--violet-soft);
  color: var(--violet);
  display: grid;
  place-items: center;
}

.contact-card .icon svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 520px) {
  .contact-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

.contact-card a.email {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 3.4vw, 1.5rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.notfound {
  text-align: center;
  padding: 120px 0 40px;
}
