:root{
  --bg:            #08090a;
  --bg-marketing:  #010102;
  --bg-1:          #0f1011;
  --bg-2:          #141516;
  --bg-3:          #191a1b;
  --bg-secondary:  #1c1c1f;
  --bg-tertiary:   #232326;
  --bg-quaternary: #28282c;
  --bg-translucent:#ffffff0d;

  --fg:            #f7f8f8;
  --fg-2:          #d0d6e0;
  --fg-3:          #8a8f98;
  --fg-4:          #62666d;

  --line:          #202122;
  --line-strong:   #37393a;
  --line-faint:    #18191a;
  --line-fainter:  #141515;

  --accent:        #f7f8f8;
  --accent-hover:  #ffffff;
  --accent-tint:   #232326;
  --indigo:        #8a8f98;

  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --r4:  4px;
  --r6:  6px;
  --r8:  8px;
  --r12: 12px;
  --r16: 16px;
  --r24: 24px;
  --r32: 32px;
  --rounded: 9999px;

  --page: 1024px;
  --header-h: 104px;

  --ease: cubic-bezier(.25,.46,.45,.94);
}

*,*::before,*::after{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-h) + 24px);
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:var(--font);
  font-size:16px;
  line-height:1.6;
  letter-spacing:-.011em;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

::selection{ background:var(--fg); color:var(--bg); }

:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
  border-radius:var(--r6);
}

.skip{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--fg); color:var(--bg); padding:12px 20px; border-radius:0 0 var(--r8) 0;
}
.skip:focus{ left:0; }

.wrap{
  width:100%;
  max-width:var(--page);
  margin:0 auto;
  padding:0 24px;
}

.bg-glow{
  position:fixed;
  inset:0;
  width:100%; height:100%;
  z-index:-2;
  pointer-events:none;
}

.grain{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.028;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100;
  height:var(--header-h);
  display:flex; align-items:center;
  border-bottom:1px solid transparent;
  transition:background .25s var(--ease), border-color .25s var(--ease), backdrop-filter .25s var(--ease);
}
.header.scrolled{
  background:rgba(8,9,10,.8);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom-color:var(--line);
}

.header-inner{
  width:100%;
  max-width:var(--page);
  margin:0 auto;
  padding:0 24px;
  display:flex; align-items:center; gap:32px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  flex:0 0 auto;
}

.brand-mark{
  width:76px; height:76px;
  object-fit:contain;
  opacity:.94;
  transition:opacity .25s var(--ease);
}
.brand:hover .brand-mark{ opacity:1; }
.brand-name{
  font-size:27px;
  font-weight:600;
  letter-spacing:-.03em;
  color:var(--fg);
  white-space:nowrap;
}

.nav{
  display:flex; align-items:center; gap:8px;
  margin-right:auto;
  font-size:17px;
  font-weight:450;
}
.nav a{
  padding:9px 14px;
  border-radius:var(--r6);
  color:var(--fg-3);
  transition:color .18s var(--ease);
}
.nav a:hover{ color:var(--fg); }

.header-actions{ display:flex; align-items:center; gap:14px; flex:0 0 auto; }

.header-phone{
  display:inline-flex; align-items:center; gap:7px;
  font-size:16px;
  font-weight:450;
  color:var(--fg-3);
  transition:color .18s var(--ease);
}
.header-phone:hover{ color:var(--fg); }
.header-phone svg{ color:var(--fg-4); }

.burger{
  display:none;
  width:38px; height:38px;
  border-radius:var(--r6);
  border:1px solid var(--line);
  background:transparent;
  cursor:pointer; padding:0; position:relative;
}
.burger span{
  position:absolute; left:11px; right:11px; height:1.5px;
  background:var(--fg-2); border-radius:2px;
  transition:transform .25s var(--ease);
}
.burger span:nth-child(1){ top:15px; }
.burger span:nth-child(2){ bottom:15px; }
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ transform:translateY(-3.25px) rotate(-45deg); }

.menu{
  position:fixed;
  top:var(--header-h); left:0; right:0;
  z-index:99;
  background:rgba(8,9,10,.97);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid var(--line);
  padding:12px 24px 20px;
  display:flex; flex-direction:column; gap:2px;
}
.menu[hidden]{ display:none; }
.menu a{ padding:13px 4px; color:var(--fg-3); font-size:16px; }
.menu a:hover{ color:var(--fg); }
.menu .btn{ margin-top:10px; justify-content:center; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  font-family:inherit;
  font-size:14px;
  font-weight:500;
  letter-spacing:-.01em;
  height:40px;
  padding:0 18px;
  border-radius:var(--r8);
  border:1px solid transparent;
  cursor:pointer;
  white-space:nowrap;
  transition:background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), opacity .18s var(--ease);
}

.btn-primary{
  background:var(--fg);
  color:var(--bg);
}
.btn-primary:hover{ background:#fff; }

.btn-ghost{
  background:var(--bg-translucent);
  border-color:var(--line);
  color:var(--fg);
}
.btn-ghost:hover{ background:var(--bg-tertiary); border-color:var(--line-strong); }

.btn-sm{ height:42px; padding:0 20px; font-size:16px; border-radius:var(--r8); }

.hero{
  padding:calc(var(--header-h) + 96px) 0 0;
  text-align:center;
}

.pill{
  display:inline-flex; align-items:center; gap:8px;
  height:30px;
  padding:0 12px 0 5px;
  border-radius:var(--rounded);
  border:1px solid var(--line);
  background:var(--bg-1);
  font-size:13px;
  color:var(--fg-3);
  margin-bottom:28px;
  transition:border-color .2s var(--ease), color .2s var(--ease);
}
.pill:hover{ border-color:var(--line-strong); color:var(--fg-2); }
.pill-tag{
  display:inline-flex; align-items:center;
  height:20px; padding:0 8px;
  border-radius:var(--rounded);
  background:var(--accent-tint);
  color:var(--accent);
  font-size:12px;
  font-weight:500;
}
.pill svg{ color:var(--fg-4); }

.hero h1{
  font-size:clamp(2.4rem, 6vw, 4rem);
  font-weight:600;
  line-height:1.06;
  letter-spacing:-.035em;
  margin:0 0 20px;
  color:var(--fg);
}

.hero-sub{
  max-width:540px;
  margin:0 auto 32px;
  font-size:clamp(1rem, 2vw, 1.125rem);
  line-height:1.55;
  color:var(--fg-3);
}

.hero-actions{
  display:flex; gap:10px; justify-content:center; flex-wrap:wrap;
  margin-bottom:80px;
}

.hero-visual{ position:relative; }

.hero-visual::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-1px;
  height:45%;
  background:linear-gradient(180deg, transparent, var(--bg) 82%);
  pointer-events:none;
}

.window{
  border:1px solid var(--line);
  border-radius:var(--r12) var(--r12) 0 0;
  background:var(--bg-1);
  overflow:hidden;
  box-shadow:0 -1px 0 0 rgba(255,255,255,.04) inset, 0 40px 90px -40px rgba(0,0,0,.9);
}

.window-bar{
  display:flex; align-items:center; gap:6px;
  height:38px;
  padding:0 14px;
  border-bottom:1px solid var(--line);
  background:var(--bg-2);
}
.window-bar .dot{
  width:8px; height:8px; border-radius:50%;
  background:var(--bg-quaternary);
}
.window-url{
  margin-left:12px;
  height:20px;
  padding:0 12px;
  display:flex; align-items:center;
  border-radius:var(--r4);
  background:var(--bg);
  border:1px solid var(--line-faint);
  font-size:11px;
  color:var(--fg-4);
}

.window-body{ display:flex; min-height:280px; }

.w-side{
  width:150px;
  flex:0 0 auto;
  border-right:1px solid var(--line);
  padding:16px 12px;
  display:flex; flex-direction:column; gap:9px;
  background:var(--bg-2);
}
.w-side i{ height:8px; border-radius:var(--r4); background:var(--bg-tertiary); }
.w-side i:nth-child(2){ width:80%; }
.w-side i:nth-child(3){ width:65%; }
.w-side i:nth-child(4){ width:72%; }
.w-side .w-chip{
  height:22px; width:100%;
  border-radius:var(--r6);
  background:linear-gradient(90deg, var(--accent-tint), var(--bg-tertiary));
  border:1px solid rgba(255,255,255,.18);
}

.w-main{ flex:1; padding:22px 24px; display:flex; flex-direction:column; gap:11px; }
.w-h{
  height:16px; width:52%;
  border-radius:var(--r4);
  background:linear-gradient(90deg, var(--fg-3), var(--bg-quaternary));
}
.w-p{ height:9px; width:88%; border-radius:var(--r4); background:var(--bg-tertiary); }
.w-p.short{ width:64%; }
.w-cards{ display:flex; gap:10px; margin-top:14px; }
.w-cards i{
  flex:1; height:74px;
  border-radius:var(--r8);
  background:var(--bg-2);
  border:1px solid var(--line);
}
.w-cards i:nth-child(1){
  background:linear-gradient(160deg, rgba(255,255,255,.09), var(--bg-2));
  border-color:rgba(255,255,255,.16);
}

.section{ padding:96px 0; }
.section-last{ padding-bottom:112px; }

.sec-head{ margin:0 0 40px; max-width:560px; }
.sec-head h2{
  font-size:clamp(1.6rem, 3.4vw, 2.25rem);
  font-weight:600;
  letter-spacing:-.03em;
  line-height:1.15;
  margin:0 0 10px;
}
.sec-head p{
  margin:0;
  color:var(--fg-3);
  font-size:1rem;
  line-height:1.6;
}

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

.card{
  padding:24px;
  border:1px solid var(--line);
  border-radius:var(--r12);
  background:var(--bg-1);
  transition:border-color .22s var(--ease), background .22s var(--ease);
}
.card:hover{ border-color:var(--line-strong); background:var(--bg-2); }

.ico{
  width:32px; height:32px;
  display:grid; place-items:center;
  border-radius:var(--r8);
  background:var(--bg-tertiary);
  border:1px solid var(--line);
  color:var(--fg-2);
  margin-bottom:16px;
}
.ico svg{ width:17px; height:17px; }

.card h3{
  font-size:1rem;
  font-weight:600;
  letter-spacing:-.015em;
  margin:0 0 7px;
}
.card p{
  margin:0;
  color:var(--fg-3);
  font-size:.9375rem;
  line-height:1.6;
}

.work{
  display:block;
  padding:26px;
  border:1px solid var(--line);
  border-radius:var(--r12);
  background:var(--bg-1);
  transition:border-color .22s var(--ease), background .22s var(--ease);
}
.work:hover{ border-color:var(--line-strong); background:var(--bg-2); }

.work-top{
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px;
  margin-bottom:12px;
}
.work-top h3{
  font-size:1.0625rem;
  font-weight:600;
  letter-spacing:-.02em;
  margin:0 0 3px;
}
.work-meta{ font-size:.8125rem; color:var(--fg-3); }
.work-arrow{
  flex:0 0 auto;
  width:32px; height:32px;
  display:grid; place-items:center;
  border-radius:var(--r8);
  border:1px solid var(--line);
  color:var(--fg-3);
  transition:color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.work:hover .work-arrow{
  color:var(--fg);
  border-color:var(--line-strong);
  transform:translate(2px,-2px);
}
.work > p{
  margin:0 0 14px;
  color:var(--fg-3);
  font-size:.9375rem;
  line-height:1.6;
  max-width:62ch;
}
.work-link{
  font-size:.875rem;
  color:var(--accent);
  transition:color .2s var(--ease);
}
.work:hover .work-link{ color:var(--accent-hover); }

.price{
  position:relative;
  padding:28px 26px;
  border:1px solid var(--line);
  border-radius:var(--r12);
  background:var(--bg-1);
  transition:border-color .22s var(--ease);
}
.price:hover{ border-color:var(--line-strong); }

.price.featured{
  border-color:rgba(255,255,255,.28);
  background:linear-gradient(180deg, var(--accent-tint), var(--bg-1) 55%);
}
.price.featured:hover{ border-color:rgba(255,255,255,.45); }

.price-label{
  display:block;
  font-size:.8125rem;
  font-weight:500;
  color:var(--fg-3);
  margin-bottom:12px;
}
.price.featured .price-label{ color:var(--accent); }

.price-amount{
  font-size:.9375rem;
  color:var(--fg-3);
  margin-bottom:12px;
}
.price-amount b{
  display:inline-block;
  font-size:1.875rem;
  font-weight:600;
  letter-spacing:-.03em;
  color:var(--fg);
  margin-left:2px;
}

.price-desc{
  margin:0 0 20px;
  color:var(--fg-3);
  font-size:.9375rem;
  line-height:1.6;
  padding-bottom:20px;
  border-bottom:1px solid var(--line);
}

.list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.list li{
  position:relative;
  padding-left:24px;
  font-size:.9375rem;
  color:var(--fg-2);
}
.list li::before{
  content:"";
  position:absolute; left:0; top:7px;
  width:14px; height:8px;
  border-left:1.5px solid var(--fg-4);
  border-bottom:1.5px solid var(--fg-4);
  transform:rotate(-45deg) scale(.8);
}
.price.featured .list li::before{ border-color:var(--accent); }

.price-note{
  margin:20px 0 0;
  color:var(--fg-3);
  font-size:.875rem;
  line-height:1.6;
  max-width:64ch;
}

.cta{
  border:1px solid var(--line);
  border-radius:var(--r16);
  background:
    radial-gradient(600px circle at 50% 0%, rgba(255,255,255,.06), transparent 70%),
    var(--bg-1);
  padding:44px 40px;
}
.cta h2{
  font-size:clamp(1.6rem, 3.4vw, 2.25rem);
  font-weight:600;
  letter-spacing:-.03em;
  margin:0 0 10px;
}
.cta > p{
  margin:0 0 32px;
  color:var(--fg-3);
  max-width:480px;
  font-size:1rem;
}

.contact-direct{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:32px;
  padding-bottom:32px;
  border-bottom:1px solid var(--line);
}
.contact-item{
  display:flex; align-items:center; gap:14px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:var(--r12);
  background:var(--bg);
  transition:border-color .22s var(--ease), background .22s var(--ease);
}
.contact-item:hover{ border-color:var(--line-strong); background:var(--bg-2); }
.contact-ico{
  flex:0 0 auto;
  width:38px; height:38px;
  display:grid; place-items:center;
  border-radius:var(--r8);
  background:var(--bg-tertiary);
  border:1px solid var(--line);
  color:var(--fg-2);
}
.contact-item b{
  display:block;
  font-size:.8125rem;
  font-weight:500;
  color:var(--fg-3);
  margin-bottom:1px;
}
.contact-item > span:last-child{
  font-size:1rem;
  color:var(--fg);
  letter-spacing:-.01em;
}

.footer{
  border-top:1px solid var(--line);
  padding:28px 0;
}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.footer-links{ display:flex; gap:20px; flex-wrap:wrap; }
.footer-links a{
  font-size:.875rem;
  color:var(--fg-3);
  transition:color .18s var(--ease);
}
.footer-links a:hover{ color:var(--fg); }
.footer-copy{ font-size:.875rem; color:var(--fg-3); }

.footer-meaning{
  margin-top:28px;
  padding-top:28px;
  border-top:1px solid var(--line);
  text-align:center;
}
.meaning{
  display:flex; justify-content:center; flex-wrap:wrap;
  gap:10px 28px;
  margin:0 0 10px;
  font-size:1.125rem;
  color:var(--fg-3);
  letter-spacing:-.015em;
}
.meaning b{
  font-weight:600;
  color:var(--fg);
}
.meaning-sub{
  margin:0;
  font-size:.875rem;
  color:var(--fg-3);
}

.reveal{
  opacity:0;
  transform:translateY(12px);
  transition:opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in{ opacity:1; transform:none; }

@media (max-width:860px){
  :root{ --header-h: 78px; }
  .brand-mark{ width:56px; height:56px; }
  .brand-name{ font-size:22px; }
  .grid-3{ grid-template-columns:1fr; }
  .nav{ display:none; }
  .burger{ display:block; }
  .header-actions .btn, .header-phone{ display:none; }
  .hero{ padding-top:calc(var(--header-h) + 64px); }
  .hero-actions{ margin-bottom:56px; }
  .section{ padding:72px 0; }
  .w-side{ display:none; }
}

@media (max-width:640px){
  :root{ --header-h: 70px; }
  .brand-mark{ width:48px; height:48px; }
  .brand-name{ font-size:20px; }
  .grid-2{ grid-template-columns:1fr; }
  .contact-direct{ grid-template-columns:1fr; }
  .cta{ padding:32px 22px; }
  .window-body{ min-height:210px; }
  .footer-inner{ justify-content:flex-start; }
  .meaning{ gap:8px 20px; font-size:1.0625rem; }
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
  .reveal{ opacity:1 !important; transform:none !important; }
  .bg-glow{ display:none; }
}
