/* screen37.com homepage (with site.css). Glass surfaces over a slow green light, on the Lens brand colours.
   Motion is progressive: scroll reveals and the progress line use CSS scroll timelines where the browser has them;
   without them, with reduced motion, without JavaScript and in print, everything is simply visible. */
:root {
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  --glass-line: rgba(255, 255, 255, 0.11);
  --glass-shine: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --r-lg: 28px; --r-md: 20px;
  interpolate-size: allow-keywords;
}
html { scroll-padding-top: 96px; }

/* The light behind the glass: two soft green pools that drift. A fixed pseudo-element, so it adds no page width. */
body::before { content: ""; position: fixed; inset: -25%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 34% at 22% 24%, rgba(34, 197, 94, 0.20), transparent 70%),
    radial-gradient(34% 30% at 80% 16%, rgba(45, 212, 191, 0.13), transparent 70%),
    radial-gradient(40% 36% at 70% 82%, rgba(21, 128, 61, 0.22), transparent 72%);
  animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(4%, -3%, 0) rotate(8deg) scale(1.08); } }

.progress { display: none; }
.launch { background: var(--green); color: var(--ink); text-align: center; font-size: 14px; font-weight: 600; padding: 10px 16px; }

/* Floating glass navigation. */
.nav-shell { position: sticky; top: 0; z-index: 15; padding: 12px 0; }
.nav-shell .nav { max-width: 1152px; width: calc(100% - 32px); padding: 8px 10px 8px 18px; border-radius: 999px;
  background: rgba(22, 22, 27, 0.62); border: 1px solid var(--glass-line); box-shadow: var(--glass-shine), 0 14px 40px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); }
.nav-links { display: flex; gap: 4px; font-size: 15px; }
.nav-links a { color: var(--soft); text-decoration: none; padding: 11px 14px; border-radius: 999px; transition: color 0.25s var(--ease), background-color 0.25s var(--ease); }
.nav-links a:hover { color: var(--paper); background: rgba(255, 255, 255, 0.08); }
.nav .btn { min-height: 44px; font-size: 15px; white-space: nowrap; border-radius: 999px; padding: 10px 20px; }

/* Buttons: colour, lift and glow answer the pointer. */
.btn { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.32); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { box-shadow: 0 8px 26px rgba(34, 197, 94, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-primary:hover { background: var(--green-hi); border-color: var(--green-hi); box-shadow: 0 14px 38px rgba(34, 197, 94, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45); }

/* Hero: centred, type first, the product window underneath. */
.hero { display: flex; flex-direction: column; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 88px; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; max-width: 900px; min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--paper); padding: 8px 16px 8px 13px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shine); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(42px, 7.6vw, 92px); line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.hero h1 span { background: linear-gradient(100deg, #4ADE80, #22C55E 45%, #2DD4BF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--soft); max-width: 640px; text-wrap: pretty; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-row .btn { min-height: 56px; font-size: 17px; padding: 15px 28px; border-radius: 999px; }
.micro { font-size: 14px; color: var(--muted); }
.hero-copy > :not(h1):not(.lead) { animation: settle 0.9s var(--ease) both; }
.hero-copy > .lead { animation: lift 0.9s var(--ease) both; }
.hero-copy > .cta-row { animation-delay: 0.16s; } .hero-copy > .micro { animation-delay: 0.24s; }
@keyframes settle { from { opacity: 0; transform: translateY(18px); } }
.hero-media { width: 100%; max-width: 1080px; min-width: 0; animation: lift 1.1s var(--ease) both; }
@keyframes lift { from { transform: translateY(26px); } }
.window { background: rgba(22, 22, 27, 0.7); border: 1px solid var(--glass-line); border-radius: 22px; overflow: hidden; box-shadow: var(--glass-shine), 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 90px rgba(34, 197, 94, 0.12); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--glass-line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); }
.window video, .window img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #1F2937; }

.block { padding-bottom: 104px; }
.h2 { font-size: clamp(30px, 4.4vw, 54px); letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.sub { font-size: 18px; line-height: 1.55; color: var(--soft); max-width: 620px; text-wrap: pretty; }

/* Shared glass surface. */
.facts, .panel, .step, .bento li, .calc, .price-card, .after, .faq details, .tabs {
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shine), 0 18px 50px rgba(0, 0, 0, 0.28); }
.step, .bento li, .faq details { transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease); }
.step:hover, .bento li:hover { border-color: rgba(74, 222, 128, 0.5); background-color: rgba(34, 197, 94, 0.07); transform: translateY(-3px); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-radius: var(--r-md); overflow: hidden; }
.facts div { padding: 24px; border-left: 1px solid var(--glass-line); margin-left: -1px; border-top: 1px solid var(--glass-line); margin-top: -1px; transition: background-color 0.3s var(--ease); }
.facts div:hover { background-color: rgba(34, 197, 94, 0.08); }
.facts h2 { font-size: 20px; margin-bottom: 4px; }
.facts p { font-size: 14px; color: var(--muted); }

.features { display: flex; flex-direction: column; gap: 28px; }
.features-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
/* Feature picker: an iOS-style segmented control that wraps on small screens. */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 26px; align-self: flex-start; max-width: 100%;
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.tab, .plan { font: 600 15px var(--body); min-height: 46px; box-sizing: border-box; padding: 10px 18px; border-radius: 999px; cursor: pointer; background: transparent; color: var(--soft); border: 1px solid transparent;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.tab:hover { color: var(--paper); background: rgba(255, 255, 255, 0.09); }
.tab:active, .plan:active { transform: scale(0.96); }
.tab[aria-current="true"] { background: var(--green); color: var(--ink); box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.tabs a { text-decoration: none; display: inline-flex; align-items: center; }
.panel { display: flex; flex-wrap: wrap; gap: 44px; align-items: center; border-radius: var(--r-lg); padding: 32px; scroll-margin-top: 104px;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.panel:nth-of-type(even) { flex-direction: row-reverse; }
.panel:hover { border-color: rgba(74, 222, 128, 0.45); background-color: rgba(34, 197, 94, 0.05); box-shadow: 0 30px 80px -40px rgba(34, 197, 94, 0.45), var(--glass-shine); }
.panel:hover .panel-copy h3 { color: var(--green-hi); }
.panel-copy h3 { transition: color 0.4s var(--ease); }
/* A feature whose clip is not made yet: the copy takes the full width and its points sit in a row. */
.panel:not(:has(.panel-media)) .panel-copy { max-width: none; }
.panel:not(:has(.panel-media)) .ticks { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; }
.panel .ticks { font-size: 15px; color: var(--soft); margin-top: 4px; }
/* Draw on screen: an arrow and a ring are drawn over a still of the recording, on a loop. */
.live-draw svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ink { fill: none; stroke: #EF4444; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .live-draw.on .ink { animation: 6s linear infinite both; }
  .ring { animation-name: ink-ring; } .shaft { animation-name: ink-shaft; } .head { animation-name: ink-head; }
}
@keyframes ink-ring { 0%, 6% { stroke-dashoffset: 1; opacity: 1; } 30%, 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ink-shaft { 0%, 40% { stroke-dashoffset: 1; opacity: 1; } 56%, 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ink-head { 0%, 56% { stroke-dashoffset: 1; opacity: 1; } 64%, 88% { stroke-dashoffset: 0; opacity: 1; } 96%, 100% { stroke-dashoffset: 0; opacity: 0; } }

/* Comparison */
.why { display: flex; flex-direction: column; gap: 28px; }
.swap { border-radius: var(--r-lg); overflow: clip; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-shine); }
.swap > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--glass-line); transition: background-color 0.3s var(--ease); }
.swap > .swap-head { border-top: 0; font: 600 14px var(--body); color: var(--muted); }
.swap span { padding: 18px 26px; font-size: 16px; line-height: 1.5; }
.swap > div:not(.swap-head) span:first-child { color: var(--muted); transition: color 0.3s var(--ease); }
.swap > div:not(.swap-head) span:last-child { color: var(--paper); font-weight: 600; padding-left: 58px; position: relative; border-left: 1px solid var(--glass-line); transition: color 0.3s var(--ease); }
.swap .swap-head span:last-child { border-left: 1px solid var(--glass-line); color: var(--green-hi); }
.swap > div:not(.swap-head) span:last-child::before { content: ""; position: absolute; left: 26px; top: 21px; width: 20px; height: 20px; border-radius: 50%; background: rgba(34, 197, 94, 0.18); }
.swap > div:not(.swap-head) span:last-child::after { content: ""; position: absolute; left: 33px; top: 25px; width: 5px; height: 9px; border: solid var(--green-hi); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.swap > div:not(.swap-head):hover { background-color: rgba(34, 197, 94, 0.08); }
.swap > div:not(.swap-head):hover span:first-child { color: var(--soft); text-decoration: line-through; text-decoration-color: rgba(239, 68, 68, 0.7); }
.swap > div:not(.swap-head):hover span:last-child { color: var(--green-hi); }
.panel-media { flex: 1 1 520px; min-width: 0; position: relative; }
/* The still image is the poster (lazy, so hidden tabs cost nothing); the video sits on top once it has loaded. */
.panel-media video.loop { position: absolute; inset: 0; height: 100%; background: transparent; border-color: transparent; }
.panel-media video, .panel-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; background: #1F2937; border: 1px solid var(--glass-line); }
.panel-copy { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 8px 8px 8px 4px; }
.panel-copy h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.panel-copy p { font-size: 17px; line-height: 1.6; color: var(--soft); max-width: 46ch; }

.demo { display: flex; flex-direction: column; gap: 56px; }
.demo > div { display: flex; flex-direction: column; gap: 20px; }
.demo .micro a { color: var(--soft); text-underline-offset: 3px; transition: color 0.25s var(--ease); } .demo .micro a:hover { color: var(--green-hi); }
.demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--glass-line); }

.how, .basics, .faq { display: flex; flex-direction: column; gap: 32px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; counter-reset: step; }
.step { border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.step::before { content: counter(step); font: 700 20px/44px var(--display); width: 44px; height: 44px; border-radius: 50%; text-align: center; color: var(--ink); background: var(--green); margin-bottom: 6px; box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3); }
.step h3 { font-size: 22px; letter-spacing: -0.02em; }
.step p { font-size: 15.5px; line-height: 1.6; color: var(--soft); }

.bento { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bento li { border-radius: var(--r-md); padding: 22px 24px; }
.bento h3 { font-family: var(--body); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.bento p { font-size: 15px; line-height: 1.55; color: var(--muted); }

.calc { border-radius: var(--r-lg); padding: 40px; display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.calc-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.calc-copy h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.calc-copy p { color: var(--muted); }
.plans { display: flex; gap: 8px; flex-wrap: wrap; }
.plan { border-color: var(--line-2); color: var(--paper); }
.plan:hover { border-color: var(--green-hi); color: var(--green-hi); }
.plan[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.calc-out { flex: 1 1 360px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.calc-out div { background: rgba(14, 14, 17, 0.6); border: 1px solid var(--glass-line); border-radius: 18px; padding: 20px; min-width: 0; }
.calc-out p { font-size: 14px; color: var(--muted); }
.calc-out strong { display: block; margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 5vw, 38px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-out .ours { grid-column: span 2; background: var(--green); border-color: var(--green); color: var(--ink); box-shadow: 0 14px 40px rgba(34, 197, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.calc-out .ours p { color: var(--ink); font-weight: 600; }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 56px; }
.two > div { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.two h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.two p { font-size: 17px; line-height: 1.65; color: var(--soft); max-width: 56ch; }
.plain { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--soft); }
.plain li { padding-left: 22px; position: relative; }
.plain li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 2px; border-radius: 2px; background: var(--muted); }

/* Pricing: a heading, then two columns of equal height on one grid, so every edge lines up. */
.pricing { display: flex; flex-direction: column; gap: 32px; }
.pricing-head { display: flex; flex-direction: column; gap: 12px; }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 20px; align-items: stretch; }
.price-card, .after { border-radius: var(--r-lg); padding: 40px; display: flex; flex-direction: column; min-width: 0; }
.price-card { gap: 22px; border-color: rgba(74, 222, 128, 0.55); box-shadow: var(--glass-shine), 0 30px 90px rgba(0, 0, 0, 0.4), 0 0 80px rgba(34, 197, 94, 0.14);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
.price-card h3, .after h3 { font-family: var(--body); font-weight: 600; font-size: 17px; color: var(--green-hi); }
.price { display: flex; align-items: baseline; gap: 12px; font-family: var(--display); font-weight: 700; font-size: clamp(56px, 7vw, 84px); letter-spacing: -0.04em; line-height: 0.95; }
.price span { font-family: var(--body); font-size: 18px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--paper); }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.1em; width: 20px; height: 20px; border-radius: 50%; background: rgba(34, 197, 94, 0.18); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: calc(0.1em + 4px); width: 5px; height: 9px; border: solid var(--green-hi); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.price-card .btn { min-height: 60px; font-size: 18px; border-radius: 999px; margin-top: auto; }
.price-card .micro { text-align: center; }
.after { gap: 22px; }
.after ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; counter-reset: after; font-size: 16px; line-height: 1.5; color: var(--paper); }
.after li { counter-increment: after; padding-left: 44px; position: relative; min-height: 30px; display: flex; align-items: center; }
.after li::before { content: counter(after); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; font: 700 14px/30px var(--display); text-align: center; color: var(--green-hi); border: 1px solid rgba(74, 222, 128, 0.5); }
.after p { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: auto; padding-top: 18px; border-top: 1px solid var(--glass-line); }

.faq { max-width: 860px; gap: 12px; }
.faq h2 { margin-bottom: 16px; }
.faq details { border-radius: 18px; padding: 0 24px; }
.faq details:hover, .faq details[open] { border-color: rgba(74, 222, 128, 0.45); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 18px 0; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; transition: color 0.25s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green-hi); }
.faq summary::after { content: ""; flex: 0 0 12px; width: 12px; height: 12px; margin-right: 4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq details p { padding-bottom: 20px; color: var(--soft); line-height: 1.65; max-width: 68ch; }
.faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

.final { background: linear-gradient(135deg, #4ADE80, #22C55E 55%, #16A34A); color: var(--ink); border-radius: 36px; padding: 72px 40px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
  box-shadow: 0 30px 100px rgba(34, 197, 94, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.final h2 { font-size: clamp(32px, 5vw, 60px); letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
.final .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 700; font-size: 18px; min-height: 58px; padding: 17px 34px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }
.final .btn:hover { background: #000; border-color: #000; color: var(--green-hi); }
.final p { font-size: 15px; font-weight: 500; }
.final :focus-visible { outline-color: var(--ink); }

.footer { border-top: 1px solid var(--glass-line); padding-top: 28px; }
.footer a { transition: color 0.25s var(--ease); }
.buybar { display: none; }

/* Scroll-driven motion, only where the browser supports it and the visitor has not asked for less motion. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .panel .panel-media { animation: slide-l linear both; animation-timeline: view(); animation-range: entry 10% cover 32%; }
    .panel:nth-of-type(even) .panel-media { animation-name: slide-r; }
    .swap > div { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    .progress { display: block; position: fixed; top: 0; left: 0; z-index: 30; width: 100%; height: 3px; transform-origin: 0 50%; background: linear-gradient(90deg, var(--green), #2DD4BF);
      animation: grow linear both; animation-timeline: scroll(root); }
    .window { animation: tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(36px) scale(0.975); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes tilt { from { transform: perspective(1400px) rotateX(10deg) scale(0.95); } }

@keyframes slide-l { from { opacity: 0.2; transform: translateX(-44px) scale(0.96); } }
@keyframes slide-r { from { opacity: 0.2; transform: translateX(44px) scale(0.96); } }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { padding-top: 40px; padding-bottom: 64px; gap: 40px; }
  .block { padding-bottom: 72px; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .swap span { padding: 14px 14px; font-size: 14px; }
  .swap > div:not(.swap-head) span:last-child { padding-left: 40px; }
  .swap > div:not(.swap-head) span:last-child::before { left: 12px; top: 15px; width: 18px; height: 18px; }
  .swap > div:not(.swap-head) span:last-child::after { left: 18px; top: 19px; }
  .demo { gap: 40px; }
  .nav-shell .nav { width: calc(100% - 20px); padding-left: 14px; }
  .cta-row { width: 100%; }
  .cta-row .btn { width: 100%; }
  .panel { padding: 18px; gap: 20px; }
  .calc, .price-card, .after { padding: 24px; }
  .final { padding: 48px 22px; border-radius: 28px; }
  .final .btn { width: 100%; }
  .tabs { border-radius: 22px; align-self: stretch; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tab { padding: 10px 14px; font-size: 14px; }
  /* Sticky buy bar: phones only. The page keeps room for it so the footer is never covered. */
  body { padding-bottom: 80px; }
  .buybar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 10;
    padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(22, 22, 27, 0.72); border: 1px solid var(--glass-line); box-shadow: var(--glass-shine), 0 14px 40px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); }
  .buybar p { font-size: 13px; color: var(--soft); line-height: 1.3; min-width: 0; }
  .buybar .btn { min-height: 46px; font-size: 15px; white-space: nowrap; flex-shrink: 0; border-radius: 999px; }
}
@media (max-width: 360px) {
  .brand span { font-size: 20px; }
  .nav .btn { padding: 10px 14px; font-size: 14px; }
  .hero h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
@media print {
  /* Independent print composition: white paper, dark ink, no media, no glass, no motion. */
  body { background: #fff; color: #111; padding: 0; }
  body::before { display: none; }
  .launch, .progress, .nav-links, .nav .btn, .hero-media, .tabs, .panel-media, .demo, .buybar, .cta-row, .plans { display: none !important; }
  .nav-shell { position: static; }
  *, *::before, *::after { animation: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .nav-shell .nav, .chip, .panel, .calc, .step, .bento li, .price-card, .after, .faq details, .facts, .facts div, .calc-out div, .final { background: #fff !important; border-color: #bbb !important; color: #111 !important; }
  .hero-copy { align-items: flex-start; text-align: left; }
  .lead, .sub, .step p, .bento p, .two p, .plain, .ticks, .after ol, .after p, .faq details p, .micro, .facts p, .panel-copy p, .calc-copy p, .calc-out p, .footer, .footer a, .brand, .price span, .chip { color: #222 !important; }
  .hero h1 span { background: none; color: #15803D !important; }
  .price-card h3, .after h3, .brand b, .after li::before { color: #15803D !important; }
  .step::before { background: #fff; color: #15803D; border: 1px solid #15803D; }
  .tabs, .live-draw svg { display: none !important; } .swap, .swap span { background: #fff !important; color: #111 !important; border-color: #bbb !important; }
  .faq details:not([open]) > p { display: block; }
  .faq details::details-content { block-size: auto; content-visibility: visible; }
  .block { padding-bottom: 28px; } .step, .panel, .faq details, .bento li, .price-card, .after { break-inside: avoid; }
}
