/* ============================================================
   strikethroughtextgenerators.com — shared sitewide stylesheet
   Used by every page. Do not duplicate into individual pages.
   ============================================================ */

:root{
  /* light theme (default) */
  --bg: #FBFAF8;
  --bg-elevated: #F2F0EA;
  --bg-card: #FFFFFF;
  --border: #E3E0D8;
  --border-soft: #ECE9E1;
  --text: #16171A;
  --text-muted: #5A5E65;
  --text-faint: #9CA0A6;
  --accent: #6952E0;
  --accent-soft: rgba(105,82,224,0.09);
  --accent-contrast: #FFFFFF;
  --line: #D9852B;
  --dot: rgba(20,20,25,0.055);
  --radius: 10px;
  --success: #1E9A56;
  color-scheme: light;
}
html[data-theme="dark"]{
  --bg: #0A0B0D;
  --bg-elevated: #131417;
  --bg-card: #17181C;
  --border: #24262B;
  --border-soft: #1C1D21;
  --text: #F1F2F4;
  --text-muted: #90959E;
  --text-faint: #5B6068;
  --accent: #7C6FF0;
  --accent-soft: rgba(124,111,240,0.14);
  --accent-contrast: #FFFFFF;
  --line: #F2B84B;
  --dot: rgba(255,255,255,0.045);
  --success: #4ADE80;
  color-scheme: dark;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:
    radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0) 0 0/26px 26px,
    var(--bg);
  color:var(--text);
  font-family:'Inter', sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  transition: background-color .2s ease, color .2s ease;
}
a{color:var(--accent);}
.mono{font-family:'JetBrains Mono', monospace;}
img{max-width:100%; height:auto;}

.wrap{max-width:960px; margin:0 auto; padding:0 24px;}
@media (max-width:480px){ .wrap{padding:0 16px;} }

/* ---------- header ---------- */
header.top{
  position:sticky; top:0; z-index:20;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:16px 24px;
  background:color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border-soft);
}
@media (max-width:480px){ header.top{padding:14px 16px;} }

.brand{display:flex; align-items:center; gap:9px; font-weight:600; font-size:0.98rem; white-space:nowrap; text-decoration:none; color:var(--text);}
.brand-mark{
  width:22px; height:22px; border-radius:5px;
  background:linear-gradient(135deg, var(--accent), #4B3FD1);
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono', monospace; font-size:12px; font-weight:700; color:#fff;
  flex:0 0 auto;
}
@media (max-width:420px){ .brand span.brand-text{display:none;} }

.header-right{display:flex; align-items:center; gap:20px;}
nav.top-links{display:flex; gap:22px; font-size:0.88rem; color:var(--text-muted);}
nav.top-links a{color:var(--text-muted); text-decoration:none;}
nav.top-links a:hover{color:var(--text);}
@media (max-width:680px){ nav.top-links{display:none;} }

.theme-toggle{
  display:flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:8px;
  background:var(--bg-elevated); border:1px solid var(--border);
  color:var(--text-muted); cursor:pointer; flex:0 0 auto;
}
.theme-toggle:hover{color:var(--text); border-color:var(--accent);}
.theme-toggle svg{width:16px; height:16px;}
.theme-toggle .icon-sun{display:none;}
html[data-theme="dark"] .theme-toggle .icon-moon{display:none;}
html[data-theme="dark"] .theme-toggle .icon-sun{display:block;}
.theme-toggle:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }

.mobile-menu-btn{display:none;}
@media (max-width:680px){
  header.top{position:sticky;}
  .mobile-menu-btn{display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:8px; background:var(--bg-elevated); border:1px solid var(--border); color:var(--text-muted); cursor:pointer;}
  .mobile-menu-btn svg{width:18px; height:18px;}
  nav.top-links{
    display:none; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; background:var(--bg-card); border-bottom:1px solid var(--border);
    padding:16px 24px; gap:16px; z-index:30;
  }
  nav.top-links.open{display:flex;}
}

/* ---------- breadcrumb ---------- */
.breadcrumb{
  font-family:'JetBrains Mono', monospace; font-size:0.76rem; color:var(--text-faint);
  padding:16px 0 0; display:flex; gap:6px; flex-wrap:wrap;
}
.breadcrumb a{color:var(--text-faint); text-decoration:none;}
.breadcrumb a:hover{color:var(--accent);}
.breadcrumb span.sep{color:var(--text-faint);}

/* ---------- hero (shared shape, page-specific text) ---------- */
.hero{padding:56px 24px 24px; text-align:center;}
@media (max-width:600px){ .hero{padding:40px 16px 18px;} }
.badge{
  display:inline-flex; align-items:center; gap:7px;
  font-family:'JetBrains Mono', monospace; font-size:0.72rem;
  color:var(--text-muted);
  border:1px solid var(--border); border-radius:20px;
  padding:5px 12px; margin-bottom:20px;
}
.badge .dot{width:6px; height:6px; border-radius:50%; background:var(--success);}

h1{
  font-family:'Space Grotesk', sans-serif;
  font-weight:700;
  font-size:clamp(1.8rem, 6vw, 3rem);
  line-height:1.12;
  margin:0 auto 16px;
  max-width:22ch;
  letter-spacing:-0.01em;
}
.strike-wrap{position:relative; display:inline-block;}
.strike-wrap svg{position:absolute; left:-2%; top:52%; width:104%; height:auto; pointer-events:none;}
.strike-wrap path{
  stroke:var(--line); stroke-width:4; fill:none; stroke-linecap:round;
  stroke-dasharray:340; stroke-dashoffset:340;
  animation: draw 0.9s 0.4s cubic-bezier(.65,0,.35,1) forwards;
}
@media (prefers-reduced-motion: reduce){ .strike-wrap path{ animation:none; stroke-dashoffset:0; } }
@keyframes draw{ to{ stroke-dashoffset:0; } }

.lede{color:var(--text-muted); font-size:1.05rem; max-width:56ch; margin:0 auto;}
@media (max-width:480px){ .lede{font-size:0.96rem;} }

/* ---------- generic content sections (blog + info pages) ---------- */
main .section{padding:44px 0;}
@media (max-width:600px){ main .section{padding:32px 0;} }

main .section h2{
  font-family:'Space Grotesk', sans-serif; font-weight:600;
  font-size:1.5rem; margin:0 0 14px;
}
@media (max-width:480px){ main .section h2{font-size:1.28rem;} }

main .section h3{
  font-family:'Space Grotesk', sans-serif; font-weight:600;
  font-size:1.15rem; margin:26px 0 10px;
}

main .section .eyebrow{
  font-family:'JetBrains Mono', monospace; font-size:0.72rem;
  color:var(--accent); text-transform:uppercase; letter-spacing:0.1em;
  margin:0 0 10px;
}
main .section p{color:var(--text-muted); max-width:70ch;}
main .section p + p{margin-top:12px;}
main .section ul, main .section ol{color:var(--text-muted); max-width:70ch; padding-left:22px;}
main .section li + li{margin-top:6px;}
main .section strong{color:var(--text);}
main .section code{
  font-family:'JetBrains Mono', monospace; font-size:0.88em;
  background:var(--bg-elevated); border:1px solid var(--border);
  padding:2px 6px; border-radius:4px; color:var(--text);
}

/* ---------- callout / CTA box ---------- */
.callout{
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius);
  padding:20px 22px; margin:24px 0;
}
.callout p{margin:0 0 12px;}
.callout .btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'JetBrains Mono', monospace; font-weight:500; font-size:0.85rem;
  background:var(--accent); color:var(--accent-contrast); border:none;
  padding:10px 16px; border-radius:7px; text-decoration:none;
}
.callout .btn:hover{filter:brightness(1.1);}

/* ---------- comparison / shortcut table ---------- */
table.shortcut-table{
  width:100%; border-collapse:collapse; margin:18px 0;
  font-size:0.92rem;
}
table.shortcut-table th, table.shortcut-table td{
  border:1px solid var(--border); padding:10px 12px; text-align:left;
}
table.shortcut-table th{
  background:var(--bg-elevated); font-family:'JetBrains Mono', monospace; font-size:0.78rem;
  text-transform:uppercase; letter-spacing:0.05em; color:var(--text-muted);
}
table.shortcut-table td{color:var(--text-muted);}
table.shortcut-table td strong{color:var(--text);}
@media (max-width:640px){
  table.shortcut-table{font-size:0.84rem;}
  table.shortcut-table th, table.shortcut-table td{padding:8px;}
}

/* ---------- platform grid (reused from homepage) ---------- */
.platform-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:1px; background:var(--border); border:1px solid var(--border); margin-top:22px; border-radius:var(--radius); overflow:hidden;
}
@media (max-width:480px){ .platform-grid{grid-template-columns:repeat(2,1fr);} }
.platform-cell{background:var(--bg-card); padding:16px;}
.platform-cell .name{font-family:'JetBrains Mono', monospace; font-weight:500; font-size:0.85rem;}
.platform-cell .note{font-size:0.82rem; color:var(--text-faint); margin-top:4px;}

/* ---------- steps ---------- */
ol.steps{list-style:none; padding-left:0; counter-reset:step; margin-top:20px;}
ol.steps li{counter-increment:step; display:flex; gap:16px; padding:14px 0; border-top:1px solid var(--border-soft);}
ol.steps li:last-child{border-bottom:1px solid var(--border-soft);}
ol.steps li::before{
  content:counter(step); font-family:'JetBrains Mono', monospace; color:var(--accent);
  width:22px; flex:0 0 auto;
}
ol.steps li p{margin:0; color:var(--text);}
ol.steps li .sub{display:block; color:var(--text-muted); font-size:0.9rem; margin-top:2px;}

/* ---------- FAQ ---------- */
.faq-item{border-top:1px solid var(--border-soft); padding:16px 0;}
.faq-item:last-child{border-bottom:1px solid var(--border-soft);}
.faq-item summary{
  cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center;
  font-weight:500; font-size:0.98rem; gap:12px; color:var(--text);
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+"; color:var(--accent); font-family:'JetBrains Mono', monospace;}
.faq-item[open] summary::after{content:"–";}
.faq-item .a{color:var(--text-muted); margin-top:10px; max-width:64ch; font-size:0.94rem;}

/* ---------- related / internal links ---------- */
.related-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px; margin-top:20px;
}
.related-card{
  display:block; background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); padding:16px 18px; text-decoration:none;
}
.related-card:hover{border-color:var(--accent);}
.related-card .k{font-family:'JetBrains Mono', monospace; font-size:0.7rem; color:var(--accent); text-transform:uppercase; letter-spacing:0.08em;}
.related-card .t{color:var(--text); font-weight:600; margin-top:6px; font-size:0.98rem;}

/* ---------- blog index list ---------- */
.post-list{margin-top:24px;}
.post-item{
  display:block; padding:20px 0; border-top:1px solid var(--border-soft); text-decoration:none;
}
.post-item:last-child{border-bottom:1px solid var(--border-soft);}
.post-item .t{font-family:'Space Grotesk', sans-serif; font-weight:600; font-size:1.15rem; color:var(--text);}
.post-item .d{color:var(--text-muted); font-size:0.92rem; margin-top:6px; max-width:65ch;}
.post-item:hover .t{color:var(--accent);}

.post-item{display:flex; gap:16px; align-items:center;}
.post-item img{width:96px; height:64px; object-fit:cover; border-radius:8px; flex:0 0 auto;}
.post-item .txt{flex:1;}
@media (max-width:480px){ .post-item img{width:72px; height:48px;} }

/* ---------- buttons (shared) ---------- */
button.primary, a.primary{
  font-family:'JetBrains Mono', monospace; font-weight:500; font-size:0.85rem;
  background:var(--accent); color:var(--accent-contrast); border:none;
  padding:10px 16px; border-radius:7px; cursor:pointer; text-decoration:none; display:inline-block;
}
button.primary:hover, a.primary:hover{filter:brightness(1.1);}
button.ghost, a.ghost{
  font-family:'JetBrains Mono', monospace; font-weight:500; font-size:0.85rem;
  background:transparent; color:var(--text-muted); border:1px solid var(--border);
  padding:10px 16px; border-radius:7px; cursor:pointer; text-decoration:none; display:inline-block;
}
button.ghost:hover, a.ghost:hover{color:var(--text); border-color:var(--accent);}
button:focus-visible, a:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }

/* ---------- simple form (contact page) ---------- */
.form-field{margin-bottom:16px;}
.form-field label{display:block; font-family:'JetBrains Mono', monospace; font-size:0.75rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--text-faint); margin-bottom:6px;}
.form-field input, .form-field textarea{
  width:100%; padding:10px 12px; border-radius:7px; border:1px solid var(--border);
  background:var(--bg-card); color:var(--text); font-family:'Inter',sans-serif; font-size:0.95rem;
}
.form-field textarea{min-height:120px; resize:vertical;}
.form-field input:focus, .form-field textarea:focus{outline:2px solid var(--accent); outline-offset:1px;}

/* ---------- footer ---------- */
footer.site-footer{
  border-top:1px solid var(--border-soft);
  padding:34px 24px 60px; text-align:center;
  color:var(--text-faint); font-size:0.84rem;
}
footer.site-footer .foot-links{
  display:flex; justify-content:center; gap:18px; flex-wrap:wrap; margin-bottom:14px;
  font-family:'JetBrains Mono', monospace; font-size:0.78rem;
}
footer.site-footer .foot-links a{color:var(--text-muted); text-decoration:none;}
footer.site-footer .foot-links a:hover{color:var(--accent);}

@media (prefers-reduced-motion: reduce){ *{transition:none !important;} }
