:root {
  --bg: #ffffff;
  --soft: #f4f5fb;
  --ink: #0d1022;
  --text: #2a2f45;
  --muted: #646b85;
  --line: #e4e6f0;
  --primary: #5b3df5;
  --primary-2: #8a5cff;
  --accent: #19d3a2;
  --dark: #0b0d1c;
  --radius: 16px;
  --shadow: 0 12px 36px rgba(13, 16, 34, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; color: var(--ink); letter-spacing: -.02em; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 10px 24px rgba(91, 61, 245, .3); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-light { background: #fff; color: var(--primary); }
.btn-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

header.top { position: sticky; top: 0; z-index: 30; background: rgba(11, 13, 28, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 17px; }
.logo em { font-style: normal; font-weight: 500; opacity: .7; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); font-family: "Space Grotesk", Inter, sans-serif; font-size: 20px; }
nav.links { display: flex; gap: 26px; }
nav.links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 15px; font-weight: 500; }
nav.links a:hover { color: #fff; }

.hero { background: radial-gradient(circle at 80% 0%, rgba(138, 92, 255, .45), transparent 50%), radial-gradient(circle at 0% 100%, rgba(25, 211, 162, .18), transparent 45%), var(--dark); color: #fff; padding: 80px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; margin: 16px 0 18px; }
.hero .sub { font-size: 18px; color: rgba(255,255,255,.75); max-width: 580px; margin: 0 0 30px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.promises { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(255,255,255,.85); }
.promises li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 8px; }
.mock { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 20px; backdrop-filter: blur(6px); }
.mock-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 14px; }
.mock-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(25,211,162,.2); }
.mock-head small { margin-left: auto; opacity: .5; }
.bubble { padding: 11px 14px; border-radius: 14px; font-size: 14px; margin-bottom: 10px; max-width: 88%; }
.bubble.user { background: var(--primary); margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.bot { background: rgba(255,255,255,.1); border-bottom-left-radius: 4px; }
.plan-card { background: #fff; color: var(--text); border-radius: 14px; padding: 16px; margin-top: 6px; }
.plan-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.plan-row b { color: var(--ink); font-size: 18px; }
.plan-row.muted { color: var(--muted); }
.plan-bar { height: 8px; border-radius: 99px; background: var(--soft); margin: 12px 0 8px; overflow: hidden; }
.plan-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.plan-card small { color: var(--muted); font-size: 12px; }

/* hero: "orders arrive while you sleep" (promise image: a night phone with incoming bookings) */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1.5px 1.5px at 8% 18%, #fff, transparent), radial-gradient(1px 1px at 22% 62%, #fff, transparent), radial-gradient(1.5px 1.5px at 38% 12%, #cfd6ff, transparent), radial-gradient(1px 1px at 55% 80%, #fff, transparent), radial-gradient(1.5px 1.5px at 66% 30%, #fff, transparent), radial-gradient(1px 1px at 78% 70%, #cfd6ff, transparent), radial-gradient(1.5px 1.5px at 90% 14%, #fff, transparent), radial-gradient(1px 1px at 96% 55%, #fff, transparent), radial-gradient(1px 1px at 46% 46%, #fff, transparent); }
.hero .wrap { position: relative; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #19d3a2, #a78bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.moon { position: absolute; top: -18px; right: 4%; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #d6dbff 55%, #8f94e6); box-shadow: 0 0 90px 24px rgba(150, 140, 255, .32); opacity: .92; }
.nphone { position: relative; width: 292px; min-height: 500px; padding: 30px 14px 18px; border-radius: 46px; color: #fff;
  background: linear-gradient(165deg, #1c1e3d, #0a0b18); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 44px 90px rgba(0,0,0,.55), 0 0 0 6px rgba(255,255,255,.03), 0 0 70px rgba(91,61,245,.38); animation: nphone-buzz .5s .5s 1; }
.nphone::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 88px; height: 22px; border-radius: 20px; background: #000; }
.lock-time { text-align: center; margin-top: 28px; font: 700 66px/1 "Space Grotesk", Inter, sans-serif; letter-spacing: -.02em; }
.lock-date { text-align: center; margin: 8px 0 24px; font-size: 14px; opacity: .65; }
.notifs { display: flex; flex-direction: column; gap: 10px; }
.notif { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(-14px) scale(.98); animation: notif-in .6s cubic-bezier(.2,.8,.2,1) forwards; }
.notif .app { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, #5b3df5, #19d3a2); }
.notif b { display: block; font-size: 13.5px; }
.notif div span { display: block; font-size: 12.5px; line-height: 1.35; opacity: .75; }
.notif small { margin-left: auto; font-size: 11.5px; opacity: .55; white-space: nowrap; }
.notif.n1 { animation-delay: .5s; } .notif.n2 { animation-delay: 1.6s; } .notif.n3 { animation-delay: 2.7s; }
.hero-visual .sample { margin-top: 16px; font-size: 12px; opacity: .5; }
@keyframes notif-in { to { opacity: 1; transform: none; } }
@keyframes nphone-buzz { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-4px) rotate(-.6deg); } 40% { transform: translateX(4px) rotate(.6deg); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .notif { opacity: 1; transform: none; animation: none; } .nphone { animation: none; } }
@media (max-width: 900px) { .moon { right: 8%; top: -34px; width: 84px; height: 84px; } .nphone { min-height: 0; } }

section { padding: 84px 0; }
section.alt { background: var(--soft); }
/* "problem" and "calc" are both soft backgrounds and now sit next to each other: no double gap */
.problem + #calc { padding-top: 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 10px 0 12px; line-height: 1.15; }
.sec-head p { margin: 0; color: var(--muted); font-size: 17px; }

.problem { background: var(--soft); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.problem h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 10px 0 14px; line-height: 1.15; }
.problem p { color: var(--muted); font-size: 17px; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.vs-col { background: #fff; border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.vs-col b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.vs-col.bad span { padding: 7px 10px; border-radius: 8px; background: #fff1f1; color: #b4373b; font-size: 14px; text-decoration: line-through; text-decoration-color: rgba(180,55,59,.4); }
.vs-col.good { background: var(--dark); color: #fff; }
.vs-col.good b { color: var(--accent); }
.vs-col .big { font-family: "Space Grotesk", Inter, sans-serif; font-size: 22px; line-height: 1.3; font-weight: 700; }
.vs-arrow { font-size: 28px; color: var(--primary); font-weight: 800; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.card .ic { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, rgba(91,61,245,.12), rgba(25,211,162,.14)); display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--dark); color: var(--accent); font-weight: 800; font-family: "Space Grotesk", Inter, sans-serif; margin-bottom: 12px; }
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Planner */
.planner { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 70px rgba(13,16,34,.1); overflow: hidden; }
.pl-progress { display: flex; border-bottom: 1px solid var(--line); }
.pl-progress div { flex: 1; padding: 14px 10px; text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; }
.pl-progress div.on { color: var(--primary); border-color: var(--primary); }
.pl-progress div.done { color: var(--ink); border-color: var(--accent); }
.pl-body { padding: 30px; }
.pl-body h3 { margin: 0 0 6px; font-size: 22px; }
.pl-body .hint { color: var(--muted); margin: 0 0 20px; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover { border-color: #c9c2fb; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid #c7cadb; display: grid; place-items: center; margin-top: 2px; color: #fff; font-size: 13px; font-weight: 800; }
.opt.radio .box { border-radius: 50%; }
.opt.sel { border-color: var(--primary); background: #f6f3ff; }
.opt.sel .box { background: var(--primary); border-color: var(--primary); }
.opt b { display: block; color: var(--ink); }
.opt small { color: var(--muted); font-size: 13px; }
.opt .tag { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.pl-nav { display: flex; justify-content: space-between; gap: 12px; padding: 18px 30px; border-top: 1px solid var(--line); background: #fbfbfe; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px; color: var(--text); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field.err input { border-color: #e5484d; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.result { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.result .rec { background: var(--dark); color: #fff; border-radius: 18px; padding: 24px; }
.result .rec .eyebrow { color: var(--accent); }
.result .rec h4 { font-family: "Space Grotesk", Inter, sans-serif; font-size: 26px; margin: 6px 0 14px; color: #fff; }
.result .rec ul { margin: 0; padding-left: 18px; color: rgba(255,255,255,.85); font-size: 14px; }
.result .nums { display: grid; gap: 12px; }
.num { border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.num small { color: var(--muted); font-size: 13px; }
.num b { display: block; font-family: "Space Grotesk", Inter, sans-serif; font-size: 28px; color: var(--ink); }
.num .save { color: #0f9a72; font-size: 13px; font-weight: 600; }
.custom-note { background: #fff8e6; border: 1px solid #f3dfa6; color: #6d5310; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-top: 14px; }
.fine { font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.done-box { text-align: center; padding: 20px 0; }
.done-box .big-check { width: 70px; height: 70px; border-radius: 50%; background: #e3f8f1; color: #0f9a72; display: grid; place-items: center; font-size: 34px; margin: 0 auto 16px; }

/* Packages */
.pkg { display: flex; flex-direction: column; }
.pkg.featured { border: 2px solid var(--primary); position: relative; transform: translateY(-8px); }
.pkg.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.pkg .price { font-family: "Space Grotesk", Inter, sans-serif; font-size: 36px; font-weight: 700; color: var(--ink); }
.pkg .note { color: var(--muted); font-size: 14px; }
.pkg .time { display: inline-block; margin: 12px 0; font-size: 13px; font-weight: 700; color: #0f9a72; background: #e3f8f1; padding: 4px 10px; border-radius: 99px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.pkg li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.pkg li::before { content: "✓"; color: var(--primary); font-weight: 800; margin-right: 10px; }

/* Demo */
.demo { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.demo h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 10px 0 14px; line-height: 1.15; }
.demo p { color: var(--muted); font-size: 17px; }
.tiny { font-size: 12px !important; }
.phone { width: 270px; height: 420px; margin: 0 auto; border-radius: 36px; background: linear-gradient(160deg, #a7d3a0, #6fb08f); border: 10px solid var(--dark); padding: 60px 14px; box-shadow: var(--shadow); }
.tg { background: #fff; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.tg b { color: var(--ink); margin-bottom: 4px; }
.tg small { color: var(--muted); margin-top: 6px; }

/* Work */
.work { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; display: flex; flex-direction: column; }
.work-card:hover { transform: translateY(-3px); }
.work-card img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; display: block; background: var(--dark); }
.work-card div { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.work-card small { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.work-card b { color: var(--ink); font-size: 16px; }
.work-card span { color: var(--primary); font-size: 14px; font-weight: 600; margin-top: 4px; }
/* first (showcase) project: 2x2 tile, image fills the extra height */
.work-card:first-child { grid-column: span 2; grid-row: span 2; }
.work-card:first-child img { flex: 1; aspect-ratio: auto; min-height: 0; object-position: center 30%; }
.work-card:first-child b { font-size: 20px; }
@media (max-width: 640px) { .work-card:first-child { grid-column: auto; grid-row: auto; } .work-card:first-child img { aspect-ratio: 5 / 3; } }

/* Add-ons */
.onepage { max-width: 980px; margin: 22px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; background: #fff; }
.onepage b { display: block; color: var(--ink); }
.onepage small { color: var(--muted); font-size: 14px; }
.onepage small a { color: var(--primary); font-weight: 600; }
.onepage .ap { color: var(--primary); font-weight: 800; font-family: "Space Grotesk", Inter, sans-serif; font-size: 30px; }
.addons { max-width: 980px; margin: 40px auto 0; }
.addons h3 { text-align: center; margin: 0 0 16px; font-size: 22px; }
.addon-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.addon { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.addon b { color: var(--ink); }
.addon .ap { color: var(--primary); font-weight: 800; font-family: "Space Grotesk", Inter, sans-serif; font-size: 20px; }
.addon small { color: var(--muted); font-size: 13px; }
.fiverr-note { text-align: center; color: var(--muted); margin: 26px 0 0; }
.fiverr-note a { color: var(--primary); font-weight: 600; }
.num .save.muted { color: var(--muted); font-weight: 500; }
/* Video, calculator, website check */
.video-grid, .calc-grid, .check-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.video-grid h2, .calc-grid h2, .check-grid h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 10px 0 14px; line-height: 1.15; }
.video-grid p, .calc-grid p, .check-grid p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
.video-box video { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 70px rgba(13,16,34,.25); background: var(--dark); display: block; }
.video-box small { display: block; color: var(--muted); font-size: 12px; margin-top: 8px; text-align: right; }
.vplayer { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--dark); box-shadow: 0 30px 70px rgba(13,16,34,.25); }
.video-box .vplayer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; opacity: 0; }
.video-box .vplayer video.on { opacity: 1; }
.vplayer button { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: end start; padding: 16px; }
.vplayer button span { width: 76px; height: 76px; border-radius: 50%; background: rgba(11,13,28,.72); display: grid; place-items: center; transition: opacity .25s, transform .2s; }
.vplayer button span::after { content: ""; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
.vplayer button:hover span { transform: scale(1.08); }
.vplayer button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.vplayer[data-state="playing"] button span { opacity: 0; }
.vplayer[data-state="playing"] button:focus-visible span, .vplayer[data-state="playing"] button:hover span { opacity: .85; }
.vplayer[data-state="playing"] button span::after { width: 20px; height: 24px; border-width: 0 6px; border-color: transparent #fff; margin: 0; box-sizing: border-box; }
.transcript { margin-top: 6px; }
.transcript summary { cursor: pointer; color: var(--primary); font-weight: 600; min-height: 32px; }
.video-grid .transcript p { font-size: 15px; margin-top: 8px; }
.calc label { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); font-size: 15px; margin-top: 14px; }
.calc label:first-child { margin-top: 0; }
.calc output { color: var(--primary); font-weight: 800; }
.calc input[type=range] { width: 100%; accent-color: var(--primary); margin: 8px 0 4px; }
.calc-out { background: var(--dark); color: #fff; border-radius: 14px; padding: 18px 20px; margin: 18px 0; }
.calc-out small { color: rgba(255,255,255,.7); font-size: 13px; }
.calc-out b { display: block; font-family: "Space Grotesk", Inter, sans-serif; font-size: 42px; color: #ffb547; line-height: 1.1; }
.calc-out span { color: rgba(255,255,255,.8); font-size: 14px; }
.calc .btn { width: 100%; }
.calc .fine { margin: 14px 2px 0; line-height: 1.5; }
.check-form .btn { width: 100%; margin-top: 6px; }
.field.err input { border-color: #e5484d; }

/* Niche pages */
.crumbs { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,.8); display: inline-block; padding: 12px 6px; margin: -12px -6px; }
/* tap targets: links inside text and the plain footer links get a bigger touch area */
a[href*="violet-hour-florist"], footer a { display: inline-block; padding: 9px 3px; margin: -9px -3px; }
.niche-demo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.niche-demo img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); display: block; }
.niche-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.niche-links a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--primary); font-weight: 600; font-size: 14px; background: #fff; }

/* Guides (blog) */
.article-hero { padding: 64px 0 56px; }
.article-hero h1 { max-width: 820px; }
.article-hero .sub { max-width: 760px; }
.article-meta { color: rgba(255,255,255,.6); font-size: 14px; margin-top: 18px; }
.article { max-width: 760px; font-size: 17.5px; line-height: 1.7; }
.article h2 { font-size: 26px; margin: 38px 0 10px; color: var(--ink); }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: var(--text); }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article a:not(.btn) { color: var(--primary); }
.article-cta { margin: 44px 0 10px; padding: 26px; }
.article-cta h3 { margin: 0 0 6px; color: var(--ink); }
.article-cta p { margin: 0 0 16px; }
.article-cta .btn { margin: 4px 8px 4px 0; }
.more-h { font-size: 20px !important; }
.niche-links.left { justify-content: flex-start; }
.guides { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.guide { text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: transform .15s, box-shadow .15s; }
.guide:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide h3 { margin: 0; color: var(--ink); font-size: 20px; }
.guide p { margin: 0; color: var(--muted); flex: 1; }
.guide span { color: var(--primary); font-weight: 700; margin-top: 8px; }
@media (max-width: 720px) { .guides { grid-template-columns: 1fr; } .article { font-size: 16.5px; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.cta-band { background: linear-gradient(135deg, var(--primary), #3a23c9); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 10px; }
.cta-band p { margin: 0 0 26px; opacity: .85; font-size: 18px; }

footer { background: var(--dark); color: rgba(255,255,255,.65); padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer b { color: #fff; }
/* three showcased examples; the rest open from one clear button */
@media (min-width: 961px) { #workGrid { grid-template-columns: repeat(3, 1fr); } }
#moreWork { text-align: center; }
#moreWork summary { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--primary); font-weight: 700; cursor: pointer; list-style: none; }
#moreWork summary::-webkit-details-marker { display: none; }
#moreWork summary::after { content: "+"; font-size: 20px; }
#moreWork[open] summary::after { content: "−"; }
#moreWork .work { text-align: left; }
.menu-btn { display: none; width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { width: 20px; height: 2px; border-radius: 2px; background: #fff; }

@media (max-width: 960px) {
  nav.links { display: none; }
  .menu-btn { display: flex; }
  header.top .wrap { position: relative; }
  header.top .btn-sm { margin-left: auto; }
  nav.links.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0; padding: 8px 16px 14px; background: #0b0d1c; border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 40px rgba(0,0,0,.35); }
  nav.links.open a { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero-grid, .problem-grid, .demo, .result { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .pkg.featured { transform: none; }
  .work { grid-template-columns: 1fr 1fr; }
  .video-grid, .calc-grid, .check-grid, .niche-demo { grid-template-columns: 1fr; gap: 28px; }
  .addon-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero { padding: 52px 0 64px; }
  .logo em { display: none; }
  .grid-3, .steps, .opts, .two { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .vs-arrow { transform: rotate(90deg); justify-self: center; }
  .pl-body { padding: 22px 18px; }
  .pl-nav { padding: 16px 18px; }
  .pl-progress div { font-size: 12px; padding: 12px 4px; }
  .grid-3 .pkg.featured { margin-top: 10px; }
  .work { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  header.top .btn-sm { padding: 9px 12px; font-size: 13px; }
}

/* hero v2: living night scene (stars, moon, tilted floating phone with a live notification feed) */
.hero { background: radial-gradient(ellipse 70% 52% at 78% 38%, rgba(98, 72, 255, .38), transparent 62%), radial-gradient(ellipse 60% 40% at 6% 100%, rgba(25, 211, 162, .16), transparent 62%), linear-gradient(180deg, #05061a 0%, #0a0b24 55%, #0d0f2c 100%); }
.hero::before { opacity: 0; }
.hero .wrap { z-index: 1; }
.stars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.stars i { position: absolute; display: block; border-radius: 50%; background: #fff; opacity: var(--o, .7); animation: twinkle var(--d, 4s) ease-in-out var(--l, 0s) infinite; }
.stars i.big { box-shadow: 0 0 7px 1px rgba(200, 210, 255, .75); }
.stars .shoot { position: absolute; width: 130px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); opacity: 0; transform: rotate(var(--a, 25deg)); }
.stars .shoot.go { animation: shoot 1.1s ease-out forwards; }
@keyframes twinkle { 0%, 100% { opacity: var(--o, .7); transform: scale(1); } 50% { opacity: calc(var(--o, .7) * .25); transform: scale(.7); } }
@keyframes shoot { 0% { opacity: 0; transform: translate(0, 0) rotate(var(--a, 25deg)); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(270px, 125px) rotate(var(--a, 25deg)); } }

.moon { background: radial-gradient(circle at 62% 38%, rgba(110, 115, 185, .45) 0 7%, transparent 8%), radial-gradient(circle at 30% 62%, rgba(110, 115, 185, .35) 0 10%, transparent 11%), radial-gradient(circle at 68% 72%, rgba(110, 115, 185, .3) 0 6%, transparent 7%), radial-gradient(circle at 36% 30%, #fff, #dfe3ff 55%, #9aa0e8); animation: moonglow 7s ease-in-out infinite; }
@keyframes moonglow { 0%, 100% { box-shadow: 0 0 80px 20px rgba(150, 140, 255, .28); } 50% { box-shadow: 0 0 115px 36px rgba(150, 140, 255, .44); } }

.nphone-wrap { transform: perspective(1000px) rotateY(var(--ry, -7deg)) rotateX(var(--rx, 3deg)); transition: transform .25s ease-out; will-change: transform; }
/* fixed height on every screen: a new notification must only shake the phone, never push the first block */
.nphone { height: 560px; min-height: 0; overflow: hidden; padding-bottom: 82px; transition: box-shadow .5s; animation: nfloat 7s ease-in-out infinite; }
.nphone.ping { animation: nfloat 7s ease-in-out infinite, nphone-buzz .45s 1; box-shadow: 0 44px 90px rgba(0,0,0,.55), 0 0 0 6px rgba(255,255,255,.04), 0 0 120px rgba(120, 100, 255, .7); }
.nphone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.10), transparent 28%, transparent 70%, rgba(150,140,255,.10)); }
@keyframes nfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.status { position: absolute; top: 12px; left: 26px; right: 26px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; opacity: .85; }
.sig { display: inline-flex; align-items: flex-end; gap: 2px; }
.sig i { width: 3px; background: #fff; border-radius: 1px; }
.sig i:nth-child(1) { height: 4px; } .sig i:nth-child(2) { height: 6px; } .sig i:nth-child(3) { height: 8px; } .sig i:nth-child(4) { height: 10px; }
.sig em { width: 20px; height: 10px; margin-left: 6px; border: 1.5px solid #fff; border-radius: 3px; position: relative; }
.sig em::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #fff; border-radius: 1px; }
.lock-focus { text-align: center; margin-top: 18px; font-size: 12px; opacity: .6; }
.nphone .lock-time { margin-top: 6px; }
.notif { overflow: hidden; }
.notif.enter { animation: notif-grow .6s cubic-bezier(.2, .8, .2, 1) both; }
.notif.leave { animation: notif-out .45s ease-in both; }
@keyframes notif-grow { from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -10px; transform: translateY(-10px); } to { opacity: 1; max-height: 110px; transform: none; } }
@keyframes notif-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.96); } }
.lock-btns { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: space-between; padding: 0 32px; }
.lock-btns i { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); }
@media (prefers-reduced-motion: reduce) { .stars i, .moon, .nphone, .nphone.ping { animation: none; } .nphone-wrap { transition: none; } }
/* fixed height: new notifications must never change the page height (it made everything below jump on phones) */
@media (max-width: 900px) { .nphone { min-height: 0; height: 540px; overflow: hidden; } }

/* hero v3: sleeping town below (lit windows) and clouds drifting past the moon */
.skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 96px; pointer-events: none; z-index: 0; }
.skyline svg { display: block; width: 100%; height: 100%; }
.skyline .win { fill: #ffcf7a; opacity: .0; animation: winlit var(--d, 12s) ease-in-out var(--l, 0s) infinite; }
.skyline .win.on { opacity: .85; }
@keyframes winlit { 0%, 100% { opacity: 0; } 45%, 70% { opacity: .85; } }
.hero-visual .cloud { position: absolute; z-index: 0; width: 230px; height: 46px; border-radius: 50%; background: rgba(60, 62, 140, .55); filter: blur(14px); pointer-events: none; animation: cloud-drift 36s ease-in-out infinite alternate; }
.hero-visual .cloud.c1 { top: 38px; right: -30px; }
.hero-visual .cloud.c2 { top: 92px; right: 40px; width: 170px; opacity: .7; animation-duration: 48s; animation-delay: -12s; }
@keyframes cloud-drift { from { transform: translateX(110px); } to { transform: translateX(-190px); } }
@media (prefers-reduced-motion: reduce) { .skyline .win, .hero-visual .cloud { animation: none; } }

/* home v3: key facts strip, "one night" comparison, showcase grid + more samples, scroll reveal */
.stats { background: var(--dark); color: #fff; padding: 0; border-top: 1px solid rgba(255,255,255,.08); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats-grid > div { padding: 30px 22px; border-left: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 4px; }
.stats-grid > div:first-child { border-left: 0; }
.stats-grid b { font: 700 clamp(30px, 3.6vw, 46px)/1.05 "Space Grotesk", Inter, sans-serif; background: linear-gradient(90deg, #19d3a2, #a78bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-grid span { color: rgba(255,255,255,.7); font-size: 14px; }
.night { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; padding-bottom: 22px; }
.night-col { border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.night-col b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.night-col ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.night-col li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.4; }
.night-col time { font: 700 12px/1.6 "Space Grotesk", Inter, sans-serif; padding: 2px 8px; border-radius: 99px; text-align: center; white-space: nowrap; }
.night-col.bad { background: #fff; } .night-col.bad b { color: #b4373b; } .night-col.bad time { background: #fff1f1; color: #b4373b; }
.night-col.good { background: var(--dark); color: #fff; } .night-col.good b { color: var(--accent); } .night-col.good time { background: rgba(25,211,162,.16); color: var(--accent); }
.night-note { position: absolute; left: 0; bottom: 0; color: var(--muted); font-size: 12px; }
.more-work { margin-top: 22px; }
.more-work summary { cursor: pointer; list-style: none; text-align: center; font-weight: 700; color: var(--primary); padding: 12px; }
.more-work summary::-webkit-details-marker { display: none; }
.more-work[open] summary { margin-bottom: 14px; }
.work.work-flat { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .work.work-flat { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .work.work-flat { grid-template-columns: 1fr; } }
.work.work-flat .work-card:first-child { grid-column: auto; grid-row: auto; }
.work.work-flat .work-card:first-child img { flex: none; aspect-ratio: 5 / 3; }
.work.work-flat .work-card:first-child b { font-size: 16px; }
.rv-on .rv { opacity: 0; transform: translateY(18px); }
.rv-on .rv.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: var(--rd, 0s); }
@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stats-grid > div:nth-child(3) { border-left: 0; } .night { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .rv-on .rv { opacity: 1; transform: none; } }

/* one even grid of demo cards: no big first card */
#workGrid .work-card:first-child { grid-column: auto; grid-row: auto; }
#workGrid .work-card:first-child img { flex: none; aspect-ratio: 5 / 3; object-position: center; }
#workGrid .work-card:first-child b { font-size: 16px; }
#workGrid { grid-auto-rows: 1fr; }

/* accessibility (WCAG 2.1 AA), 25.11.2026 */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: #fff; color: #111; padding: 12px 18px; border-radius: 10px; font-weight: 700; box-shadow: 0 6px 24px rgba(0,0,0,.35); transition: top .15s; }
.skip-link:focus { top: 12px; outline: 3px solid var(--primary); outline-offset: 2px; }
.field-msg { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #b3262b; }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 0 0 3px rgba(91,75,255,.3); }
.field [aria-invalid="true"] { border-color: #b3262b; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.pkg .time { color: #0a6b4d; }
footer a { display: inline-block; padding: 7px 0; min-height: 36px; }

/* hero v4: realistic phone (metal rim, side keys, wallpaper, typed notification icons) */
.nphone-wrap { position: relative; }
.nphone-wrap::before, .nphone-wrap::after { content: ""; position: absolute; width: 5px; border-radius: 3px; background: linear-gradient(180deg, #8d90b8, #3a3c5e 40%, #6d70a0); }
.nphone-wrap::before { left: -4px; top: 118px; height: 54px; box-shadow: 0 68px 0 #4b4d74; }
.nphone-wrap::after { right: -4px; top: 168px; height: 86px; }
.nphone { width: 300px; height: 590px; border-radius: 52px; padding: 36px 18px 82px; border: 0; isolation: isolate;
  background:
    radial-gradient(120% 55% at 100% 0%, rgba(138, 92, 255, .62), transparent 62%),
    radial-gradient(110% 48% at 0% 62%, rgba(25, 211, 162, .26), transparent 64%),
    radial-gradient(130% 50% at 70% 108%, rgba(91, 61, 245, .55), transparent 60%),
    #0b0c1f;
  box-shadow: inset 0 0 0 2px rgba(190, 195, 255, .55), inset 0 0 0 7px #05060f, inset 0 0 0 8px rgba(255, 255, 255, .09),
    0 50px 90px rgba(0, 0, 0, .6), 0 0 80px rgba(91, 61, 245, .38); }
.nphone::before { top: 17px; width: 96px; height: 28px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.nphone.ping { box-shadow: inset 0 0 0 2px #b9f5e2, inset 0 0 0 7px #05060f, inset 0 0 0 8px rgba(255, 255, 255, .09),
    0 50px 90px rgba(0, 0, 0, .6), 0 0 130px rgba(120, 100, 255, .75); }
.status { top: 22px; left: 32px; right: 30px; }
.lock-focus { margin-top: 28px; }
.nphone .lock-time { font-size: 76px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.lock-date { margin: 4px 0 20px; }
.notif { border-radius: 22px; padding: 11px 12px; background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .1); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.notifs .notif:first-child { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .24); }
.notif .app { width: 36px; height: 36px; border-radius: 11px; font-size: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9M10.3 21a2 2 0 0 0 3.4 0'/%3E%3C/svg%3E") center / 20px no-repeat, linear-gradient(145deg, #ffb347, #f0742b); }
.notif.t-book .app { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4M9 15l2 2 4-4'/%3E%3C/svg%3E") center / 20px no-repeat, linear-gradient(145deg, #27e0ac, #0e9f78); }
.notif.t-chat .app { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-12.4 7.4L3 21l2.1-5.2A8.4 8.4 0 1 1 21 11.5z'/%3E%3Cpath d='M8.5 11.5h.01M12 11.5h.01M15.5 11.5h.01'/%3E%3C/svg%3E") center / 20px no-repeat, linear-gradient(145deg, #8f74ff, #5330e8); }
.lock-btns { bottom: 30px; padding: 0 34px; }
.lock-btns i { width: 46px; height: 46px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3h8v4l-2 3v11h-4V10L8 7zM8 7h8M12 13v2'/%3E%3C/svg%3E") center / 20px no-repeat, rgba(255, 255, 255, .14); }
.lock-btns i + i { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / 20px no-repeat, rgba(255, 255, 255, .14); }
.lock-btns::after { content: ""; position: absolute; left: 50%; bottom: -16px; width: 108px; height: 5px; margin-left: -54px; border-radius: 3px; background: rgba(255, 255, 255, .75); }
@media (max-width: 900px) { .nphone { height: 580px; } }
@media (max-width: 360px) { .nphone { width: 280px; } }

/* hero v5: detailed moon (our own drawing, moon.webp) and richer stars */
.moon { width: 140px; height: 140px; top: -52px; right: -13%; opacity: 1; background: url("moon.webp?v=2") center / 100% 100% no-repeat; }
.stars i.warm { background: #ffe2b8; }
.stars i.blue { background: #bcd4ff; }
.stars i.spark { width: 3px !important; height: 3px !important; box-shadow: 0 0 8px 2px rgba(205, 215, 255, .85); }
.stars i.spark::before, .stars i.spark::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%);
  width: 19px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); }
.stars i.spark::after { width: 1px; height: 19px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.9), transparent); }
@media (max-width: 900px) { .moon { width: 100px; height: 100px; right: 4%; top: -40px; } }

/* hero v6: richer night sky (sky.webp, our own drawing), three-depth city, warmer moon halo */
.hero { background:
  radial-gradient(ellipse 90% 34% at 62% 100%, rgba(150, 96, 255, .42), transparent 70%),
  radial-gradient(ellipse 55% 46% at 80% 30%, rgba(104, 76, 255, .34), transparent 64%),
  radial-gradient(ellipse 50% 40% at 4% 100%, rgba(25, 211, 162, .18), transparent 64%),
  linear-gradient(180deg, #030415 0%, #080a24 42%, #11113a 76%, #1d1752 100%); }
.hero::before { opacity: 1; background: url("sky.webp?v=2") center top / cover no-repeat; }
/* the glow breathes by fading a soft layer (opacity only), not by animating box-shadow: smoother on phones */
.moon { box-shadow: 0 0 34px 6px rgba(255, 238, 214, .3), 0 0 120px 40px rgba(170, 150, 255, .24); animation: none; }
.moon::after { content: ""; position: absolute; inset: -45%; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 238, 214, .34) 0, rgba(170, 150, 255, .26) 38%, rgba(170, 150, 255, 0) 68%); animation: moonbreath 8s ease-in-out infinite; will-change: opacity; }
@keyframes moonbreath { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.hero-visual .cloud { opacity: .45; }
.hero-visual .cloud.c1 { top: 118px; }
.hero-visual .cloud.c2 { top: 176px; opacity: .3; }
.skyline { height: 176px; }
.skyline .beacon { animation: beacon 2.4s ease-in-out infinite; }
@keyframes beacon { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@media (max-width: 900px) { .skyline { height: 118px; } }
@media (prefers-reduced-motion: reduce) { .moon, .skyline .beacon { animation: none; } }

/* phones: the whole moon sits above the phone */
@media (max-width: 900px) { .hero-visual { padding-top: 96px; } .moon { top: 0; right: 3%; width: 108px; height: 108px; } .hero-visual .cloud.c1 { top: 70px; } }

/* phones: headline, then the phone picture, description last */
@media (max-width: 900px) {
  .hero { padding-top: 26px; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .hero-grid > div:first-child { display: contents; }
  .hero-grid h1 { order: 1; margin: 0; }
  .hero-grid .hero-visual { order: 2; padding-top: 62px; }
  .hero-grid .eyebrow { order: 3; margin-top: 26px; }
  .hero-grid .sub { order: 4; margin: 12px 0 24px; }
  .hero-grid .ctas { order: 5; }
  .hero-grid .promises { order: 6; }
  .nphone-wrap { zoom: .82; }
  .moon { top: -2px; right: 2%; width: 94px; height: 94px; }
  .hero-visual .cloud.c1 { top: 40px; }
}
/* phones load a smaller night sky: faster first screen */
@media (max-width: 720px) { .hero::before { background-image: url("sky-m.webp?v=2"); } }
/* touch targets for the footer links: tall enough and spaced */
footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 4px; margin: 0 -4px; }
/* niche pages: the first screen shows the result the customer wants */
.niche-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: 40px; align-content: start; }
.niche-hero > * { grid-column: 1; }
.niche-hero > .result-pic { grid-column: 2; grid-row: 1 / span 8; align-self: center; margin: 0; }
.result-pic img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.result-pic figcaption { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .86); }
.result-pic figcaption span { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
.niche-hero h1 { font-size: clamp(32px, 3.9vw, 52px); }
.examples .work { text-align: left; }
@media (max-width: 900px) {
  /* phones: headline, then the picture, then the description */
  .niche-hero { display: flex; flex-direction: column; align-items: flex-start; }
  .niche-hero > .result-pic { order: 0; width: 100%; margin: 4px 0 20px; }
}
.ticks-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
@media (max-width: 700px) { .ticks-cols { grid-template-columns: 1fr; } }
@media (min-width: 961px) { .guides.guides-3 { grid-template-columns: repeat(3, 1fr); } }
