@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --white: #ffffff;
  --ink: #121510;
  --muted: #60675f;
  --line: #d7ddd9;
  --mint: #dff5f1;
  --mint-2: #c7f0e9;
  --aqua: #22dbc1;
  --lilac: #c792ff;
  --lilac-soft: #eee3ff;
  --black: #121811;
  --surface: #f7f8f7;
  --radius: 4px;
  --speed: 650ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: 'DM Sans', sans-serif; overflow-x: hidden; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .7rem 1rem; background: var(--black); color: white; }
.skip-link:focus { top: 1rem; }

.site-header {
  height: 64px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
.brand-mark { width: 22px; height: 22px; display: grid; place-items: center; margin-right: 7px; background: var(--lilac); color: var(--ink); font-size: .75rem; border-radius: 2px; }
.brand small { margin-left: 5px; color: #7d4ca9; font: 600 .62rem 'DM Sans'; letter-spacing: 0; }
.site-header nav { display: flex; gap: 34px; font-size: .78rem; font-weight: 600; }
.site-header nav a { position: relative; padding: 24px 0; }
.site-header nav a:after { content: ''; position: absolute; left: 0; right: 100%; bottom: 15px; height: 2px; background: var(--lilac); transition: right .25s; }
.site-header nav a:hover:after { right: 0; }
.site-header > .button { justify-self: end; }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--ink); border-radius: 9px; background: var(--lilac); color: var(--ink); font-size: .82rem; font-weight: 700; white-space: nowrap; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.button:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.button:focus-visible, button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
.button-small { min-height: 36px; padding: 0 15px; box-shadow: none; border-radius: 8px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-size: .84rem; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.text-link span { color: #7540a9; }

.hero {
  min-height: 720px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 66px 48px 72px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 68px;
  align-items: center;
  background:
    radial-gradient(circle at 90% 15%, rgba(199,146,255,.38), transparent 23%),
    linear-gradient(180deg, var(--mint) 0%, #e6f8f5 72%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.hero:after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; opacity: .5; background: repeating-linear-gradient(90deg, transparent 0 3px, var(--lilac) 3px 4px); mask-image: linear-gradient(to bottom, transparent, black); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 17px; font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #70419b; }
h1,h2,h3 { margin: 0; font-family: 'Manrope', sans-serif; letter-spacing: -.065em; line-height: .97; text-wrap: balance; }
h1 { max-width: 650px; font-size: clamp(3.35rem, 5.2vw, 5.8rem); }
h1 em { font-style: normal; color: #7140a1; }
h1 + p { max-width: 500px; margin: 24px 0 30px; color: #3f514c; font-size: 1rem; line-height: 1.55; }
.hero-actions { display: flex; gap: 25px; align-items: center; }
.hero-stage { position: relative; z-index: 2; min-width: 0; padding: 18px 0 8px; }
.hero-stage:before { content: ''; position: absolute; inset: -30px 22px 22px -22px; border: 1px solid rgba(18,21,16,.18); background: rgba(255,255,255,.28); transform: translate(18px, 18px); }
.calculator { position: relative; z-index: 2; padding: 25px 28px 28px; background: var(--white); border: 1px solid #9aa49f; border-radius: 5px; box-shadow: 0 24px 70px rgba(40,74,68,.16); }
.calc-head { display: flex; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.calculator h2 { margin: 22px 0 12px; font-size: 1.5rem; }
.calc-row { min-height: 56px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: .9rem; }
.calc-row input { position: absolute; opacity: 0; }
.check-ui { width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid #99a09b; color: transparent; font-size: .75rem; }
.calc-row.active .check-ui, .calc-row:has(input:checked) .check-ui { background: var(--aqua); border-color: var(--ink); color: var(--ink); }
.calc-row strong { font-size: .82rem; font-variant-numeric: tabular-nums; }
.calc-total { display: flex; justify-content: space-between; align-items: end; padding-top: 22px; }
.calc-total span { color: var(--muted); font-size: .78rem; }
.calc-total strong { font: 800 2rem 'Manrope'; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.calc-line { height: 3px; margin-top: 16px; background: #e6e9e7; }
.calc-line i { display: block; width: 50%; height: 100%; background: var(--lilac); transition: width .5s; }
.float-note { position: absolute; z-index: 4; right: -15px; top: -11px; padding: 9px 13px; background: var(--black); color: var(--white); border: 1px solid var(--aqua); font-size: .68rem; font-weight: 700; transform: rotate(2deg); }
.product-video { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.product-video.ready { opacity: 1; }

/* A referencia hero-ritmusa: kompakt üzenet, alatta széles termékfelület. */
.hero {
  min-height: 860px;
  grid-template-columns: 1fr;
  gap: 42px;
  align-content: start;
  justify-items: center;
  padding-top: 60px;
  text-align: center;
}
.hero-copy { max-width: 1050px; }
.hero h1 { max-width: 1050px; font-size: clamp(3rem, 5.6vw, 5.6rem); }
.hero h1 br { display: block; }
.hero h1 + p { max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { justify-content: center; }
.hero-stage { width: min(900px, 88vw); padding-top: 4px; }
.hero-stage:before { inset: -15px 22px 16px -22px; }

.section { max-width: 1380px; margin: 0 auto; padding: 108px 48px 122px; }
.section-heading { max-width: 770px; margin-bottom: 48px; }
.section-heading h2, .stats-intro h2 { font-size: clamp(2.7rem, 5vw, 5.2rem); }
.section-heading p { max-width: 590px; margin: 22px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.problem { padding-top: 88px; }
.problem .section-heading { max-width: 940px; }
.comparison { display: grid; grid-template-columns: 1fr 1.35fr; gap: 0; border: 1px solid var(--ink); }
.comparison article { min-height: 300px; padding: 33px; display: flex; flex-direction: column; justify-content: space-between; }
.old-way { background: var(--surface); color: #757b75; }
.new-way { background: var(--lilac); color: var(--ink); border-left: 1px solid var(--ink); }
.way-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.way-flow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.way-flow b { font-size: .95rem; }
.way-flow i { font-style: normal; }
.wait-clock { display: flex; align-items: end; gap: 13px; }
.wait-clock span { font-size: 3rem; line-height: .5; letter-spacing: .2em; }
.instant-price { font: 800 clamp(4rem,8vw,7.5rem)/.8 'Manrope'; letter-spacing: -.08em; }
.instant-price small { font-size: 1.1rem; letter-spacing: 0; }

.stats { background: var(--white); display: grid; grid-template-columns: 4fr 8fr; gap: 80px; padding-top: 130px; }
.stats-intro { position: sticky; top: 100px; align-self: start; }
.stats-intro h2 { font-size: clamp(2.6rem,4vw,4.6rem); }
.stats-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 38px; }
.stat-numbers { position: sticky; top: 120px; height: 430px; display: flex; align-items: center; }
.stat-value,.stat-word { position: absolute; font: 800 clamp(5rem,9vw,9.5rem)/.82 'Manrope'; letter-spacing: -.1em; color: transparent; -webkit-text-stroke: 1px #cdd1cf; opacity: .22; transition: opacity .45s, transform .45s, color .45s; transform: translateY(24px); }
.stat-value.active,.stat-word.active { color: var(--black); -webkit-text-stroke: 0; opacity: 1; transform: none; }
.stat-stories { display: grid; }
.stat-story { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .18; transition: opacity .45s; }
.stat-story.active { opacity: 1; }
.stat-story p { max-width: 470px; margin: 0; font: 600 clamp(1.45rem,2.3vw,2.4rem)/1.16 'Manrope'; }
.stat-story small { margin-top: 18px; color: var(--muted); }
.stat-mobile { display: none; }
.pulse-line { width: 160px; height: 4px; margin-top: 28px; background: repeating-linear-gradient(90deg, var(--aqua) 0 5px, transparent 5px 8px); }

.demos { max-width: none; padding-left: max(48px,calc((100vw - 1284px)/2)); padding-right: max(48px,calc((100vw - 1284px)/2)); background: #f7f8f7; }
.demos > .section-heading { max-width: 920px; }
.demo { max-width: 1284px; min-height: 470px; margin: 0 auto 20px; display: grid; grid-template-columns: 4fr 8fr; gap: 50px; align-items: center; padding: 52px; border: 1px solid var(--ink); border-radius: 0; overflow: hidden; }
.demo-copy h3 { margin: 13px 0 17px; font-size: clamp(2rem,3.2vw,3.4rem); }
.demo-copy p { max-width: 430px; margin: 0; line-height: 1.55; opacity: .72; }
.demo-index { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.demo-quantity { background: var(--black); color: white; }
.quantity-ui,.discount-ui { padding: 32px; background: white; color: var(--ink); border-radius: 3px; box-shadow: 12px 12px 0 var(--aqua); }
.price-unit { display: flex; justify-content: space-between; font-size: .84rem; }
.quantity-ui input { width: 100%; margin: 62px 0 34px; accent-color: #7b45a8; }
.quantity-result { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 25px; }
.quantity-result strong,.quantity-result b { font: 800 clamp(1.8rem,3vw,2.8rem) 'Manrope'; font-variant-numeric: tabular-nums; }
.quantity-result i { justify-self: center; color: #7b45a8; font-style: normal; }
.demo-extras { grid-template-columns: 8fr 4fr; background: var(--mint); }
.extras-ui { display: grid; grid-template-columns: 1.25fr .75fr; background: white; color: var(--ink); border: 1px solid var(--ink); box-shadow: 12px 12px 0 var(--lilac); }
.extra-list { padding: 18px 24px; }
.extra-list label { min-height: 54px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: .86rem; }
.extra-list label:last-child { border: 0; }
.extra-list input { position: absolute; opacity: 0; }
.extra-list label span { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid #9aa19c; color: transparent; }
.extra-list input:checked + span { border-color: var(--ink); background: var(--aqua); color: var(--ink); }
.extra-list b { font-size: .75rem; }
.extra-total { padding: 24px; display: flex; flex-direction: column; justify-content: center; background: var(--lilac); border-left: 1px solid var(--ink); }
.extra-total strong { margin-top: 8px; font: 800 2rem 'Manrope'; font-variant-numeric: tabular-nums; }
.demo-discount { background: var(--lilac); }
.discount-ui { box-shadow: 12px 12px 0 var(--black); }
.threshold { display: flex; justify-content: space-between; }
.threshold b { font-size: 1.35rem; }
.discount-meter { position: relative; height: 4px; margin: 38px 0 28px; background: #d8dcd9; }
.discount-meter i { display: block; width: 86%; height: 100%; background: var(--aqua); }
.discount-meter span { position: absolute; left: 68%; top: 10px; font-size: .65rem; }
.discount-result { display: grid; text-align: right; }
.discount-result s { color: var(--muted); }
.discount-result strong { font: 800 2.9rem 'Manrope'; }
.discount-result small { color: #68408b; font-weight: 700; }

.example { display: grid; grid-template-columns: 5fr 7fr; gap: 90px; align-items: center; background: white; }
.example-title h2 { font-size: clamp(2.8rem,4.6vw,5rem); }
.receipt { padding: 42px; background: var(--black); color: white; box-shadow: 15px 15px 0 var(--lilac); }
.receipt > div:not(.grand-total) { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #303b33; font-size: .86rem; }
.receipt .discount-row { color: var(--aqua); }
.grand-total { margin-top: 22px; padding-top: 20px; }
.grand-total span { color: #aeb8af; font-size: .75rem; }
.grand-total strong { display: block; font: 800 clamp(3.5rem,6vw,6.2rem)/1 'Manrope'; letter-spacing: -.08em; font-variant-numeric: tabular-nums; }
.receipt > small { color: #9ca69e; font-size: .67rem; }

.usage { max-width: none; padding-left: max(48px,calc((100vw - 1284px)/2)); padding-right: max(48px,calc((100vw - 1284px)/2)); background: white; }
.usage-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 18px; }
.usage article { min-height: 470px; padding: 38px; border: 1px solid var(--ink); }
.usage h3 { font-size: 2rem; }
.usage p { max-width: 480px; line-height: 1.55; }
.share-block { background: var(--lilac); }
.url-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 52px; padding: 8px 8px 8px 16px; background: white; border: 1px solid var(--ink); font: .8rem monospace; }
.url-bar button { padding: 10px 13px; border: 1px solid var(--ink); background: var(--black); color: white; cursor: pointer; }
.share-orbits { display: flex; gap: 10px; margin-top: 52px; }
.share-orbits span { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--ink); background: rgba(255,255,255,.25); font-weight: 800; }
.share-orbits span:nth-child(2) { transform: translateY(16px); }
.share-orbits span:nth-child(3) { transform: translateY(-6px); }
.embed-block { background: var(--mint); }
.browser-mock { position: relative; min-height: 270px; margin-top: 26px; overflow: hidden; background: white; border: 1px solid var(--ink); }
.browser-top { height: 34px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.browser-top i { width: 6px; height: 6px; background: #abb2ad; }
.browser-top span { margin-left: 8px; font-size: .58rem; }
.site-lines { padding: 24px; }
.site-lines b { display: block; margin-bottom: 12px; font: 700 1.2rem 'Manrope'; }
.site-lines span { display: block; width: 44%; height: 6px; margin: 6px 0; background: #dde2df; }
.embed-card { position: absolute; right: 16px; bottom: 16px; width: 60%; padding: 17px; background: var(--lilac-soft); border: 1px solid var(--ink); box-shadow: 7px 7px 0 var(--aqua); }
.embed-card code { color: #7540a9; font-weight: 800; }
.embed-card strong,.embed-card small { display: block; margin-top: 7px; }

.no-admin { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; background: var(--mint); }
.no-admin h2 { font-size: clamp(2.8rem,4.4vw,4.9rem); }
.no-admin p { max-width: 500px; color: #47564f; line-height: 1.55; }
.process { display: grid; grid-template-columns: 1fr .65fr 1fr; align-items: center; }
.process-file,.process-calc { min-height: 190px; padding: 27px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--ink); background: white; }
.process-file b { color: #388877; font-size: 2.3rem; }
.process-calc { background: var(--lilac); }
.process-calc b { font: 800 1.8rem 'Manrope'; }
.process small { margin-top: 6px; opacity: .55; }
.data-route { position: relative; height: 3px; background: var(--ink); }
.data-route i { position: absolute; top: -3px; width: 9px; height: 9px; background: var(--aqua); animation: route 2.4s infinite; }
.data-route i:nth-child(2) { animation-delay: .7s; }
.data-route i:nth-child(3) { animation-delay: 1.4s; }
.data-route span { position: absolute; right: -2px; top: -16px; font-size: 1.4rem; }

.final-cta { position: relative; min-height: 650px; max-width: none; display: grid; place-items: center; overflow: hidden; text-align: center; background: var(--black); color: white; }
.final-cta:before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 185px; background: repeating-linear-gradient(90deg, transparent 0 4px, var(--aqua) 4px 6px, transparent 6px 10px, var(--lilac) 10px 12px); mask-image: linear-gradient(to bottom,transparent,black); }
.cta-content { position: relative; z-index: 2; max-width: 950px; }
.cta-content h2 { font-size: clamp(3.2rem,6.5vw,6.8rem); }
.cta-content p { margin: 24px 0 30px; color: #b8c1ba; }
.button-light { background: var(--lilac); color: var(--ink); }
.cta-shape { position: absolute; font: 800 22vw 'Manrope'; letter-spacing: -.1em; color: transparent; -webkit-text-stroke: 1px rgba(199,146,255,.12); transform: rotate(-7deg); }

footer { min-height: 140px; max-width: 1380px; margin: 0 auto; padding: 32px 48px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .76rem; border-top: 1px solid var(--line); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--speed) cubic-bezier(.16,1,.3,1) var(--delay,0s), transform var(--speed) cubic-bezier(.16,1,.3,1) var(--delay,0s); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes route { 0% { left: 0; opacity: 0; } 20%,80% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-left: 30px; padding-right: 30px; }
  h1 { font-size: clamp(3rem,5.7vw,4.4rem); }
  .stats { grid-template-columns: 1fr; }
  .stats-intro { position: static; max-width: 780px; }
}
@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 18px; }
  .site-header nav { display: none; }
  .hero,.comparison,.example,.usage-layout,.no-admin { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 54px; gap: 56px; }
  .hero-stage { max-width: 680px; }
  .new-way { border-left: 0; border-top: 1px solid var(--ink); }
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat-numbers { display: none; }
  .stat-story { min-height: 45vh; opacity: 1; }
  .stat-mobile { display: block; margin-bottom: 20px; font: 800 clamp(4rem,16vw,7rem) 'Manrope'; letter-spacing: -.09em; }
  .demo,.demo-extras { grid-template-columns: 1fr; padding: 38px; }
  .demo-extras .extras-ui { order: 2; }
  .example,.no-admin { gap: 45px; }
  .usage article { min-height: auto; }
}
@media (max-width: 560px) {
  .site-header > .button { display: none; }
  .section { padding: 76px 18px 88px; }
  .hero { padding: 46px 18px 60px; }
  h1 { font-size: clamp(2.75rem,12vw,3.8rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .calculator { padding: 20px; }
  .float-note { right: 0; }
  .comparison article { min-height: 270px; padding: 25px; }
  .way-flow { align-items: flex-start; flex-direction: column; }
  .way-flow i { transform: rotate(90deg); }
  .stats { display: block; }
  .demo { min-height: auto; padding: 28px 20px; }
  .quantity-result strong,.quantity-result b { font-size: 1.45rem; }
  .extras-ui { grid-template-columns: 1fr; }
  .extra-total { min-height: 125px; border-left: 0; border-top: 1px solid var(--ink); }
  .grand-total strong { font-size: 3.1rem; }
  .usage article { padding: 27px; }
  .url-bar { align-items: stretch; flex-direction: column; gap: 8px; word-break: break-all; }
  .browser-mock { min-height: 310px; }
  .embed-card { width: 78%; }
  .process { grid-template-columns: 1fr; gap: 18px; }
  .data-route { width: 3px; height: 60px; justify-self: center; }
  .data-route i { left: -3px; animation: routeY 2.4s infinite; }
  .data-route span { right: -10px; top: auto; bottom: -8px; transform: rotate(90deg); }
  footer { padding: 30px 18px; align-items: flex-start; flex-direction: column; gap: 18px; }
  @keyframes routeY { 0% { top: 0; opacity: 0; } 20%,80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*:before,*:after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .product-video { display: none; }
}

/* Targeted iteration: hero media, simple comparison, grounded footer */
.hero {
  max-width: none;
  width: 100%;
  min-height: 980px;
  padding-left: max(24px, calc((100vw - 1284px) / 2));
  padding-right: max(24px, calc((100vw - 1284px) / 2));
  background:
    radial-gradient(circle at 79% 16%, rgba(199,146,255,.52), transparent 28%),
    radial-gradient(circle at 20% 68%, rgba(34,219,193,.18), transparent 30%),
    linear-gradient(180deg, var(--mint) 0%, #e5f7f4 100%);
  gap: 0;
}
.hero:after { height: 105px; }
.hero-media {
  position: relative;
  z-index: 2;
  width: min(1080px, 92vw);
  height: 520px;
  overflow: hidden;
  isolation: isolate;
  margin-top: -24px;
}
.hero-media:before {
  content: '';
  position: absolute;
  inset: 7% 2% 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(18,21,16,.07) 24px 25px),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(18,21,16,.07) 24px 25px);
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}
.hero-animation { position: absolute; inset: 0; }
.search-scene,.calculator-scene { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1); }
.search-scene { align-content: start; padding-top: 18px; padding-bottom: 0; }
.search-brand { margin-bottom: 25px; font: 600 3.8rem/1 'DM Sans'; letter-spacing: -.08em; }
.search-brand span:nth-child(1),.search-brand span:nth-child(4) { color: #7442a1; }
.search-brand span:nth-child(2),.search-brand span:nth-child(6) { color: var(--aqua); }
.search-brand span:nth-child(3),.search-brand span:nth-child(5) { color: var(--ink); }
.search-bar { width: min(680px,78vw); height: 68px; display: flex; align-items: center; gap: 13px; padding: 0 18px; background: rgba(255,255,255,.82); border: 1px solid rgba(18,21,16,.38); border-radius: 34px; box-shadow: 0 18px 48px rgba(55,91,84,.16); backdrop-filter: blur(10px); }
.search-icon { font-size: 1.55rem; transform: rotate(-20deg); }
.typed-query { flex: 1; text-align: left; font-size: 1.2rem; }
.search-cursor { width: 2px; height: 23px; background: var(--ink); opacity: 0; }
.search-cursor.on { opacity: 1; animation: blink .8s steps(1) infinite; }
.enter-key { padding: 8px 11px; background: var(--lilac-soft); border: 1px solid #a886c8; border-radius: 7px; color: #664081; font-size: .68rem; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity .3s,transform .3s; }
.enter-key.on { opacity: 1; transform: none; }
.search-hint { margin-top: 15px; color: #587067; font-size: .7rem; }
.calculator-scene { grid-template-columns: 58px minmax(0,820px); align-content: center; justify-content: center; padding: 20px 36px 55px; opacity: 0; transform: translateY(32px) scale(.96); }
.calc-rail { align-self: stretch; display: flex; flex-direction: column; align-items: center; gap: 23px; padding-top: 20px; background: var(--black); border: 1px solid var(--black); }
.rail-logo { width: 25px; height: 25px; display: grid; place-items: center; background: var(--lilac); font-weight: 800; }
.calc-rail i { width: 16px; height: 3px; background: #657168; }
.calculator-scene .calculator { width: 100%; min-height: 400px; padding: 23px 30px 27px; border: 1px solid var(--ink); border-left: 0; border-radius: 0; box-shadow: 16px 18px 0 rgba(34,219,193,.58); }
.interest-bubble { position: absolute; right: 3%; bottom: 8%; padding: 16px 21px; background: var(--lilac); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); font-weight: 800; opacity: 0; transform: translateY(16px) scale(.88); transition: opacity .4s, transform .4s cubic-bezier(.16,1,.3,1); }
.interest-bubble span { margin-left: 8px; }
.hero-animation.is-search .search-scene { opacity: 1; transform: none; }
.hero-animation.is-calculator .search-scene,.hero-animation.is-interest .search-scene { opacity: 0; transform: translateY(-30px) scale(.96); }
.hero-animation.is-calculator .calculator-scene,.hero-animation.is-interest .calculator-scene { opacity: 1; transform: none; }
.hero-animation.is-interest .interest-bubble { opacity: 1; transform: none; }

.problem { padding-top: 94px; padding-bottom: 106px; }
.problem .section-heading { max-width: 890px; margin-bottom: 38px; }
.problem .section-heading h2 { font-size: clamp(2.65rem,4.5vw,4.7rem); }
.comparison { grid-template-columns: 1fr 1fr; background: white; }
.comparison article { min-height: 340px; padding: 38px 42px; justify-content: flex-start; }
.comparison h3 { margin-bottom: 29px; font-size: clamp(1.7rem,2.6vw,2.7rem); }
.comparison ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.comparison li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid rgba(18,21,16,.2); font-size: 1rem; }
.comparison li:before { content: '→'; position: absolute; left: 0; font-weight: 700; }
.old-way { color: var(--ink); background: var(--surface); }
.new-way { display: grid !important; grid-template-columns: 1fr auto; gap: 30px; align-items: end; background: var(--lilac); }
.instant-price { align-self: end; font-size: clamp(3rem,5.6vw,5.8rem); white-space: nowrap; }

footer {
  max-width: none;
  width: 100%;
  min-height: 190px;
  margin: 0;
  padding-left: max(24px, calc((100vw - 1284px) / 2));
  padding-right: max(24px, calc((100vw - 1284px) / 2));
  background: var(--black);
  color: #c0c8c1;
  border-top: 1px solid #344037;
}
footer .brand { color: white; }

@keyframes blink { 0%,48% { opacity: 1; } 49%,100% { opacity: 0; } }

@media (max-width: 820px) {
  .hero { min-height: 920px; }
  .hero-media { width: 100%; height: 480px; }
  .calculator-scene { grid-template-columns: 44px minmax(0,1fr); padding-left: 8px; padding-right: 8px; }
  .calc-rail { gap: 18px; }
  .comparison { grid-template-columns: 1fr; }
  .new-way { border-top: 1px solid var(--ink); border-left: 0; }
}
@media (max-width: 560px) {
  .hero { min-height: 940px; padding-left: 18px; padding-right: 18px; }
  .hero-media { height: 455px; overflow: visible; }
  .search-brand { font-size: 2.8rem; }
  .search-bar { width: 100%; height: 59px; }
  .typed-query { font-size: .93rem; }
  .enter-key { display: none; }
  .calculator-scene { grid-template-columns: 1fr; padding: 0 0 38px; }
  .calc-rail { display: none; }
  .calculator-scene .calculator { min-height: 390px; padding: 19px 17px 23px; border-left: 1px solid var(--ink); box-shadow: 8px 9px 0 rgba(34,219,193,.58); }
  .calculator-scene .calc-row { font-size: .8rem; }
  .calculator-scene .calc-total strong { font-size: 1.65rem; }
  .interest-bubble { right: 1%; bottom: 3%; }
  .comparison article { min-height: 300px; padding: 29px 25px; }
  .new-way { grid-template-columns: 1fr; }
  .instant-price { margin-top: 18px; }
  footer { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .search-scene { display: none; }
  .calculator-scene { opacity: 1; transform: none; }
  .interest-bubble { opacity: 1; transform: none; }
}

/* Hero animation refinement */
.search-brand,.search-hint { display: none; }
.search-scene { align-content: start; padding-top: 62px; }
.search-bar {
  width: min(600px,72vw);
  height: 58px;
  gap: 12px;
  padding: 0 14px 0 19px;
  background: rgba(255,255,255,.93);
  border-color: rgba(18,21,16,.22);
  box-shadow: 0 12px 32px rgba(55,91,84,.13);
}
.search-icon { position: relative; width: 18px; height: 18px; flex: 0 0 18px; transform: none; }
.search-icon:before { content: ''; position: absolute; inset: 1px 3px 3px 1px; border: 1.7px solid #56625c; border-radius: 50%; }
.search-icon:after { content: ''; position: absolute; right: 0; bottom: 1px; width: 7px; height: 1.7px; background: #56625c; transform: rotate(45deg); transform-origin: right center; }
.typed-query { font-size: 1.02rem; color: #2a332e; }
.search-cursor { height: 20px; }
.enter-key { padding: 7px 10px; }

.calculator-scene {
  grid-template-columns: 52px minmax(0,790px);
  grid-template-rows: auto 74px;
  align-content: start;
  padding: 48px 36px 0;
  opacity: 0;
  transform: translateY(26px) scale(.96);
  transition: opacity .82s cubic-bezier(.16,1,.3,1), transform .82s cubic-bezier(.16,1,.3,1);
}
.calculator-scene .calc-rail { grid-column: 1; grid-row: 1; }
.calculator-scene .calculator {
  grid-column: 2;
  grid-row: 1;
  min-height: 352px;
  padding: 20px 31px 22px;
  border-color: rgba(18,21,16,.72);
  box-shadow: 12px 14px 0 rgba(34,219,193,.5);
}
.calculator-scene .calc-head { padding-bottom: 13px; border-color: #e2e6e3; }
.calculator-scene .calculator h2 { margin: 17px 0 8px; font-size: 1.36rem; }
.calculator-scene .calc-row { min-height: 49px; grid-template-columns: 23px minmax(0,1fr) auto; border-color: #e2e6e3; font-size: .9rem; }
.calculator-scene .calc-row strong { color: #364039; font-size: .84rem; }
.calculator-scene .calc-row.active { background: linear-gradient(90deg,rgba(34,219,193,.07),transparent 42%); }
.calculator-scene .check-ui { width: 18px; height: 18px; }
.calculator-scene .calc-total { padding-top: 17px; }
.calculator-scene .calc-total strong { font-size: 2.25rem; }
.calculator-scene .calc-line { margin-top: 12px; }
.calculator-scene .calc-line i { width: 0; }
.calc-row.just-checked .check-ui { animation: checkPop .42s cubic-bezier(.2,1.6,.4,1); }

.interest-cta {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  justify-self: center;
  position: relative;
  min-width: 210px;
  min-height: 56px;
  padding: 0 34px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--lilac);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-weight: 800;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(12px) scale(.92);
  transition: opacity .48s, transform .48s cubic-bezier(.16,1,.3,1), box-shadow .2s;
}
.click-ripple { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border: 1px solid rgba(18,21,16,.38); border-radius: 50%; opacity: 0; }
.demo-cursor { position: absolute; z-index: 4; left: calc(50% + 260px); top: calc(100% - 20px); width: 24px; height: 30px; opacity: 0; transform: translate(0,0) rotate(-9deg); transition: opacity .28s, transform .9s cubic-bezier(.16,1,.3,1); filter: drop-shadow(2px 3px 1px rgba(18,21,16,.24)); }
.demo-cursor:before { content: ''; position: absolute; left: 0; top: 0; width: 0; height: 0; border-left: 8px solid var(--ink); border-right: 8px solid transparent; border-bottom: 23px solid transparent; }
.demo-cursor:after { content: ''; position: absolute; left: 3px; top: 3px; width: 0; height: 0; border-left: 5px solid white; border-right: 5px solid transparent; border-bottom: 15px solid transparent; }
.demo-cursor span { position: absolute; left: 8px; top: 17px; width: 7px; height: 12px; background: var(--ink); transform: rotate(-35deg); }

.hero-animation.is-calculator .search-scene,
.hero-animation.is-interest .search-scene,
.hero-animation.is-cursor .search-scene,
.hero-animation.is-clicked .search-scene { opacity: 0; transform: translateY(-24px) scale(.98); }
.hero-animation.is-calculator .calculator-scene,
.hero-animation.is-interest .calculator-scene,
.hero-animation.is-cursor .calculator-scene,
.hero-animation.is-clicked .calculator-scene { opacity: 1; transform: translateY(0) scale(1); }
.hero-animation.is-interest .interest-cta,
.hero-animation.is-cursor .interest-cta,
.hero-animation.is-clicked .interest-cta { opacity: 1; transform: none; }
.hero-animation.is-cursor .interest-cta { transform: translateY(-2px); box-shadow: 7px 7px 0 var(--ink); }
.hero-animation.is-cursor .demo-cursor,
.hero-animation.is-clicked .demo-cursor { opacity: 1; transform: translate(var(--cursor-move-x, -260px),var(--cursor-move-y, -150px)) rotate(-9deg); }
.hero-animation.is-clicked .interest-cta { animation: demoPress .5s cubic-bezier(.16,1,.3,1); }
.hero-animation.is-clicked .click-ripple { animation: clickRipple .55s ease-out; }

@keyframes checkPop { 0% { transform: scale(.55); } 55% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes demoPress { 0%,100% { transform: scale(1); box-shadow: 5px 5px 0 var(--ink); } 45% { transform: scale(.96); box-shadow: 2px 2px 0 var(--ink); } }
@keyframes clickRipple { 0% { opacity: .5; transform: scale(1); } 100% { opacity: 0; transform: scale(10); } }

@media (max-width: 560px) {
  .search-scene { padding-top: 54px; }
  .search-bar { width: 94%; height: 54px; padding-left: 15px; }
  .calculator-scene { grid-template-columns: 1fr; grid-template-rows: auto 68px; padding: 38px 2px 0; }
  .calculator-scene .calculator { grid-column: 1; min-height: 345px; padding: 17px 16px 19px; }
  .calculator-scene .calculator h2 { margin-top: 14px; }
  .calculator-scene .calc-row { min-height: 47px; }
  .interest-cta { min-width: 184px; min-height: 52px; }
  .demo-cursor { left: calc(50% + 112px); }
  .hero-animation.is-cursor .demo-cursor,.hero-animation.is-clicked .demo-cursor { transform: translate(var(--cursor-move-x, -112px),var(--cursor-move-y, -120px)) rotate(-9deg); }
}

@media (prefers-reduced-motion: reduce) {
  .interest-cta { opacity: 1; transform: none; }
  .demo-cursor { display: none; }
}

/* Hero timing and emphasis pass */
.search-scene { padding-top: 92px; }
.enter-key {
  padding: 10px 15px;
  border-color: rgba(18,21,16,.5);
  background: var(--lilac-soft);
  color: #4d2d66;
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 3px 0 rgba(18,21,16,.16);
}
.interest-cta {
  min-width: 270px;
  min-height: 66px;
  padding: 0 44px;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -.02em;
  box-shadow: 6px 6px 0 var(--ink);
}
.demo-cursor {
  width: 44px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(2px 4px 2px rgba(18,21,16,.28));
  transform-origin: 8px 8px;
}
.demo-cursor:before,.demo-cursor:after { content: none; }
.hero-animation.is-cursor .interest-cta { box-shadow: 8px 8px 0 var(--ink); }

@media (max-width: 560px) {
  .search-scene { padding-top: 78px; }
  .enter-key { display: none; }
  .interest-cta { min-width: 218px; min-height: 58px; padding: 0 32px; font-size: 1.08rem; }
  .demo-cursor { width: 36px; }
}

/* Exact hero spacing corrections */
.hero { min-height: 1100px; }
.hero-media { height: 620px; }
.search-scene { padding-top: 150px; }
.search-label {
  margin-bottom: 15px;
  color: #5a4967;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: uppercase;
}
.calculator-scene {
  grid-template-rows: auto 76px;
  gap: 38px 0;
  padding-top: 42px;
}
.interest-cta {
  min-width: 300px;
  min-height: 74px;
  padding: 0 50px;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 560px) {
  .hero { min-height: 1080px; }
  .hero-media { height: 550px; }
  .search-scene { padding-top: 110px; }
  .search-label { margin-bottom: 12px; font-size: .64rem; }
  .calculator-scene { grid-template-rows: auto 68px; gap: 28px 0; padding-top: 34px; }
  .interest-cta { min-width: 240px; min-height: 64px; padding: 0 34px; font-size: 1.25rem; }
}
