/* ============================================================
   CTF · Orbital secondary pages
   Blog, tools and utility pages. Loads after orbital.css and
   reuses its tokens, navigation, buttons, FAQ, CTA and footer.
   ============================================================ */

.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ============================================================
   Page hero
   ============================================================ */

.page-hero {
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 520px;
  pointer-events: none;
  background:
    radial-gradient(40% 60% at 22% 30%, rgba(66, 94, 255, 0.2), transparent 70%),
    radial-gradient(34% 50% at 82% 20%, rgba(120, 231, 255, 0.12), transparent 72%);
}

.page-hero > .wrap {
  position: relative;
}

.page-hero--center {
  text-align: center;
}

.page-hero--center .page-lede {
  margin-inline: auto;
}

.page-hero--center .section-label,
.page-hero--center .hero-actions {
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #a9bad6;
}

.page-hero--center .breadcrumb {
  justify-content: center;
}

.breadcrumb a {
  color: #a9bad6;
  transition: color 0.18s;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb [aria-current="page"] {
  color: var(--accent);
}

.breadcrumb-sep {
  opacity: 0.5;
}

.page-title {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-shadow: 0 0 60px rgba(120, 231, 255, 0.12);
}

.page-hero--center .page-title {
  margin-inline: auto;
}

.page-lede {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.page-hero .hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.page-hero--center .hero-actions {
  justify-content: center;
}

/* ============================================================
   Generic surfaces
   ============================================================ */

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(151, 184, 255, 0.2);
  border-radius: 999px;
  background: rgba(13, 32, 60, 0.45);
  color: #b9cbe4;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tag--accent {
  border-color: rgba(120, 231, 255, 0.38);
  color: var(--accent);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-section {
  padding: 72px 0;
}

.page-section + .page-section {
  padding-top: 0;
}

/* ============================================================
   Tool layout
   ============================================================ */

.tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 56px;
}

.tool-intro .page-title {
  font-size: clamp(34px, 4vw, 52px);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #c7d5e8;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border: 1px solid rgba(120, 231, 255, 0.35);
  border-radius: 50%;
  background: rgba(120, 231, 255, 0.08);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.promo-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 18px 20px;
  border: 1px solid rgba(155, 140, 255, 0.36);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(76, 60, 190, 0.32), rgba(7, 58, 75, 0.38));
  transition:
    border-color 0.18s,
    transform 0.18s;
}

.promo-card:hover {
  border-color: rgba(120, 231, 255, 0.5);
  transform: translateY(-1px);
}

.promo-card strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.promo-card span {
  display: block;
  font-size: 14px;
  color: #b4c6e0;
}

.promo-card .promo-arrow {
  margin-left: auto;
  color: var(--accent);
  font-size: 18px;
}

/* Calculator card */

.tool-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.tool-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(100deg, rgba(120, 231, 255, 0.08), rgba(155, 140, 255, 0.06));
}

.tool-card-head h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tool-card-head p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.tool-card-body {
  padding: 26px;
}

.tool-card + .tool-card {
  margin-top: 20px;
}

/* Forms */

.form-stack {
  display: grid;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #d6e3f5;
}

.field-hint {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: #a9bad6;
}

.input,
.select,
textarea.input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(151, 184, 255, 0.2);
  border-radius: 12px;
  background: rgba(4, 10, 22, 0.66);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  outline: none;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background 0.18s;
}

textarea.input {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

.select {
  font-family: var(--font-sans);
  font-size: 16px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image:
    linear-gradient(45deg, transparent 50%, #a9bad6 50%),
    linear-gradient(135deg, #a9bad6 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
}

.select option,
.select optgroup {
  background: #0a1526;
  color: var(--ink);
}

.input::placeholder {
  color: #4f6584;
}

.input:hover,
.select:hover {
  border-color: rgba(151, 184, 255, 0.32);
}

.input:focus,
.select:focus {
  border-color: rgba(120, 231, 255, 0.6);
  background-color: rgba(6, 16, 34, 0.9);
  box-shadow: 0 0 0 4px rgba(120, 231, 255, 0.1);
}

.input-group {
  display: flex;
  align-items: stretch;
}

.input-group .input {
  flex: 1;
  min-width: 0;
}

.input-addon {
  display: grid;
  place-items: center;
  min-width: 46px;
  padding: 0 12px;
  border: 1px solid rgba(151, 184, 255, 0.2);
  background: rgba(21, 40, 74, 0.6);
  color: #a9bad6;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.input-group > .input-addon:first-child {
  border-right: 0;
  border-radius: 12px 0 0 12px;
}

.input-group > .input-addon:last-child {
  border-left: 0;
  border-radius: 0 12px 12px 0;
}

.input-group > .input:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group > .input:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-block {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
}

/* Segmented toggles (long/short, tabs, presets) */

.segmented {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(151, 184, 255, 0.18);
  border-radius: 12px;
  background: rgba(4, 10, 22, 0.6);
}

.segmented--wrap {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}

.segmented button,
.segmented a {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #a9bad6;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}

.segmented button:hover,
.segmented a:hover {
  color: var(--ink);
  background: rgba(21, 40, 74, 0.6);
}

.segmented .is-active,
.segmented .active,
.segmented [aria-selected="true"],
.segmented [aria-pressed="true"] {
  border-color: rgba(120, 231, 255, 0.4);
  background: rgba(120, 231, 255, 0.12);
  color: var(--accent);
}

.segmented .is-long.is-active {
  border-color: rgba(140, 240, 184, 0.45);
  background: rgba(140, 240, 184, 0.12);
  color: #8cf0b8;
}

.segmented .is-short.is-active {
  border-color: rgba(255, 138, 154, 0.45);
  background: rgba(255, 138, 154, 0.12);
  color: #ff8a9a;
}

/* Results */

.results {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(120, 231, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(120, 231, 255, 0.1), transparent 60%),
    rgba(6, 16, 34, 0.72);
}

.results-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.result-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(151, 184, 255, 0.14);
  border-radius: 12px;
  background: rgba(4, 10, 22, 0.55);
}

.result--wide {
  grid-column: 1 / -1;
}

.result--highlight {
  border-color: rgba(120, 231, 255, 0.36);
  background: linear-gradient(120deg, rgba(120, 231, 255, 0.1), rgba(155, 140, 255, 0.08));
}

.result-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a9bad6;
}

.result-value {
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.result-value--lg {
  font-size: clamp(26px, 3vw, 34px);
  color: var(--accent);
}

.result-note {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: #8ea3c2;
}

.is-profit,
.text-profit {
  color: #8cf0b8 !important;
}

.is-loss,
.text-loss {
  color: #ff8a9a !important;
}

.is-warn,
.text-warn {
  color: #ffd27a !important;
}

.is-muted,
.text-muted {
  color: #8ea3c2 !important;
}

.result.is-profit-box {
  border-color: rgba(140, 240, 184, 0.4);
  background: rgba(140, 240, 184, 0.08);
}

.result.is-loss-box {
  border-color: rgba(255, 138, 154, 0.4);
  background: rgba(255, 138, 154, 0.08);
}

/* Verdict / status boxes */

.verdict {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(151, 184, 255, 0.2);
  border-radius: 12px;
  background: rgba(4, 10, 22, 0.55);
  font-size: 14px;
  line-height: 1.6;
  color: #c7d5e8;
}

.verdict--good {
  border-color: rgba(140, 240, 184, 0.45);
  background: rgba(140, 240, 184, 0.08);
}

.verdict--ok {
  border-color: rgba(120, 231, 255, 0.4);
  background: rgba(120, 231, 255, 0.08);
}

.verdict--warn {
  border-color: rgba(255, 210, 122, 0.45);
  background: rgba(255, 210, 122, 0.08);
}

.verdict--bad {
  border-color: rgba(255, 138, 154, 0.45);
  background: rgba(255, 138, 154, 0.08);
}

.verdict strong {
  color: var(--ink);
}

/* Level / data tables */

.level-list {
  display: grid;
  gap: 6px;
}

.level-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(151, 184, 255, 0.14);
  border-radius: 10px;
  background: rgba(4, 10, 22, 0.55);
  font-family: var(--font-mono);
  font-size: 14px;
}

.level-row--key {
  border-color: rgba(120, 231, 255, 0.36);
  background: rgba(120, 231, 255, 0.07);
}

.level-name {
  color: #a9bad6;
}

.level-price {
  font-weight: 600;
  color: var(--ink);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(151, 184, 255, 0.12);
  text-align: left;
}

.data-table th {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a9bad6;
}

.data-table td {
  color: #c7d5e8;
}

.data-table td.num,
.data-table th.num {
  font-family: var(--font-mono);
  text-align: right;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(151, 184, 255, 0.14);
  border-radius: 14px;
  background: rgba(4, 10, 22, 0.45);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(151, 184, 255, 0.22);
  border-radius: 8px;
  background: rgba(13, 25, 48, 0.6);
  color: #a9bad6;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 0.18s,
    border-color 0.18s,
    background 0.18s;
}

.copy-btn:hover {
  color: var(--ink);
  border-color: rgba(151, 184, 255, 0.4);
}

.copy-btn.copied {
  border-color: rgba(140, 240, 184, 0.5);
  background: rgba(140, 240, 184, 0.12);
  color: #8cf0b8;
}

/* Inline email capture */

.inline-capture {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(151, 184, 255, 0.14);
}

.inline-capture > p {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #d6e3f5;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-form .input {
  flex: 1 1 220px;
  font-family: var(--font-sans);
  font-size: 16px;
}

.inline-form .btn {
  flex: none;
}

.inline-form .form-message {
  flex: 1 0 100%;
  margin-top: 2px;
}

.cta-panel .inline-form {
  max-width: 460px;
  margin-top: 22px;
}

/* Telegram band */

.signal-band {
  padding: 8px 0 24px;
}

.signal-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  border: 1px solid rgba(120, 231, 255, 0.24);
  border-radius: 18px;
  background: linear-gradient(100deg, rgba(10, 31, 66, 0.8), rgba(7, 58, 75, 0.6));
}

.signal-band-inner p {
  font-size: 16px;
  color: #d6e3f5;
}

.signal-band-inner p span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: #8ea3c2;
}

/* ============================================================
   Long-form content (tool guides + blog posts)
   ============================================================ */

.article,
.prose {
  max-width: 780px;
  margin-inline: auto;
  color: #b9c8de;
  font-size: 17px;
  line-height: 1.85;
}

.article > :first-child,
.prose > :first-child {
  margin-top: 0;
}

.article h2,
.prose h2 {
  margin: 56px 0 16px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.article h3,
.prose h3 {
  margin: 34px 0 12px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #e6efff;
}

.article h4,
.prose h4 {
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #e6efff;
}

.prose h1 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.article p,
.prose p {
  margin: 0 0 18px;
}

.article ul,
.article ol,
.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.article li,
.prose li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.article li::marker,
.prose li::marker {
  color: var(--accent);
}

.article strong,
.prose strong {
  font-weight: 600;
  color: #eef4ff;
}

.article a,
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(120, 231, 255, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.18s;
}

.article a:hover,
.prose a:hover {
  text-decoration-color: var(--accent);
}

.article a.btn,
.prose a.btn {
  text-decoration: none;
}

.article a.btn-primary,
.prose a.btn-primary {
  color: var(--accent-ink);
}

.prose blockquote,
.article blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border: 1px solid rgba(155, 140, 255, 0.3);
  border-left: 3px solid var(--accent-2);
  border-radius: 0 14px 14px 0;
  background: rgba(30, 26, 80, 0.32);
  color: #d6e3f5;
  font-style: italic;
}

.prose blockquote p:last-child,
.article blockquote p:last-child {
  margin-bottom: 0;
}

.prose code,
.article code {
  padding: 2px 6px;
  border: 1px solid rgba(151, 184, 255, 0.18);
  border-radius: 6px;
  background: rgba(4, 10, 22, 0.6);
  color: #cfe9ff;
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.prose pre,
.article pre {
  margin: 0 0 22px;
  padding: 16px 18px;
  overflow-x: auto;
  border: 1px solid rgba(151, 184, 255, 0.16);
  border-radius: 12px;
  background: rgba(4, 10, 22, 0.7);
}

.prose pre code,
.article pre code {
  padding: 0;
  border: 0;
  background: none;
}

.prose hr,
.article hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid rgba(151, 184, 255, 0.14);
}

.prose img,
.article img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.table-scroll {
  max-width: 100%;
  margin: 0 0 24px;
  overflow-x: auto;
}

.table-scroll table {
  margin-bottom: 0 !important;
  min-width: 520px;
}

.prose table,
.article table:not(.data-table) {
  width: 100%;
  margin: 0 0 24px;
  border-collapse: collapse;
  font-size: 16px;
}

.prose th,
.prose td,
.article table:not(.data-table) th,
.article table:not(.data-table) td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(151, 184, 255, 0.14);
  text-align: left;
}

.prose th,
.article table:not(.data-table) th {
  color: var(--ink);
  font-weight: 600;
}

/* Content components */

.callout {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid rgba(120, 231, 255, 0.28);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(120, 231, 255, 0.08), rgba(155, 140, 255, 0.06));
}

.callout h3,
.callout h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--ink);
}

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

.callout--warn {
  border-color: rgba(255, 210, 122, 0.36);
  background: rgba(255, 210, 122, 0.06);
}

.formula {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid rgba(151, 184, 255, 0.2);
  border-radius: 16px;
  background: rgba(4, 10, 22, 0.6);
  text-align: center;
}

.formula-label {
  margin-bottom: 10px !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9bad6;
}

.formula code,
.formula .formula-expr {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 500;
  line-height: 1.6;
}

.example {
  margin: 20px 0 28px;
  padding: 20px 22px;
  border: 1px solid rgba(151, 184, 255, 0.16);
  border-radius: 16px;
  background: rgba(10, 22, 44, 0.52);
}

.example ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.example li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(151, 184, 255, 0.1);
}

.example li:last-child {
  border-bottom: 0;
}

.example .example-total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(120, 231, 255, 0.3);
  color: var(--ink);
}

.example .example-total span:last-child,
.example .accent {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card {
  padding: 18px;
  border: 1px solid rgba(151, 184, 255, 0.16);
  border-radius: 14px;
  background: rgba(10, 22, 44, 0.52);
}

.mini-card h3,
.mini-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--ink);
}

.mini-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #9fb3d0;
}

.mistake-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 28px;
}

.mistake {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 138, 154, 0.22);
  border-radius: 14px;
  background: rgba(255, 138, 154, 0.05);
}

.mistake::before {
  content: "✕";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 138, 154, 0.14);
  color: #ff8a9a;
  font-size: 14px;
  font-weight: 700;
}

.mistake h3,
.mistake h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--ink);
}

.mistake p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #9fb3d0;
}

.article .faq-list {
  margin: 20px 0 8px;
}

.faq-item .faq-answer {
  padding: 0 42px 20px 0;
  font-size: 14px;
  line-height: 1.8;
  color: #9fb3d0;
}

.faq-item .faq-answer p {
  padding: 0;
  margin: 0 0 10px;
}

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

/* Cross-promotion */

.tool-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.tool-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(151, 184, 255, 0.16);
  border-radius: 14px;
  background: rgba(10, 22, 44, 0.52);
  color: #d6e3f5;
  font-size: 14px;
  font-weight: 600;
  transition:
    border-color 0.18s,
    background 0.18s,
    transform 0.18s;
}

.tool-link::after {
  content: "→";
  color: var(--accent);
}

.tool-link:hover {
  border-color: rgba(120, 231, 255, 0.4);
  background: rgba(13, 32, 60, 0.7);
  transform: translateY(-1px);
}

/* ============================================================
   Tools index
   ============================================================ */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tool-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition:
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.tool-tile:hover {
  border-color: rgba(120, 231, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(0, 8, 30, 0.45);
}

.tool-tile--featured {
  border-color: rgba(155, 140, 255, 0.4);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(155, 140, 255, 0.2), transparent 60%),
    var(--card);
}

.tool-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tool-tile-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(120, 231, 255, 0.3);
  border-radius: 12px;
  background: rgba(120, 231, 255, 0.08);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.tool-tile h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tool-tile p {
  font-size: 14px;
  line-height: 1.7;
  color: #9fb3d0;
}

.tool-tile .tag-row {
  margin-top: auto;
}

.tool-tile-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.feature-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-trio .mini-card {
  padding: 24px;
}

.feature-trio .mini-card h3 {
  font-size: 17px;
}

.notify-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding: 24px 26px;
  border: 1px dashed rgba(151, 184, 255, 0.3);
  border-radius: 18px;
  background: rgba(10, 22, 44, 0.4);
}

.notify-card h3 {
  font-size: 17px;
  font-weight: 600;
}

.notify-card p {
  margin-top: 4px;
  font-size: 14px;
  color: #9fb3d0;
}

.notify-card .inline-form {
  flex: 0 1 420px;
}

/* ============================================================
   Blog
   ============================================================ */

.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition:
    border-color 0.2s,
    transform 0.2s;
}

.post-card:hover {
  border-color: rgba(120, 231, 255, 0.4);
  transform: translateY(-2px);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: #a9bad6;
}

.post-card h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.post-card h2 a {
  transition: color 0.18s;
}

.post-card h2 a:hover {
  color: var(--accent);
}

.post-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #9fb3d0;
}

.read-more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.post-header {
  max-width: 780px;
  margin-inline: auto;
}

.post-header .page-title {
  font-size: clamp(32px, 4.2vw, 52px);
}

.post-header .post-meta {
  margin-top: 6px;
}

.post-body {
  padding: 8px 0 72px;
}

.post-body .prose {
  padding-top: 36px;
  border-top: 1px solid rgba(151, 184, 255, 0.12);
}

.post-footer-cta {
  max-width: 780px;
  margin: 48px auto 0;
}

/* Utility page (thank you, etc.) */

.utility-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 78px - 320px);
  padding: 72px 0;
}

.utility-main > .wrap {
  display: grid;
  place-items: center;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  .tool-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid,
  .feature-trio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notify-card {
    flex-direction: column;
    align-items: stretch;
  }

  .notify-card .inline-form {
    flex-basis: auto;
  }
}

@media (max-width: 680px) {
  .page-hero {
    padding: 40px 0 32px;
  }

  .page-section {
    padding: 56px 0;
  }

  .tools-grid,
  .post-list,
  .card-grid,
  .card-grid--2,
  .feature-trio {
    grid-template-columns: 1fr;
  }

  .field-row,
  .field-row--3 {
    grid-template-columns: 1fr;
  }

  .result-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-card-head,
  .tool-card-body {
    padding-inline: 18px;
  }

  .results {
    padding: 18px;
  }

  .signal-band-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .article,
  .prose {
    font-size: 17px;
  }

  .faq-item .faq-answer {
    padding-right: 0;
  }
}

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

  .result-grid--3 {
    grid-template-columns: 1fr;
  }
}
