/* kweb.lt — styles. Black & white + one cobalt accent, liquid-glass surfaces. */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/geistmono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/geistmono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --black:   #000000;
  --ink:     #0A0A0A;
  --line:    #1F1F1F;
  --grey-7:  #262626;
  --grey-5:  #737373;
  --grey-4:  #A3A3A3;
  --grey-2:  #E5E5E5;
  --grey-1:  #F5F5F5;
  --white:   #FFFFFF;
  --cobalt:  #2B59FF;
  --cobalt-soft: rgba(43, 89, 255, 0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --wrap: 1200px;
  --gutter: 32px;
  --sec: 72px;
  color-scheme: dark;
}
@media (max-width: 700px) { :root { --gutter: 16px; --sec: 52px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  margin: 0; background: var(--black); color: var(--grey-4);
  font: 400 18px/1.6 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
@media (max-width: 700px) { body { font-size: 17px; } }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--cobalt); color: #fff; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 16px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--sec) 0; }
.dot { /* round cobalt full stop (Geist's own period is square) */
  font-style: normal; display: inline-block; width: .19em; height: .19em; margin-left: .045em;
  border-radius: 50%; background: var(--cobalt); color: transparent; overflow: hidden; vertical-align: baseline; line-height: 0;
}

.h2 {
  color: var(--white); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04;
  font-size: clamp(32px, 4.4vw, 56px); text-wrap: balance;
}
h3 { color: var(--white); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
.lead { font-size: 18px; color: var(--grey-4); max-width: 560px; }
.fine { font-size: 14px; color: var(--grey-5); margin-top: 20px; max-width: 760px; }
.fine.center { text-align: center; margin-left: auto; margin-right: auto; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 13px; color: var(--grey-5); }

/* Links: underline draws left → right */
.link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .2s; padding-bottom: 1px; }
.link:hover { background-size: 100% 1px; color: var(--white); }

/* ---------- Liquid glass ---------- */
.glass, .lg {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.04),
    0 12px 40px rgba(0,0,0,.45);
}
/* Fine light-catching rim (brighter top-left & bottom-right like a curved glass edge) */
.glass::before, .lg::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(140deg, rgba(255,255,255,.55), rgba(255,255,255,.08) 28%, rgba(255,255,255,.03) 60%, rgba(255,255,255,.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* Specular sheen that follows the cursor */
.glass::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(255,255,255,.07), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.glass:hover::after { opacity: 1; }
.glass > * { position: relative; z-index: 2; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease), gap .35s var(--ease), padding .35s var(--ease);
}
.btn::after { /* cobalt dot slides in on hover */
  content: ''; width: 0; height: 6px; border-radius: 50%; background: var(--cobalt);
  transition: width .35s var(--ease), margin .35s var(--ease); margin-left: 0;
}
.btn:hover { transform: translateY(-1px); }
.btn:hover::after { width: 6px; margin-left: 10px; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-white { background: var(--white); color: var(--black); box-shadow: inset 0 -1px 0 rgba(0,0,0,.12), 0 6px 24px rgba(255,255,255,.08); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.34); background: rgba(255,255,255,.07); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn-wide { width: 100%; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 var(--gutter); pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 22px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled { background: linear-gradient(180deg, rgba(20,20,20,.55), rgba(10,10,10,.45)); }
.nav-logo img { height: 15px; width: auto; }
.nav-links { display: flex; gap: 2px; margin: 0 10px 0 26px; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 999px; font-size: 15px; color: var(--grey-4); transition: color .2s, background .25s; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.07); }
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav { gap: 18px; padding-left: 18px; }
  .nav-wrap { top: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(150px, 20vh, 220px) 0 clamp(40px, 8vh, 96px); overflow: hidden; }
.hero-text { text-align: center; position: relative; z-index: 3; }
.hero-title {
  color: var(--white); font-weight: 600; letter-spacing: -0.05em; line-height: 0.98;
  font-size: clamp(44px, 6.6vw, 104px);
}
.hero-title .line { display: block; overflow: hidden; padding: 0 .04em .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .dot { display: inline-block; }
.nw { white-space: nowrap; }
.hero-sub { margin: 22px auto 0; max-width: 640px; font-size: clamp(17px, 1.35vw, 19px); }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Problem ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.split > .h2 { position: sticky; top: 120px; }
.rows .row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.rows .row:last-child { border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 22px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split > .h2 { position: static; }
  .rows .row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
}

/* Faint stepped-grid backdrop: gives glass panels something to refract */
.backdrop-steps {
  position: absolute; top: 0; bottom: 0; left: 50%; width: min(1500px, 120vw); transform: translateX(-50%);
  pointer-events: none; opacity: .9;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 96px 96px; background-position: center top;
  -webkit-mask: radial-gradient(60% 55% at 50% 55%, #000 0%, transparent 75%);
  mask: radial-gradient(60% 55% at 50% 55%, #000 0%, transparent 75%);
}
.backdrop-steps::after { /* soft silver light behind glass */
  content: ''; position: absolute; left: 50%; top: 52%; width: 70%; height: 46%; transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.10), transparent);
}
.backdrop-steps.right::after { left: 62%; }

/* ---------- Calculator ---------- */
.calc-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; position: relative; }
.calc-panel { border-radius: 28px; padding: 14px; }
.seg {
  position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 5px;
  border-radius: 999px; background: rgba(0,0,0,.35); box-shadow: inset 0 1px 2px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06);
}
.seg button {
  position: relative; z-index: 2; height: 46px; border: 0; background: none; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--grey-4); transition: color .3s;
}
.seg button:hover { color: var(--white); }
.seg button[aria-checked="true"] { color: var(--white); }
.seg-lens {
  position: absolute; z-index: 1; left: 0; top: 0; width: 0; height: 0; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(255,255,255,.08), 0 4px 18px rgba(0,0,0,.5);
  transition: transform .55s var(--ease-spring), width .55s var(--ease-spring), height .55s var(--ease-spring);
}
.seg-lens.stretch { animation: lensStretch .55s var(--ease); }
@keyframes lensStretch { 40% { scale: 1.12 .86; } }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); padding: 34px 26px 26px; gap: 24px; }
.num { display: flex; flex-direction: column; gap: 6px; }
.num + .num { border-left: 1px solid rgba(255,255,255,.08); padding-left: 28px; }
.num-label { font-size: 15px; color: var(--grey-4); }
.num-val { color: var(--white); font-size: clamp(40px, 5.4vw, 72px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.num-save .num-val { color: var(--cobalt); }
.num-unit { font-size: 15px; color: var(--grey-5); }
@media (max-width: 760px) {
  .seg { grid-template-columns: repeat(3, 1fr); border-radius: 22px; }
  .calc-panel { border-radius: 24px; padding: 10px; }
  .nums { grid-template-columns: 1fr; padding: 22px 12px 12px; gap: 0; }
  .num { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 14px 0; }
  .num + .num { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .num-label { width: 100%; }
  .num-val { font-size: 44px; }
}

/* ---------- How it works ---------- */
.how-title { max-width: 780px; margin-bottom: 48px; }
.steps-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps-list li { padding: 28px 28px 8px 0; position: relative; }
.steps-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps-list h3 { margin-bottom: 10px; }
.steps-list p { font-size: 16px; }
.steps-list li.mine::before { /* the one step that is yours */
  content: ''; position: absolute; top: -4px; left: 28px; width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt);
  box-shadow: 0 0 0 4px var(--black);
}
@media (max-width: 900px) {
  .steps-list { grid-template-columns: 1fr 1fr; }
  .steps-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li, .steps-list li + li { padding: 22px 0 18px; border-left: 0; }
  .steps-list li + li { border-top: 1px solid var(--line); }
  .steps-list li.mine::before { left: 0; }
}

/* ---------- Proof / comparison ---------- */
.proof-head { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: end; margin-bottom: 40px; }
@media (max-width: 900px) { .proof-head { grid-template-columns: 1fr; gap: 16px; } }
.compare {
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; user-select: none; touch-action: pan-y;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 80px rgba(0,0,0,.6);
  background: #111;
}
.cmp-img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.compare picture { position: absolute; inset: 0; }
.cmp-top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: rgba(255,255,255,.9); box-shadow: 0 0 12px rgba(0,0,0,.4); pointer-events: none; }
.cmp-knob {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(6px) saturate(180%); backdrop-filter: blur(6px) saturate(180%);
  transition: scale .35s var(--ease-spring);
}
.compare.dragging .cmp-knob { scale: 1.12; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp-range:focus-visible + * , .compare:has(.cmp-range:focus-visible) .cmp-knob { outline: 2px solid var(--cobalt); outline-offset: 4px; }
.cmp-tag {
  position: absolute; top: 16px; z-index: 2; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--white);
  background: linear-gradient(180deg, rgba(20,20,20,.55), rgba(20,20,20,.35));
}
.cmp-tag-l { left: 16px; }
.cmp-tag-r { right: 16px; }
.caption { margin-top: 20px; text-align: center; color: var(--white); font-size: 18px; font-weight: 500; }
@media (max-width: 700px) {
  .compare { aspect-ratio: 390 / 600; max-width: 420px; margin: 0 auto; }
  .cmp-knob { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
}

/* ---------- Pricing ---------- */
.pricing .h2 { margin-bottom: 44px; position: relative; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; }
.plan-flag { font-size: 14px; font-weight: 500; color: var(--cobalt); margin-bottom: 18px; }
.plan-flag.muted { color: var(--grey-5); }
.plan h3 { font-size: 22px; margin-bottom: 18px; }
.price { color: var(--white); line-height: 1.15; margin-bottom: 22px; }
.p-big { font-size: 48px; font-weight: 600; letter-spacing: -0.045em; }
.p-plus { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.p-small { font-size: 15px; color: var(--grey-4); }
.plan ul { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); margin-bottom: 28px; flex: 1; }
.plan li { font-size: 16px; padding-left: 20px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--grey-5); }
.plan-rec { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px var(--cobalt), 0 20px 60px rgba(0,0,0,.5); }
.plan-rec li::before { background: var(--cobalt); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; color: var(--white); font-size: 19px; font-weight: 500; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover .plus { background: rgba(255,255,255,.1); }
.plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: transform .45s var(--ease), background .25s; }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--white); border-radius: 2px; }
.plus::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
details[open] .plus { transform: rotate(180deg); }
details[open] .plus::after { transform: rotate(0deg); }
.ans { overflow: hidden; }
.ans p { padding: 0 56px 24px 0; font-size: 17px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; position: relative; }
.contact-intro .lead { margin-top: 18px; }
.person { margin-top: 36px; display: flex; align-items: center; gap: 18px; padding: 16px 22px 16px 16px; border-radius: 20px; width: fit-content; }
.person img { border-radius: 14px; }
.person-name { color: var(--white); font-weight: 600; font-size: 17px; }
.person-role { font-size: 15px; color: var(--grey-5); margin-bottom: 2px; }
.person .link { font-size: 16px; color: var(--white); }
.form-panel { border-radius: 28px; padding: 28px; }
#leadForm { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; font-size: 14px; color: var(--grey-4); }
.field input, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 0; outline: none;
  background: rgba(0,0,0,.4); color: var(--white); font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 1px 2px rgba(0,0,0,.5);
  transition: box-shadow .25s var(--ease), background .25s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 92px; }
.field input::placeholder { color: var(--grey-5); }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1px var(--cobalt), 0 0 0 4px var(--cobalt-soft); background: rgba(0,0,0,.55); }
.field.bad input { box-shadow: inset 0 0 0 1px #ff6b6b; }
.form-error { font-size: 15px; color: #ff8a8a; }
#leadForm .btn-wide { margin-top: 6px; height: 52px; }
.form-note { font-size: 14px; color: var(--grey-5); text-align: center; }
.form-done { text-align: left; padding: 24px 6px; outline: none; }
.form-done h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; margin: 22px 0 10px; }
.form-done p { margin-bottom: 26px; }
.done-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 0 rgba(43,89,255,.5); animation: ping 1.8s var(--ease) 2; }
@keyframes ping { 70% { box-shadow: 0 0 0 16px rgba(43,89,255,0); } 100% { box-shadow: 0 0 0 0 rgba(43,89,255,0); } }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-panel { padding: 20px; border-radius: 24px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { position: relative; margin-top: 24px; }
.horizon { position: relative; height: clamp(240px, 26vw, 400px); --hz: 45%; }
#foot3d { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.liquid { /* frosted liquid surface the objects sink into */
  position: absolute; left: 0; right: 0; top: var(--hz); bottom: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03) 30%, rgba(0,0,0,.75) 75%, #000);
  -webkit-backdrop-filter: blur(5px) saturate(120%) brightness(.8); backdrop-filter: blur(5px) saturate(120%) brightness(.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 10px 24px -12px rgba(255,255,255,.18);
}
.foot-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; padding-top: 8px; padding-bottom: 56px; }
.foot-grid > div { padding: 24px 24px 0; border-left: 1px dashed rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 10px; font-size: 15px; position: relative; }
.foot-grid > div:first-child { border-left: 0; padding-left: 0; }
.foot-grid > div + div::before { /* tars-style node on the hairline */
  content: ''; position: absolute; left: -3.5px; top: 0; width: 6px; height: 6px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: var(--black);
}
.foot-brand img { height: 20px; width: auto; margin-bottom: 12px; align-self: flex-start; }
.foot-h { color: var(--grey-5); font-size: 14px; margin-bottom: 6px; }
.foot-col a, .foot-col span { color: var(--grey-4); width: fit-content; }
.foot-copy { color: var(--grey-5); font-size: 14px; }
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .foot-grid > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .foot-grid > div:nth-child(4)::before { display: none; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-grid > div:nth-child(2) { border-left: 0; padding-left: 0; }
  .foot-grid > div:nth-child(2)::before { display: none; }
}

/* ---------- Motion (only when JS is on) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero-title .line > span { transform: translateY(105%); }
.js .hero-title .dot { opacity: 0; transform: translateY(-1.4em); }
.js .hero.play .hero-title .line > span { transform: none; transition: transform 1s var(--ease); }
.js .hero.play .hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.js .hero.play .hero-title .dot { opacity: 1; transform: none; transition: transform .7s cubic-bezier(.3,1.6,.5,1) .85s, opacity .2s linear .85s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
  .js [data-reveal],   .js .hero-title .line > span, .js .hero-title .dot { transform: none; opacity: 1; }
      }

/* round 2 (11 Nov): small "nuo" before calculator numbers, one-line centred proof text */
.num-from { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--grey-4); margin-right: 8px; }
.proof-line { text-align: center; margin: 0 auto 32px; }
/* price cards: every row (label, name, price, list, button) lines up across the three cards */
.plans { grid-auto-rows: auto; }
.plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
.plan .price { align-self: start; }
.plan ul { margin-bottom: 28px; }
.plan .btn { align-self: end; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }  /* spam trap, hidden from people */

/* phone (10 Nov): full uomas phone screen in the slider, labels at the bottom so they don't cover the logo */
@media (max-width: 700px) {
  .compare { aspect-ratio: 390 / 600; max-width: 320px; }
  .cmp-tag { top: auto; bottom: 14px; }
}
/* phone: price cards side by side, swipe between them (next card peeks in) */
@media (max-width: 900px) {
  .plans { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plans { overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
  .plan { display: flex; flex-direction: column; flex: 0 0 86%; max-width: 420px; scroll-snap-align: start; scroll-snap-stop: always; }
  .js .plans [data-reveal] { opacity: 1; transform: none; transition: none; }   /* no slide-up inside the carousel: cards just sit there */
  .plan ul { flex: 1; }
  .plan .btn { align-self: stretch; }
}
