/* anakfyp.id — single stylesheet.
   Tokens from "Site redesign and component build" handoff (2026-08-14):
   warm palette, Sora variable font, fluid clamp() type, 1200px shell. */

:root {
  /* Colors */
  --primary: #FE2C55;
  --primary-hover: #D21F45;
  --primary-deep: #C81E42;
  --primary-tint: rgba(254, 44, 85, 0.09);
  --accent: #25F4EE;
  --accent-deep: #00B8C8;
  --money: #0B7A46;
  --bg: #FFFDFB;
  --surface: #F5F1EE;
  --surface-alt: #F8F4F1;
  --border: #EDE9E6;
  --border-strong: #E2DDDA;
  --card-border: #F3D9DE;
  --card-divider: #F0E4E6;
  --text: #14131B;
  --text-body: #3A3742;
  --text-strong: #34313A;
  --text-muted: #6E6A72;
  --text-faint: #A19C9F;
  --nav-idle: #5A5560;

  /* Shape */
  --radius-card: 24px;
  --radius-banner: 22px;
  --radius-tile: 18px;
  --radius-input: 16px;
  --radius-field: 14px;
  --radius-chip: 999px;

  /* Shadows */
  --shadow-card: 0 24px 48px -16px rgba(254, 44, 85, 0.16);
  --shadow-callout: 0 12px 24px -12px rgba(254, 44, 85, 0.2);
  --shadow-cta: 0 12px 24px -8px rgba(254, 44, 85, 0.35);

  /* Layout */
  --shell: 1200px;
  --pad: clamp(16px, 4vw, 48px);
  --measure: 760px;

  /* Spacing rhythm */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2.5rem;
}

/* Sora (variable, 400–800) — single self-hosted 25KB woff2. */
@font-face {
  font-family: 'Sora';
  src: url('/fonts/Sora.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 10px; }
h2 { font-size: 20px; margin: var(--sp-4) 0 var(--sp-3); }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

.container {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Content pages use a shell that exactly fits the reading column, so every
   block (banner, prose, tables, card grids) shares one aligned width — no
   dead space on the right. The homepage keeps the wide shell because its
   split calculator layout actually fills it. */
.container--content { max-width: calc(var(--measure) + 2 * var(--pad)); }

/* Reading-width cap. margin-inline auto centers these on the wide homepage
   shell (below the full-width calculator); on content shells the cap equals
   the shell width, so it's a no-op there. */
.prose, .faq, .notice, .kontak-form, .share-card, .copy-list, .related,
.hero__sub, .post-toc, .page-banner-wrap, .table-wrap,
.tool:not(.tool--split) {
  max-width: var(--measure);
}
main > .prose, main > .faq, main > .table-wrap, main > .related {
  margin-inline: auto;
}
article.post, .static-page { max-width: var(--measure); margin-inline: auto; }

/* On the narrow content shell, the split tool stacks into one column. */
.container--content .tool--split { grid-template-columns: 1fr !important; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 250, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 12px;
  position: relative;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  color: var(--text);
  letter-spacing: -0.02em;
  flex: none;
}
.wordmark:hover { color: var(--text); }
.wordmark__accent { color: var(--primary); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  flex: none;
}
.nav-toggle:hover { background: var(--surface); }

/* Mobile: dropdown panel floating under the header bar */
@keyframes af-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: calc(-1 * var(--pad));
  right: calc(-1 * var(--pad));
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(20, 19, 27, 0.08);
  flex-direction: column;
  gap: 2px;
  padding: 10px var(--pad) 16px;
  animation: af-fade 0.16s ease;
}
.site-nav--open { display: flex; }
.site-nav a {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 12px;
}
.site-nav a:hover { background: var(--surface); color: var(--text); }
.site-nav a.active { color: var(--primary); background: var(--primary-tint); }
.site-nav .site-nav__extra { font-weight: 600; font-size: 14px; color: var(--text-muted); }
.site-nav .site-nav__extra:first-of-type { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 14px; border-radius: 0 0 12px 12px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 0;
    animation: none;
  }
  .site-nav a {
    min-height: auto;
    padding: 9px 15px;
    color: var(--nav-idle);
    font-size: 14px;
    border-radius: var(--radius-chip);
  }
  .site-nav a:hover { color: var(--text); background: var(--surface); }
  .site-nav a.active { color: var(--primary); background: var(--primary-tint); }
  .site-nav__extra { display: none !important; }
}

/* ---------- Hero (homepage) ---------- */

.hero {
  padding: clamp(28px, 6vw, 56px) var(--pad) clamp(20px, 4vw, 36px);
  margin: 0 calc(-1 * var(--pad));
  background:
    radial-gradient(ellipse 640px 320px at 18% 0%, rgba(254, 44, 85, 0.07), transparent),
    radial-gradient(ellipse 520px 280px at 92% 10%, rgba(37, 244, 238, 0.14), transparent);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-chip);
  background: var(--primary-tint);
  color: var(--primary-hover);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(28px, 5vw, 50px); line-height: 1.1; margin: 0 0 12px; }
.hero__sub {
  color: var(--text-muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  margin: 0 0 clamp(20px, 4vw, 32px);
  max-width: var(--measure); /* inner-page intros match the banner/content width */
}
.hero .hero__sub { max-width: 520px; } /* only the homepage hero stays narrow */
.hero .hero__sub--tight { margin-bottom: var(--sp-3); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-chip);
  font-weight: 800;
  font-size: 14.5px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--primary); color: var(--text); }
.btn--big { width: 100%; min-height: 52px; font-size: 15px; }
.btn--copied { background: var(--money) !important; border-color: var(--money) !important; color: #fff !important; box-shadow: none !important; }
.nama-seed__hint { font-size: 12px; color: var(--text-muted); margin: 6px 0 0; }

/* ---------- Breadcrumbs ---------- */

.breadcrumbs { font-size: 12.5px; font-weight: 700; padding: 18px 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 5px; }
.breadcrumbs a { color: var(--text-muted); display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current] {
  color: var(--primary);
  background: var(--primary-tint);
  padding: 3px 9px;
  border-radius: var(--radius-chip);
}

/* ---------- Page banner illustration ---------- */

.page-banner-wrap {
  margin: 0 0 20px;
  border-radius: var(--radius-banner);
  overflow: hidden;
  background: var(--surface);
  height: clamp(120px, 22vw, 190px);
}
.page-banner { display: block; width: 100%; height: 100%; }

/* ---------- Tool shell ---------- */

.tool { display: grid; gap: 16px; margin: var(--sp-2) 0 var(--sp-4); }
.tool__controls { display: grid; gap: 16px; justify-items: stretch; }
@media (min-width: 900px) {
  .tool--split { grid-template-columns: 1fr 460px; gap: clamp(24px, 4vw, 48px); align-items: start; }
}

.mode-toggle {
  display: inline-flex;
  background: var(--surface);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  align-self: start;
}
.mode-toggle__btn {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-family: inherit;
  font-size: 13.5px;
  padding: 0 16px;
  min-height: 44px;
  border-radius: 11px;
  cursor: pointer;
  white-space: nowrap;
}
.mode-toggle__btn--active { background: var(--primary); color: #fff; }

.tool__label { display: block; font-weight: 700; font-size: 13px; color: var(--text-muted); margin-bottom: 7px; }

.input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-input);
  padding: 13px 18px;
}
.input-group__unit { font-size: 13.5px; font-weight: 700; color: var(--text-muted); white-space: nowrap; }

.tool__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.tool__input:focus { outline: none; }

/* ---------- Chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: var(--radius-chip);
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text-body);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.chip:hover { color: var(--text-body); border-color: var(--primary); }
.chip--tinted {
  background: var(--surface);
  border-color: transparent;
  min-height: 42px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-strong);
}
.chip--active, .chip--active:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------- Result card (the WhatsApp-screenshot asset) ---------- */

.result-card {
  position: relative;
  background: linear-gradient(155deg, #FFF1F3 0%, #FFFDFB 55%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
}
.result-card__rings {
  position: absolute;
  top: -20px;
  right: -20px;
  opacity: 0.5;
  pointer-events: none;
}
.result-card > *:not(.result-card__rings) { position: relative; }
.result-card__heading { margin: 0 0 10px; color: var(--text-muted); font-weight: 500; font-size: 13.5px; }
.result-card__heading span { color: var(--text); font-weight: 800; }
.result-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--card-divider);
}
.result-card__row--cut { padding-top: 13px; }
.result-card__value--cut { font-size: 15px; font-weight: 400; color: var(--primary-hover); }
.result-card__row--net { flex-direction: column; align-items: flex-start; border-bottom: none; padding-top: 13px; padding-bottom: 0; gap: 3px; }
.result-card__label { font-size: 13.5px; color: var(--text-muted); }
.result-card__value { font-size: 19px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.result-card__value--money {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--money);
}
.result-card__meta-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.result-card__meta { font-size: 11px; color: var(--text-faint); margin: 0; }
.result-card__watermark { font-size: 11px; font-weight: 700; color: var(--primary); }

/* ---------- Tables ---------- */

.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
}
.gift-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.gift-table th, .gift-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.gift-table tbody tr:last-child th, .gift-table tbody tr:last-child td { border-bottom: none; }
.gift-table th { color: var(--text-muted); font-weight: 700; }
.gift-table a { color: var(--text); font-weight: 700; }
.gift-table a:hover { color: var(--primary); }
.gift-table .money { color: var(--money); font-weight: 800; }

/* ---------- Prose ---------- */

.prose p { color: var(--text-body); font-size: 15.5px; line-height: 1.75; margin: 0 0 16px; }
.prose h2 {
  font-size: 20px;
  position: relative;
  margin: 40px 0 16px;
  padding-bottom: 10px;
}
.prose h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-deep));
}
.prose h3 { margin: var(--sp-4) 0 var(--sp-2); }
.prose > h2:first-child, .prose > p:first-child { margin-top: 0; }
.prose a { font-weight: 600; }

.prose ul { list-style: none; margin: 0 0 20px; padding: 0; }
.prose ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-body);
  font-size: 15.5px;
  line-height: 1.7;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose ol li { margin-bottom: 10px; color: var(--text-body); font-size: 15.5px; line-height: 1.7; }
.prose ol li::marker { color: var(--primary); font-weight: 800; }

/* "Kesimpulan" takeaway card */
#kesimpulan + ul {
  background: linear-gradient(155deg, #FFF1F3 0%, #FFFDFB 60%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 12px 24px -16px rgba(254, 44, 85, 0.2);
  padding: 20px 20px 8px;
}
#kesimpulan + ul li { padding-left: 28px; margin-bottom: 12px; }
#kesimpulan + ul li::before {
  content: '✓';
  width: auto;
  height: auto;
  left: 0;
  top: 0;
  border-radius: 0;
  background: none;
  color: var(--money);
  font-weight: 800;
}

/* ---------- FAQ ---------- */

.faq { margin: var(--sp-4) 0; }
.faq h2 { font-size: 18px; margin: 0 0 14px; }
.faq__item { background: var(--surface); border-radius: 14px; margin-bottom: 8px; overflow: hidden; }
.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14.5px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  padding: 12px 16px;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23FE2C55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__item p { margin: 0; padding: 0 16px 14px; font-size: 14px; line-height: 1.7; color: var(--text-body); }

.related { margin: var(--sp-4) 0; }
.related h2 { font-size: 16px; margin: 0 0 12px; }

.notice {
  background: var(--primary-tint);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-field);
  padding: var(--sp-2) var(--sp-3);
  font-size: 13.5px;
  color: var(--text);
}
.notice--ok { background: rgba(11, 122, 70, 0.08); border-color: rgba(11, 122, 70, 0.3); }

/* ---------- ER tool ---------- */

.er-grid {
  display: grid !important;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.er-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-field);
  padding: 10px 14px;
}
.er-field__label { flex: none; width: 88px; font-size: 13px; font-weight: 700; color: var(--text-muted); }
.er-field .tool__input { font-size: 17px; text-align: right; min-height: 24px; }

.result-card__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--card-divider);
}
.result-card__col-label { font-size: 12px; color: var(--text-muted); margin-bottom: 3px; }
.result-card__col-value { font-size: 32px; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.result-card__col-value--money { color: var(--money); }
.result-card__col-value--dark { color: var(--text); }

.er-bench-row { padding-top: 14px; }
.er-bench-row__top { display: flex; justify-content: space-between; margin-bottom: 6px; }
.er-bench-row__label { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.er-verdict { font-size: 13px; font-weight: 800; }

.er-scale {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #E2DDDA 0%, #25F4EE 35%, #0B7A46 70%, #FE2C55 100%);
}
.er-scale__marker {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--text-muted);
  box-shadow: 0 1px 4px rgba(20, 19, 27, 0.25);
  transform: translate(-50%, -50%);
  transition: left 0.25s ease, border-color 0.25s ease;
}
.er-scale__labels { display: flex; justify-content: space-between; margin-top: 5px; font-size: 10px; font-weight: 700; color: var(--text-faint); }

.share-card {
  margin-top: 12px;
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 16px;
  display: grid;
  gap: 10px;
}
.share-card__label { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.share-card__text { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-body); }

/* ---------- Nama generator ---------- */

.nama-results, .nama-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 900px) {
  .nama-list { grid-template-columns: 1fr 1fr 1fr; }
}
.nama-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 10px 10px 10px 14px;
}
.nama-row__text { flex: 1; font-size: 15px; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.nama-row__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.nama-row__btn:hover { border-color: var(--primary); }
.nama-row__btn--copied { background: var(--money) !important; border-color: var(--money) !important; color: #fff !important; }

/* ---------- Copy list ---------- */

.copy-list__cats {
  position: sticky;
  top: 68px;
  z-index: 5;
  background: rgba(255, 253, 251, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 16px;
  max-width: var(--measure);
}
.copy-list__cats .chip { font-weight: 700; }

.copy-list { margin: var(--sp-2) 0 40px; }
.copy-all { margin-bottom: 18px; }
.copy-list__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.copy-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 14px;
}
.copy-item__text { margin: 0; flex: 1; font-size: 14px; line-height: 1.55; color: var(--text-body); }
.copy-item__text--multiline { white-space: pre-line; }
.copy-item__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.copy-item__btn:hover { border-color: var(--primary); }
.copy-item__btn--copied { background: var(--money) !important; border-color: var(--money) !important; color: #fff !important; }

/* ---------- Tool cards / post cards ---------- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  padding: var(--sp-1) 0 var(--sp-4);
}
@media (min-width: 960px) {
  .tool-grid--row { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .tool-grid--row .tool-card { padding: 14px; }
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 18px;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tool-card:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(20, 19, 27, 0.15); }
.tool-card__name { font-weight: 800; font-size: 15px; color: var(--text); }
.tool-card__desc { color: var(--text-muted); font-size: 12.5px; line-height: 1.5; }

.post-list__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.post-list__head h2 { font-size: 18px; margin: 0; }
.post-list__head a { font-size: 13.5px; font-weight: 700; }
.post-list {
  list-style: none;
  margin: var(--sp-2) 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  min-width: 0;
}
.post-card { min-width: 0; }
.post-card a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 16px;
  color: inherit;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card a:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(20, 19, 27, 0.15); }
.post-card__thumb {
  flex: none;
  width: 100%;
  height: 110px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.post-card__title { font-size: 14.5px; font-weight: 800; line-height: 1.35; color: var(--text); }
.post-card__desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.post-card__date { font-size: 11.5px; color: var(--text-faint); }

/* ---------- Blog post ---------- */

.post__meta { color: var(--text-muted); font-size: 12.5px; display: flex; gap: 10px; align-items: center; margin-bottom: 20px; }
.post__meta strong { color: var(--text-strong); }
.post__hero {
  height: clamp(160px, 26vw, 240px);
  border-radius: var(--radius-banner);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.post__body { font-size: 17px; line-height: 1.7; }
.post__body.prose p, .post__body.prose ul li, .post__body.prose ol li { font-size: 17px; }
.post__body.prose h2 { font-size: 21px; margin: 36px 0 14px; padding-bottom: 0; }
.post__body.prose h2::after { display: none; }
.post__body img { max-width: 100%; border-radius: var(--radius-field); }
.post__body table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.post__body th, .post__body td { border-bottom: 1px solid var(--border); padding: var(--sp-1) var(--sp-2); text-align: left; }
.post__body blockquote { border-left: 3px solid var(--primary); margin: var(--sp-3) 0; padding-left: var(--sp-3); color: var(--text-muted); }
.post__body code { background: var(--surface); border-radius: 6px; padding: 1px 6px; font-size: 0.9em; }

.post-toc {
  background: var(--surface);
  border-radius: var(--radius-tile);
  padding: 16px 18px;
  margin-bottom: 28px;
}
.post-toc__title { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.post-toc__links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }

.tool-callout-list { display: grid; gap: 12px; margin: 28px 0; }
.tool-callout-list .tool-callout { margin: 0; }
.tool-callout {
  display: flex;
  gap: 12px;
  align-items: center;
  background: linear-gradient(155deg, #FFF1F3 0%, #FFFDFB 60%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-tile);
  padding: 14px;
  margin: 28px 0;
  box-shadow: var(--shadow-callout);
}
.tool-callout__body { flex: 1; min-width: 0; }
.tool-callout__title { font-size: 14px; font-weight: 800; color: var(--text); }
.tool-callout__desc { font-size: 12px; color: var(--text-muted); }
.tool-callout__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--primary);
  border-radius: var(--radius-chip);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}
.tool-callout__cta:hover { background: var(--primary-hover); color: #fff; }

/* ---------- 404 ---------- */

.page-404 {
  text-align: center;
  padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 9vw, 96px);
  margin: 0 calc(-1 * var(--pad));
  background: radial-gradient(ellipse 420px 260px at 50% 0%, rgba(37, 244, 238, 0.1), transparent);
}
.page-404__number { font-size: clamp(56px, 10vw, 88px); font-weight: 800; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.page-404__number span { color: var(--primary); }
.page-404 h1 { font-size: 22px; margin: 12px 0 6px; }
.page-404__sub { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0 0 var(--sp-4); }
.page-404 .btn { margin-bottom: var(--sp-2); }
.page-404__secondary { font-size: 13.5px; font-weight: 700; }

/* ---------- Kontak ---------- */

.kontak-form { display: grid; gap: 14px; margin: var(--sp-3) 0 var(--sp-5); }
.kontak-form .tool__input {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-field);
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 400;
}
.kontak-form .tool__input:focus { border-color: var(--primary); }
.kontak-form__textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.static-page { padding-bottom: var(--sp-5); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  margin-top: clamp(48px, 8vw, 96px);
  font-size: 13.5px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px 20px;
  padding-top: clamp(32px, 6vw, 56px);
  padding-bottom: clamp(24px, 4vw, 32px);
}
.site-footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.site-footer .wordmark { font-size: 17px; }
.site-footer__tagline { color: var(--text-muted); margin: 0; line-height: 1.6; font-size: 13px; }

.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__col h3 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin: 0 0 2px;
}
.site-footer__col a { color: var(--text-strong); font-weight: 600; font-size: 13.5px; padding: 2px 0; }
.site-footer__col a:hover { color: var(--primary); }

.site-footer__bottom { border-top: 1px solid var(--border); }
.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}
.site-footer__disclaimer { color: var(--text-faint); margin: 0; line-height: 1.6; font-size: 11px; max-width: 620px; }
.site-footer__copy { color: var(--text-faint); margin: 0; font-size: 11px; white-space: nowrap; }

@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: auto; }
}

/* ---------- Ad slots (disabled; kept for re-enable) ---------- */

.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--sp-3) auto;
  border: 1.5px dashed var(--border-strong);
  border-radius: 12px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 600;
  max-width: 100%;
}
.ad-anchor { display: none; }
