/* ==========================================================================
   HERMERA — site.css (Phase 5 design system)
   Rules and rationale: brand.md. Pages move onto this stylesheet one by one
   as they are redesigned; pages not yet redesigned still load styles.css.
   When the last page has moved, styles.css is deleted and this becomes the
   one shared stylesheet.
   ========================================================================== */

:root {
  /* core — fixed brand colours */
  --accent: #3ADE5B;
  --accent-hover: #2CC44B;
  --green-deep: #0E3B2D;
  --black: #000000;
  --white: #FFFFFF;

  /* surfaces — lifted from the old near-black, with a faint green cast */
  --bg: #111412;
  --bg-raised: #151916;
  --tile: #1A1F1C;
  --tile-2: #202622;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --line-3: rgba(255, 255, 255, .22);

  /* text — body is near-white now, grey only for small print */
  --text: #F3F6F4;
  --text-body: #CED5D1;
  --text-muted: #8C9691;
  --text-dim: #9DA7A2;

  /* light reading band (case studies) — accent is never text here (brand.md §2.3) */
  --linkedin: #007EBB; /* official LinkedIn blue (founder links) */
  --light-bg: #F4F6F3;
  --light-card: #FFFFFF;
  --light-line: #E1E6E2;
  --light-text: #1F2422;
  --light-head: #0E3B2D;
  --light-muted: #5E6863;

  /* type */
  --f-display: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --fs-h1: clamp(2.4rem, 1.45rem + 3.5vw, 4.25rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.1vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .45vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  /* layout */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec-pad: clamp(88px, 10vw, 150px);
  --hdr-h: 76px;
  --radius: 20px;
  --radius-lg: 28px;

  /* motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  interpolate-size: allow-keywords;
}
@media (min-width: 900px) { :root { --hdr-h: 84px; } }

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hdr-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-family: var(--f-display); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Headings: thin white, with the key phrase in bold green (from the decks) */
h1, h2 {
  font-weight: 300;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 em, h2 em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.028em;
}
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -.008em; }

.accent { color: var(--accent); font-weight: 700; }


/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--black);
  font: 600 .9375rem/1 var(--f-body);
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: background-color .25s ease, transform .4s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn--sm { padding: 11px 22px; font-size: .875rem; }
.btn--lg { padding: 18px 34px; font-size: 1rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--black);
  font: 600 .8125rem/1.2 var(--f-body);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--outline { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px rgba(58, 222, 91, .55); }

.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 500;
  font-size: .9375rem;
  position: relative;
}
/* invisible, larger tap area (phones) — no layout change */
a.more::before { content: ""; position: absolute; inset: -10px -6px; }
.more__arrow { transition: transform .45s var(--ease); }
.more:hover .more__arrow,
a:hover .more .more__arrow { transform: translateX(5px); }

/* ---- Header — always carries its own hairline so it reads as a bar ------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(17, 20, 18, .35);
  border-bottom: 1px solid var(--line-2);
  transition: background-color .4s ease;
}
.hdr.is-scrolled,
.hdr[data-nav-open="true"] {
  background: rgba(17, 20, 18, .8);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.hdr__inner { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); }
.hdr .hdr__logo { display: block; padding-block: 8px; } /* taller tap area; the bar keeps its height */
.hdr__logo img { width: 124px; height: auto; } /* footer logo uses the same class */
.hdr__nav { display: none; align-items: center; gap: 36px; }
.hdr__list { display: flex; gap: 32px; }
.hdr__link {
  position: relative;
  font-size: .9375rem;
  color: var(--text-body);
  transition: color .25s ease;
}
.hdr__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.hdr__link:hover { color: var(--text); }
.hdr__link:hover::after { transform: scaleX(1); transform-origin: left; }

.hdr__toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  color: var(--text); font: 500 .9375rem var(--f-body);
}
.hdr__bars, .hdr__bars::before { display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform .35s var(--ease); }
.hdr__bars::before { content: ""; position: absolute; top: 6px; }
.hdr__bars { transform: translateY(-3px); }
.hdr[data-nav-open="true"] .hdr__bars { transform: rotate(45deg); }
.hdr[data-nav-open="true"] .hdr__bars::before { transform: translateY(-6px) rotate(-90deg); }

.mnav { display: none; padding: 8px 0 28px; }
.hdr[data-nav-open="true"] .mnav { display: block; }
.mnav__list { margin-bottom: 20px; }
.mnav__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 300 1.5rem var(--f-display); color: var(--text); }

@media (min-width: 900px) {
  .hdr__logo img { width: 150px; }
  .hdr__nav { display: flex; }
  .hdr__toggle, .mnav, .hdr[data-nav-open="true"] .mnav { display: none; }
}

/* ---- Ribbons canvas (the signature) -------------------------------------- */
.ribbons { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---- H1 Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--hdr-h) + clamp(56px, 9vh, 110px));
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 88% 18%, rgba(58, 222, 91, .10), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(14, 59, 45, .55), transparent 70%),
    var(--bg);
}
.hero__grid { position: relative; z-index: 1; flex: 1; display: grid; align-items: center; gap: 48px; padding-bottom: 64px; }
.hero__title { font-size: var(--fs-h1); line-height: 1.04; max-width: 15ch; }
.hero__sub { margin-top: 28px; max-width: 54ch; font-size: var(--fs-lead); line-height: 1.65; }
.hero__cta { margin-top: 40px; }

/* phones — placeholder for the user's own email designs */
.hero__visual { display: none; position: relative; height: 560px; }
@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .hero__visual { display: block; }
}
.phone {
  position: absolute;
  width: 250px;
  aspect-ratio: 9 / 18.5;
  padding: 9px;
  border-radius: 40px;
  background: linear-gradient(160deg, #2A302C, #0B0D0C 60%);
  border: 1px solid var(--line-3);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.phone__screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #F5F6F3; }
.phone--front { right: 8%; top: 40px; transform: rotate(4deg); animation: float 7s ease-in-out infinite; }
.phone--back  { right: 46%; top: 0; transform: rotate(-6deg) scale(.92); opacity: .9; animation: float2 8s ease-in-out infinite; }
@keyframes float  { 50% { transform: rotate(4deg) translateY(-14px); } }
@keyframes float2 { 50% { transform: rotate(-6deg) scale(.92) translateY(12px); } }

/* the real email inside each phone scrolls slowly top → bottom → top */
.phone__email { width: 100%; height: auto; will-change: transform; animation: emailScroll 26s var(--ease-io) 2s infinite; }
.phone--back .phone__email { animation-duration: 30s; animation-delay: 5s; }
@keyframes emailScroll {
  0%, 10%   { transform: translateY(0); }
  45%, 58%  { transform: translateY(calc(-100% + 496px)); }
  92%, 100% { transform: translateY(0); }
}

/* client logo strip */
.logos {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 30px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__set { display: flex; align-items: center; gap: clamp(56px, 7vw, 96px); padding-right: clamp(56px, 7vw, 96px); }
.logos__set img { opacity: .62; transition: opacity .3s ease; }
.logos__set img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

img.client-logo { width: var(--logo-w); height: var(--logo-h); object-fit: contain; }
img.client-logo--hairsera           { --logo-w:  54px; --logo-h: 48px; }
img.client-logo--noriu_sveiku_dantu { --logo-w:  71px; --logo-h: 37px; }
img.client-logo--genviten           { --logo-w: 128px; --logo-h: 15px; }
img.client-logo--fermentuotas       { --logo-w:  72px; --logo-h: 37px; }
img.client-logo--e-sampunai         { --logo-w: 128px; --logo-h: 22px; }
img.client-logo--superola           { --logo-w:  89px; --logo-h: 30px; }

/* ---- Sections ------------------------------------------------------------ */
.sec { position: relative; padding-block: var(--sec-pad); }
.sec--raised { background: var(--bg-raised); }
.sec--tight-top { padding-top: clamp(56px, 6vw, 88px); } /* a section without its own heading */
.sec + .sec { border-top: 1px solid var(--line); }

.head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.head__lead { margin-top: 22px; font-size: var(--fs-lead); max-width: 58ch; }
.head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.head--split > div:first-child { max-width: 760px; }

.prose { display: grid; gap: 20px; max-width: 60ch; margin-top: 28px; }
.prose--lg { font-size: var(--fs-lead); }


/* ---- Tiles (shared card) ------------------------------------------------- */
.tile {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)), var(--tile);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .5s ease, transform .6s var(--ease);
}
/* cursor spotlight */
.tile::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(58, 222, 91, .09), transparent 45%);
  opacity: 0;
  transition: opacity .5s ease;
  z-index: -1;
  pointer-events: none;
}
.tile:hover { border-color: rgba(58, 222, 91, .28); }
.tile:hover::before { opacity: 1; }

/* ---- Line visuals (shared) ----------------------------------------------- */
.viz svg, .tabs__viz svg { width: 100%; height: auto; overflow: visible; }
.viz__lines path { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1.2; stroke-linecap: round; }
.viz__people circle { fill: var(--tile); stroke: rgba(255, 255, 255, .32); stroke-width: 1.2; }
.viz__pulses circle { fill: var(--accent); opacity: 0; }

/* ---- H2 split + process visual ------------------------------------------- */
.split { display: grid; gap: 56px; align-items: center; }
.split__visual { max-width: 580px; width: 100%; justify-self: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr 1fr; gap: 72px; } }

.proc__tag path, .proc__tag circle { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1.3; stroke-linejoin: round; }
.proc__tag--pick path:first-child { fill: rgba(58, 222, 91, .12); stroke: var(--accent); }
.proc__tag--pick circle { stroke: var(--accent); }
.proc__pct { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.proc__mail rect { fill: var(--tile-2); stroke: rgba(255, 255, 255, .45); stroke-width: 1.4; }
.proc__mail-flap { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1.4; stroke-linejoin: round; }
.proc__mail-line { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 3; stroke-linecap: round; }

/* ---- Tabs (H3): headline-first list + detail card ------------------------ */
.tabs__head { font: inherit; margin: 0; }
.tabs__btn {
  width: 100%;
  display: flex; align-items: center; gap: 20px;
  padding: 26px 0;
  background: none; border: 0; border-top: 1px solid var(--line-2);
  text-align: left; cursor: pointer; color: inherit;
}
.tabs__num { font: 500 .8125rem/1 var(--f-body); letter-spacing: .08em; color: var(--text-muted); transition: color .3s ease; flex: none; width: 24px; }
.tabs__title {
  flex: 1;
  font: 400 clamp(1.375rem, 1.15rem + .75vw, 1.875rem)/1.2 var(--f-display);
  letter-spacing: -.02em;
  color: var(--text-dim);
  transition: color .35s ease;
}
.tabs__btn:hover .tabs__title { color: var(--text); }
.tabs__item.is-active .tabs__title { color: var(--text); }
.tabs__item.is-active .tabs__num { color: var(--accent); }
.tabs__plus { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .35s ease, border-color .35s ease; }
.tabs__plus::before, .tabs__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--text); transition: transform .5s var(--ease); }
.tabs__plus::after { transform: rotate(90deg); }
.tabs__item.is-active .tabs__plus { background: var(--accent); border-color: var(--accent); }
.tabs__item.is-active .tabs__plus::before, .tabs__item.is-active .tabs__plus::after { background: var(--black); }
.tabs__item.is-active .tabs__plus::after { transform: rotate(0); }

.tabs { border-bottom: 1px solid var(--line-2); }

/* The open card: the text leads, the animated scene supports it below */
.tabs__panel { padding: 4px 0 32px 44px; display: flex; flex-direction: column; }
.tabs__meta { display: none; }
.tabs__panel p {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--text);
  max-width: 60ch;
}
.tabs__viz {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  background: radial-gradient(60% 90% at 50% 100%, rgba(58, 222, 91, .07), transparent 70%);
}
.tabs__viz svg, .tabs__viz.sc svg { display: block; width: 100%; max-width: 380px; height: auto; margin-inline: auto; }

/* JS: phones get an accordion (only the open item shows its body) */
.js .tabs__item:not(.is-active) .tabs__panel { display: none; }

/* desktop: headlines on the left, the open item's detail on the right */
@media (min-width: 960px) {
  .js .tabs {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    grid-template-rows: repeat(4, auto) 1fr;
    column-gap: 64px;
    border-bottom: 0;
  }
  .js .tabs__item { display: contents; }
  .js .tabs__head { grid-column: 1; }
  .js .tabs__item:last-child .tabs__head { border-bottom: 1px solid var(--line-2); }
  .js .tabs__plus { display: none; }
  .js .tabs__btn { padding: 30px 0; }
  .js .tabs__item.is-active .tabs__btn { box-shadow: inset 3px 0 0 var(--accent); padding-left: 22px; margin-left: -22px; width: calc(100% + 22px); transition: padding .5s var(--ease); }
  .js .tabs__panel {
    grid-column: 2; grid-row: 1 / -1;
    align-self: stretch;
    min-height: 580px;
    padding: 34px 40px 0;
    border-radius: var(--radius);
    border: 1px solid var(--line-2);
    background:
      radial-gradient(70% 50% at 0% 0%, rgba(58, 222, 91, .07), transparent 70%),
      linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)),
      var(--tile);
    overflow: hidden;
    animation: panelIn .7s var(--ease);
  }
  /* 01 / 04 counter + progress marks */
  .js .tabs__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
  .tabs__count { font: 500 .8125rem/1 var(--f-body); letter-spacing: .08em; color: var(--text-muted); }
  .tabs__count b { color: var(--accent); font-weight: 600; }
  .tabs__steps { display: flex; gap: 6px; }
  .tabs__steps i { width: 22px; height: 3px; border-radius: 2px; background: var(--line-2); }
  .tabs__item:nth-child(1) .tabs__steps i:nth-child(1),
  .tabs__item:nth-child(2) .tabs__steps i:nth-child(2),
  .tabs__item:nth-child(3) .tabs__steps i:nth-child(3),
  .tabs__item:nth-child(4) .tabs__steps i:nth-child(4) { background: var(--accent); width: 34px; }

  /* the scene sits at the foot of the card, edge to edge */
  .js .tabs__viz {
    flex: 1 1 auto;
    display: flex; align-items: center; justify-content: center;
    margin: 0 -40px;
    padding: 24px 40px 28px;
  }
  .js .tabs__panel p { margin-bottom: 30px; }
  .js .tabs__viz svg, .js .tabs__viz.sc svg { width: 100%; max-width: 380px; height: auto; }
}
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }

/* ---- H4 offers — stacked, two identities --------------------------------- */
.offers { display: grid; gap: 24px; }
.offer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 32px;
  padding: clamp(26px, 3.5vw, 48px);
  border-radius: var(--radius-lg);
}
.offer > .ribbons { z-index: -1; }
.offer__main { display: flex; flex-direction: column; align-items: flex-start; }
.offer__title { margin-top: 18px; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.offer .more { margin-top: 28px; }

/* Offer 1 — build: dark surface, green outline identity */
.offer--build {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)), var(--tile);
  border: 1px solid var(--line-2);
}
/* Offer 2 — grow: deep-green surface with ribbons */
.offer--grow {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(58, 222, 91, .14), transparent 55%),
    linear-gradient(160deg, #134A38 0%, var(--green-deep) 50%, #0B2F24 100%);
  border: 1px solid rgba(58, 222, 91, .25);
}

.ticks { align-self: center; }
.ticks li {
  position: relative;
  padding: 13px 0 13px 32px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
  color: var(--text);
}
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.offer--grow .ticks li { border-color: rgba(255, 255, 255, .12); }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 17px;
  width: 16px; height: 16px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.facts { margin: 26px 0 0; display: grid; gap: 14px; width: 100%; }
.facts dt { font: 600 .8125rem/1.3 var(--f-body); color: var(--accent); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--text); line-height: 1.55; max-width: 48ch; }
.facts__row--pay { padding: 16px 20px; border-radius: 14px; }
.offer--build .facts__row--pay { background: var(--green-deep); border: 1px solid rgba(58, 222, 91, .28); }
.offer--grow .facts__row--pay { background: rgba(0, 0, 0, .28); border: 1px solid rgba(58, 222, 91, .3); }

@media (min-width: 1000px) {
  .offer { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
}
/* phones: list comes before the "read more" link */
@media (max-width: 999px) {
  .offer { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .offer__main { display: contents; }
  .offer .ticks { order: 1; width: 100%; margin-top: 26px; }
  .offer .more { order: 2; }
}

/* ---- H5 case studies ----------------------------------------------------- */
.cases { display: grid; gap: 20px; }
@media (min-width: 960px) { .cases { grid-template-columns: 1fr 1fr; } }
.case { display: flex; flex-direction: column; height: 100%; padding: clamp(28px, 3vw, 40px); border-color: var(--line-2); }
.case__logo { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.case__logo img { height: 50px; width: auto; }
.case__logo--wide img { height: 40px; margin-block: 5px; }
.case__title { margin-top: 28px; font-size: clamp(1.5rem, 1.3rem + .7vw, 1.875rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.18; max-width: 22ch; }
.case__text { margin-top: 14px; max-width: 48ch; }
.case .more { margin-top: auto; padding-top: 28px; }

/* ---- H6 reviews slider --------------------------------------------------- */
.slider__controls { display: flex; gap: 10px; }
.slider__btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-3);
  background: transparent;
  color: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease;
}
.slider__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.slider__btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--black); }
.slider__btn:disabled { opacity: .3; cursor: default; }

.slider__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider__viewport::-webkit-scrollbar { display: none; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px; }
@media (min-width: 760px) { .slider__track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (min-width: 1180px) { .slider__track { grid-auto-columns: calc((100% - 40px) / 3); } }
.slider__slide { scroll-snap-align: start; display: flex; }

.review {
  width: 100%;
  padding: 34px 32px 28px;
  display: flex; flex-direction: column;
  min-height: 340px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #252C27, #1D231F);
  border: 1px solid var(--line-3);
  transition: border-color .4s ease;
}
.review:hover { border-color: rgba(58, 222, 91, .45); }
.review__mark { width: 44px; height: auto; fill: var(--accent); flex: none; }
.review__quote { margin: 22px 0 28px; color: var(--text); font-size: 1.0625rem; line-height: 1.65; }
.review__foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line-2); }
.review__who { display: grid; gap: 2px; }
.review__name { color: var(--text); font-weight: 600; }
.review__co { font-size: var(--fs-small); color: var(--text-muted); }
.review .client-logo { opacity: .8; flex: none; }

/* ---- H7 about ------------------------------------------------------------ */
.sec--about { overflow: hidden; }
.ribbons--about { display: none; }
.about { position: relative; z-index: 1; display: grid; gap: 8px; }
.about__body .more { margin-top: 8px; }

.founders { display: flex; gap: 20px; margin-top: 40px; }
.founder {
  width: clamp(120px, 12vw, 168px); aspect-ratio: 1;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(140deg, #3DDE5C, #04441D);
}
.founder img {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  object-fit: cover; object-position: 50% 28%;
  border: 2px solid var(--bg-raised);
}

@media (min-width: 960px) {
  .ribbons--about { display: block; }
  .about { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .about__body { margin-top: 36px; }
}

/* ---- H8 FAQ -------------------------------------------------------------- */
.faqwrap { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .faqwrap { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .faqwrap__head { position: sticky; top: 130px; }
}
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  font: 400 clamp(1.125rem, 1.05rem + .35vw, 1.3125rem)/1.35 var(--f-display);
  letter-spacing: -.015em;
  color: var(--text);
  transition: color .3s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent); }
.faq__icon {
  position: relative; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color .35s ease, border-color .35s ease, transform .5s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.5px; margin: -.75px 0 0 -6px;
  background: currentColor; transition: transform .5s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--accent); border-color: var(--accent); color: var(--black); transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 56px 28px 0; max-width: 62ch; }
.faq__item::details-content {
  height: 0; overflow: clip;
  transition: height .55s var(--ease), content-visibility .55s allow-discrete;
}
.faq__item[open]::details-content { height: auto; }

/* ---- H9 CTA -------------------------------------------------------------- */
.sec--cta { padding-top: clamp(24px, 4vw, 40px); }
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(58, 222, 91, .16), transparent 55%),
    linear-gradient(160deg, #124A38 0%, var(--green-deep) 45%, #0A2B21 100%);
  border: 1px solid rgba(58, 222, 91, .2);
}
.cta__inner { position: relative; z-index: 1; padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px); max-width: 860px; }
.cta__title { font-size: var(--fs-h2); line-height: 1.08; }
.cta__body { margin-top: 24px; font-size: var(--fs-lead); color: #DDE7E2; max-width: 52ch; }
.cta .btn { margin-top: 40px; }

/* ---- Footer -------------------------------------------------------------- */
.ftr { border-top: 1px solid var(--line); padding: 72px 0 32px; font-size: var(--fs-small); }
.ftr__top { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 760px) { .ftr__top { grid-template-columns: 2fr 1fr 1fr; } }
.ftr__brand { display: grid; gap: 24px; justify-items: start; }
.ftr__badge { width: 150px; height: auto; }
.ftr__title { font: 600 .8125rem var(--f-body); color: var(--text); margin-bottom: 18px; }
.ftr__list { display: grid; gap: 12px; }
.ftr__list a, .ftr__list span { color: var(--text-muted); transition: color .25s ease; }
.ftr__list a:hover { color: var(--text); }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--text-muted); }
.ftr__legal { display: flex; gap: 24px; }
.ftr__legal a, .ftr__btn { color: var(--text-muted); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.ftr__legal a:hover, .ftr__btn:hover { color: var(--text); }
/* invisible, larger tap areas for the small footer links (no layout change;
   -6px fills the 12px gap between rows without overlapping) */
.ftr__list a, .ftr__legal a, .ftr__btn { position: relative; }
.ftr__list a::before, .ftr__legal a::before, .ftr__btn::before { content: ""; position: absolute; inset: -6px -4px; }

/* ==========================================================================
   MOTION — only when JS is present (html.js). Without JS everything shows.
   ========================================================================== */

/* fade + rise */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* headings: each word rises out of a mask */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em .16em; margin: -.14em -.02em -.16em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(110%); transition: transform 1.1s var(--ease) calc(var(--d, 0s) + var(--i, 0) * 40ms); }
.js [data-split].is-in .w > span { transform: none; }

/* line visuals draw themselves */
.js [data-draw] .viz__lines path.dl {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease-io);
}
.js [data-draw].is-in .viz__lines path.dl { stroke-dashoffset: 0; }
.js [data-draw] .viz__lines path:nth-child(2) { transition-delay: .08s; }
.js [data-draw] .viz__lines path:nth-child(3) { transition-delay: .16s; }
.js [data-draw] .viz__lines path:nth-child(4) { transition-delay: .24s; }
.js [data-draw] .viz__lines path:nth-child(5) { transition-delay: .32s; }
.js [data-draw] .viz__lines path:nth-child(6) { transition-delay: .40s; }
.js [data-draw] .viz__lines path:nth-child(n+7) { transition-delay: .48s; }

.js [data-draw] :is(.viz__people circle, .proc__tags, .proc__mail) {
  opacity: 0;
  transition: opacity .8s ease 1s;
}
.js [data-draw].is-in :is(.viz__people circle, .proc__tags, .proc__mail) { opacity: 1; }
.js [data-draw] .proc__tags { transition-delay: .1s; }
.js [data-draw] .proc__mail { transition-delay: .5s; }


/* looping life, once visible */
/* H2 B — the process: offer → one email → everyone (one 5s loop) */
.is-in .proc__pulse-one circle { animation: procOne 5s var(--ease-io) 1.8s infinite; }
@keyframes procOne {
  0%   { offset-distance: 0%;   opacity: 0; }
  4%   { opacity: 1; }
  20%  { offset-distance: 100%; opacity: 1; }
  23%  { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}
.is-in .proc__mail rect { animation: procMail 5s ease 1.8s infinite; }
@keyframes procMail {
  0%, 18%  { stroke: rgba(255, 255, 255, .45); fill: var(--tile-2); }
  24%, 34% { stroke: #3ADE5B; fill: rgba(58, 222, 91, .14); }
  44%, 100% { stroke: rgba(255, 255, 255, .45); fill: var(--tile-2); }
}
.is-in .proc__pulses circle { animation: procFan 5s var(--ease-io) 1.8s infinite; }
@keyframes procFan {
  0%, 30% { offset-distance: 0%;   opacity: 0; }
  34%     { opacity: 1; }
  78%     { offset-distance: 100%; opacity: 1; }
  84%     { offset-distance: 100%; opacity: 0; }
  100%    { offset-distance: 100%; opacity: 0; }
}
.is-in .proc__people circle { animation: procPing 5s ease 1.8s infinite; }
@keyframes procPing {
  0%, 76% { stroke: rgba(255, 255, 255, .32); }
  84%     { stroke: rgba(255, 255, 255, .85); }
  100%    { stroke: rgba(255, 255, 255, .32); }
}

/* ==========================================================================
   H3 SCENES — small animated "product" scenes, one per point
   ========================================================================== */

.sc__card { fill: #232A25; stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.sc__card--hi { fill: #1E2B22; stroke: rgba(58, 222, 91, .45); }
.sc__ico { fill: rgba(58, 222, 91, .12); stroke: rgba(58, 222, 91, .6); stroke-width: 1.2; }
.sc__glyph { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc__glyph-fill { fill: var(--accent); }
.sc__bar { fill: rgba(255, 255, 255, .12); }
.sc__bar--hi { fill: rgba(255, 255, 255, .26); }
.sc__thumb, .sc__rule { fill: rgba(255, 255, 255, .1); }
.sc__avatar { fill: #2A322C; stroke: rgba(255, 255, 255, .25); stroke-width: 1.2; }
.sc__avatar--hi { stroke: var(--accent); }
.sc__avatar-f { fill: rgba(255, 255, 255, .28); }
.sc__cart { fill: #232A25; stroke: rgba(255, 255, 255, .4); stroke-width: 1.3; }

/* 01 sources → profile */
.sc__tags rect:first-child { fill: rgba(58, 222, 91, .14); stroke: var(--accent); stroke-width: 1.2; }
.sc__tags circle { fill: var(--accent); }
.sc__tags rect + circle + rect { fill: rgba(58, 222, 91, .55); }
.sc__pulses circle { fill: var(--accent); }

/* 02 cycle timeline */
.js [data-draw] .viz__lines path.sc__dash.dl { stroke-dasharray: .012 .02; stroke-dashoffset: 0; opacity: 0; transition: opacity 1s ease 1.2s; }
.js [data-draw].is-in .viz__lines path.sc__dash.dl { opacity: 1; }
.sc__dash { stroke: rgba(58, 222, 91, .45) !important; }
.sc__risk-line { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; stroke-dasharray: 3 6; }
.sc__stem { fill: none; stroke: rgba(58, 222, 91, .5); stroke-width: 1.2; stroke-dasharray: 2 4; }
.sc__env { transform-box: fill-box; transform-origin: center; }
.sc__env rect { fill: rgba(58, 222, 91, .14); stroke: var(--accent); stroke-width: 1.4; }
.sc__env path { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linejoin: round; }
.sc__bags circle { fill: #232A25; stroke: rgba(255, 255, 255, .35); stroke-width: 1.4; }
.sc__bags path { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.6; stroke-linejoin: round; }
.sc__risk-node { fill: #1B201C; stroke: rgba(255, 255, 255, .3); stroke-width: 1.3; stroke-dasharray: 3 4; }
.sc__winback { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 5; }
.sc__playhead { fill: var(--accent); opacity: 0; filter: drop-shadow(0 0 6px rgba(58, 222, 91, .9)); }

/* 03 split */
.viz__lines path.sc__route-a { stroke: rgba(58, 222, 91, .55); }
.viz__lines path.sc__route-b { stroke: rgba(255, 255, 255, .3); }
.sc__orders circle { fill: var(--accent); }
.sc__orders--none circle { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1.2; }
.sc__hero--green { fill: #2E9E4A; }
.sc__hero--warm { fill: #B99A7C; }
.sc__btn { fill: var(--accent); }
.sc__btn--dark { fill: #0B0D0C; stroke: rgba(255, 255, 255, .3); }
.sc__pct { transform-box: fill-box; transform-origin: center; }
.sc__pct circle { fill: var(--accent); }
.sc__pct path { fill: none; stroke: var(--black); stroke-width: 2.2; stroke-linecap: round; }
.sc__pct--small path { stroke-width: 1.8; }
.sc__pa { fill: var(--accent); }
.sc__pb { fill: #FFFFFF; }

/* 04 margin */
.sc__meter-bg { fill: rgba(255, 255, 255, .08); }
.sc__meter-fill { fill: var(--accent); transform-box: fill-box; transform-origin: 0 50%; }

/* --- scene motion (only once the panel is shown) --- */
.js [data-draw] .sc__in { opacity: 0; transition: opacity .8s ease .15s; }
.js [data-draw] .sc__in--late { transition-delay: .8s; }
.js [data-draw].is-in .sc__in { opacity: 1; }

.js [data-draw] :is(.sc__mailrow, .sc__bags, .sc__risk) { opacity: 0; transition: opacity .8s ease .5s; }
.js [data-draw].is-in :is(.sc__mailrow, .sc__bags, .sc__risk) { opacity: 1; }

.js [data-draw] .sc__items g { opacity: 0; transform: translateX(-10px); transition: opacity .7s ease, transform .9s var(--ease); }
.js [data-draw] .sc__items g:nth-child(1) { transition-delay: .5s; }
.js [data-draw] .sc__items g:nth-child(2) { transition-delay: .65s; }
.js [data-draw] .sc__items g:nth-child(3) { transition-delay: .8s; }
.js [data-draw].is-in .sc__items g { opacity: 1; transform: none; }

.js [data-draw] .sc--margin .sc__pct { transform: scale(0); transition: transform .9s cubic-bezier(.34, 1.56, .64, 1) 1s; }
.js [data-draw] .sc--margin .sc__pct--small { transition-delay: 1.25s; }
.js [data-draw].is-in .sc--margin .sc__pct { transform: none; }
.js [data-draw] .sc__meter-fill { transform: scaleX(0); transition: transform 1.6s var(--ease) 1.5s; }
.js [data-draw].is-in .sc__meter-fill { transform: none; }

/* 01: three signals travel in, one after another; each lights a tag */
.is-in .sc__pulses circle { animation: srcPulse 6s var(--ease-io) 1.2s infinite backwards; }
.is-in .sc__pulses circle:nth-child(2) { animation-delay: 2.7s; }
.is-in .sc__pulses circle:nth-child(3) { animation-delay: 4.2s; }
@keyframes srcPulse {
  0%   { offset-distance: 0%;   opacity: 0; }
  4%   { opacity: 1; }
  22%  { offset-distance: 100%; opacity: 1; }
  25%  { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}
.is-in .sc__tags g { animation: tagLit 6s ease 2.5s infinite backwards; }
.is-in .sc__tags g:nth-child(2) { animation-delay: 4s; }
.is-in .sc__tags g:nth-child(3) { animation-delay: 5.5s; }
@keyframes tagLit {
  0%       { opacity: .25; }
  6%, 72%  { opacity: 1; }
  88%,100% { opacity: .25; }
}

/* 02: a playhead walks the customer's timeline */
.is-in .sc__playhead { animation: play 8s linear 1s infinite; }
@keyframes play {
  0%   { offset-distance: 0%;   opacity: 0; }
  3%   { opacity: 1; }
  95%  { offset-distance: 100%; opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.is-in .sc__bags g circle { animation: bagLit 8s ease-out 1.85s infinite backwards; }
.is-in .sc__bags g:nth-child(2) circle { animation-delay: 4.26s; }
.is-in .sc__bags g:nth-child(3) circle { animation-delay: 6.66s; }
@keyframes bagLit {
  0%       { fill: #232A25; stroke: rgba(255, 255, 255, .35); }
  2%       { fill: rgba(58, 222, 91, .25); stroke: #3ADE5B; }
  30%,100% { fill: #232A25; stroke: rgba(255, 255, 255, .35); }
}
.is-in .sc__mailrow .sc__env { animation: pop 8s ease 3.85s infinite backwards; }
.is-in .sc__mailrow .sc__env:nth-of-type(2) { animation-delay: 6.26s; }
.is-in .sc__env--win { animation: pop 8s ease 8.3s infinite backwards; }
@keyframes pop {
  0%       { transform: none; }
  3%       { transform: scale(1.22); }
  10%,100% { transform: none; }
}

/* 03: the loyal shopper's signal (green) and the first-timer's (white) */
.is-in .sc__pa { animation: abPulse 6s var(--ease-io) 1.4s infinite backwards; }
.is-in .sc__pb { animation: abPulse 6s var(--ease-io) 4.4s infinite backwards; }
@keyframes abPulse {
  0%   { offset-distance: 0%;   opacity: 0; }
  4%   { opacity: 1; }
  40%  { offset-distance: 100%; opacity: 1; }
  45%  { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* 04: discounts breathe gently once placed */
.is-in .sc--margin .sc__pct circle { animation: breatheSoft 3.2s ease-in-out 2.4s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes breatheSoft { 50% { transform: scale(1.08); } }

/* ---- Reduced motion: nothing moves ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-split] .w > span { transform: none !important; transition: opacity .6s ease !important; }
  .js [data-draw] .viz__lines path.dl { stroke-dashoffset: 0; transition: none; }
  .logos__track, .phone, .phone__email, .is-in .viz__people circle, .is-in .proc__mail rect { animation: none; }
  .is-in .viz__pulses circle { animation: none; opacity: 0; }
  .logos__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .logos__set[aria-hidden] { display: none; }
  .js .tabs__panel { animation: none; }
  .tile, .btn { transition: none; }
  .is-in :is(.sc__tags g, .sc__bags g circle, .sc__env, .sc--margin .sc__pct circle) { animation: none; }
  .is-in .sc__playhead { animation: none; opacity: 0; }
  .js [data-draw] :is(.sc__items g, .sc--margin .sc__pct, .sc__meter-fill) { transform: none; transition: none; }
}

/* ==========================================================================
   INNER-PAGE HERO (P1, and later R1 / A1 / K1)
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--hdr-h) + clamp(56px, 8vw, 110px)) 0 clamp(72px, 9vw, 124px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(55% 60% at 90% 10%, rgba(58, 222, 91, .09), transparent 70%),
    radial-gradient(45% 50% at 0% 100%, rgba(14, 59, 45, .5), transparent 70%),
    var(--bg);
}
.page-hero__grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
.page-hero__title { font-size: var(--fs-h1); line-height: 1.04; max-width: 14ch; }
.page-hero .prose { margin-top: 28px; }
.page-hero__cta { margin-top: 36px; }
@media (min-width: 1000px) { .page-hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
/* text-only inner hero (R1): one column, compact */
.page-hero--solo { padding-bottom: clamp(64px, 7vw, 96px); }
.page-hero--solo .page-hero__grid { grid-template-columns: 1fr; }
.page-hero--solo .page-hero__title { max-width: 18ch; }
.page-hero--solo .prose { max-width: 52ch; }

/* ==========================================================================
   R1 — problem → solution → growth (one line, no words, 10 s loop)
   ========================================================================== */
/* no card — the chart sits straight on the hero; guide lines fade out at
   the left so it melts into the page instead of ending on a hard edge */
.turn {
  margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 100%);
}
.turn svg { display: block; width: 100%; height: auto; overflow: visible; }
.turn__grid { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1; stroke-dasharray: 3 6; }
.turn__base { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 1; }
.turn__grey { fill: none; stroke: rgba(255, 255, 255, .42); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.turn__x { transform-box: fill-box; transform-origin: center; }
.turn__x circle { fill: #2A2F2C; stroke: rgba(255, 255, 255, .35); stroke-width: 1.4; }
.turn__x path { fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 2; stroke-linecap: round; }
.turn__area { fill: url(#turnArea); }
.turn__green { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.turn__arrow { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.turn__ring { fill: none; stroke: rgba(58, 222, 91, .5); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.turn__fix { transform-box: fill-box; transform-origin: center; }
.turn__fix circle { fill: var(--accent); stroke: rgba(58, 222, 91, .22); stroke-width: 10; paint-order: stroke; }
.turn__fix path { fill: none; stroke: var(--black); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.turn.is-in .turn__grey  { animation: tGrey  10s var(--ease-io) .8s infinite backwards; }
.turn.is-in .turn__x     { animation: tX     10s cubic-bezier(.34, 1.56, .64, 1) .8s infinite backwards; }
.turn.is-in .turn__fix   { animation: tFix   10s cubic-bezier(.34, 1.56, .64, 1) .8s infinite backwards; }
.turn.is-in .turn__ring  { animation: tRing  10s ease-out .8s infinite backwards; }
.turn.is-in .turn__green { animation: tGreen 10s var(--ease-io) .8s infinite backwards; }
.turn.is-in .turn__area  { animation: tArea  10s ease .8s infinite backwards; }
.turn.is-in .turn__arrow { animation: tArrow 10s ease .8s infinite backwards; }
@keyframes tGrey  { 0% { stroke-dashoffset: 1; opacity: 1; } 20%, 36% { stroke-dashoffset: 0; opacity: 1; } 46%, 90% { stroke-dashoffset: 0; opacity: .45; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes tX     { 0%, 20% { transform: scale(0); opacity: 1; } 24%, 36% { transform: none; opacity: 1; } 44%, 90% { transform: none; opacity: .35; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes tFix   { 0%, 32% { transform: scale(0); } 36%, 92% { transform: none; } 98%, 100% { transform: scale(0); } }
@keyframes tRing  { 0%, 34% { opacity: 0; transform: none; } 36% { opacity: 1; transform: none; } 46%, 100% { opacity: 0; transform: scale(2.4); } }
@keyframes tGreen { 0%, 38% { stroke-dashoffset: 1; } 68%, 92% { stroke-dashoffset: 0; opacity: 1; } 98%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes tArea  { 0%, 48% { opacity: 0; } 70%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes tArrow { 0%, 66% { opacity: 0; } 70%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .turn.is-in :is(.turn__grey, .turn__x, .turn__fix, .turn__ring, .turn__green, .turn__area, .turn__arrow) { animation: none; }
}

/* ==========================================================================
   CASE STUDY PAGES (CS1–CS7)
   ========================================================================== */
/* CS1 + CS2 — dark header band: logo, headline, key figures */
.case-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.case-hero .wrap { position: relative; z-index: 1; }
.case-hero__top { position: relative; }
.case-hero__logo img { height: 78px; width: auto; }
.case-hero__logo--sm img { height: 66px; }
.case-hero__title { margin-top: 32px; font-size: clamp(2.25rem, 1.4rem + 3vw, 3.875rem); line-height: 1.06; max-width: 25ch; } /* two lines on desktop */
.case-hero__stats { position: relative; margin-top: clamp(48px, 6vw, 72px); }
.stats { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.stat { padding: 28px 0; border-bottom: 1px solid var(--line); }
.stat__value { display: block; font: 600 clamp(2.5rem, 1.9rem + 2.4vw, 3.75rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--accent); }
.stat__label { margin-top: 14px; font: 500 1.125rem/1.4 var(--f-display); letter-spacing: -.005em; color: var(--text); max-width: 26ch; }
.stat__ref { margin-top: 8px; font-size: var(--fs-small); color: var(--text-muted); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-2); }
  .stat { padding: 32px 32px 32px 0; border-bottom: 0; }
  .stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
}
.case-hero__offer { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.case-hero__offer-lbl { font: 600 .75rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }

/* CS3–CS6 — the light reading band (user's choice) */
.article { background: var(--light-bg); color: var(--light-text); padding: clamp(72px, 9vw, 128px) 0; }
.article__col { max-width: calc(720px + var(--gutter) * 2); }
.article__part { position: relative; }
.article__part + .article__part { margin-top: clamp(64px, 8vw, 96px); }
.article h2 { color: var(--light-head); font-size: clamp(1.875rem, 1.5rem + 1.5vw, 2.75rem); font-weight: 300; line-height: 1.1; }
.article p { margin-top: 18px; font-size: 1.125rem; line-height: 1.75; color: var(--light-text); }
.article h2 + p { margin-top: 24px; }
.article .inline-link { color: var(--light-head); text-decoration-color: rgba(14, 59, 45, .4); }
.article .inline-link:hover { color: var(--black); text-decoration-color: currentColor; }

/* "before" list in CS3 — problems, marked with a × */
.xlist, .dlist { margin-top: 20px; display: grid; gap: 12px; }
.xlist li, .dlist li { position: relative; padding-left: 38px; font-size: 1.0625rem; line-height: 1.65; }
.xlist li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(14, 59, 45, .08);
}
.xlist li::after {
  content: ""; position: absolute; left: 7px; top: 9px; width: 10px; height: 10px;
  background: var(--light-head);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 1.5 8.5 8.5 M8.5 1.5 1.5 8.5' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 1.5 8.5 8.5 M8.5 1.5 1.5 8.5' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dlist li::before { content: ""; position: absolute; left: 10px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--light-head); }

/* CS5 charts — the screenshots in a clean "dashboard window" */
.case-figure { margin: 40px 0 0; }
.chart-card {
  position: relative;
  padding: 44px 22px 22px;
  border-radius: 18px;
  background: var(--light-card);
  border: 1px solid var(--light-line);
  box-shadow: 0 1px 3px rgba(14, 59, 45, .06), 0 24px 48px -28px rgba(14, 59, 45, .3);
}
.chart-card::before {
  content: ""; position: absolute; left: 20px; top: 18px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #D5DBD7; box-shadow: 14px 0 0 #D5DBD7, 28px 0 0 #D5DBD7;
}
.chart-card__title { font: 600 1rem/1.4 var(--f-display); color: var(--light-head); letter-spacing: -.005em; margin-bottom: 16px; }
.chart-shot__link { display: block; cursor: zoom-in; border-radius: 8px; overflow: hidden; }
.chart-shot { width: 100%; height: auto; transition: transform .8s var(--ease); }
.chart-shot__link:hover .chart-shot { transform: scale(1.015); }
.chart-note { margin-top: 10px; font-size: .8125rem; color: var(--light-muted); }

/* CS6 — one featured client quote, set editorially on the light band:
   centred between two hairlines, no box */
.quote-feature {
  margin: 0;
  padding: clamp(44px, 6vw, 72px) 0;
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  text-align: center;
}
.quote-feature__mark { width: 52px; height: auto; fill: var(--light-head); display: block; margin: 0 auto; }
.quote-feature blockquote { margin: 26px 0 0; }
.quote-feature .owner-quote__text {
  margin: 0 auto; max-width: 30ch;
  font: 300 clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem)/1.38 var(--f-display);
  letter-spacing: -.018em;
  color: var(--light-head);
  text-wrap: balance;
}
.quote-feature .owner-quote__author { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.quote-feature .owner-quote__photo { width: 76px; height: 76px; border-radius: 50%; padding: 2px; background: linear-gradient(140deg, #3DDE5C, #04441D); }
.quote-feature .owner-quote__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--light-bg); }
.quote-feature .owner-quote__id { display: grid; gap: 2px; }
.quote-feature .owner-quote__name { color: var(--light-text); font-weight: 600; font-size: 1.0625rem; }
.quote-feature .owner-quote__role { font-size: var(--fs-small); color: var(--light-muted); }
/* ==========================================================================
   APIE MUS (A1–A3)
   ========================================================================== */
/* A1 — split statement: headline + button left, the story right, first lines level */
.aone .wrap { position: relative; z-index: 1; }
.aone__title { font-size: var(--fs-h1); line-height: 1.04; max-width: 13ch; }
.aone__split { display: grid; gap: 40px; }
.aone .aone__story { margin-top: 0; }
.aone__story p:first-child { font: 300 clamp(1.375rem, 1.2rem + .7vw, 1.75rem)/1.4 var(--f-display); letter-spacing: -.015em; color: var(--text); }
@media (min-width: 1000px) { .aone__split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
/* A2 — headline-first like H3, but sideways: titles in a row, text below */
.tabs--top .tabs__ico { width: 28px; height: 28px; flex: none; overflow: visible; }
.tabs--top .tabs__ico path, .tabs--top .tabs__ico circle { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs--top .tabs__panel { padding-left: 48px; gap: 16px; }
.example-lbl { font-weight: 600; color: var(--text); }
@media (min-width: 960px) {
  .js .tabs.tabs--top { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; column-gap: 0; border-bottom: 0; }
  .js .tabs--top .tabs__head { grid-column: auto; grid-row: 1; }
  .js .tabs--top .tabs__item:last-child .tabs__head { border-bottom: 0; }
  .js .tabs--top .tabs__btn,
  .js .tabs--top .tabs__item.is-active .tabs__btn {
    position: relative;
    height: 100%; width: 100%; margin: 0;
    flex-direction: column; align-items: flex-start; gap: 20px;
    padding: 28px 28px 30px;
    border-top: 0; border-bottom: 1px solid var(--line-2);
    box-shadow: none;
    transition: background-color .4s ease;
  }
  .js .tabs--top .tabs__item + .tabs__item .tabs__btn { border-left: 1px solid var(--line); }
  .js .tabs--top .tabs__btn::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .6s var(--ease);
  }
  .js .tabs--top .tabs__item.is-active .tabs__btn { background: rgba(255, 255, 255, .025); }
  .js .tabs--top .tabs__item.is-active .tabs__btn::after { transform: none; }
  .js .tabs--top .tabs__item:not(.is-active) .tabs__ico { opacity: .55; }
  .js .tabs--top .tabs__title { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
  .js .tabs--top .tabs__panel {
    grid-column: 1 / -1; grid-row: 2;
    min-height: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    padding: 48px 28px 8px;
    border: 0; border-radius: 0; background: none; overflow: visible;
  }
  .js .tabs--top .tabs__panel p { margin: 0; max-width: 54ch; }
  .js .tabs--top .tabs__panel p:first-child { font: 300 clamp(1.375rem, 1.2rem + .7vw, 1.75rem)/1.42 var(--f-display); letter-spacing: -.015em; color: var(--text); }
  .js .tabs--top .tabs__panel p:last-child { font-size: 1.0625rem; line-height: 1.75; color: var(--text-body); }
}

/* A3 — founders: tall portrait card, name + LinkedIn, role */
/* modest, fixed-size cards (user: full-width photos looked huge); two side by side on phones too */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 14px; }
@media (min-width: 760px) { .people { gap: 24px; } }
.person { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--tile); }
.person__photo {
  aspect-ratio: 5 / 6; /* = Aurimas's photo, shown in full (user); Martinas's square loses only side background */
  display: grid; place-items: center;
  background:
    radial-gradient(70% 70% at 50% 100%, rgba(58, 222, 91, .12), transparent 70%),
    linear-gradient(180deg, #232A25, #1A1F1C);
  border-bottom: 1px solid var(--line);
}
.person__photo { position: relative; }
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.person__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px 6px; }
.person__name { font: 400 clamp(1.5rem, 1.3rem + .6vw, 1.875rem)/1.2 var(--f-display); letter-spacing: -.02em; }
.person__role { display: block; padding: 0 28px 26px; font: 600 .75rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.social-link { display: inline-flex; flex: none; width: 30px; height: 30px; border-radius: 6px; overflow: hidden; transition: opacity .25s ease; }
.social-link svg { display: block; width: 100%; height: 100%; }
.social-link__bg { fill: var(--linkedin); }
.social-link__fg { fill: var(--white); }
.social-link:hover { opacity: .85; }
@media (max-width: 759px) {
  .person__row { gap: 10px; padding: 16px 16px 4px; }
  .person__name { font-size: 1.25rem; }
  .person__role { padding: 0 16px 16px; font-size: .625rem; letter-spacing: .08em; }
  .person .social-link { width: 24px; height: 24px; border-radius: 5px; }
}

/* ==========================================================================
   KONTAKTAI (K1–K4) — Phase 4 layout kept (user): centred headline, the
   HubSpot calendar left, reassurance right (below on phones). Restyle only.
   ========================================================================== */
.khero { padding-bottom: clamp(64px, 7vw, 104px); }
.khero .wrap { position: relative; z-index: 1; }
.khead { position: relative; text-align: center; }
.khead__title { font-size: var(--fs-h1); line-height: 1.04; margin-inline: auto; max-width: 16ch; }
.khead__sub { margin: 24px auto 0; max-width: 52ch; font-size: var(--fs-lead); line-height: 1.65; }

.booking { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 48px; }
@media (min-width: 1024px) { .booking { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.scheduler { position: relative; }
/* Holds the space while HubSpot loads, so the page doesn't jump
   (615px is the minimum height HubSpot sets on its own iframe).
   The widget is HubSpot's own iframe — colours and fields are set in HubSpot. */
.meetings-iframe-container { min-height: 615px; }
.meetings-iframe-container iframe { display: block; width: 100%; }

/* K3 — no card: three quiet blocks split by hairlines */
.reassure { position: relative; }
@media (min-width: 1024px) { .reassure { padding-left: 40px; border-left: 1px solid var(--line-2); } }
.reassure__block + .reassure__block { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.reassure__lbl { display: block; font: 600 .75rem/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.reassure__block > .reassure__lbl { margin-bottom: 22px; }

.ksteps { position: relative; display: grid; gap: 22px; }
/* the green line joining the numbers draws down once */
.ksteps::before {
  content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 1px;
  background: linear-gradient(var(--accent), rgba(58, 222, 91, .25));
  transform-origin: top;
}
.js [data-reveal] .ksteps::before { transform: scaleY(0); transition: transform 1.1s var(--ease) .5s; }
.js [data-reveal].is-in .ksteps::before { transform: none; }
.kstep { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; align-items: center; }
.kstep__num {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--accent); background: var(--bg);
  font: 600 .875rem/1 var(--f-body); color: var(--accent);
}
.kstep p { color: var(--text); font-size: 1rem; line-height: 1.5; }

.reassure__line { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; align-items: center; }
.reassure__ico { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reassure__val { margin-top: 4px; font: 400 1.25rem/1.3 var(--f-display); color: var(--text); letter-spacing: -.01em; }

.reassure__quote { margin: 0; }
.reassure__mark { display: block; width: 34px; height: 24px; fill: var(--accent); }
.reassure__quote p { margin-top: 18px; font: 300 clamp(1.1875rem, 1.1rem + .3vw, 1.3125rem)/1.5 var(--f-display); letter-spacing: -.01em; color: var(--text); }
.reassure__quote footer { margin-top: 16px; font-size: var(--fs-small); color: var(--text-muted); }
.reassure__quote strong { color: var(--text); font-weight: 600; }

/* K4 — quiet email line under the band */
.kmail { position: relative; padding-block: clamp(40px, 5vw, 64px); }
.kmail .email-fallback { font-size: 1rem; color: var(--text-body); }
.email-fallback a { color: var(--accent); font-weight: 500; }
.email-fallback a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] .ksteps::before { transform: none; transition: none; }
}

/* ==========================================================================
   COOKIE POLICY + 404 (light touch: new header/footer, type and colours)
   ========================================================================== */
/* masthead: same column as the article below, so the heading lines up with it */
.page-hero--legal .page-hero__title { max-width: none; }
.page-hero--legal .prose { max-width: none; }
.article--legal .dlist li { color: var(--light-text); }
.article strong { font-weight: 600; color: var(--light-head); }
.article .policy-date { margin-top: 40px; font-size: var(--fs-small); color: var(--light-muted); }

/* Cookie table. Five columns from 768px; below that each row turns into a
   stacked block with its column name beside each value, so nothing scrolls
   sideways on a phone. */
.policy-table { width: 100%; margin-top: 28px; border-collapse: collapse; font-size: .9375rem; line-height: 1.55; color: var(--light-text); }
.policy-table + p { margin-top: 28px; }
.policy-table th, .policy-table td { padding: 14px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--light-line); }
.policy-table th:first-child, .policy-table td:first-child { padding-left: 0; }
.policy-table th:last-child, .policy-table td:last-child { padding-right: 0; }
.policy-table th { font-weight: 600; color: var(--light-head); border-bottom-color: var(--light-head); }
.policy-table__name { font-weight: 600; color: var(--light-head); overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .policy-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .policy-table, .policy-table tbody, .policy-table tr, .policy-table td { display: block; }
  .policy-table tr { padding-block: 16px; border-bottom: 1px solid var(--light-line); }
  .policy-table tr:first-child { border-top: 1px solid var(--light-head); }
  .policy-table td { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding: 4px 0; border: 0; }
  .policy-table td::before { content: attr(data-label); font-weight: 600; color: var(--light-head); }
}

/* ==========================================================================
   P1 — no visual (user's pick, 2026-10-05): split like Apie mus A1 —
   headline + button left, text right (first paragraph larger), first lines level
   ========================================================================== */
.p1split .page-hero__grid { grid-template-columns: 1fr; }
.p1split .page-hero__text { display: grid; grid-template-areas: "t" "c" "p"; }
.p1split .page-hero__title { grid-area: t; max-width: 13ch; }
.p1split .page-hero__cta { grid-area: c; }
.p1split .page-hero__text .prose { grid-area: p; margin-top: 40px; max-width: 60ch; }
.p1split .page-hero__text .prose p:first-child { font: 300 clamp(1.375rem, 1.2rem + .7vw, 1.75rem)/1.4 var(--f-display); letter-spacing: -.015em; color: var(--text); }
@media (min-width: 1000px) {
  .p1split .page-hero__text { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; grid-template-areas: "t p" "c p"; column-gap: 72px; align-items: start; }
  .p1split .page-hero__text .prose { margin-top: 0; }
}
/* 404 — heading + one button, centred in a tall band with the homepage ribbons */
.page-hero--404 { min-height: 78svh; display: grid; align-items: center; border-bottom: 0; }
.nf { position: relative; z-index: 1; }
.nf__title { font-size: var(--fs-h1); line-height: 1.04; max-width: 14ch; }
/* ==========================================================================
   OFFER SECTIONS (P2 / P3)
   Top: name + hook. Below, scrolling together: Kam skirta → Apmokėjimas →
   Rezultatas cards + button | "Paslaugos" tick list.
   ========================================================================== */
.ofr--alt { background: var(--bg-raised); }
.ofr__grid { display: grid; gap: 48px; }
.ofr__side { display: flex; flex-direction: column; gap: 14px; }
.ofr__intro { max-width: 860px; margin-bottom: clamp(36px, 4.5vw, 52px); }
.ofr__name { margin-top: 20px; font-size: var(--fs-h2); line-height: 1.08; }
.ofr__promise { margin-top: 18px; font-size: var(--fs-lead); max-width: 46ch; }

.ofr__lbl {
  display: flex; align-items: center; gap: 10px;
  font: 600 .75rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.ofr__ico { width: 22px; height: 22px; flex: none; overflow: visible; }
.ofr__ico path { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ofr__ico .viz__lines path { stroke: var(--accent); stroke-width: 1.8; }

.ofr__for, .ofr__pay, .ofr__res { padding: 22px 24px 24px; border-radius: 18px; }
.ofr__for {
  border: 1px solid rgba(58, 222, 91, .3);
  background: radial-gradient(100% 120% at 0% 0%, rgba(58, 222, 91, .12), transparent 60%), var(--tile);
}
.ofr__for-text { margin-top: 12px; font-size: 1.0625rem; line-height: 1.55; color: var(--text); }
.ofr__pay {
  border: 1px solid rgba(58, 222, 91, .35);
  background: linear-gradient(135deg, rgba(58, 222, 91, .12), rgba(14, 59, 45, .6)), var(--green-deep);
}
.ofr__pay-text { margin-top: 12px; font-size: 1.0625rem; line-height: 1.55; color: var(--text); }
.ofr__res { border: 1px solid var(--line-2); background: var(--tile); }
.ofr__res-text { margin-top: 12px; font: 400 clamp(1.1875rem, 1.1rem + .4vw, 1.375rem)/1.38 var(--f-display); letter-spacing: -.012em; color: var(--text); }
.ofr__cta { margin-top: 12px; }

.ofr__sub {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 6px;
  font: 400 1.5rem/1.2 var(--f-display); letter-spacing: -.015em;
  color: var(--text);
}
.ofr__sub::after { content: ""; flex: 1; height: 1px; background: var(--line-2); margin-left: 8px; }
.ofr__sub .ofr__ico { width: 26px; height: 26px; }

/* the tick list — easy to scan: tick, name, description */
.checks__item {
  display: grid; grid-template-columns: 30px 1fr; gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.checks__item:last-child { border-bottom: 0; }
.checks__tick {
  position: relative;
  width: 30px; height: 30px; margin-top: 1px;
  border-radius: 50%;
  background: rgba(58, 222, 91, .14);
  border: 1px solid rgba(58, 222, 91, .55);
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1) .2s;
}
.checks__tick::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 14px; height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolyline points='3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.js .checks__item:not(.is-in) .checks__tick { transform: scale(.4); }
.checks__title { font: 600 1.1875rem/1.35 var(--f-display); letter-spacing: -.01em; color: var(--text); margin-top: 2px; }
.checks__item p { margin-top: 8px; font-size: 1rem; line-height: 1.65; max-width: 60ch; }

@media (min-width: 1000px) {
  .ofr__grid { grid-template-columns: 4.6fr 7.4fr; gap: 72px; align-items: start; }
}
/* phones / tablets: name → Kam skirta → list → Apmokėjimas → Rezultatas → button */
@media (max-width: 999px) {
  .ofr__grid { display: flex; flex-direction: column; gap: 14px; }
  .ofr__side { display: contents; }
  .ofr__main { order: 1; margin: 20px 0 12px; }
  .ofr__pay { order: 2; } .ofr__res { order: 3; } .ofr__cta { order: 4; }
}

@media (prefers-reduced-motion: reduce) {
  .checks__tick { transition: none; }
  .js .checks__item:not(.is-in) .checks__tick { transform: none; }
}

/* "Arba" — sits on the seam between the two offers */
/* a 38 px strip pulled half over each section, so the pill sits exactly on the seam */
.arba {
  position: relative; z-index: 3;
  height: 38px; margin: -19px 0;
  display: flex; justify-content: center; align-items: center;
  pointer-events: none;
}
.arba span {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px;
  padding: 0 22px 0 25px; /* +3 px left balances the trailing letter-spacing */
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid rgba(58, 222, 91, .4);
  font: 600 .75rem/1 var(--f-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text);
}


/* ---- Secondary button + inline link (used by the cookie banner) ---------- */
.btn--primary { /* same as .btn — kept so shared markup reads clearly */ }
.btn--secondary {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-3);
}
.btn--secondary:hover { background: var(--tile-2); }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--text); }
[hidden] { display: none !important; }

/* ---- Cookie banner (logic in main.js; hooks unchanged) ------------------- */
.cookie-banner {
  position: fixed;
  z-index: 70;
  left: 12px; right: 12px; bottom: 12px;
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: rgba(30, 36, 32, .96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-3);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
  animation: bannerIn .7s var(--ease) .6s backwards;
}
.cookie-banner__text { font-size: .875rem; line-height: 1.6; color: var(--text-body); }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cookie-banner .btn { width: 100%; }
@media (min-width: 640px) {
  .cookie-banner { left: 24px; right: auto; bottom: 24px; max-width: 400px; padding: 24px; }
}
@keyframes bannerIn { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }
