/* ClearDev landing: dark developer slate, icon blue→violet, a live storage meter that gets erased. */
:root {
  --bg: #0D1120; --ink: #EEF2FF; --dim: rgba(238,242,255,.66); --line: rgba(255,255,255,.1);
  --blue: #3B82F6; --violet: #7C5CFF; --pink: #F472B6;
  --grad: linear-gradient(100deg, #60A5FA, #8B7BFF 60%, #C4B5FD);
  --display: "Manrope", system-ui, sans-serif; --body: "Inter", system-ui, -apple-system, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2,.8,.2,1); --pop: cubic-bezier(.34,1.56,.64,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(ellipse at 85% -5%, rgba(124,92,255,.22), transparent 50%), radial-gradient(ellipse at 0% 40%, rgba(59,130,246,.12), transparent 45%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid #93C5FD; outline-offset: 3px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font: 600 13.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #93C5FD; margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.03em; }
h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.lede { color: var(--dim); font-size: clamp(17px, 1.5vw, 19px); max-width: 33em; margin: 22px 0 0; }
section { position: relative; padding: clamp(80px, 11vw, 140px) max(20px, 6vw); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

.bar { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px max(20px, 4vw); transition: background .3s, box-shadow .3s; }
.bar.solid { background: rgba(13,17,32,.82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font: 800 20px var(--display); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.bar nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.bar nav a { text-decoration: none; color: var(--dim); transition: color .2s; }
.bar nav a:hover { color: var(--ink); }
.cta { text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 18px; border-radius: 999px; background: #fff; color: var(--bg); white-space: nowrap; }
@media (max-width: 820px) { .bar nav { display: none; } .cta { margin-left: auto; } }

.store { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #000; text-decoration: none; padding: 11px 22px 11px 18px; border-radius: 14px; transition: transform .25s var(--pop), box-shadow .25s; }
.store:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(59,130,246,.45); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: flex; flex-direction: column; font: 600 19px/1.05 var(--body); }
.store small { font-size: 11px; font-weight: 500; }
.note { color: var(--dim); font-size: 14px; }

/* hero */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 50px; padding-top: 120px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: 1.0; font-weight: 800; letter-spacing: -.04em; }
.actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.meter { position: relative; justify-self: center; width: min(460px, 100%); border-radius: 18px; background: rgba(23,28,48,.92); border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 60px rgba(124,92,255,.18); overflow: visible; }
.m-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 600 13px var(--body); color: var(--dim); }
.m-head i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; } .m-head i:nth-child(2) { background: #FEBC2E; } .m-head i:nth-child(3) { background: #28C840; }
.m-head span { margin-left: 8px; }
.m-body { padding: 20px 22px 18px; }
.m-body small { color: var(--dim); font-size: 13px; }
.m-total { font: 700 44px/1.1 var(--mono); letter-spacing: -.03em; margin: 4px 0 14px; }
.m-total b { font-weight: 700; }
.m-bar { position: relative; display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.06); }
.m-bar span { height: 100%; width: 0; background: var(--c); transition: width .6s var(--ease); }
.eraser { position: absolute; top: -6px; bottom: -6px; width: 30px; left: -40px; border-radius: 6px; background: linear-gradient(90deg, #F9A8D4, #F472B6 50%, #3B82F6 51%, #60A5FA); box-shadow: 0 6px 16px rgba(0,0,0,.45); opacity: 0; transform: rotate(-12deg); }
.m-list { list-style: none; margin: 18px 0 0; padding: 0; font-size: 14.5px; }
.m-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); transition: opacity .4s, transform .4s var(--ease); }
.m-list li i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.m-list li b { margin-left: auto; font: 500 13.5px var(--mono); color: var(--dim); }
.m-list li.off { opacity: 0; transform: translateX(-10px); }
.m-list li.gone b { text-decoration: line-through; color: #64748B; }
.m-list li.gone { opacity: .45; }
.m-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: 13.5px; color: var(--dim); }
.clean { font: 600 14px var(--body); color: #fff; background: #2563EB; padding: 7px 16px; border-radius: 9px; transition: transform .2s var(--pop), box-shadow .2s; }
.clean.press { transform: scale(.92); box-shadow: 0 0 0 6px rgba(59,130,246,.3); }
.freed { position: absolute; right: -14px; top: -18px; font: 700 15px var(--mono); color: #052e16; background: #4ADE80; padding: 8px 14px; border-radius: 12px; box-shadow: 0 14px 30px rgba(74,222,128,.35); opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .4s, transform .5s var(--pop); }
.freed.on { opacity: 1; transform: none; }
.dust { position: absolute; width: 4px; height: 4px; border-radius: 1px; background: #CBD5E1; pointer-events: none; }

/* cleans */
.cleans { text-align: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1140px; margin: 60px auto 0; text-align: left; }
.grid article { padding: 26px; border-radius: 20px; background: rgba(255,255,255,.035); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.grid article:hover { border-color: rgba(147,197,253,.45); transform: translateY(-3px); }
.grid article:nth-child(3n+2) { transition-delay: .08s; } .grid article:nth-child(3n) { transition-delay: .16s; }
.ico { font-size: 28px; margin-bottom: 12px; }
.grid p { color: var(--dim); font-size: 15.5px; margin: 8px 0 0; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

/* tour */
.tour { padding: 0 max(20px, 5vw); height: 400vh; }
.tour-pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: center; gap: clamp(30px, 5vw, 70px); max-width: 1320px; margin: 0 auto; }
.tour-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; }
.tour-list li { grid-area: 1/1; opacity: 0; transform: translateY(26px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.tour-list li.on { opacity: 1; transform: none; pointer-events: auto; }
.tour-list li.past { transform: translateY(-26px); }
.tour-list h3 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; font-weight: 800; }
.tour-list p { color: var(--dim); font-size: clamp(16px, 1.4vw, 19px); margin: 16px 0 0; }
.tour-dots { display: flex; gap: 8px; margin-top: 30px; }
.tour-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.22); transition: width .35s var(--ease), background .35s; }
.tour-dots i.on { width: 30px; background: var(--grad); }
.window { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 90px rgba(0,0,0,.55); }
.w-top { display: none; }
.w-shots { position: relative; }
.w-shots img { width: 100%; aspect-ratio: 1400/662; object-fit: cover; object-position: top; opacity: 0; transition: opacity .55s var(--ease); }
.w-shots img:not(:first-child) { position: absolute; inset: 0; }
.w-shots img.on { opacity: 1; }
@media (max-width: 860px) {
  .tour { height: auto; padding: 60px 20px; }
  .tour-pin { position: static; height: auto; grid-template-columns: 1fr; }
  .tour-list li, .tour-list li.past { grid-area: auto; opacity: 1; transform: none; margin-bottom: 18px; }
  .tour-list h3 { font-size: 24px; } .tour-list p { font-size: 16px; margin-top: 4px; }
  .tour-dots { display: none; }
  .window { overflow: visible; background: none; box-shadow: none; }
  .w-shots { display: grid; gap: 16px; }
  .w-shots img, .w-shots img:not(:first-child) { position: static; opacity: 1; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
}

/* menubar */
.menubar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 80px); max-width: 1180px; margin: 0 auto; }
.mb-shot { border-radius: 18px; box-shadow: 0 40px 90px rgba(0,0,0,.5); justify-self: center; width: min(460px, 100%); }
@media (max-width: 820px) { .menubar { grid-template-columns: 1fr; } }

.private { text-align: center; }
.promises { list-style: none; padding: 0; margin: 46px auto 0; max-width: 1000px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.promises li { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.promises b { font: 700 19px var(--display); }
.promises span { color: var(--dim); font-size: 15.5px; }
@media (max-width: 820px) { .promises { grid-template-columns: 1fr; } }

.faq h2 { text-align: center; }
.qa { max-width: 820px; margin: 50px auto 0; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 19px var(--display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 400 30px/1 var(--body); color: #93C5FD; transition: transform .3s var(--pop); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--dim); margin: -6px 0 22px; }

.end { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; background: radial-gradient(ellipse at 50% 100%, rgba(124,92,255,.25), transparent 60%); }
.end img { width: 96px; height: 96px; filter: drop-shadow(0 20px 40px rgba(59,130,246,.45)); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 26px max(20px, 4vw) 36px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.foot nav { display: flex; gap: 20px; }
.foot small { width: 100%; opacity: .75; }

@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); padding-top: 110px; min-height: auto; } .freed { right: 6px; } }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
