:root {
  color-scheme: dark;
  --bg: #101318;
  --bg-soft: #15191f;
  --panel: #1b2027;
  --panel-2: #20262e;
  --line: rgba(255,255,255,.09);
  --text: #f2f4f6;
  --muted: #a3adb8;
  --subtle: #747e89;
  --mint: #9af0cc;
  --mint-dark: #142e28;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --display: 'Manrope', 'DM Sans', Arial, sans-serif;
  --star-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4 4 92 112'%3E%3Cpath fill='%239CF2CF' d='M50 4C54 34 66 46 96 60 66 74 54 86 50 116 46 86 34 74 4 60 34 46 46 34 50 4Z'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.page-loader { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; background: var(--bg); opacity: 1; visibility: visible; }
.page-loader.is-exiting { animation: loader-veil-fade 1.6s ease-in both; }
.page-loader img { display: block; width: clamp(120px,33vmin,480px); height: auto; aspect-ratio: 1; }
.page-loader.is-exiting img { animation: loader-logo-expand 1.6s cubic-bezier(.12,.78,.18,1) both; }
.site-content.is-revealing { position: fixed; z-index: 10001; inset: 0; overflow: hidden; transform-origin: 50vw 50vh; border-radius: 12px; background: var(--bg); box-shadow: 0 18px 70px rgba(0,0,0,.45); pointer-events: none; animation: page-emerge-from-star 1.6s cubic-bezier(.12,.78,.18,1) both; }
.preview-page-body .site-content { min-height: 100vh; display: flex; flex-direction: column; }
@keyframes loader-veil-fade { from { background-color: var(--bg); } to { background-color: transparent; } }
@keyframes loader-logo-expand {
  0% { transform: scale(1); opacity: 1; }
  75% { transform: scale(42); opacity: 1; }
  100% { transform: scale(48); opacity: 0; }
}
@keyframes page-emerge-from-star {
  0% { transform: scale(.04); opacity: 1; border-radius: 12px; }
  100% { transform: scale(1); opacity: 1; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader.is-exiting, .page-loader.is-exiting img { animation-duration: .2s; }
  .page-loader.is-exiting img { animation-name: loader-fade; }
  .site-content.is-revealing { animation: page-reveal-fade .2s ease both; }
}
@keyframes loader-fade { from { opacity: 1; } to { opacity: 0; } }
@keyframes page-reveal-fade { from { opacity: 0; } to { opacity: 1; } }
.site-header { height: 76px; padding: 0 6.4%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.045); position: relative; z-index: 3; background: rgba(16,19,24,.92); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 19px var(--display); letter-spacing: -.8px; }
.brand-light { color: #b7c1c9; font-weight: 500; }
.brand-mark { display: block; width: 24px; height: 29px; flex: 0 0 auto; object-fit: contain; }
.brand-mark-animated { overflow: visible; }
.main-nav { display: flex; gap: 38px; margin-left: 50px; }
.nav-link { color: #99a3ad; font-size: 13px; white-space: nowrap; transition: color .2s ease; }
.nav-link:hover, .nav-link.active { color: #f3f5f6; }
.header-cta { white-space: nowrap; border: 1px solid rgba(154,240,204,.45); border-radius: 6px; padding: 10px 15px; color: var(--mint); font-size: 12px; font-weight: 600; transition: background .2s ease,border-color .2s ease; }
.header-cta span { margin-left: 9px; font-size: 15px; }
.header-cta:hover { background: rgba(154,240,204,.09); border-color: var(--mint); }
.hero { width: calc(100% - var(--hero-inset, 0px) - var(--hero-inset, 0px)); height: 580px; min-height: 580px; margin-inline: auto; overflow: hidden; position: relative; padding: 89px 9.1% 74px; background: radial-gradient(ellipse at 80% 42%, rgba(42,72,67,.23), transparent 42%), linear-gradient(116deg,#12161c 0%,#151a20 55%,#111519 100%); border-radius: var(--hero-radius, 0px); }
.hero:before { content: ''; position: absolute; inset: 0; opacity: .17; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg,transparent 10%,black 85%); }
.hero-content { position: relative; z-index: 2; max-width: 495px; }
.hero-content > * { animation: hero-rise .7s both; }
.hero-content > :nth-child(1) { animation-delay: .08s; }
.hero-content > :nth-child(2) { animation-delay: .18s; }
.hero-content > :nth-child(3) { animation-delay: .28s; }
.hero-content > :nth-child(4) { animation-delay: .38s; }
.hero-content > :nth-child(5) { animation-delay: .48s; }
.eyebrow { margin: 0 0 22px; color: #b8c5c5; font-size: 10px; font-weight: 700; letter-spacing: 1.65px; text-transform: uppercase; }
.eyebrow-dot, .live-dot { display: inline-block; width: 9px; height: 11px; margin-right: 9px; background: var(--star-icon) center / contain no-repeat; filter: drop-shadow(0 0 5px rgba(154,240,204,.6)); vertical-align: -1px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 22px; font: 800 clamp(48px,6.1vw,76px)/1.04 var(--display); letter-spacing: -5px; }
.hero h1 span { color: var(--mint); }
.hero-copy { max-width: min(440px, calc(37.7vw - 32px)); margin-bottom: 27px; color: #a9b2bc; font-size: 15px; line-height: 1.8; }
.hero-button { display: inline-flex; align-items: center; gap: 24px; padding: 13px 17px; border-radius: 5px; background: var(--mint); color: #13211c; font-size: 12px; font-weight: 700; transition: transform .2s ease,background .2s ease; }
.hero-button:hover { transform: translateY(-2px); background: #b6f5db; }
.hero-button span { font-size: 17px; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 33px; color: #8d98a3; font-size: 11px; }
.proof-avatars { display: flex; padding-left: 3px; }
.proof-avatars i { display: grid; place-items: center; width: 23px; height: 23px; margin-left: -4px; border: 2px solid #171c21; border-radius: 50%; background: #314844; color: #d4f8e8; font: 700 9px var(--sans); font-style: normal; }
.proof-avatars i:nth-child(2) { background: #555044; color: #ffe4a6; }
.proof-avatars i:nth-child(3) { background: #443951; color: #dfcdf6; }
.hero-art { position: absolute; z-index: 1; width: min(48%,620px); height: 390px; right: 5.2%; top: 93px; animation: art-arrive .9s .18s both, art-float 8s 1.1s ease-in-out infinite; }
.art-card { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 11px; box-shadow: 0 24px 90px rgba(0,0,0,.42); }
.art-card-back { width: 61%; height: 286px; top: 33px; right: 0; transform: rotate(4deg); opacity: .75; }
.art-card-front { width: 70%; height: 322px; top: 11px; left: 1%; transform: rotate(-3.5deg); z-index: 2; }
.art-window-bar { height: 28px; padding: 0 9px; background: #e8e8e5; display: flex; align-items: center; gap: 4px; color: #585a58; font: 8px var(--sans); }
.art-window-bar i, .browser-lights i { width: 5px; height: 5px; border-radius: 50%; display: block; background: #f27d72; }
.art-window-bar i:nth-child(2), .browser-lights i:nth-child(2) { background: #e9b955; }
.art-window-bar i:nth-child(3), .browser-lights i:nth-child(3) { background: #79bd91; }
.art-window-bar span { margin: 0 auto; padding: 3px 21px; border-radius: 4px; background: #f4f4f1; }
.art-atelier { height: calc(100% - 28px); position: relative; overflow: hidden; color: #13231f; background: #e9e5dc; }
.art-atelier-nav { height: 35px; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(27,49,44,.17); font-size: 7px; }
.art-atelier-nav b { font: 700 8px var(--display); letter-spacing: 1.2px; }
.art-atelier-copy { position: absolute; top: 69px; left: 18px; z-index: 1; display: flex; flex-direction: column; align-items: start; }
.art-atelier-copy small, .art-northline-copy small { font-size: 6px; letter-spacing: 1.1px; }
.art-atelier-copy b { margin-top: 14px; font: 700 39px/.97 var(--serif); letter-spacing: -2px; }
.art-atelier-copy em { color: #4b8a6b; font-weight: 400; }
.art-atelier-copy span { margin-top: 13px; font-size: 7px; color: #66716c; }
.art-atelier-shape { position: absolute; width: 47%; height: 66%; right: 6%; bottom: 0; border-radius: 100px 100px 0 0; background: radial-gradient(ellipse at 38% 28%,#c5a188 0 8%,transparent 8.5%),linear-gradient(137deg,#63765a,#a98a68 47%,#424c42); clip-path: polygon(10% 100%,17% 22%,41% 5%,71% 24%,100% 100%); }
.art-northline { height: calc(100% - 28px); position: relative; overflow: hidden; color: #f4efe4; background: linear-gradient(145deg,#638778,#2c5148 52%,#142b28); }
.art-nav { position: absolute; top: 15px; left: 11px; right: 11px; height: 13px; border-bottom: 1px solid rgba(255,255,255,.5); }
.art-northline-copy { position: absolute; z-index: 1; left: 17px; top: 77px; display: flex; flex-direction: column; }
.art-northline-copy b { margin-top: 12px; font: 700 29px/.98 var(--serif); letter-spacing: -1px; }
.art-northline-copy span { margin-top: 12px; width: 43px; height: 14px; border: 1px solid rgba(255,255,255,.68); border-radius: 2px; }
.art-mountain { position: absolute; right: -5%; bottom: -5px; width: 80%; height: 62%; background: linear-gradient(135deg,#9bb08e,#455c50); clip-path: polygon(0 100%,43% 16%,61% 50%,75% 25%,100% 100%); }
.floating-chip { position: absolute; z-index: 4; right: 0; bottom: 2px; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; background: rgba(27,32,38,.96); box-shadow: 0 15px 50px rgba(0,0,0,.3); animation: chip-arrive .55s .8s both, chip-float 4.5s 1.4s ease-in-out infinite; }
.chip-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 6px; background: rgba(154,240,204,.13); color: var(--mint); font-size: 15px; }
.floating-chip b, .floating-chip small { display: block; }
.floating-chip b { font-size: 10px; }
.floating-chip small { margin-top: 3px; color: #8c98a1; font-size: 9px; }
.hero-bottom { position: absolute; left: 9.1%; right: 9.1%; bottom: 26px; z-index: 2; display: flex; align-items: center; gap: 13px; color: #74808a; font-size: 8px; font-weight: 700; letter-spacing: 1.3px; }
.hero-line { height: 1px; flex: 1; background: rgba(255,255,255,.1); }
.section-wrap { max-width: 1260px; margin: auto; padding-left: 42px; padding-right: 42px; }
.catalog { padding-top: 91px; padding-bottom: 102px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 41px; }
.muted-eyebrow { margin-bottom: 15px; color: #8c999e; font-size: 9px; letter-spacing: 1.75px; }
.section-heading h2, .how-heading h2 { margin-bottom: 0; font: 700 clamp(34px,4vw,48px)/1.12 var(--display); letter-spacing: -2.2px; }
.section-heading h2 span, .how-heading h2 span { color: #89939d; }
.section-intro { max-width: 344px; margin-bottom: 5px; color: #929ca6; font-size: 13px; line-height: 1.8; }
.catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 0 15px; border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-pill { padding: 8px 12px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #929ca6; font-size: 10px; cursor: pointer; transition: background .2s ease,color .2s ease,border-color .2s ease; }
.filter-pill:hover { color: #e8edee; background: rgba(255,255,255,.045); }
.filter-pill.is-active { border-color: rgba(154,240,204,.31); background: rgba(154,240,204,.09); color: var(--mint); }
.search-box { display: flex; align-items: center; gap: 8px; width: 218px; min-width: 180px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; background: #15191f; color: #7e8994; }
.search-icon { font: 22px/1 var(--sans); transform: rotate(-20deg); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #e9edf0; font-size: 11px; }
.search-box input::placeholder { color: #737d87; }
.search-box kbd { padding: 2px 4px; border: 1px solid #373e46; border-radius: 3px; color: #79838d; font: 9px var(--sans); white-space: nowrap; }
.results-line { display: flex; justify-content: space-between; padding: 9px 0 14px; color: #8c969f; font-size: 10px; }
.results-right { color: #78838d; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
.results-right .live-dot { width: 8px; height: 10px; margin-right: 6px; }
.template-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.template-card { overflow: hidden; border: 1px solid rgba(255,255,255,.075); border-radius: 8px; background: #171b21; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.template-card:hover { transform: translateY(-4px); border-color: rgba(154,240,204,.25); box-shadow: 0 18px 44px rgba(0,0,0,.18); }
.card-preview { height: auto; min-height: 285px; aspect-ratio: var(--gallery-preview-aspect, 1.6); padding: 17px 17px 0; position: relative; overflow: hidden; background: radial-gradient(ellipse at 52% 100%,rgba(128,153,147,.16),transparent 65%),#20262c; }
.card-preview:after { content: ''; position: absolute; inset: auto 0 0; height: 55px; pointer-events: none; background: linear-gradient(transparent,#171b21); }
.browser-shell { width: 100%; height: 100%; border: 1px solid rgba(255,255,255,.13); border-bottom: 0; border-radius: 7px 7px 0 0; overflow: hidden; background: #f2f1ed; box-shadow: 0 10px 27px rgba(0,0,0,.25); transform: translateY(0) scale(1); transform-origin: center bottom; transition: transform .45s cubic-bezier(.2,.75,.25,1),box-shadow .45s ease; }
.template-card:hover .browser-shell, .template-card:focus-within .browser-shell { transform: translateY(-5px) scale(1.018); box-shadow: 0 18px 38px rgba(0,0,0,.34); }
.browser-lights { display: flex; gap: 4px; }
.browser-lights i { width: 5px; height: 5px; }
.browser-viewport { height: 100%; position: relative; overflow: hidden; background: #f4f2ed; }
.browser-viewport iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.frame-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px; background: radial-gradient(ellipse at 50% 40%,rgba(79,121,107,.16),transparent 60%),#e9e8e2; color: #293b35; text-align: center; }
.frame-empty.is-hidden { display: none; }
.frame-empty strong { font: 700 12px var(--display); }
.frame-empty > span:last-child { color: #777f79; font-size: 9px; }
.empty-spark { display: grid; place-items: center; width: 29px; height: 29px; margin-bottom: 4px; border-radius: 50%; background: #d5e5db; color: #41745d; font-size: 15px; }
.preview-index { position: absolute; z-index: 1; left: 17px; bottom: 12px; color: #d5ddd9; font: 700 9px var(--display); letter-spacing: .7px; }
.preview-index span { color: #7e8989; font-weight: 500; }
.card-info { padding: 17px 18px 14px; }
.card-heading { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.card-type { margin-bottom: 3px; color: #829089; font-size: 9px; letter-spacing: .35px; }
.card-heading h3 { margin-bottom: 0; font: 700 18px var(--display); letter-spacing: -.55px; }
.category-tag { margin-top: 3px; padding: 4px 7px; border: 1px solid rgba(154,240,204,.16); border-radius: 3px; color: #a4d7bf; font-size: 8px; white-space: nowrap; }
.card-description { min-height: 38px; margin: 9px 0 12px; color: #89939e; font-size: 10px; line-height: 1.65; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.065); }
.text-link { padding: 0; border: 0; background: transparent; color: #c5f0dc; font-size: 10px; font-weight: 600; cursor: pointer; }
.text-link span { margin-left: 6px; font-size: 14px; vertical-align: -1px; transition: margin .15s ease; }
.text-link:hover span { margin-left: 10px; }
.icon-link { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: #b3bdc3; font-size: 15px; cursor: pointer; transition: color .2s ease,border-color .2s ease; }
.icon-link:hover { border-color: rgba(154,240,204,.4); color: var(--mint); }
.empty-results { padding: 60px 10px; text-align: center; color: #8d98a1; }
.empty-results > span { font-size: 27px; }
.empty-results h3 { margin: 10px 0 4px; color: #e0e5e8; font: 700 18px var(--display); }
.empty-results p { font-size: 12px; }
.how-section { padding: 72px 9.1% 80px; border-top: 1px solid rgba(255,255,255,.055); background: #15191f; }
.how-inner { max-width: 1100px; margin: auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 95px; }
.how-heading h2 { font-size: 39px; }
.steps { border-top: 1px solid rgba(255,255,255,.11); }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 17px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.step-number { padding-top: 2px; color: var(--mint); font: 700 10px var(--display); }
.step h3 { margin-bottom: 5px; font: 700 13px var(--display); }
.step p { max-width: 410px; margin-bottom: 0; color: #909aa4; font-size: 11px; line-height: 1.7; }
.site-footer { padding: 58px 6.4% 0; border-top: 1px solid rgba(255,255,255,.06); color: #7e8993; font-size: 11px; }
.footer-main { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); gap: 40px; padding-bottom: 48px; }
.footer-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-location { display: flex; flex-direction: column; gap: 3px; margin: 2px 0 0; color: #7e8993; font-size: 12px; line-height: 1.5; }
.footer-location-title { color: #dfe6e8; font-weight: 600; }
.footer-tagline { max-width: 280px; margin: 0; color: #909aa4; font-size: 12px; line-height: 1.7; }
.footer-heading { margin: 4px 0 16px; color: #b8c5c5; font: 700 10px var(--sans); letter-spacing: 1.65px; text-transform: uppercase; }
.footer-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-list a { color: #99a3ad; font-size: 12px; transition: color .2s ease; }
.footer-list a:hover { color: #f3f5f6; }
.footer-bottom { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.06); font-size: 10px; }
.footer-brand { font-size: 15px; color: #e7ecee; }
.subpage-hero { width: calc(100% - var(--hero-inset, 0px) - var(--hero-inset, 0px)); margin-inline: auto; min-height: 390px; padding: 82px 9.1% 76px; position: relative; overflow: hidden; border-radius: var(--hero-radius, 8px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 82% 35%,rgba(42,72,67,.22),transparent 42%),linear-gradient(116deg,#12161c,#151a20 55%,#111519); }
.featured-section { padding-top: 80px; padding-bottom: 92px; }
.featured-template { max-width: 1120px; margin: 0 auto; }
.featured-template .card-description { min-height: 0; margin: 12px 0 16px; color: #b0bac2; font-size: 14px; line-height: 1.7; }
.featured-template .card-preview { height: 620px; min-height: 0; aspect-ratio: auto; padding: 14px; display: grid; place-items: center; }
.featured-template .card-preview:after { display: none; }
.featured-device-area { display: grid; place-items: center; width: 100%; height: 100%; min-width: 0; overflow: hidden; }
.featured-device-stage { display: grid; place-items: center; max-width: 100%; max-height: 100%; transform: scale(var(--featured-scroll-scale,1)); transform-origin: center; will-change: transform; }
.featured-device-frame { box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(34,42,40,.2); border-radius: 7px; background: #e9e8e2; box-shadow: 0 12px 38px rgba(0,0,0,.24); }
.featured-device-frame.is-scroll-active, .browser-shell.is-scroll-active { border-color: rgba(154,240,204,.72); box-shadow: 0 12px 38px rgba(0,0,0,.24),0 0 0 2px rgba(154,240,204,.14); }
.featured-device-frame .dialog-browser-bar { flex: 0 0 44px; height: 44px; padding: 0 8px; gap: 6px; }
.featured-device-frame .dialog-browser-bar .browser-lights i { width: 8px; height: 8px; }
.featured-device-screen { flex: 1 1 auto; min-height: 0; position: relative; overflow: hidden; background: #e9e8e2; }
.featured-device-screen iframe { position: absolute; top: 0; left: 0; display: block; max-width: none; max-height: none; border: 0; background: transparent; transform-origin: top left; }
.featured-device-frame .dialog-address { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.featured-device-control { position: relative; box-sizing: border-box; width: calc(100% - 36px); margin: 12px 18px 0; padding: 10px 26px 8px; border: 1px solid rgba(154,240,204,.2); border-radius: 8px; background: #20262d; }
.featured-device-control .device-slider { display: block; width: 100%; height: 24px; margin: 0; cursor: ew-resize; }
.featured-device-control .device-markers { position: relative; height: 34px; margin-top: 3px; }
.featured-device-control .device-marker { position: absolute; top: 0; display: grid; place-items: center; width: 34px; height: 32px; padding: 2px; transform: translateX(-50%); border: 1px solid transparent; border-radius: 5px; background: transparent; color: #83908f; cursor: pointer; }
.featured-device-control .device-marker:nth-child(1) { left: 9px; }
.featured-device-control .device-marker:nth-child(2) { left: calc(9px + (100% - 18px) / 3); }
.featured-device-control .device-marker:nth-child(3) { left: calc(9px + (100% - 18px) * 2 / 3); }
.featured-device-control .device-marker:nth-child(4) { left: calc(100% - 9px); }
.featured-device-control .device-marker svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.featured-device-control .device-marker.is-active, .featured-device-control .device-marker:hover, .featured-device-control .device-marker:focus-visible { border-color: rgba(154,240,204,.35); color: var(--mint); outline: none; }
.subpage-hero:before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg,transparent 10%,black 85%); }
.subpage-hero-inner { position: relative; max-width: 1080px; margin: auto; }
.subpage-hero h1 { max-width: 760px; margin: 0 0 20px; font: 800 clamp(44px,6vw,70px)/1.05 var(--display); letter-spacing: -4px; }
.subpage-hero h1 span { color: var(--mint); }
.subpage-hero-copy { max-width: 620px; margin-bottom: 0; color: #a9b2bc; font-size: 15px; line-height: 1.8; }
.subpage-content { max-width: 1080px; margin: auto; padding: 75px 30px 95px; }
.subpage-section-heading { max-width: 620px; margin-bottom: 34px; }
.subpage-section-heading h2 { margin-bottom: 13px; font: 700 clamp(29px,4vw,40px)/1.15 var(--display); letter-spacing: -1.7px; }
.subpage-section-heading p:last-child { margin: 0; color: #98a2ac; font-size: 13px; line-height: 1.8; }
.process-list { border-top: 1px solid var(--line); }
.process-item { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.process-number { color: var(--mint); font: 700 12px var(--display); }
.process-item h3 { margin: 0 0 8px; font: 700 19px var(--display); }
.process-item p { max-width: 690px; margin: 0; color: #98a2ac; font-size: 13px; line-height: 1.8; }
.page-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.page-card { min-height: 210px; padding: 23px; border: 1px solid var(--line); border-radius: 8px; background: #171b21; }
.page-card-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 22px; border: 1px solid rgba(154,240,204,.22); border-radius: 6px; color: var(--mint); font-size: 15px; }
.page-card h3 { margin: 0 0 9px; font: 700 15px var(--display); }
.page-card p { margin: 0; color: #929ca6; font-size: 12px; line-height: 1.75; }
.page-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 50px; padding: 26px 28px; border: 1px solid rgba(154,240,204,.18); border-radius: 8px; background: linear-gradient(110deg,rgba(154,240,204,.07),rgba(154,240,204,.015)); }
.page-cta h2 { margin: 0 0 5px; font: 700 20px var(--display); }
.page-cta p { margin: 0; color: #9ba6ae; font-size: 12px; }
.page-cta .hero-button { flex: 0 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: 8px; background: #171b21; }
.pricing-card.is-featured { border-color: rgba(154,240,204,.35); background: linear-gradient(180deg,rgba(154,240,204,.06),rgba(154,240,204,0) 60%),#171b21; }
.pricing-card h3 { margin: 0 0 8px; font: 700 18px var(--display); letter-spacing: -.4px; }
.pricing-blurb { min-height: 42px; margin: 0 0 22px; color: #929ca6; font-size: 12px; line-height: 1.75; }
.pricing-price { display: flex; flex-direction: column; gap: 2px; margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pricing-amount { font: 800 38px/1.1 var(--display); letter-spacing: -1.5px; }
.pricing-card.is-featured .pricing-amount { color: var(--mint); }
.pricing-note { color: #7e8993; font-size: 11px; }
.pricing-features { display: grid; gap: 11px; margin: 0 0 26px; padding: 0; list-style: none; color: #b9c3cb; font-size: 12px; line-height: 1.6; }
.pricing-features li { display: grid; grid-template-columns: 9px 1fr; gap: 10px; align-items: start; }
.pricing-features li:before { content: ''; width: 9px; height: 11px; margin-top: 3px; background: var(--star-icon) center / contain no-repeat; }
.pricing-card .hero-button, .pricing-button { margin-top: auto; justify-content: space-between; }
.pricing-button { display: inline-flex; align-items: center; gap: 24px; padding: 12px 16px; border: 1px solid rgba(154,240,204,.45); border-radius: 5px; color: var(--mint); font-size: 12px; font-weight: 700; transition: background .2s ease,border-color .2s ease; }
.pricing-button span { font-size: 17px; }
.pricing-button:hover { background: rgba(154,240,204,.09); border-color: var(--mint); }
.not-found-hero { min-height: calc(100vh - 76px); display: flex; align-items: center; }
.not-found-hero .subpage-hero-inner { width: 100%; }
.not-found-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 34px; }
.page-reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease,transform .65s cubic-bezier(.2,.7,.25,1); transition-delay: var(--reveal-delay,0ms); }
.page-reveal.is-visible { opacity: 1; transform: translateY(0); }
.footer-brand .brand-mark { transform: scale(.85); }
.back-top { color: #b9c4c9; }
.back-top:hover { color: var(--mint); }
.preview-dialog { width: min(1320px,96vw); height: min(940px,96vh); max-width: none; max-height: none; padding: 0; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; overflow: hidden; background: #151a20; color: var(--text); box-shadow: 0 24px 100px rgba(0,0,0,.72); }
.preview-dialog::backdrop { background: rgba(3,6,9,.78); backdrop-filter: blur(7px); animation: preview-backdrop-in .24s ease both; }
@keyframes preview-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.dialog-topbar { height: 66px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.dialog-title-group { display: flex; align-items: center; gap: 10px; }
.dialog-status { display: inline-block; width: 9px; height: 11px; background: var(--star-icon) center / contain no-repeat; filter: drop-shadow(0 0 5px rgba(154,240,204,.6)); }
.dialog-kicker { margin: 0 0 2px; color: #87928e; font-size: 8px; font-weight: 700; letter-spacing: 1.2px; }
.dialog-title-group h2 { margin: 0; font: 700 16px var(--display); }
.dialog-actions { display: flex; align-items: center; gap: 14px; }
.dialog-expand { color: #b9c7c3; font-size: 10px; }
.dialog-expand:hover { color: var(--mint); }
.dialog-expand span { margin-left: 5px; color: var(--mint); }
.icon-button { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 5px; background: #1c2229; color: #c1c9ce; font-size: 21px; cursor: pointer; }
.icon-button:hover { border-color: rgba(255,255,255,.25); color: #fff; }
.dialog-browser-bar { height: 32px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid #dfe2df; background: #f5f6f4; }
.dialog-browser-bar .browser-lights i { width: 6px; height: 6px; }
.dialog-browser-bar.os-linux .browser-lights { order: 3; display: flex; gap: 4px; margin-left: 5px; }
.dialog-browser-bar.os-linux .browser-lights i { width: 7px; height: 7px; background: #7c8584; }
.dialog-browser-bar.os-linux .browser-lights i:nth-child(2) { background: #b2a66e; }
.dialog-browser-bar.os-linux .browser-lights i:nth-child(3) { background: #8d6f76; }
.dialog-address { flex: 1; max-width: 410px; margin: auto; padding: 4px; border: 1px solid #e4e7e4; border-radius: 4px; background: white; color: #69736f; text-align: center; font: 9px var(--sans); }
.preview-nav-controls { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 2px; }
.preview-nav-button { display: grid; place-items: center; width: 21px; height: 22px; padding: 0; border: 1px solid #dfe3df; border-radius: 4px; background: #fff; color: #626d6a; font: 16px/1 var(--sans); cursor: pointer; transition: border-color .18s ease,color .18s ease,background .18s ease; }
.preview-nav-button:hover, .preview-nav-button:focus-visible { border-color: rgba(154,240,204,.8); background: #f1faf5; color: #28634c; outline: none; }
.preview-nav-button:disabled { opacity: .42; cursor: not-allowed; }
.browser-lock { color: #74817b; font-size: 12px; }
.dialog-stage { height: calc(100% - 98px); position: relative; background: #e9e8e2; }
.dialog-stage iframe, .full-preview-frame-wrap iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.dialog-empty p, .full-frame-empty p { margin: 0; color: #78827d; font-size: 11px; }
.preview-page-body { min-height: 100vh; display: flex; flex-direction: column; background: #101318; }
.preview-page-header { height: 66px; padding: 0 4.5%; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.preview-back { justify-self: center; color: #9ba5ad; font-size: 11px; }
.preview-back:hover { color: var(--mint); }
.preview-page-label { justify-self: end; display: flex; align-items: center; gap: 8px; color: #8b9794; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.full-preview-main { flex: 1; display: flex; flex-direction: column; padding: 25px 4.5% 36px; }
.full-preview-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; max-width: 1440px; width: 100%; margin: 0 auto 17px; }
.full-preview-heading .eyebrow { margin-bottom: 6px; }
.full-preview-heading h1 { margin: 0; font: 700 24px var(--display); letter-spacing: -.8px; }
.full-preview-address { padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; color: #84908c; font-size: 9px; }
.full-preview-browser-group { display: flex; align-items: center; gap: 9px; }
.full-preview-browser-group .full-preview-address { max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.full-preview-frame-wrap { flex: 1; min-height: 400px; max-width: 1440px; width: 100%; margin: 0 auto; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; background: #e9e8e2; }
.full-frame-empty { gap: 8px; }
.full-frame-empty strong { font-size: 15px; }
.full-frame-empty > a { margin-top: 7px; color: #347858; font-size: 11px; font-weight: 700; }
.full-frame-empty > a:hover { text-decoration: underline; }
.full-frame-empty p { font-size: 12px; }
@media (max-width: 980px) {
  .hero { height: auto; min-height: 0; padding-left: 7%; padding-right: 7%; }
  .hero-art { position: relative; top: auto; right: auto; width: min(100%, 620px); margin: 48px auto 0; }
  .hero-copy { max-width: 440px; }
  .hero-content { max-width: 440px; }
  .hero h1 { font-size: 62px; }
  .hero-bottom { left: 7%; right: 7%; }
  .section-wrap { padding-left: 30px; padding-right: 30px; }
  .template-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .how-inner { gap: 55px; }
  .main-nav { gap: 24px; margin-left: 28px; }
}
/* Tablets: the nav needs the room, and Examples is already in it. */
@media (max-width: 860px) {
  .header-cta { display: none; }
}
@media (max-width: 680px) {
  .site-header { height: 65px; padding: 0 20px; }
  .main-nav { gap: 14px; margin-left: 0; }
  .nav-link { font-size: 10px; }
  .header-cta { padding: 8px 9px; font-size: 9px; }
  .header-cta span { margin-left: 4px; }
  .header-cta { display: none; }
  .brand { gap: 7px; font-size: 16px; }
  .brand-mark { transform: scale(.9); }
  .hero { width: 100%; height: auto; min-height: 0; padding: 62px 24px 64px; }
  .hero h1 { font-size: clamp(48px,13vw,68px); letter-spacing: -3.7px; }
  .hero-copy { max-width: 410px; font-size: 13px; }
  .hero-art { position: relative; top: auto; right: auto; width: 100%; height: 300px; margin-top: 44px; }
  .art-card-front { width: 69%; height: 257px; }
  .art-card-back { height: 230px; }
  .art-atelier-copy { top: 55px; }
  .art-atelier-copy b { font-size: 30px; }
  .art-northline-copy { top: 60px; }
  .art-northline-copy b { font-size: 23px; }
  .floating-chip { right: -2px; bottom: -2px; transform: scale(.9); transform-origin: right bottom; }
  .hero-bottom { left: 24px; right: 24px; bottom: 20px; }
  .section-wrap { padding-left: 20px; padding-right: 20px; }
  .subpage-hero { min-height: 340px; padding: 64px 24px 55px; }
  .subpage-hero h1 { font-size: clamp(42px,12vw,58px); letter-spacing: -3px; }
  .subpage-hero-copy { font-size: 13px; }
  .subpage-content { padding: 54px 22px 68px; }
  .page-card-grid { grid-template-columns: 1fr; gap: 11px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 11px; }
  .pricing-blurb { min-height: 0; }
  .page-card { min-height: 0; padding: 20px; }
  .page-card-icon { margin-bottom: 14px; }
  .page-cta { align-items: flex-start; flex-direction: column; padding: 22px; }
  .process-item { grid-template-columns: 38px minmax(0,1fr); gap: 12px; }
  .catalog { padding-top: 62px; padding-bottom: 68px; }
  .featured-section { padding-top: 58px; padding-bottom: 68px; }
  .featured-template .card-preview { height: 520px; min-height: 0; aspect-ratio: auto; padding: 10px; }
  .featured-device-control { width: calc(100% - 24px); margin: 10px 12px 0; padding-right: 22px; padding-left: 22px; }
  .featured-device-control .device-marker { width: 30px; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading h2 { font-size: 37px; }
  .section-intro { margin-top: 18px; font-size: 12px; }
  .catalog-tools { align-items: stretch; flex-direction: column-reverse; gap: 13px; }
  .search-box { width: 100%; }
  .filters { gap: 4px; }
  .filter-pill { padding: 7px 9px; font-size: 9px; }
  .template-grid { grid-template-columns: 1fr; gap: 13px; }
  .card-preview { height: auto; min-height: 235px; aspect-ratio: var(--gallery-preview-aspect, 1.6); padding: 17px 17px 0; }
  .how-section { padding: 56px 23px 62px; }
  .how-inner { display: block; }
  .how-heading { margin-bottom: 30px; }
  .how-heading h2 { font-size: 36px; }
  .site-footer { padding: 44px 20px 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding-bottom: 36px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { padding: 18px 0; flex-wrap: wrap; }
  .preview-dialog { width: 96vw; height: 96vh; border-radius: 8px; }
  .dialog-topbar { height: 59px; padding: 0 10px; }
  .dialog-expand { font-size: 9px; }
  .dialog-actions { gap: 8px; }
  .dialog-stage { height: calc(100% - 91px); }
  .preview-page-header { height: 60px; padding: 0 15px; grid-template-columns: auto 1fr auto; }
  .preview-back { justify-self: center; font-size: 10px; }
  .preview-page-label { font-size: 0; }
  .preview-page-label .dialog-status { margin: 0; }
  .full-preview-main { padding: 20px 14px 18px; }
  .full-preview-heading { align-items: start; flex-direction: column; }
  .full-preview-heading h1 { font-size: 20px; }
  .full-preview-address { font-size: 8px; }
  .full-preview-frame-wrap { min-height: 58vh; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes art-arrive { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes art-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes chip-arrive { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
@keyframes chip-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.scroll-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease,transform .65s cubic-bezier(.2,.7,.25,1); transition-delay: var(--reveal-delay,0ms); }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
.template-card.scroll-reveal.is-visible:hover { transform: translateY(-4px); }
/* Narrow phones: logo on its own row, the five nav links spread across the row below. */
@media (max-width: 419px) {
  .site-header { height: auto; flex-wrap: wrap; row-gap: 12px; padding: 14px 20px 12px; }
  .main-nav { width: 100%; justify-content: space-between; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

#preview-dialog {
  grid-template-rows: 66px minmax(0, 1fr) auto;
  row-gap: 16px;
}
#preview-dialog[open] { display: grid; }
#preview-dialog .preview-area {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
}
#preview-dialog .device-stage {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: transparent;
}
#preview-dialog .device-frame {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(34, 42, 40, .2);
  border-radius: 7px;
  background: #e9e8e2;
  box-shadow: 0 12px 38px rgba(0, 0, 0, .24);
}
#preview-dialog .dialog-browser-bar {
  flex: 0 0 44px;
  box-sizing: border-box;
  padding-right: 14px;
  padding-left: 14px;
}
#preview-dialog .dialog-browser-bar .browser-lights i { width: 8px; height: 8px; }
#preview-dialog .dialog-stage {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  position: relative;
  overflow: hidden;
}
#preview-dialog .dialog-stage iframe {
  max-width: none;
  max-height: none;
  border: 0;
  background: transparent;
}
#preview-dialog .device-control {
  position: static;
  display: block;
  box-sizing: border-box;
  width: 100%;
  flex: 0 0 auto;
  padding: 10px 26px 8px;
  border: 1px solid rgba(154, 240, 204, .2);
  border-radius: 8px;
  background: #20262d;
}
#preview-dialog .device-slider {
  display: block;
  width: 100%;
  height: 24px;
  margin: 0;
  cursor: ew-resize;
}
#preview-dialog .device-markers {
  position: relative;
  height: 34px;
  margin-top: 3px;
}
#preview-dialog .device-marker {
  position: absolute;
  top: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 32px;
  padding: 2px;
  transform: translateX(-50%);
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #83908f;
  cursor: pointer;
}
#preview-dialog .device-marker:nth-child(1) { left: 9px; }
#preview-dialog .device-marker:nth-child(2) { left: calc(9px + (100% - 18px) / 3); }
#preview-dialog .device-marker:nth-child(3) { left: calc(9px + (100% - 18px) * 2 / 3); }
#preview-dialog .device-marker:nth-child(4) { left: calc(100% - 9px); }
#preview-dialog .device-marker svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
#preview-dialog .device-marker.is-active,
#preview-dialog .device-marker:hover,
#preview-dialog .device-marker:focus-visible {
  border-color: rgba(154, 240, 204, .35);
  color: var(--mint);
  outline: none;
}
#preview-dialog .dialog-address {
  min-width: 0;
  padding: 5px 8px;
  font-size: clamp(9px, .9vw, 11px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#preview-dialog .dialog-browser-bar.os-windows .browser-lights {
  order: 3;
  display: flex;
  gap: 2px;
  margin-left: 4px;
}
#preview-dialog .dialog-browser-bar.os-windows .browser-lights i {
  display: grid;
  place-items: center;
  width: 14px;
  height: 17px;
  border-radius: 0;
  background: transparent;
  color: #606966;
  font: 12px/1 Arial, sans-serif;
}
#preview-dialog .dialog-browser-bar.os-windows .browser-lights i:nth-child(1)::before { content: "−"; }
#preview-dialog .dialog-browser-bar.os-windows .browser-lights i:nth-child(2)::before { content: "□"; font-size: 9px; }
#preview-dialog .dialog-browser-bar.os-windows .browser-lights i:nth-child(3)::before { content: "×"; }
#preview-dialog .dialog-browser-bar.os-linux .browser-lights {
  order: 3;
  display: flex;
  gap: 4px;
  margin-left: 5px;
}
#preview-dialog .dialog-browser-bar.os-linux .browser-lights i {
  width: 7px;
  height: 7px;
  background: #7c8584;
}
#preview-dialog .dialog-browser-bar.os-linux .browser-lights i:nth-child(2) { background: #b2a66e; }
#preview-dialog .dialog-browser-bar.os-linux .browser-lights i:nth-child(3) { background: #8d6f76; }
@media (max-width: 680px) {
  #preview-dialog { grid-template-rows: 59px minmax(0, 1fr) auto; }
  #preview-dialog .dialog-topbar { gap: 6px; }
  #preview-dialog .dialog-title-group { min-width: 0; }
  #preview-dialog .dialog-title-group h2 { max-width: 115px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
  #preview-dialog .dialog-kicker { font-size: 7px; }
  #preview-dialog .device-control { padding-right: 22px; padding-left: 22px; }
  #preview-dialog .device-marker { width: 30px; }
}

/* Preview size sliders: the filled track (#dbfbec) is two shades lighter than the star thumb (#9cf2cf). --slider-fill (0-1) is set by home.js and gallery.js.
   The thumb is 18px wide, so its centre travels from 9px to (100% - 9px); the device markers above are placed on that same path. */
.device-slider { -webkit-appearance: none; appearance: none; background: transparent; }
.device-slider:focus { outline: none; }
.device-slider::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #dbfbec calc(9px + (100% - 18px) * var(--slider-fill, 0)), rgba(255,255,255,.12) calc(9px + (100% - 18px) * var(--slider-fill, 0))); }
.device-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 22px; margin-top: -9px; border: 0; background: var(--star-icon) center / contain no-repeat; filter: drop-shadow(0 0 6px rgba(154,240,204,.55)); transition: transform .15s ease, filter .15s ease; cursor: ew-resize; }
.device-slider:hover::-webkit-slider-thumb, .device-slider:active::-webkit-slider-thumb { transform: scale(1.15); }
.device-slider:focus-visible::-webkit-slider-thumb { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 8px rgba(154,240,204,.8)); }
.device-slider::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
.device-slider::-moz-range-progress { height: 4px; border-radius: 4px; background: #dbfbec; }
.device-slider::-moz-range-thumb { width: 18px; height: 22px; border: 0; border-radius: 0; background: var(--star-icon) center / contain no-repeat; filter: drop-shadow(0 0 6px rgba(154,240,204,.55)); transition: transform .15s ease; cursor: ew-resize; }
.device-slider:hover::-moz-range-thumb, .device-slider:active::-moz-range-thumb { transform: scale(1.15); }
.device-slider:focus-visible::-moz-range-thumb { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 8px rgba(154,240,204,.8)); }

/* Before/after comparison in the Examples hero. --pos (0-100%) is set by compare.js.
   Both mockups are sized in em from a font size tied to the box width, so they scale together. */
.compare-figure { max-width: 1080px; margin: 44px 0 0; container-type: inline-size; }
.compare-labels { display: flex; justify-content: space-between; margin-bottom: 10px; }
.compare { --pos: 50%; position: relative; container-type: inline-size; aspect-ratio: 2.25 / 1; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #e9e9e6; box-shadow: 0 24px 70px rgba(0,0,0,.35); user-select: none; -webkit-user-select: none; }
.compare-layer { position: absolute; inset: 0; overflow: hidden; font-size: 1.45cqw; line-height: 1.45; }
.compare-layer p { margin: 0; }
.compare-after { clip-path: inset(0 0 0 var(--pos)); }
.compare-tag { padding: 4px 9px; border-radius: 5px; font: 700 11px var(--sans); letter-spacing: .3px; }
.compare-tag-before { background: rgba(255,255,255,.1); color: #e7ecee; }
.compare-tag-after { background: var(--mint); color: #13211c; }
.compare-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.compare-range::-webkit-slider-runnable-track { height: 100%; }
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 2px; height: 100%; }
.compare-range::-moz-range-thumb { width: 2px; height: 100%; border: 0; }
.compare-handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--mint); box-shadow: 0 0 14px rgba(154,240,204,.55); pointer-events: none; }
.compare-knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 2px solid var(--mint); border-radius: 50%; background: #14181d; color: var(--mint); box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .15s ease; }
.compare-knob svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compare:hover .compare-knob, .compare.is-dragging .compare-knob { transform: scale(1.08); }
.compare-range:focus-visible ~ .compare-handle .compare-knob { box-shadow: 0 0 0 3px #14181d, 0 0 0 5px var(--mint); }
.compare-figure figcaption { margin-top: 13px; color: #8c98a1; font-size: 12px; line-height: 1.6; }

/* "Before": a dated but believable small-business site. */
.old-page { height: 100%; padding: 0 4.5em; background: #dcdcd8; color: #333; font-family: Verdana, Geneva, Arial, sans-serif; font-size: .82em; }
.old-header { display: flex; align-items: flex-end; justify-content: space-between; padding: 1.4em 1.4em 1em; background: linear-gradient(#3d72b8, #2a5394); color: #fff; font-family: Arial, Helvetica, sans-serif; }
.old-logo { font-size: 2em; font-weight: 700; letter-spacing: -.5px; text-shadow: 1px 1px 0 rgba(0,0,0,.35); }
.old-tagline { font-size: .95em; font-style: italic; opacity: .9; }
.old-phone { font-size: 1em; font-weight: 700; }
.old-nav { display: flex; background: linear-gradient(#f4f4f4, #cfcfcf); border-bottom: 1px solid #a9a9a9; }
.old-nav span { padding: .5em 1.15em; border-right: 1px solid #b5b5b5; color: #1f4f9a; font-family: Arial, Helvetica, sans-serif; font-size: .95em; font-weight: 700; }
.old-nav .is-current { background: #fff; color: #333; }
.old-body { display: flex; gap: 1.6em; min-height: 62%; padding: 1.4em; background: #fff; }
.old-main { flex: 1; }
.old-main p { margin-bottom: .8em; font-size: .95em; line-height: 1.55; }
.old-title { color: #2a5394; font-family: Arial, Helvetica, sans-serif; font-size: 1.45em !important; font-weight: 700; }
.old-photo { display: block; float: right; width: 11em; height: 7.5em; margin: 0 0 .6em 1.2em; border: 3px solid #fff; outline: 1px solid #bbb; object-fit: cover; }
.old-link { color: #1f4f9a; text-decoration: underline; }
.old-side { width: 30%; }
.old-box { margin-bottom: 1em; border: 1px solid #c7c7c7; background: #f7f7f7; }
.old-box p { padding: .45em .7em; font-size: .9em; line-height: 1.6; }
.old-box .old-box-title { padding: .35em .7em; background: #2a5394; color: #fff; font-family: Arial, Helvetica, sans-serif; font-weight: 700; }
.old-footer { padding: .7em; background: #efefef; border-top: 1px solid #ccc; color: #777; font-size: .8em; text-align: center; }

/* "After": a modern redesign of the same shop. */
.new-page { height: 100%; padding: 0 4.5em; background: radial-gradient(ellipse at 78% 30%, rgba(232,183,101,.14), transparent 50%), #15110e; color: #f3ede4; font-family: var(--sans); }
.new-nav { display: flex; align-items: center; gap: 2em; padding: 1.3em 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.new-logo { display: flex; align-items: center; gap: .5em; font: 800 1.2em var(--display); letter-spacing: -.3px; }
.new-moon { width: 1em; height: 1em; border-radius: 50%; box-shadow: inset .32em -.12em 0 0 #e8b765; transform: rotate(-20deg); }
.new-links { display: flex; gap: 1.8em; margin-left: auto; color: #c9c0b4; font-size: .95em; }
.new-cta, .new-btn { padding: .6em 1.15em; border-radius: .45em; background: #e8b765; color: #1d150b; font-size: .9em; font-weight: 700; }
.new-hero { display: flex; align-items: center; gap: 2.8em; padding: 2.4em 0 0; }
.new-photo { flex: 0 0 46%; aspect-ratio: 4 / 3; border-radius: .8em; background: url("halfmoon-barber.jpg") 32% center / cover; box-shadow: 0 1.2em 3em rgba(0,0,0,.45); }
.new-copy { flex: 1; min-width: 0; }
.new-eyebrow { margin-bottom: .9em !important; color: #e8b765; font-size: .78em; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.new-title { font: 800 3.4em/1 var(--display); letter-spacing: -.04em; }
.new-title em { color: #e8b765; font-style: normal; }
.new-sub { margin-top: .9em !important; color: #c9c0b4; font-size: 1.05em; }
.new-buttons { display: flex; gap: .8em; margin-top: 1.5em; }
.new-btn-ghost { border: 1px solid rgba(255,255,255,.22); background: transparent; color: #f3ede4; }
.new-hours { margin-top: 1.3em !important; color: #8f877c; font-size: .82em; }

/* Narrow boxes: taller frame, larger text, one-column mockups. */
@media (max-width: 680px) {
  .compare-figure { margin-top: 32px; }
  .compare-knob { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
}
/* 562px figure = 560px inside the frame's 1px borders, matching the mockup switch below. */
@container (max-width: 562px) {
  .compare { aspect-ratio: 9 / 10; }
}
@container (max-width: 560px) {
  .compare-layer { font-size: 2.9cqw; }
  .old-page, .new-page { padding: 0; }
  .old-header { flex-direction: column; align-items: flex-start; gap: .4em; padding-top: 1.2em; }
  .old-nav span { padding: .5em .7em; }
  .old-nav span:nth-child(n+4) { display: none; }
  .old-side, .new-links { display: none; }
  .old-photo { float: left; width: 8em; height: 6em; margin: .2em 1em .6em 0; }
  .new-nav { padding: 1.2em 1.4em 1.1em; }
  .new-hero { flex-direction: column; align-items: stretch; gap: 1.5em; padding: 1.3em 1.4em 0; }
  .new-photo { flex: none; width: 100%; aspect-ratio: 16 / 6.5; }
  .new-hours { display: none; }
  .new-title { font-size: 2.6em; }
  .new-cta { margin-left: auto; }
  /* The redesign is revealed from the right, so its text sits on the right here. */
  .new-hero { text-align: right; }
  .new-buttons { justify-content: flex-end; }
}

/* Examples hero: from 981px up, the comparison sits to the right of the title and description. */
@media (min-width: 981px) {
  .hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 56px; max-width: 1180px; }
  .hero-split h1 { font-size: clamp(42px, 4.4vw, 60px); letter-spacing: -3px; }
  .hero-split .compare-figure { width: 100%; max-width: 560px; margin: 0; justify-self: end; }
}
