/* Lachy's Editing Services: calm black and blue. One accent, soft glow, gentle motion. */
:root {
  --bg: #04060b;
  --bg-2: #080d18;
  --panel: rgba(16, 24, 42, .62);
  --panel-solid: #0c1322;
  --line: rgba(130, 170, 255, .14);
  --line-strong: rgba(130, 170, 255, .32);
  --blue: #2f6bff;
  --sky: #6db8ff;
  --text: #e9effa;
  --muted: #8d9bb5;
  --ok: #3ddc97;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 50% -160px, rgba(47, 107, 255, .32), transparent 70%),
    radial-gradient(600px 400px at 100% 30%, rgba(47, 107, 255, .08), transparent 70%),
    var(--bg);
  overflow-x: hidden;
}
body::before {
  /* faint grid that fades out below the hero */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 760px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(130, 170, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 170, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%);
}
a { color: inherit; }
button { font: inherit; }
.wrap { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(4, 6, 11, .6);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 16px var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.logo i { width: 10px; height: 10px; border-radius: 3px; background: var(--blue); box-shadow: 0 0 14px var(--blue); }
.links { display: flex; align-items: center; gap: 6px; }
.links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.links a:hover { color: var(--text); background: rgba(130, 170, 255, .08); }
.links a[aria-current="page"] { color: var(--text); }
.links a:focus-visible, .btn:focus-visible, .card:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font: 600 15px var(--f-body); text-decoration: none; cursor: pointer; color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 24px -10px rgba(47, 107, 255, .9);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-1px); background: #3d78ff; box-shadow: 0 12px 30px -10px rgba(47, 107, 255, 1); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-100%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(100%); }
.btn.ghost { background: transparent; border-color: var(--line-strong); box-shadow: none; color: var(--text); }
.btn.ghost:hover { background: rgba(130, 170, 255, .08); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- entrance ---------- */
.in { opacity: 0; transform: translateY(14px); animation: up .8s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 60ms); }
@keyframes up { to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { padding: 96px 0 40px; text-align: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(47, 107, 255, .08); font: 500 12.5px var(--f-mono); color: var(--sky); letter-spacing: .04em; }
.tag b { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font: 800 clamp(44px, 7.4vw, 88px)/1.02 var(--f-display); letter-spacing: -.035em; margin: 22px auto 0; max-width: 12ch; text-wrap: balance; }
h1 .blue { background: linear-gradient(180deg, #9fd0ff, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 34em; margin: 20px auto 0; color: var(--muted); font-size: 19px; text-wrap: pretty; }
.actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- timeline strip ---------- */
.timeline {
  position: relative; margin: 64px auto 0; max-width: 920px; padding: 14px 14px 16px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(16, 24, 42, .75), rgba(8, 13, 24, .75));
  border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(47, 107, 255, .6);
  overflow: hidden;
}
.tl-head { display: flex; justify-content: space-between; font: 500 11.5px var(--f-mono); color: var(--muted); padding: 0 4px 10px; font-variant-numeric: tabular-nums; }
.tl-head .tc { color: var(--sky); }
.tl-track { position: relative; height: 34px; margin-top: 8px; overflow: hidden; border-radius: 6px; background: rgba(130, 170, 255, .04); }
.tl-reel { position: absolute; inset: 0 auto 0 0; display: flex; gap: 6px; width: max-content; padding: 4px; animation: roll var(--s, 30s) linear infinite; }
@keyframes roll { to { transform: translateX(-50%); } }
.clip { height: 26px; border-radius: 5px; flex: none; background: linear-gradient(180deg, rgba(47, 107, 255, .9), rgba(32, 80, 210, .9)); border: 1px solid rgba(160, 200, 255, .35); }
.clip.lt { background: linear-gradient(180deg, rgba(109, 184, 255, .85), rgba(60, 140, 240, .85)); }
.clip.au { background: repeating-linear-gradient(90deg, rgba(109, 184, 255, .55) 0 2px, transparent 2px 5px) center / 100% 50% no-repeat, rgba(20, 40, 90, .7); border-color: rgba(109, 184, 255, .25); }
.playhead { position: absolute; top: 34px; bottom: 10px; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px var(--sky), 0 0 24px var(--blue); z-index: 2; }
.playhead::before { content: ""; position: absolute; top: -6px; left: -5px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid #fff; }

/* ---------- sections ---------- */
section { padding: 104px 0 0; }
.eyebrow { font: 500 12.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
h2 { font: 800 clamp(32px, 4.6vw, 52px)/1.08 var(--f-display); letter-spacing: -.03em; margin: 10px 0 0; text-wrap: balance; }
.sub { color: var(--muted); margin: 12px 0 0; max-width: 36em; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }

/* cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px 160px at 50% 0%, rgba(47, 107, 255, .16), transparent 70%); opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 24px 60px -30px rgba(47, 107, 255, .7); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 6px 0 0; font: 700 21px/1.25 var(--f-display); letter-spacing: -.015em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.from { font: 600 14px var(--f-mono); color: var(--text); }
.go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--sky); transition: background .25s, color .25s, transform .25s var(--ease); }
.card:hover .go { background: var(--blue); color: #fff; transform: translateX(2px); }

/* format badge: a small outlined frame in the real aspect ratio */
.frame { position: relative; display: inline-block; border: 1.5px solid var(--sky); border-radius: 4px; overflow: hidden; }
.frame.wide { width: 46px; height: 26px; }
.frame.tall { width: 18px; height: 32px; }
.frame.chat { width: 36px; height: 28px; border-radius: 8px; }
.frame::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--sky); transform-origin: left; animation: fill 3.6s var(--ease) infinite; }
.frame.chat::after { height: 100%; opacity: .25; }
@keyframes fill { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.badge-row { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
.pill { font: 500 11.5px var(--f-mono); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; letter-spacing: .04em; }

/* steps */
.steps { counter-reset: s; }
.step { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: rgba(8, 13, 24, .6); }
.step .n { font: 600 13px var(--f-mono); color: var(--sky); }
.step h3 { margin: 10px 0 6px; font: 700 19px var(--f-display); }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.handle { font-family: var(--f-mono); font-size: .92em; color: var(--text); background: rgba(47, 107, 255, .14); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }

/* CTA band */
.band { margin-top: 104px; padding: 56px 28px; border-radius: 24px; text-align: center; position: relative; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(600px 260px at 50% 120%, rgba(47, 107, 255, .35), transparent 70%), var(--bg-2); }
.band h2 { margin: 0 auto; max-width: 16ch; }
.band .actions { margin-top: 26px; }

/* ---------- products ---------- */
.p-head { padding: 80px 0 8px; }
.product { padding: 26px; gap: 14px; }
.product .price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.product .price b { font: 800 40px/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.product .price span { color: var(--muted); font-size: 14px; }
.product ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.product li { display: flex; gap: 8px; align-items: baseline; }
.product li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); flex: none; transform: translateY(-2px); }
.product .btn { width: 100%; margin-top: 6px; }
.trust { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-size: 14px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }

/* ---------- checkout modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(2, 4, 9, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.modal.open { opacity: 1; pointer-events: auto; }
.sheet { width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 18px; background: var(--panel-solid); border: 1px solid var(--line-strong); box-shadow: 0 40px 120px -30px rgba(47, 107, 255, .6); transform: translateY(16px) scale(.98); transition: transform .35s var(--ease); }
.modal.open .sheet { transform: none; }
.sheet-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; background: var(--panel-solid); border-bottom: 1px solid var(--line); }
.sheet-head .t { font: 700 16px var(--f-display); }
.sheet-head .s { font: 500 13px var(--f-mono); color: var(--sky); }
.x { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 18px; line-height: 1; }
.x:hover { background: rgba(130, 170, 255, .08); }
.x:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.sheet-body { padding: 16px; }
#checkout { min-height: 120px; border-radius: 12px; overflow: hidden; }
.loading { display: grid; place-items: center; gap: 12px; padding: 48px 0; color: var(--muted); font-size: 14px; }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--line-strong); border-top-color: var(--sky); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.err { padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(255, 110, 110, .35); background: rgba(255, 80, 80, .08); color: #ffc9c9; font-size: 14.5px; }
.done { text-align: center; padding: 28px 12px 18px; }
.done .tick { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: rgba(61, 220, 151, .12); border: 1px solid rgba(61, 220, 151, .4); color: var(--ok); font-size: 26px; animation: popin .5s var(--ease); }
@keyframes popin { from { transform: scale(.6); opacity: 0; } }
.done h3 { font: 800 26px var(--f-display); margin: 16px 0 6px; letter-spacing: -.02em; }
.done p { color: var(--muted); margin: 6px auto 0; max-width: 30em; }

/* ---------- footer ---------- */
footer { margin-top: 96px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 24px 40px; color: var(--muted); font-size: 14px; }
footer a { text-decoration: none; color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { height: 58px; }
  .logo span { display: none; }
  .links .hide-sm { display: none; }
  .hero { padding-top: 64px; }
  .lede { font-size: 17px; }
  .timeline { margin-top: 44px; }
  section { padding-top: 80px; }
  .band { margin-top: 80px; padding: 44px 18px; }
  .modal { padding: 0; place-items: end center; }
  .sheet { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
}

/* ---------- custom pay form ---------- */
.pay { display: grid; gap: 12px; }
.pay .lbl { font-size: 14px; font-weight: 600; color: var(--text); }
.pay .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(130, 170, 255, .04); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.qty button { width: 38px; height: 38px; border: 0; background: transparent; color: var(--text); font-size: 18px; cursor: pointer; }
.qty button:hover { background: rgba(130, 170, 255, .1); }
.qty button:focus-visible { outline: 2px solid var(--sky); outline-offset: -2px; }
.qty output { min-width: 36px; text-align: center; font: 600 15px var(--f-mono); font-variant-numeric: tabular-nums; }
.field { width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(130, 170, 255, .22); background: #0f1829; color: var(--text); font: 500 16px var(--f-body); transition: border-color .2s, box-shadow .2s; }
.field::placeholder { color: #5d6b85; }
.field:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(47, 107, 255, .25); }
#payment-element { min-height: 60px; margin-top: 4px; }
#payment-element .loading { padding: 28px 0; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 2px 2px; border-top: 1px solid var(--line); margin-top: 4px; }
.total span { color: var(--muted); font-size: 15px; }
.total b { font: 800 26px var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pay-btn { width: 100%; min-height: 52px; font-size: 16px; }
.secure { margin: 2px 0 0; display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.lock { width: 10px; height: 8px; border-radius: 2px; background: var(--muted); position: relative; top: 2px; }
.lock::before { content: ""; position: absolute; left: 1.5px; top: -5px; width: 7px; height: 6px; border: 1.5px solid var(--muted); border-bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }

/* ---------- reviews ---------- */
.stars { color: #ffc94d; letter-spacing: 2px; font-size: 16px; }
.rev-sum { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.revs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rev { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 13, 24, .6); display: grid; gap: 10px; align-content: start; }
.rev-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rev-meta { font-size: 13px; color: var(--muted); }
.ver { color: var(--ok); }
.rev-text { margin: 0; font-size: 15.5px; }
.rev .pill { justify-self: start; }
.rev-empty, .dim { color: var(--muted); }
.revs .loading { grid-column: 1 / -1; }
.small { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.small a { color: var(--sky); }

/* ---------- order page ---------- */
.order-wrap { max-width: 760px; padding-top: 64px; }
.order-card { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.o-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.o-title { font: 800 clamp(28px, 4.4vw, 40px)/1.1 var(--f-display); letter-spacing: -.025em; margin: 8px 0 0; max-width: none; text-align: left; }
.status { flex: none; padding: 6px 12px; border-radius: 999px; font: 600 13px var(--f-mono); border: 1px solid var(--line-strong); color: var(--muted); }
.status.ok { color: var(--ok); border-color: rgba(61, 220, 151, .4); background: rgba(61, 220, 151, .08); }
.o-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin: 24px 0 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.o-grid dt { font-size: 13px; color: var(--muted); }
.o-grid dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.mono { font-family: var(--f-mono); font-size: 14px; }
.o-next { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: rgba(47, 107, 255, .1); border: 1px solid var(--line-strong); font-size: 15.5px; }
.o-review { margin-top: 32px; }
.o-h2 { font: 800 24px var(--f-display); letter-spacing: -.02em; margin: 0; }
#rv-form { display: grid; gap: 10px; margin-top: 16px; }
.star-pick { display: flex; gap: 4px; }
.star-pick button { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: rgba(130, 170, 255, .04); color: #3a4560; font-size: 26px; line-height: 1; cursor: pointer; transition: color .15s, transform .15s var(--ease), border-color .15s; }
.star-pick button.on { color: #ffc94d; border-color: rgba(255, 201, 77, .4); }
.star-pick button:hover { transform: translateY(-2px); }
.star-pick button:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.area { height: auto; padding: 12px 14px; resize: vertical; min-height: 110px; line-height: 1.5; }
.rv-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rv-row .small { margin: 0; }
@media (max-width: 720px) { .revs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .order-card { padding: 20px; } .o-grid { grid-template-columns: 1fr; } .order-wrap { padding-top: 36px; } }
