/* Shared stylesheet for every page. Extracted from index.html once the shop and buyback
   pages appeared: four copies of the same 15 KB of CSS is four places to fix a spacing bug. */
:root{--ink:#161c2d;--muted:#667185;--blue:#2563eb;--line:#e5e9f0;--soft:#f6f8fc;--shadow:0 18px 50px rgba(30,48,85,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:white;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.container{width:min(1160px,calc(100% - 40px));margin:auto}.top{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:23px;font-weight:850;letter-spacing:-1.3px}.brand span{color:var(--blue)}.brand small{display:block;font-weight:500;font-size:10px;letter-spacing:1.1px;color:#798294;margin-top:-3px}.links{display:flex;gap:32px;color:#4d596b;font-size:14px}.navbtn,.primary{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--blue);color:#fff;border:0;border-radius:13px;padding:14px 22px;font-weight:700;box-shadow:0 7px 18px rgba(37,99,235,.17)}.navbtn{font-size:13px;padding:11px 17px}.secondary{display:inline-flex;align-items:center;gap:8px;border:1px solid #dce2ed;padding:13px 20px;border-radius:12px;font-weight:700;background:white}.hero{background:radial-gradient(circle at 77% 32%,#dceaff 0,transparent 37%),linear-gradient(145deg,#fafcff,#f6f8fc);overflow:hidden}.hero-inner{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;min-height:550px;gap:30px}.eyebrow{color:var(--blue);font-size:12px;font-weight:850;letter-spacing:2px;text-transform:uppercase}.hero h1{font-size:clamp(43px,5.3vw,72px);letter-spacing:-3.7px;line-height:1.07;margin:18px 0}.hero h1 em{font-style:normal;color:var(--blue)}.hero p{max-width:520px;color:#637084;font-size:18px;line-height:1.65}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.micro{display:flex;gap:26px;margin-top:28px;flex-wrap:wrap;font-size:12px;color:#657286}.micro span:before{content:'✓';color:#1a9a78;margin-right:8px;font-weight:900}.phone-stage{position:relative;min-height:490px;display:grid;place-items:center}.halo{position:absolute;width:390px;height:390px;border-radius:50%;background:radial-gradient(circle,#c3d8ff 0%,#e5edff 50%,transparent 72%);filter:blur(4px)}.phone{position:relative;width:235px;height:455px;border:8px solid #20283b;border-radius:45px;background:linear-gradient(138deg,#0b1637 0%,#25549a 40%,#79b0e0 100%);box-shadow:22px 25px 45px rgba(35,54,86,.23),inset 0 0 0 2px #8796ae;transform:rotate(10deg)}.island{position:absolute;top:14px;left:50%;transform:translateX(-50%);width:77px;height:23px;border-radius:15px;background:#0a0b11}.screen-sheen{position:absolute;inset:50px 7px 13px;border:1px solid #ffffff24;border-radius:30px;background:radial-gradient(ellipse at 75% 45%,#9bd7ff6b,transparent 42%),radial-gradient(ellipse at 15% 90%,#a1b6ff65,transparent 48%)}.bubble{position:absolute;background:#fff;border:1px solid #e8edf5;border-radius:15px;padding:13px 17px;box-shadow:var(--shadow);font-size:12px;font-weight:700;color:#394861}.bubble.a{left:0;top:120px}.bubble.b{right:0;bottom:90px}.bubble strong{display:block;font-size:17px;color:#2563eb}.section{padding:88px 0}.center{text-align:center}.section h2{font-size:clamp(30px,3.4vw,43px);letter-spacing:-1.8px;line-height:1.18;margin:10px 0 14px}.desc{color:var(--muted);max-width:620px;margin:0 auto 36px}.picker{background:white;border-radius:25px;box-shadow:var(--shadow);border:1px solid var(--line);padding:28px;margin-top:38px}.steps{display:flex;align-items:center;gap:12px;margin-bottom:27px;color:#8290a5;font-size:13px;font-weight:700}.steps b{display:flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;background:#e9efff;color:var(--blue)}.steps .on{color:var(--ink)}.steps .divider{width:28px;height:1px;background:#d9e0eb}.picker h3{font-size:24px;letter-spacing:-.7px;margin:0 0 18px}.models{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.tile{border:1.5px solid #e3e8f1;border-radius:17px;padding:18px 9px;background:white;text-align:center;transition:.2s}.tile:hover,.tile.selected{border-color:var(--blue);background:#f3f7ff;transform:translateY(-2px)}.mini-phone{display:block;margin:0 auto 12px;width:37px;height:66px;border:3px solid #343e55;border-radius:10px;background:linear-gradient(145deg,#172d6b,#80b9e4);box-shadow:4px 5px 9px #172b4222}.tile strong{font-size:14px}.tile small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.picker-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.hint{color:var(--muted);font-size:13px}.issues{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.issue{padding:17px 18px;border:1.5px solid #e3e8f1;background:#fff;border-radius:14px;text-align:left;font-weight:650}.issue:hover,.issue.selected{border-color:var(--blue);background:#f3f7ff}.summary{background:var(--soft);border-radius:16px;padding:22px;margin-bottom:20px}.summary p{margin:7px 0;color:#617087}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700}.field input,.field textarea{width:100%;border:1px solid #d7e0ed;border-radius:11px;padding:12px;background:white;color:var(--ink)}.field textarea{min-height:95px;resize:vertical}.field.full{grid-column:1/-1}.notice{font-size:12px;color:#798499}.faint{background:var(--soft)}.benefits,.process{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border:1px solid #e5eaf2;border-radius:20px;padding:28px;box-shadow:0 10px 30px rgba(30,48,85,.035)}.icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e9efff;color:var(--blue);font-size:24px}.card h3{margin:19px 0 9px;font-size:19px}.card p{color:var(--muted);font-size:14px;line-height:1.7;margin:0}.num{font-size:13px;font-weight:900;color:var(--blue)}.tracking{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px}.tracking-box{background:#fff;border:1px solid var(--line);padding:30px;border-radius:24px;box-shadow:var(--shadow)}.track-row{display:flex;gap:13px;align-items:flex-start;border-left:2px solid #dde6f2;margin-left:13px;padding:0 0 18px 23px;position:relative;font-size:14px;color:#728097}.track-row:before{content:'';position:absolute;left:-9px;top:0;width:14px;height:14px;border-radius:50%;background:#dce4ee;border:2px solid #fff}.track-row.complete:before{background:#22a88a}.track-row.active{color:var(--ink);font-weight:800}.track-row.active:before{background:var(--blue)}.track-row:last-child{padding-bottom:0;border-left:2px solid transparent}.track-row small{display:block;color:#8893a3;font-weight:400}.faq details{background:#fff;border:1px solid #e3e9f1;padding:19px 22px;border-radius:13px;margin-bottom:11px}.faq summary{cursor:pointer;font-weight:750}.faq p{color:var(--muted);font-size:14px}.cta{padding:65px 0;background:#18243f;color:#fff;text-align:center}.cta h2{font-size:36px;letter-spacing:-1.5px;margin:0 0 15px}.cta p{color:#bfcae0;margin-bottom:27px}footer{padding:31px 0;color:#788394;font-size:12px}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}[hidden]{display:none!important}.hidden{display:none!important}.error{color:#ba3045;font-size:13px;margin-top:10px}.success{padding:20px;background:#e9f8f2;border-radius:14px;color:#176e50;font-weight:700}@media(max-width:850px){.links{display:none}.hero-inner{grid-template-columns:1fr;min-height:auto;padding:65px 0 40px}.hero h1{letter-spacing:-2.5px}.phone-stage{min-height:340px}.phone{transform:rotate(9deg) scale(.75)}.halo{width:310px;height:310px}.bubble.a{left:5%;top:70px}.bubble.b{right:5%;bottom:45px}.models{grid-template-columns:repeat(2,1fr)}.benefits,.process{grid-template-columns:1fr}.tracking{grid-template-columns:1fr;gap:25px}.section{padding:65px 0}}@media(max-width:540px){.container{width:min(100% - 28px,1160px)}nav{height:65px}.brand{font-size:20px}.navbtn{font-size:12px;padding:9px 12px}.hero h1{font-size:42px}.hero p{font-size:16px}.micro{gap:8px 15px}.phone-stage{min-height:280px}.phone{transform:rotate(10deg) scale(.62)}.picker{padding:17px}.steps{gap:7px;font-size:11px}.steps .divider{width:9px}.issues,.fields{grid-template-columns:1fr}.picker-footer{align-items:stretch;flex-direction:column}.picker-footer .primary{width:100%}.section h2{font-size:31px}}

/* --- shop and buyback -------------------------------------------------------------------
   Reuses the existing tokens and the .picker/.steps/.tile/.field components from the repair
   flow, so the two new journeys look like the same site rather than a bolted-on shop. */
.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.prod{display:flex;flex-direction:column;background:#fff;border:1px solid #e5eaf2;border-radius:20px;padding:20px;box-shadow:0 10px 30px rgba(30,48,85,.035);transition:.2s}
.prod:hover{transform:translateY(-3px);border-color:#cfd9e8}
.prod .visual{display:grid;place-items:center;height:150px;border-radius:15px;background:linear-gradient(150deg,#f3f7ff,#eaf1fd);margin-bottom:16px}
.prod .visual img{max-height:132px;max-width:100%;object-fit:contain}
.prod h3{margin:0 0 4px;font-size:18px;letter-spacing:-.4px}
.prod .meta{color:var(--muted);font-size:13px;margin:0 0 14px}
.badges{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}
.badge{font-size:11px;font-weight:800;padding:5px 10px;border-radius:999px;background:#e9efff;color:var(--blue)}
.badge.warranty{background:#e7f7f1;color:#157a5b}
.badge.battery{background:#fdf3e3;color:#946419}
.price{margin-top:auto;display:flex;align-items:baseline;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:14px}
.price strong{font-size:22px;letter-spacing:-.9px}
.price small{color:var(--muted);font-size:12px}
.empty{text-align:center;padding:56px 24px;border:1.5px dashed #d8e1ee;border-radius:20px;background:var(--soft);color:var(--muted)}
.empty strong{display:block;color:var(--ink);font-size:18px;margin-bottom:8px}
.specs{list-style:none;padding:0;margin:0 0 22px}
.specs li{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line);font-size:14px}
.specs li:last-child{border-bottom:0}
.specs span{color:var(--muted)}
.specs b{font-weight:700;text-align:right}
.detail{display:grid;grid-template-columns:.95fr 1.05fr;gap:44px;align-items:start}
.detail .stage{display:grid;place-items:center;min-height:360px;border-radius:24px;background:radial-gradient(circle at 60% 35%,#dceaff 0,transparent 60%),linear-gradient(145deg,#fafcff,#f1f6fd);border:1px solid var(--line)}
.detail .stage img{max-height:330px;max-width:86%;object-fit:contain}
.faults{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.chip{display:flex;align-items:center;gap:10px;padding:14px 16px;border:1.5px solid #e3e8f1;border-radius:13px;background:#fff;font-size:14px;font-weight:650;cursor:pointer}
.chip:hover{border-color:#c6d4ea}
.chip input{width:17px;height:17px;accent-color:var(--blue);margin:0}
.chip.on{border-color:var(--blue);background:#f3f7ff}
.offer{background:linear-gradient(145deg,#f3f8ff,#eef4ff);border:1px solid #d8e5fb;border-radius:20px;padding:28px;text-align:center;margin-bottom:22px}
.offer .amount{font-size:clamp(34px,5vw,48px);font-weight:850;letter-spacing:-2.4px;color:var(--blue);line-height:1.1}
.offer .amount.manual{font-size:24px;letter-spacing:-1px;color:#946419}
.offer p{color:#5a6a82;font-size:13px;max-width:430px;margin:12px auto 0;line-height:1.65}
.how{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:step}
.how .card{position:relative}
.how .card:before{counter-increment:step;content:counter(step);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--blue);color:#fff;font-size:13px;font-weight:900;margin-bottom:14px}
@media(max-width:980px){.shop-grid{grid-template-columns:repeat(2,1fr)}.how{grid-template-columns:repeat(2,1fr)}.detail{grid-template-columns:1fr;gap:26px}}
@media(max-width:560px){.shop-grid{grid-template-columns:1fr}.how{grid-template-columns:1fr}.faults{grid-template-columns:1fr}}

/* --- buyback wizard ---------------------------------------------------------------------
   Two columns: a summary that stays visible while answering, and the current step. The
   summary matters -- by step six nobody remembers which storage size they picked. */
.wiz{display:grid;grid-template-columns:250px 1fr;gap:30px;align-items:start}
.wiz-side{position:sticky;top:96px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px;box-shadow:0 8px 24px rgba(30,48,85,.04)}
.wiz-side h4{margin:0 0 12px;font-size:11px;letter-spacing:.9px;text-transform:uppercase;color:#8290a5}
.wiz-side dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:7px 12px;font-size:13px}
.wiz-side dt{color:var(--muted)}
.wiz-side dd{margin:0;text-align:right;font-weight:700}
.wiz-side .sect{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}
.dots{display:flex;align-items:center;gap:7px;margin-bottom:22px}
.dot{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800;background:#e9eef7;color:#8290a5;flex:0 0 auto}
.dot.on{background:var(--blue);color:#fff}
.dot.done{background:#d7e6ff;color:var(--blue)}
.dot-line{height:2px;background:#e3e9f3;flex:1;min-width:6px}
.q{font-size:20px;letter-spacing:-.6px;margin:0 0 6px}
.q-help{color:var(--muted);font-size:13px;margin:0 0 16px;line-height:1.6}
.opts{display:grid;gap:10px}
.opts.two{grid-template-columns:repeat(2,1fr)}
.opt{text-align:left;border:1.5px solid #e3e8f1;border-radius:14px;padding:15px 17px;background:#fff;transition:.15s;width:100%}
.opt:hover{border-color:#c6d4ea}
.opt.on{border-color:var(--blue);background:#f3f7ff}
.opt b{display:block;font-size:14px;margin-bottom:3px}
.opt span{display:block;color:var(--muted);font-size:12px;line-height:1.55}
.swatches{display:flex;gap:10px;flex-wrap:wrap}
.swatch{display:grid;place-items:center;gap:7px;border:1.5px solid #e3e8f1;border-radius:13px;padding:11px 9px;background:#fff;min-width:74px;font-size:11px;font-weight:700}
.swatch i{width:26px;height:26px;border-radius:50%;border:1px solid #00000018;display:block}
.swatch.on{border-color:var(--blue);background:#f3f7ff}
.modelgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;max-height:430px;overflow:auto;padding:2px}
.mcard{border:1.5px solid #e3e8f1;border-radius:15px;padding:14px 11px;background:#fff;text-align:center}
.mcard:hover,.mcard.on{border-color:var(--blue);background:#f3f7ff}
.mcard b{display:block;font-size:13px}
.mcard small{display:block;color:#1a9a78;font-size:11px;font-weight:800;margin-top:4px}
.search{width:100%;border:1px solid #d7e0ed;border-radius:12px;padding:12px 14px;margin-bottom:14px;font:inherit}
@media(max-width:900px){.wiz{grid-template-columns:1fr}.wiz-side{position:static}.modelgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.opts.two{grid-template-columns:1fr}.modelgrid{grid-template-columns:1fr;max-height:330px}}

/* --- modal ------------------------------------------------------------------------------
   Used where an answer ends the conversation rather than changing a number, so the message
   has to interrupt rather than sit quietly beside the form. */
.modal{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:20px;
  background:rgba(16,24,42,.55);backdrop-filter:blur(5px);animation:fade .18s ease-out}

.modal-box{background:#fff;border-radius:24px;max-width:470px;width:100%;padding:34px 32px 28px;
  box-shadow:0 30px 70px rgba(16,24,42,.3);text-align:center;animation:rise .22s cubic-bezier(.2,.8,.3,1)}
.modal-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;margin:0 auto 18px;
  background:#fdf3e3;color:#946419;font-size:27px}
.modal-box h3{margin:0 0 10px;font-size:21px;letter-spacing:-.6px}
.modal-box p{color:#5a6a82;font-size:14px;line-height:1.7;margin:0 0 22px}
.modal-box .primary{width:100%;justify-content:center}
.modal-note{display:block;margin-top:14px;font-size:12px;color:#8893a3}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes rise{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
