:root{
  --bg: #ffffff;
  --bg2:#ffffff;
  --card: #ffffff;
  --card2: #ffffff;
  --stroke: rgba(17, 24, 39, .12);
  --stroke2: rgba(17, 24, 39, .08);
  --text: rgba(17, 24, 39, .96);
  --muted: rgba(17, 24, 39, .70);
  --muted2: rgba(17, 24, 39, .56);
  --primary: #111827;
  --primary2:#111827;
  --good:#16a34a;
  --bad:#dc2626;
  --shadow: 0 24px 80px rgba(17, 24, 39, .10);
  --shadow2: 0 10px 30px rgba(17, 24, 39, .08);
  --r: 18px;
  --r2: 22px;
  --r3: 26px;
  --max: 1040px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x:hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.cursor-glow{
  position: fixed;
  left: 0;
  top: 0;
  width: 900px;
  height: 900px;
  transform: translate3d(50vw, 30vh, 0);
  margin-left: -450px;
  margin-top: -450px;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
  background:
    radial-gradient(circle at center, rgba(17,24,39,.10), rgba(17,24,39,.05) 35%, rgba(255,255,255,0) 70%);
  filter: blur(2px);
}

main, header, footer{position: relative; z-index: 1}

@media (prefers-reduced-motion: no-preference){
  html{scroll-behavior:smooth}
}

main{display:block}

a{color:inherit; text-decoration:none}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(17,24,39,.10);
  border-radius: 12px;
}

.nav a,
.footer__links a{position:relative}

.nav a:after,
.footer__links a:after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:7px;
  height:1px;
  background: rgba(17,24,39,.22);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.nav a:hover:after,
.footer__links a:hover:after{transform: scaleX(1)}

[data-magnetic]{
  will-change: transform;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}

.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}

.skip{
  position:absolute;
  left:-9999px;
  top:10px;
  padding:10px 12px;
  border-radius:14px;
  background: #ffffff;
  border:1px solid var(--stroke);
}
.skip:focus{left:12px; z-index:50; outline:none}

.header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.72);
  border-bottom:1px solid var(--stroke2);
}
.header.is-scrolled{background: rgba(255,255,255,.88); box-shadow: 0 8px 30px rgba(17,24,39,.06)}
.header__inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0}

.brand{display:flex; gap:12px; align-items:center}
.brand__mark{
  width:42px; height:42px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: #111827;
  border:1px solid #111827;
  box-shadow: var(--shadow2);
  font-weight:800;
  letter-spacing:.04em;
  color: #ffffff;
}
.brand__text{display:grid; line-height:1.1}
.brand__title{font-weight:800}
.brand__sub{font-size:12px; color: var(--muted2)}

.nav{display:flex; gap:14px; align-items:center}
.nav a{
  color: var(--muted);
  font-size: 13px;
  padding:10px 10px;
  border-radius: 14px;
  border:1px solid transparent;
}
.nav a:hover{color: var(--text); background: rgba(17,24,39,.04); border-color: var(--stroke2)}
.nav a.is-active{color: var(--text); background: rgba(17,24,39,.05); border-color: var(--stroke)}

.nav a{transition: background .18s ease, border-color .18s ease, color .18s ease}

.header__actions{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: #ffffff;
  color: var(--text);
  cursor:pointer;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(17,24,39,.03); border-color: rgba(17,24,39,.16)}
.btn:active{transform: translateY(0)}
.btn--primary{
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}
.btn--primary:hover{background: #0b1220; border-color:#0b1220}
.btn--ghost{background: transparent}
.btn--soft{background: rgba(17,24,39,.04); border-color: var(--stroke)}

.hero{padding:86px 0 34px}
.hero__inner{display:grid; grid-template-columns: 1.1fr .9fr; gap:24px; align-items:stretch}

.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--stroke2);
  background: rgba(17,24,39,.03);
  color: var(--muted);
  font-size: 13px;
}
.pill__dot{
  width:8px; height:8px; border-radius:999px;
  background: #111827;
  box-shadow: 0 0 0 4px rgba(17,24,39,.08);
}

.hero h1{margin:14px 0 10px; font-size: clamp(40px, 6vw, 72px); line-height:1.02; letter-spacing:-0.03em}
.hero__lead{margin:0; color: var(--muted); line-height:1.65; max-width: 62ch}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 14px}

.hero__trust{display:flex; gap:10px; flex-wrap:wrap}
.trust{
  padding:12px;
  border-radius: 16px;
  border:1px solid var(--stroke2);
  background: rgba(17,24,39,.02);
  min-width: 160px;
}
.trust__k{font-size:12px; color: var(--muted2); display:block}
.trust__v{font-size:13px; display:block; margin-top:6px}

.card{
  height:100%;
  border-radius: var(--r3);
  border:1px solid var(--stroke);
  background: #ffffff;
  box-shadow: var(--shadow2);
  padding:18px;
}
.card{transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.card:hover{transform: translateY(-2px); box-shadow: var(--shadow)}
.card__title{font-weight:800}
.card__text{color: var(--muted); line-height:1.65; margin:10px 0 12px}
.card__chips{display:flex; flex-wrap:wrap; gap:10px}
.chip{font-size:12px; color: rgba(17,24,39,.86); padding:9px 10px; border-radius:999px; border:1px solid var(--stroke2); background: rgba(17,24,39,.02)}
.card__fine{margin:12px 0 0; color: rgba(17,24,39,.56); font-size:12px; line-height:1.5}

.section{padding:64px 0}
.section--alt{background: rgba(17,24,39,.015); border-top:1px solid var(--stroke2); border-bottom:1px solid var(--stroke2)}
.section__head h2{margin:0 0 10px; font-size: 28px; letter-spacing:-0.01em}
.section__head p{margin:0; color: var(--muted); line-height:1.7; max-width: 80ch}

.page{min-height: calc(100vh - 80px)}
.page-hero{padding: 36px 0 10px}
.page-hero h1{margin: 10px 0 10px; font-size: clamp(28px, 3.2vw, 44px); letter-spacing:-0.02em}
.lead{margin:0; color: var(--muted); line-height:1.75; max-width: 85ch}

.breadcrumbs{display:flex; gap:10px; align-items:center; color: rgba(17,24,39,.56); font-size:13px}
.breadcrumbs a{color: rgba(17,24,39,.72)}
.breadcrumbs a:hover{color: rgba(17,24,39,.92)}

.paper{
  border-radius: var(--r3);
  border:1px solid var(--stroke);
  background: #ffffff;
  box-shadow: var(--shadow2);
  padding:18px;
}

.tool{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.tool__inputs{
  border-radius: var(--r3);
  border:1px solid var(--stroke);
  background: #ffffff;
  padding:18px;
}

.field{display:grid; gap:8px; margin-bottom:12px}
.field label{font-size:13px; color: rgba(17,24,39,.86)}
.field input,
.field select,
.field textarea{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: #ffffff;
  color: rgba(17,24,39,.95);
  outline:none;
}
.field textarea{resize:vertical}
.field input:focus,
.field select:focus,
.field textarea:focus{border-color: rgba(17,24,39,.32); box-shadow: 0 0 0 4px rgba(17,24,39,.08)}
.help{font-size:12px; color: rgba(17,24,39,.56); line-height:1.5}

.tool__actions{display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 12px}
.note{padding:12px; border-radius: 16px; border:1px solid var(--stroke2); background: rgba(17,24,39,.015); color: rgba(17,24,39,.74); line-height:1.6; font-size:13px}

.tool__results{
  border-radius: var(--r3);
  border:1px solid var(--stroke);
  background: #ffffff;
  padding:18px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
  align-content:start;
}

.tool__inputs,
.tool__results,
.result,
.uc,
.faq details,
.paper{transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.tool__inputs:hover,
.tool__results:hover,
.paper:hover{box-shadow: var(--shadow)}

.result{
  border-radius: var(--r);
  border:1px solid var(--stroke2);
  background: rgba(17,24,39,.015);
  padding:14px;
}
.result__icon{
  width:34px; height:34px;
  border-radius: 14px;
  display:grid; place-items:center;
  border:1px solid var(--stroke2);
  background: rgba(17,24,39,.02);
  color: rgba(17,24,39,.88);
}
.result__k{margin-top:10px; font-size:12px; color: var(--muted2)}
.result__v{margin-top:8px; font-size:20px; font-weight:800; letter-spacing:-0.01em}
.result__sub{margin-top:8px; font-size:12px; color: rgba(17,24,39,.56); line-height:1.5}

.result--profit{grid-column: span 2;}
.result--profit.is-good{border-color: rgba(34,197,94,.25)}
.result--profit.is-good .result__v{color: rgba(34,197,94,.95)}
.result--profit.is-bad{border-color: rgba(239,68,68,.25)}
.result--profit.is-bad .result__v{color: rgba(239,68,68,.95)}

.summary{grid-column: span 2; padding:14px; border-radius: var(--r); border:1px solid var(--stroke2); background: rgba(17,24,39,.015)}
.summary__title{font-weight:800}
.summary__text{margin:8px 0 0; color: var(--muted); line-height:1.65}

.cards{display:grid; grid-template-columns: repeat(5, 1fr); gap:12px; margin-top:18px}
.uc{padding:16px; border-radius: var(--r); border:1px solid var(--stroke2); background: rgba(17,24,39,.015)}
.uc h3{margin:0 0 8px; font-size:16px}
.uc p{margin:0; color: var(--muted); line-height:1.65}

.prose{color: rgba(17,24,39,.82); line-height:1.85}
.prose h2{margin:18px 0 10px; color: rgba(17,24,39,.95); letter-spacing:-0.01em}
.prose h3{margin:18px 0 10px; color: rgba(17,24,39,.92)}
.prose ul, .prose ol{margin: 10px 0 0 18px}
.prose li{margin: 6px 0}
.prose--dark{color: rgba(17,24,39,.82)}

.faq{display:grid; gap:12px; margin-top:18px}
.faq details{border-radius: var(--r); border:1px solid var(--stroke2); background: rgba(17,24,39,.015); overflow:hidden}
.faq summary{cursor:pointer; padding:16px; font-weight:700}
.faq__a{padding: 0 16px 16px; color: var(--muted); line-height:1.7}

.contact{display:grid; grid-template-columns: .9fr 1.1fr; gap:14px; margin-top:18px}
.contact__card{padding:16px; border-radius: var(--r3); border:1px solid var(--stroke); background: #ffffff}
.contact__card h3{margin:0 0 10px}
.contact__card p{margin:0 0 10px; color: var(--muted); line-height:1.7}

.footer{padding: 26px 0 18px; border-top:1px solid var(--stroke2); background: rgba(17,24,39,.01)}
.footer__inner{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap}
.footer__brand{font-weight:900; letter-spacing:.02em}
.footer__small{margin-top:8px; color: var(--muted2); max-width: 62ch; line-height:1.6}
.footer__links{display:flex; gap:12px; flex-wrap:wrap; align-items:center}
.footer__links a{color: var(--muted); padding:8px 10px; border-radius: 12px; border:1px solid transparent}
.footer__links a:hover{color: var(--text); border-color: var(--stroke2); background: rgba(17,24,39,.02)}

.footer__links a{transition: background .18s ease, border-color .18s ease, color .18s ease}

.footer__bottom{display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:flex-start; padding: 14px 0 26px; color: rgba(17,24,39,.58)}
.footer__sep{opacity:.5}

.muted{color: var(--muted2)}
.fine{font-size:12px; color: rgba(17,24,39,.58); line-height:1.5; margin:10px 0 0}

::selection{background: rgba(17,24,39,.10)}

[data-reveal]{
  opacity: 0;
  transform: translateY(14px) scale(.995);
  filter: blur(6px);
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
@media (prefers-reduced-motion: no-preference){
  [data-reveal]{
    transition:
      opacity .75s cubic-bezier(.2,.8,.2,1),
      transform .75s cubic-bezier(.2,.8,.2,1),
      filter .85s cubic-bezier(.2,.8,.2,1);
    will-change: opacity, transform, filter;
  }
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto!important; transition:none!important; animation:none!important}
  [data-reveal]{opacity:1!important; transform:none!important; filter:none!important}
}

@media (max-width: 980px){
  .nav{display:none}
  .hero__inner{grid-template-columns: 1fr}
  .tool{grid-template-columns: 1fr}
  .cards{grid-template-columns: repeat(2, 1fr)}
  .contact{grid-template-columns: 1fr}
}

@media (max-width: 520px){
  .header__actions{display:none}
  .cards{grid-template-columns: 1fr}
  .tool__results{grid-template-columns: 1fr}
  .result--profit,.summary{grid-column: span 1}
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto!important; transition:none!important; animation:none!important}
}
