:root{
  --bg:#f8fbff;
  --surface:#ffffff;
  --surface-alt:#eef5ff;
  --text:#102033;
  --muted:#5d6d80;
  --border:#d9e4f2;
  --primary:#1d4ed8;
  --primary-dark:#173ea8;
  --accent:#eef4ff;
  --danger:#b42318;
  --warning:#8a4b00;
  --shadow:0 18px 55px rgba(16,32,51,.10);
  --radius:18px;
  --radius-sm:12px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
  text-rendering:optimizeLegibility;
}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
.container{width:min(100% - 32px,var(--max));margin-inline:auto}
.narrow{max-width:820px}
.skip-link{
  position:absolute;
  left:-999px;
  top:8px;
  z-index:999;
  padding:10px 14px;
  background:var(--text);
  color:white;
  border-radius:10px;
}
.skip-link:focus{left:12px}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.logo,.footer-brand{
  font-weight:800;
  letter-spacing:-.03em;
  color:var(--text);
  font-size:1.08rem;
}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}
.logo img{display:block;width:clamp(178px,36vw,226px);height:auto}
.primary-nav{
  display:none;
  position:absolute;
  top:68px;
  left:16px;
  right:16px;
  padding:12px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:var(--shadow);
}
.primary-nav.open{display:grid}
.primary-nav a{
  display:block;
  color:var(--text);
  font-weight:650;
  padding:12px;
  border-radius:12px;
}
.primary-nav a:hover,.primary-nav a[aria-current="page"]{
  background:var(--accent);
  text-decoration:none;
  color:var(--primary-dark);
}
.menu-toggle{
  width:44px;
  height:44px;
  display:grid;
  place-content:center;
  gap:5px;
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:12px;
  cursor:pointer;
}
.menu-toggle span{display:block;width:20px;height:2px;background:var(--text);border-radius:4px}
.hero,.page-hero{
  padding:56px 0 34px;
  background:
    radial-gradient(circle at 10% 10%, rgba(29,78,216,.12), transparent 30%),
    linear-gradient(180deg,#fff,var(--bg));
}
.hero-grid{
  display:grid;
  gap:24px;
  align-items:center;
}
h1,h2,h3{line-height:1.15;margin:0 0 12px;letter-spacing:-.035em}
h1{font-size:clamp(2.35rem,10vw,5rem)}
h2{font-size:clamp(1.7rem,6vw,2.65rem)}
h3{font-size:1.1rem}
p{margin:0 0 14px}
.hero-sub{font-size:clamp(1.15rem,4vw,1.55rem);color:#2d3f55}
.eyebrow{
  color:var(--primary);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.78rem;
}
.hero-actions,.button-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.btn{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 16px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--text);
  background:var(--surface);
  font-weight:750;
  cursor:pointer;
  line-height:1.2;
}
.btn:hover{text-decoration:none;box-shadow:0 8px 22px rgba(16,32,51,.08)}
.btn.primary{background:var(--primary);color:#fff;border-color:var(--primary)}
.btn.primary:hover{background:var(--primary-dark)}
.btn.ghost{background:transparent}
.btn.danger{color:var(--danger)}
.trust-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:0;
  margin:22px 0 0;
  list-style:none;
}
.trust-list li{
  padding:8px 12px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:999px;
  font-size:.92rem;
  font-weight:700;
}
.hero-card,.answer-box,.support-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}
.mini-metric{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
  border-top:1px solid var(--border);
}
.section,.tool-section,.faq-section{padding:42px 0}
.alt{background:var(--surface-alt)}
.section-heading{text-align:center;margin:0 auto 24px}
.tool-widget{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:24px;
  padding:14px;
  box-shadow:var(--shadow);
}
.tool-input{
  width:100%;
  min-height:260px;
  resize:vertical;
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  font:inherit;
  line-height:1.55;
  color:var(--text);
  background:#fff;
  outline:none;
}
.tool-two-col{
  display:grid;
  gap:14px;
}
.transform-output{
  background:#f9fbff;
}
.tool-input:focus,input:focus,textarea:focus,button:focus-visible,a:focus-visible{
  outline:3px solid rgba(29,78,216,.3);
  outline-offset:2px;
}
.tool-hint,.muted{color:var(--muted);font-size:.95rem}
.status-line{
  margin:14px 0;
  color:var(--muted);
  font-weight:650;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.stat-card,.feature-card,.use-card,.insight-card,.steps article{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:16px;
}
.stat-value{
  display:block;
  font-size:clamp(1.4rem,6vw,2.1rem);
  line-height:1;
  font-weight:850;
  color:var(--primary-dark);
  letter-spacing:-.04em;
}
.stat-label{
  display:block;
  color:var(--muted);
  margin-top:7px;
  font-size:.88rem;
}
.advanced-grid{
  display:grid;
  gap:12px;
  margin-top:14px;
}
.readability-list{margin:0}
.readability-list div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid var(--border);
  padding:9px 0;
}
.readability-list dt{font-weight:700}
.readability-list dd{margin:0}
.table-wrap{overflow-x:auto}
table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
}
caption{padding:10px;color:var(--muted);text-align:left}
th,td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--border)}
th{background:var(--accent);font-weight:800}
tr:last-child td{border-bottom:0}
.mini-table th,.mini-table td{font-size:.92rem;padding:9px}
.warning-list{padding-left:18px;margin:0}
.warning-list li{margin-bottom:8px}
.feature-grid,.use-grid,.tool-link-grid,.steps,.content-grid,.contact-grid{
  display:grid;
  gap:14px;
}
.steps article span{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--primary);
  color:#fff;
  font-weight:800;
  margin-bottom:10px;
}
.tool-link-card{
  display:block;
  padding:18px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  color:var(--text);
  font-weight:800;
  box-shadow:0 8px 20px rgba(16,32,51,.05);
}
.tool-link-card span{display:block;margin-bottom:6px}
.tool-link-card small{display:block;color:var(--muted);font-weight:500;line-height:1.45}
.tool-link-card:hover{background:var(--accent);text-decoration:none}
.ad-slot{
  min-height:90px;
  display:grid;
  place-items:center;
  border:1px dashed #adc0d8;
  border-radius:18px;
  background:#fff;
  color:var(--muted);
  font-weight:700;
}
.faq-list{display:grid;gap:10px;margin-top:20px}
details{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 16px;
}
summary{cursor:pointer;font-weight:800}
details p{margin-top:10px}
.contact-form{
  display:grid;
  gap:10px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:18px;
  box-shadow:var(--shadow);
}
.form-row{display:grid;gap:6px}
.honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.contact-form h2{margin-bottom:6px}
.contact-form .status-line{margin:4px 0 0}
label{font-weight:750}
input,textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 14px;
  font:inherit;
}
.contact-form textarea{min-height:160px}
.legal-content{
  max-width:880px;
  display:grid;
  gap:16px;
}
.legal-content article{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
}
.legal-content article p:last-child,
.content-grid article p:last-child,
.feature-card p:last-child,
.use-card p:last-child{margin-bottom:0}
.site-footer{
  background:#0f1f33;
  color:#dbe6f5;
  padding:38px 0 22px;
}
.site-footer a{color:#fff}
.footer-grid{display:grid;gap:22px}
.footer-grid h2{font-size:1rem;margin-bottom:8px}
.footer-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:24px;
  padding-top:18px;
  color:#b9c8db;
}
@media (min-width:720px){
  .container{width:min(100% - 48px,var(--max))}
  .hero-grid{grid-template-columns:1.2fr .8fr}
  .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .advanced-grid,.feature-grid,.use-grid,.steps,.content-grid,.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tool-two-col{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tool-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tool-widget{padding:22px}
}
@media (max-width:420px){
  .logo img{width:172px}
}
@media (min-width:980px){
  .menu-toggle{display:none}
  .primary-nav{
    display:flex;
    position:static;
    padding:0;
    background:transparent;
    border:0;
    box-shadow:none;
    gap:4px;
  }
  .primary-nav a{font-size:.94rem;padding:9px 11px}
  .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .feature-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .use-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .contact-grid{grid-template-columns:1.25fr .75fr}
  .support-card{position:sticky;top:92px;align-self:start}
  .footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}
}
