/* the hero: the revenue skyline fills it; copy on the left, the live console on the right */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(6,8,10,.94) 0%, rgba(6,8,10,.78) 32%, rgba(6,8,10,.0) 62%), linear-gradient(0deg, var(--night) 0%, rgba(6,8,10,0) 22%), linear-gradient(180deg, rgba(6,8,10,.7) 0%, rgba(6,8,10,0) 18%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: 40px; align-items: end; padding: 120px 0 96px; }
.hero-copy { max-width: 720px; min-width: 0; }
.hero h1 { font-size: clamp(44px, 5.5vw, 84px); font-stretch: 116%; letter-spacing: -.045em; line-height: .94; margin: 22px 0 22px; }
.hero h1 .stop { color: var(--red); text-shadow: 0 0 40px rgba(255,59,59,.35); }
.lede { font-size: clamp(16.5px, 1.35vw, 19px); color: #c3ccd1; max-width: 540px; margin-bottom: 30px; line-height: 1.55; }
.micro { display: flex; align-items: center; gap: 10px; color: var(--mute); font-size: 12.5px; margin-top: 4px; letter-spacing: .02em; }
.micro i { width: 3px; height: 3px; border-radius: 50%; background: var(--mute); }

.console { justify-self: end; width: min(380px, 100%); border-radius: 20px; padding: 18px 18px 14px; background: rgba(11,14,18,.72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--line2), 0 30px 80px -30px rgba(0,0,0,.9); transition: box-shadow .4s; }
.console.alarm { box-shadow: inset 0 0 0 1px rgba(255,77,77,.55), 0 0 60px -10px rgba(255,59,59,.35), 0 30px 80px -30px rgba(0,0,0,.9); }
.c-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.c-store { font-size: 13px; color: var(--soft); }
.pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: var(--mintbg); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(60,242,181,.35); transition: background .3s, color .3s, box-shadow .3s; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.pill.bad { background: var(--redbg); color: #ff6b6b; box-shadow: inset 0 0 0 1px rgba(255,77,77,.45); }
.pill.bad i { animation: blink 0.8s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.c-label { font-size: 12.5px; color: var(--mute); font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.c-num { font-size: 40px; font-weight: 600; letter-spacing: -.03em; margin: 4px 0 10px; transition: color .3s; }
.c-num.bad { color: var(--red); }
.c-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 12px; }
.c-bar i { display: block; height: 100%; width: 100%; background: var(--mint); box-shadow: 0 0 12px var(--mint); transform-origin: left; transition: background .3s; }
.c-bar i.bad { background: var(--red); box-shadow: 0 0 12px var(--red); }
.c-log { list-style: none; margin: 0; padding: 0; min-height: 104px; font-size: 12.5px; display: grid; gap: 6px; align-content: start; }
.c-log li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; color: #c9d1d5; animation: logIn .35s ease both; }
.c-log li span { color: var(--mute); }
.c-log li.bad { color: #ff8a8a; }
.c-log li.good { color: var(--mint); }
@keyframes logIn { from { opacity: 0; transform: translateY(4px); } }
.scrollcue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 12px; color: var(--mute); text-decoration: none; letter-spacing: .06em; }

/* section heads */
section { position: relative; }
.kicker { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); margin-bottom: 16px; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2, .cost h2, .agent h2, .price h2, .faq h2, .last h2 { font-size: clamp(34px, 4.6vw, 62px); }
.sec-head p { margin-top: 16px; font-size: 18px; max-width: 600px; }

/* the cost */
.cost { padding: 120px 0 110px; background: radial-gradient(1000px 500px at 85% 40%, rgba(255,59,59,.07), transparent 70%); }
.cost-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.cost-copy p { margin: 18px 0 34px; font-size: 18px; max-width: 480px; }
.slide { display: block; margin-bottom: 22px; }
.slide-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; color: var(--soft); font-size: 15px; }
.slide-top b { font-size: 26px; color: var(--ink); font-weight: 600; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--mint) var(--p, 50%), rgba(255,255,255,.1) var(--p, 50%)); outline: 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(60,242,181,.25), 0 4px 12px rgba(0,0,0,.5); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(60,242,181,.25); cursor: grab; }
.hours { display: flex; flex-wrap: wrap; gap: 8px; }
.hours button { height: 40px; padding: 0 16px; border-radius: 10px; border: 0; cursor: pointer; background: rgba(255,255,255,.05); color: var(--soft); box-shadow: inset 0 0 0 1px var(--line2); font-weight: 550; font-size: 14.5px; }
.hours button.on { background: var(--redbg); color: #ff8080; box-shadow: inset 0 0 0 1px rgba(255,77,77,.5); }
.cost-board { border-radius: var(--r2); padding: 10px 28px 22px; background: linear-gradient(180deg, rgba(255,59,59,.06), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(255,77,77,.22); }
.lossrow { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--soft); font-size: 15.5px; }
.lossrow b { font-size: 24px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.lossrow.big span { color: var(--ink); font-size: 17px; }
.lossrow.big b { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.04em; color: var(--red); text-shadow: 0 0 30px rgba(255,59,59,.3); }
.lossrow.muted b { color: var(--mute); font-size: 16px; text-transform: uppercase; letter-spacing: .08em; }
.fine { font-size: 12.5px; color: var(--mute); margin-top: 16px; line-height: 1.55; }

/* Shopify's own words */
.quote { padding: 90px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--deep); }
.q { font-size: clamp(28px, 4.2vw, 56px); font-weight: 650; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.08; max-width: 1050px; }
.q-by { color: var(--mute); margin-top: 22px; font-size: 13px; }
.q-by a { color: var(--soft); }
.q2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.q2 p { font-size: 17px; line-height: 1.45; }
.q2 b { font-weight: 600; }
.q2 .mono { display: block; font-size: 12px; margin-top: 8px; }

/* it happened */
.happened { padding: 120px 0 100px; }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case { position: relative; border-radius: var(--r); padding: 24px 24px 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; min-height: 250px; transition: box-shadow .25s, transform .25s; }
.case:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line2), 0 20px 50px -24px rgba(0,0,0,.9); }
.case time { font-size: 12px; color: var(--mute); letter-spacing: .06em; text-transform: uppercase; }
.case h3 { font-size: 22px; font-stretch: 105%; letter-spacing: -.02em; line-height: 1.12; }
.case p { color: var(--soft); font-size: 15px; flex: 1; }
.case .src { font-size: 12px; color: var(--mute); text-decoration: none; }
.case .src:hover { color: var(--ink); }
.case.hot { background: linear-gradient(180deg, rgba(255,59,59,.09), var(--panel) 60%); box-shadow: inset 0 0 0 1px rgba(255,77,77,.25); }
.case.hot time { color: #ff7a7a; }
.more { display: inline-flex; gap: 10px; margin-top: 30px; color: var(--mint); text-decoration: none; font-weight: 600; font-size: 16px; }

/* what it does */
.does { padding: 110px 0; background: linear-gradient(180deg, var(--night), var(--deep) 30%, var(--night)); }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pillar { border-radius: var(--r2); padding: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.pillar h3 { font-size: 26px; margin: 24px 4px 10px; letter-spacing: -.025em; }
.pillar > p { font-size: 15.5px; margin: 0 4px 6px; max-width: 520px; }
.ui { border-radius: 16px; background: var(--night); box-shadow: inset 0 0 0 1px var(--line2); padding: 14px; min-height: 196px; }
.ui-top { display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding: 2px 4px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.amber { color: var(--amber); }
.ui-backup ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; font-size: 12.5px; }
.ui-backup li { display: grid; grid-template-columns: 52px 1fr 20px; gap: 10px; padding: 9px 6px; border-radius: 8px; color: #c9d1d5; }
.ui-backup li:first-child { background: rgba(60,242,181,.06); }
.ui-backup li span:first-child { color: var(--mute); }
.ui-feed ul, .ui-scan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ui-feed li, .ui-scan li { display: flex; gap: 10px; align-items: center; padding: 8px 6px; font-size: 13.5px; color: #d6dde0; border-radius: 8px; }
.ui-feed li:nth-child(-n+2) { background: rgba(255,59,59,.06); }
.ui-scan li { font-size: 12.5px; }
.ui-restore { display: flex; flex-direction: column; gap: 14px; }
.ui-restore .ui-top { margin-bottom: 4px; }
.prod { display: flex; gap: 14px; align-items: center; padding: 8px 4px; }
.prod .ph { width: 64px; height: 64px; border-radius: 12px; background: linear-gradient(135deg, #2a3038, #151a20); box-shadow: inset 0 0 0 1px var(--line2); position: relative; overflow: hidden; flex: none; }
.prod .ph i { position: absolute; inset: 14px 18px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #d9d2c3, #b9b09d); }
.prod b { display: block; font-size: 17px; margin-bottom: 4px; }
.prod .mono { font-size: 12px; }
.ui-restore.gone .prod { opacity: .35; filter: grayscale(1); }
.ui-restore.back .prod { opacity: 1; filter: none; }
.restore-demo { align-self: flex-start; }

/* the agent */
.agent { padding: 0 0 40px; }
.agent-img { position: relative; height: min(76vh, 760px); overflow: hidden; }
.agent-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.agent-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(6,8,10,0) 22%, rgba(6,8,10,0) 55%, var(--night) 100%), linear-gradient(90deg, rgba(6,8,10,.95) 0%, rgba(6,8,10,.82) 30%, rgba(6,8,10,0) 58%); }
.agent-in { position: relative; margin-top: calc(-1 * min(52vh, 520px)); }
.agent-copy { max-width: 520px; }
.agent h2 { margin-bottom: 26px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 30px; color: var(--soft); font-size: 17px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 4px; background: var(--mintbg); box-shadow: inset 0 0 0 1.5px var(--mint); }
.ticks b { color: var(--ink); font-weight: 600; }

/* steps */
.steps { padding: 120px 0 90px; }
.stepper { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line2); }
.stepper li { padding: 28px 28px 10px 0; position: relative; }
.stepper li::before { content: ''; position: absolute; top: -1px; left: 0; width: 46px; height: 2px; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.stepper .n { color: var(--mint); font-size: 13px; }
.stepper h3 { font-size: 30px; margin: 14px 0 10px; }
.stepper p { font-size: 16px; max-width: 300px; }

/* price */
.price { padding: 30px 0 110px; }
.price-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 40px; align-items: center; border-radius: 28px; padding: 44px; background: radial-gradient(600px 300px at 0% 0%, rgba(60,242,181,.12), transparent 70%), var(--panel); box-shadow: inset 0 0 0 1px rgba(60,242,181,.25); }
.price-in p { margin-top: 14px; font-size: 16.5px; max-width: 460px; }
.incl { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13.5px; color: #cfd6da; }
.incl li::before { content: '✓  '; color: var(--mint); }

/* faq */
.faq { padding: 40px 0 120px; }
.faq-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 50px; }
.qs { border-top: 1px solid var(--line2); }
.qs details { border-bottom: 1px solid var(--line2); }
.qs summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; position: relative; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--mint); transition: transform .25s; }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs details p { padding: 0 40px 24px 0; color: var(--soft); font-size: 16px; max-width: 720px; }

/* last word */
.last { padding: 140px 0 140px; overflow: hidden; isolation: isolate; }
.last-img { position: absolute; inset: 0; z-index: -1; }
.last-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: .55; }
.last-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(6,8,10,.4) 40%, rgba(6,8,10,.6) 70%, var(--night) 100%), radial-gradient(900px 520px at 22% 50%, rgba(6,8,10,.94), transparent 78%); }
.last-in { max-width: 600px; }
.last h2 { font-size: clamp(38px, 5.4vw, 74px); line-height: .98; margin-bottom: 18px; }
.last p.soft { font-size: 19px; margin-bottom: 30px; }

@media (max-width: 1020px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 112px 0 86px; }
  .console { justify-self: start; }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-in { grid-template-columns: 1fr; }
  .faq-in { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .hero { align-items: flex-start; }
  .hero-shade { background: linear-gradient(180deg, rgba(6,8,10,.82) 0%, rgba(6,8,10,.55) 45%, rgba(6,8,10,.25) 70%, var(--night) 100%); }
  .hero-in { padding: 92px 0 70px; }
  .hero h1 { font-size: clamp(38px, 11.2vw, 56px); margin: 16px 0 16px; }
  .lede { font-size: 16px; margin-bottom: 22px; }
  .console { width: 100%; padding: 14px; }
  .c-num { font-size: 32px; }
  .c-log { min-height: 86px; font-size: 12px; }
  .cost, .happened, .does, .steps { padding: 80px 0; }
  .cost-in { grid-template-columns: 1fr; gap: 34px; }
  .cost-board { padding: 6px 18px 18px; }
  .lossrow { font-size: 14.5px; }
  .lossrow b { font-size: 19px; }
  .quote { padding: 64px 0; }
  .q2 { grid-template-columns: 1fr; gap: 18px; }
  .cases { grid-template-columns: 1fr; }
  .case { min-height: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 16px; }
  .pillar h3 { font-size: 23px; }
  .agent-img { height: 56vh; }
  .agent-img img { object-position: 72% 50%; }
  .agent-in { margin-top: -18vh; }
  .stepper { grid-template-columns: 1fr; }
  .stepper li { padding: 22px 0 18px; border-bottom: 1px solid var(--line); }
  .price-in { padding: 28px 22px; }
  .last { padding: 100px 0; }
  .scrollcue { display: none; }
}
