/* Content below the hero: four drop-down buttons (made / learn / foreword / about), purchase, footer. */

:root {
  --ink: #efe9ee; --ink-2: #bdb3bb; --ink-3: #8f8797; --line: rgba(255,255,255,.1);
  --violet: #4f2792;                 /* the shirt's flowers */
  --violet-hi: #b69cff;              /* violet that reads on the dark background */
  --blue: #3d63ff;                   /* the plasma's blue */
  --veil: rgba(7, 6, 11, .8);        /* dims the fixed plasma behind every section */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-back: cubic-bezier(.68, -.6, .32, 1.6);   /* framer-motion's backInOut, as close as one bezier gets */
}
html { scrollbar-gutter: stable; }
/* anchor jumps land below the fixed header. Sections settle into place in sections.js, not with CSS scroll-snap:
   in Chrome both proximity and mandatory snap swallowed mouse-wheel scrolls out of the hero */
html { scroll-padding-top: 80px; }

.sec { background: var(--veil); color: var(--ink); padding: clamp(72px, 10vw, 140px) 32px; border-top: 1px solid rgba(255,255,255,.08); }
.sec-in { max-width: 1160px; margin: 0 auto; }
.sec h2 { margin: 0 0 20px; font: 700 clamp(34px, 5vw, 64px)/1.15 var(--ui-font); color: #fff; text-wrap: balance; }
.lede { margin: 0 0 48px; max-width: 34em; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

/* ---------- shiny button: vanilla port of 21st.dev "shiny-button" (designali-in), colours from the hero ---------- */
@property --gradient-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@property --gradient-angle-offset { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@property --gradient-percent { syntax: '<percentage>'; initial-value: 5%; inherits: false; }
@property --gradient-shine { syntax: '<color>'; initial-value: white; inherits: false; }

.shiny {
  --shiny-bg: #0b0a12; --shiny-bg-subtle: #1f1c2b; --shiny-fg: #fff;
  --shiny-highlight: var(--blue); --shiny-highlight-subtle: var(--violet-hi);
  --animation: gradient-angle linear infinite; --duration: 3s; --shadow-size: 2px;
  --transition: 800ms cubic-bezier(.25, 1, .5, 1);
  isolation: isolate; position: relative; overflow: hidden; cursor: pointer; outline-offset: 4px;
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  padding: 1.1rem 2.3rem; font: 600 18px/1.2 var(--ui-font); color: var(--shiny-fg);
  border: 1px solid transparent; border-radius: 360px;
  background:
    linear-gradient(var(--shiny-bg), var(--shiny-bg)) padding-box,
    conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent, var(--shiny-highlight) var(--gradient-percent),
      var(--gradient-shine) calc(var(--gradient-percent) * 2),
      var(--shiny-highlight) calc(var(--gradient-percent) * 3),
      transparent calc(var(--gradient-percent) * 4)) border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-bg-subtle);
  transition: --gradient-angle-offset var(--transition), --gradient-percent var(--transition),
              --gradient-shine var(--transition), scale 160ms var(--ease-out);
}
.shiny::before, .shiny::after, .shiny span::before {
  content: ''; pointer-events: none; position: absolute; inset-inline-start: 50%; inset-block-start: 50%;
  translate: -50% -50%; z-index: -1;
}
.shiny:active { scale: .97; }
/* dots */
.shiny::before {
  --size: calc(100% - var(--shadow-size) * 3); --position: 2px; --space: calc(var(--position) * 2);
  width: var(--size); height: var(--size);
  background: radial-gradient(circle at var(--position) var(--position), white calc(var(--position) / 4), transparent 0) padding-box;
  background-size: var(--space) var(--space); background-repeat: space;
  mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg), black, transparent 10% 90%, black);
  border-radius: inherit; opacity: .4;
}
/* inner shimmer */
.shiny::after {
  --animation: shimmer linear infinite;
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, var(--shiny-highlight), transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black); opacity: .6;
}
/* the span stays static: its ::before glow is sized off the button, and text paints above the z-index:-1 layers anyway */
.shiny span::before {
  --size: calc(100% + 1rem); width: var(--size); height: var(--size);
  box-shadow: inset 0 -1ex 2rem 4px var(--shiny-highlight); opacity: 0;
  transition: opacity var(--transition); animation: calc(var(--duration) * 1.5) breathe linear infinite;
}
.shiny, .shiny::before, .shiny::after {
  animation: var(--animation) var(--duration), var(--animation) calc(var(--duration) / .4) reverse paused;
  animation-composition: add;
}
/* hover, keyboard focus and the open pane's button all get the lit state */
.shiny:is(:hover, :focus-visible, [aria-expanded="true"]) {
  --gradient-percent: 20%; --gradient-angle-offset: 95deg; --gradient-shine: var(--shiny-highlight-subtle);
}
.shiny:is(:hover, :focus-visible, [aria-expanded="true"]),
.shiny:is(:hover, :focus-visible, [aria-expanded="true"])::before,
.shiny:is(:hover, :focus-visible, [aria-expanded="true"])::after { animation-play-state: running; }
.shiny:is(:hover, :focus-visible, [aria-expanded="true"]) span::before { opacity: 1; }
.shiny:focus-visible { outline: 2px solid var(--violet-hi); }
@keyframes gradient-angle { to { --gradient-angle: 360deg; } }
@keyframes shimmer { to { rotate: 360deg; } }
@keyframes breathe { from, to { scale: 1; } 50% { scale: 1.2; } }

/* ---------- the four buttons ---------- */
.hub { padding: 56px 0 64px; }
.hub > .sec-in { padding: 0 32px; }
.hub-sentinel { height: 1px; }
/* sticks under the site header while a long pane is open, so switching or closing never needs a scroll back */
.hub-bar { position: sticky; top: 80px; z-index: 3; padding: 12px 32px; transition: background-color .3s, box-shadow .3s; }
.hub.stuck .hub-bar {
  background: rgba(7, 6, 11, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
html.hub-stuck .fsn.scrolled .fsn-header { box-shadow: none; }
.hub-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* „ფრთხილად, ბევრია“: waits a beat, then rises from the button it belongs to */
.hint-wrap { position: relative; display: inline-flex; }
.hint {
  position: absolute; left: 50%; bottom: calc(100% + 12px); translate: -50% 0; z-index: 2;
  padding: 7px 12px; border-radius: 10px; background: #f3eef2; color: #0b0910;
  font: 600 14px/1.2 var(--ui-font); white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translateY(4px) scale(.97); transform-origin: 50% 100%;
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);
}
.hint::after {
  content: ''; position: absolute; left: 50%; top: 100%; translate: -50% 0;
  border: 6px solid transparent; border-top-color: #f3eef2;
}
@media (hover: hover) and (pointer: fine) {
  .hint-wrap:hover .hint { opacity: 1; transform: none; transition-delay: 250ms; }
}
.hint-wrap:has(:focus-visible) .hint { opacity: 1; transform: none; }
.hint-wrap:has([aria-expanded="true"]) .hint, .hub.stuck .hint { display: none; }

/* ---------- drawer and panes ---------- */
.drawer { position: relative; }
.pane { padding-top: 48px; }
.pane[hidden] { display: none; }
.pane-close {
  display: flex; align-items: center; gap: 8px; margin: 8px auto 0; min-height: 44px; padding: 0 20px;
  border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink-2);
  font: 500 15px/1 var(--ui-font); cursor: pointer; transition: color .2s, border-color .2s, scale 160ms var(--ease-out);
}
.pane-close::after { content: '↑'; }
.pane-close:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.pane-close:active { scale: .97; }
.pane-close:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 3px; }

.group, .stage { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px 48px; padding-bottom: 56px; }
.group-h { margin: 0; font: 700 26px/1.25 var(--ui-font); color: #fff; }

/* made: one row per project, a whole row is the link when there is one */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row > a, .row > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 180px 24px; gap: 24px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
}
.row-name { display: flex; align-items: center; gap: 14px; font: 600 clamp(19px, 1.9vw, 24px)/1.25 var(--ui-font); color: #fff; transition: color .2s; }
.row-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.row-icon-empty { border: 1px dashed rgba(255,255,255,.22); box-sizing: border-box; }
.row-icon-mono { display: grid; place-items: center; background: #15121f; color: var(--violet-hi); font: 700 18px/1 var(--ui-font); box-shadow: inset 0 0 0 1px rgba(182,156,255,.3); }
/* Gamaxsene mascots: a strip under the row's text; each one hops a little under the pointer */
.art-strip { grid-column: 2 / -1; list-style: none; margin: 0; padding: 4px 0 0; display: flex; align-items: flex-end; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.art-strip::-webkit-scrollbar { display: none; }
.art-strip li { flex: none; }
.art-strip img { display: block; height: 112px; width: auto; transform-origin: 50% 100%; transition: transform 450ms cubic-bezier(.34, 1.56, .64, 1); }
@media (hover: hover) and (pointer: fine) {
  .art-strip img:hover { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
}
.row-text { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.row-meta { font-size: 14px; color: var(--ink-3); }
.row-go { font-size: 20px; color: var(--violet-hi); transition: transform .3s cubic-bezier(.2,.9,.1,1); }
.row a:hover .row-name, .row a:focus-visible .row-name { color: var(--violet-hi); }
.row a:hover .row-go, .row a:focus-visible .row-go { transform: translate(3px, -3px); }
.row a:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 6px; border-radius: 4px; }
.row-soon .row-name { color: var(--ink-3); }

/* learn: 0 → 100, a line on the left fills as you read down */
.learn-lede { margin: 0 0 40px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); }
.nb { white-space: nowrap; }
.learn-lede b { color: #fff; font-weight: 700; }
.path { position: relative; padding-left: 40px; counter-reset: topic; }
.path-line { position: absolute; left: 7px; top: 6px; bottom: 56px; width: 2px; border-radius: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.path-fill { position: absolute; inset: 0; background: linear-gradient(var(--blue), var(--violet-hi)); transform-origin: top; transform: scaleY(0); }
.stage { position: relative; }
.stage::before {                                        /* the stage's stop on the line */
  content: ''; position: absolute; left: -38px; top: 4px; width: 10px; height: 10px; border-radius: 50%;
  background: #0b0a12; box-shadow: inset 0 0 0 2px var(--violet-hi);
}
.stage-h { align-self: start; position: sticky; top: 176px; }
.stage-pct { font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; color: var(--violet-hi); }
.stage-h h3 { margin: 10px 0 6px; font: 700 26px/1.25 var(--ui-font); color: #fff; text-wrap: balance; }
.stage-h p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.topics { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.topics li {
  counter-increment: topic; break-inside: avoid; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px;
  padding: 11px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: var(--ink);
}
.topics li::before { content: counter(topic, decimal-leading-zero); font: 500 13px/22px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-3); font-variant-numeric: tabular-nums; }
/* the topics to start with (Rati, 2026-10-06: „ჩვენი ფერით გამოყავი ყველაზე მნიშვნელოვანი თემები“) */
.topics li.key { color: var(--violet-hi); font-weight: 600; }
.topics li.key::before { color: var(--violet-hi); }
.learn-lede .key-note { color: var(--violet-hi); }
/* HOT: a small flame on each of them, in fire colours (Rati, 2026-10-07: „არ უნდა იისფრად … ცეცხლის ფრად“).
   The only orange on the site, like the red © line is the only red */
.topics, .learn-lede { --flame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='o' x1='0' y1='1' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%23e8261b'/%3E%3Cstop offset='.5' stop-color='%23ff6a13'/%3E%3Cstop offset='1' stop-color='%23ffa41b'/%3E%3C/linearGradient%3E%3ClinearGradient id='i' x1='0' y1='1' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%23ffc43a'/%3E%3Cstop offset='1' stop-color='%23fff1a8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url%28%23o%29' d='M12.963 2.286a.75.75 0 0 0-1.071-.136 9.742 9.742 0 0 0-3.539 6.176 7.547 7.547 0 0 1-1.705-1.715.75.75 0 0 0-1.152-.082A9 9 0 1 0 15.68 4.534a7.46 7.46 0 0 1-2.717-2.248Z'/%3E%3Cpath fill='url%28%23i%29' d='M15.75 14.25a3.75 3.75 0 1 1-7.313-1.172c.628.465 1.35.81 2.133 1a5.99 5.99 0 0 1 1.925-3.546 3.75 3.75 0 0 1 3.255 3.718Z'/%3E%3C/svg%3E"); }   /* Heroicons „fire“ (MIT), in fire colours */
.topics li.key { grid-template-columns: 36px minmax(0, 1fr) 18px; }
.topics li.key::after, .learn-lede .hot {
  content: '' / 'HOT'; width: 18px; height: 18px; background: var(--flame) center / contain no-repeat;
  filter: drop-shadow(0 0 4px rgba(255, 106, 19, .45));
}
.topics li.key::after { margin-top: 2px; }
.learn-lede .hot { display: inline-block; margin-right: 6px; vertical-align: -3px; }
/* a small „i“ next to a topic: its note opens on hover, on keyboard focus and on tap (Rati, 2026-10-07, the SEO topic).
   The note sits above the topic's text column, so it never runs off screen at phone width */
.topics li:has(.tip) { position: relative; }
.tip { position: relative; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 6px; padding: 0;
  vertical-align: -3px; border: 1.5px solid currentColor; border-radius: 50%; background: none; color: var(--violet-hi);
  font: italic 700 12px/1 Georgia, serif; cursor: help; transition: background-color .15s, color .15s; }
.tip::before { content: ''; position: absolute; inset: -12px; }   /* a 44px tap target around the 20px ring */
.tip[aria-expanded="true"] { background: var(--violet-hi); color: #0b0910; }
.tip:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 3px; }
.tip-note { position: absolute; left: 44px; right: 0; bottom: calc(100% - 2px); z-index: 30; max-width: 26em;
  padding: 12px 14px; border-radius: 12px; background: #15121f; color: var(--ink);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.75), 0 0 0 1px rgba(182,156,255,.28); font: 500 14px/1.55 var(--ui-font);
  opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none;
  transition: opacity .18s ease-out, transform .18s ease-out, visibility 0s .18s; }
.tip:focus-visible + .tip-note, .tip[aria-expanded="true"] + .tip-note {
  opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease-out, transform .18s ease-out; }
/* hover only where a pointer can hover: on a phone a tap would leave :hover stuck on and the note could never close */
@media (hover: hover) {
  .tip:hover { background: var(--violet-hi); color: #0b0910; }
  .tip:hover + .tip-note { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease-out, transform .18s ease-out; }
}
.tip[data-hush] + .tip-note { opacity: 0; visibility: hidden; }   /* Esc closes it even under the pointer or focus */
@media (prefers-reduced-motion: reduce) { .tip-note { transform: none; transition: none; } }

/* about */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px 72px; padding-bottom: 56px; }
.about-grid .lede { margin-bottom: 20px; color: var(--ink); }
.story { margin: 0 0 40px; max-width: 34em; font-size: 16px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.facts div { padding: 24px 24px 0 0; }
.facts dt { font: 700 clamp(36px, 4vw, 52px)/1 var(--ui-font); color: #fff; font-variant-numeric: tabular-nums; }
.facts dd { margin: 10px 0 0; max-width: 16em; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.about-grid .group-h { margin-bottom: 16px; }
/* foreword: the closing line carries the product's name, so it gets the weight */
.about-grid .foreword-end { font-weight: 700; color: #fff; }
/* the foreword's three short stories read as one text, not three blocks */
#foreword .story { margin-bottom: 14px; }
#foreword .foreword-end { margin-top: 28px; }
.cando { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.cando li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.bb { padding: 28px; border-radius: 20px; background: var(--violet); }
.bb h4 { margin: 0 0 18px; font: 700 22px/1.3 var(--ui-font); color: #fff; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 14px; color: #fff; }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: #fff; color: #0b0910; font: 600 16px/1 var(--ui-font); text-decoration: none;
  transition: background-color .2s, scale 160ms var(--ease-out);
}
.btn:hover { background: #e6dcff; }
.btn:active { scale: .97; }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* #brandbook: Instagram stays the main button, „დეტალურად“ leads to /brandbook/ */
.bb-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.bb-more { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; font: 600 16px/1 var(--ui-font); color: #fff; text-decoration: none; }
.bb-more::after { content: '→'; transition: transform .3s cubic-bezier(.2, .9, .1, 1); }
.bb-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.bb-more:hover::after { transform: translateX(3px); }
.bb-more:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 3px; }

/* ---------- purchase: squishy cards (21st.dev vaib215 "squishy-pricing") lit by a spotlight border
   (21st.dev jahed "spotlight-card"). sections.js writes --x/--y in each card's own pixels and --xp on .tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; --xp: 0; }
/* purchase dialog: the tier card's language (radius, pill, white button), on the site's night colour */
.buy-modal { box-sizing: border-box; width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 32px 28px 26px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: #0e0c16; color: var(--ink);
  box-shadow: 0 2rem 4rem -1rem #000; overflow: auto; overscroll-behavior: contain; font-family: var(--ui-font); }
.buy-modal::backdrop { background: rgba(7, 6, 11, .72); backdrop-filter: blur(6px); }
@media (max-width: 480px) { .buy-modal { padding: 26px 18px 20px; } .bm-price { font-size: 40px; } .bm-x { top: 12px; right: 12px; } }
/* desktop: a wide rectangle instead of a tall column. What you get on the left (a small tier card), how to buy and the
   free-updates note on the right, the red copyright line across the bottom */
@media (min-width: 760px) {
  .buy-modal { width: min(900px, calc(100vw - 48px)); padding: 36px; }
  .bm-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 20px 32px; }
  .bm-what { padding: 24px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
  .bm-what .bm-list { margin-bottom: 0; }
  .bm-how { display: flex; flex-direction: column; padding-top: 6px; }
  .bm-how .bm-steps { padding-right: 36px; }
  .bm-how .bm-gift { margin-top: auto; }
  .bm-notes { grid-column: 1 / -1; margin-top: 0; }
}
.bm-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%;
  background: transparent; color: var(--ink-2); cursor: pointer; transition: color .2s, border-color .2s, scale 160ms var(--ease-out); }
.bm-x::before, .bm-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; border-radius: 1px; }
.bm-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.bm-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.bm-x:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.bm-x:active { scale: .94; }
.bm-x:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 3px; }
.bm-pill { margin: 0 0 8px; display: inline-block; }
.bm-price { margin: 0 0 22px; font: 800 48px/1.1 var(--ui-font); color: #fff; font-variant-numeric: tabular-nums; }
.bm-h { margin: 0 0 12px; font: 600 13px/1.3 var(--ui-font); letter-spacing: .04em; color: var(--violet-hi); }
.bm-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; font-size: 16px; line-height: 1.45; }
.bm-list li { position: relative; padding-left: 18px; }
.bm-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-hi); }
.bm-steps { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.bm-steps li { counter-increment: step; position: relative; padding-left: 34px; }
.bm-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(182,156,255,.14); color: var(--violet-hi); font: 600 13px/1 var(--ui-font); }
.bm-steps b { color: #fff; font-weight: 600; }
.bm-msg-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 10px 10px 14px; border-radius: 12px; background: rgba(255,255,255,.05); }
.bm-msg { flex: 1; quotes: none; color: var(--ink); font-size: 14px; }
.bm-copy { flex: none; min-height: 36px; padding: 0 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: transparent;
  color: #fff; font: 600 13px/1 var(--ui-font); cursor: pointer; transition: background-color .2s, scale 160ms var(--ease-out); }
.bm-copy:hover { background: rgba(255,255,255,.1); }
.bm-copy:active { scale: .96; }
.bm-copy:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 2px; }
.bm-go { margin-top: 0; }
.bm-notes { display: grid; gap: 10px; margin-top: 4px; }
.bm-notes p { margin: 0; }
.bm-soon { margin: 12px 0 18px; font-size: 13px; line-height: 1.55; color: var(--ink-3); text-align: center; }
.bm-gift { padding: 12px 14px; border-left: 3px solid var(--violet-hi); border-radius: 12px; background: rgba(182,156,255,.1);
  font-size: 14px; line-height: 1.55; color: var(--ink); }
.bm-gift b { color: var(--violet-hi); font-weight: 600; }
.bm-gift + .bm-gift { margin-top: 10px; }
.bm-seller { margin-top: -8px; }
.bm-seller a { color: inherit; }
.bm-legal { padding: 12px 14px; border-left: 3px solid #ff6b6b; border-radius: 12px; background: rgba(255,107,107,.08);
  font-size: 13px; line-height: 1.5; color: #ffb3b3; }
.bm-legal b { color: #ff6b6b; font-weight: 600; }
.tier {
  --base: 225; --spread: 55; --radius: 24; --border: 2; --size: 240;
  --border-size: calc(var(--border) * 1px); --spotlight-size: calc(var(--size) * 1px);
  --hue: calc(var(--base) + var(--xp) * var(--spread));
  --shape: hsl(230 60% 60% / .07);
  position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 480px; padding: 32px;
  border: var(--border-size) solid rgba(255,255,255,.08); border-radius: calc(var(--radius) * 1px);
  background-color: rgba(255,255,255,.035);
  background-image: radial-gradient(var(--spotlight-size) var(--spotlight-size) at calc(var(--x, -9999) * 1px) calc(var(--y, -9999) * 1px),
                    hsl(var(--hue) 100% 70% / .1), transparent);
  box-shadow: 0 1rem 2rem -1rem #000;
  transition: transform 1s var(--ease-back);
}
.tier-main { --shape: #3a1b6f; background-color: var(--violet); border-color: transparent; }
/* border light: a coloured spot plus a white core, masked to the border ring */
.tier::before, .tier::after, .tier-glow::before {
  content: ''; position: absolute; inset: calc(var(--border-size) * -1); z-index: 3; pointer-events: none;
  border: var(--border-size) solid transparent; border-radius: calc(var(--radius) * 1px);
  background-origin: border-box; background-repeat: no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
}
.tier::before {
  background-image: radial-gradient(calc(var(--spotlight-size) * .75) calc(var(--spotlight-size) * .75) at calc(var(--x, -9999) * 1px) calc(var(--y, -9999) * 1px),
                    hsl(var(--hue) 100% 50% / 1), transparent 100%);
  filter: brightness(2);
}
.tier::after {
  background-image: radial-gradient(calc(var(--spotlight-size) * .5) calc(var(--spotlight-size) * .5) at calc(var(--x, -9999) * 1px) calc(var(--y, -9999) * 1px),
                    hsl(0 100% 100% / 1), transparent 100%);
}
/* soft outer halo: a thick blurred copy of the coloured ring */
.tier-glow { position: absolute; inset: 0; z-index: 2; border-radius: calc(var(--radius) * 1px); filter: blur(calc(var(--border-size) * 10)); pointer-events: none; will-change: filter; }
.tier-glow::before {
  inset: -10px; border-width: 10px;
  background-image: radial-gradient(calc(var(--spotlight-size) * .75) calc(var(--spotlight-size) * .75) at calc(var(--x, -9999) * 1px + 10px) calc(var(--y, -9999) * 1px + 10px),
                    hsl(var(--hue) 100% 50% / 1), transparent 100%);
}
/* the squishy shapes */
.tier-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: calc(var(--radius) * 1px - var(--border-size)); }
.tier-bg svg { width: 100%; height: 100%; display: block; fill: var(--shape); transition: transform 1s var(--ease-back); }
.tier-bg circle, .tier-bg ellipse { transform-box: fill-box; transform-origin: center; transition: transform 1s var(--ease-back) .2s; }

.tier-pill { align-self: flex-start; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font: 500 14px/1.4 var(--ui-font); color: #fff; }
.tier-price { margin: 4px 0 20px; font: 800 clamp(52px, 5.4vw, 72px)/1.1 var(--ui-font); color: #fff; font-variant-numeric: tabular-nums;
              transform: scale(.85); transform-origin: top left; transition: transform 1s var(--ease-back); }
.tier ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; font-size: 17px; line-height: 1.45; color: var(--ink); }
.tier li { position: relative; padding-left: 18px; }
.tier li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-hi); }
.tier-main li { color: #fff; }
.tier-main li::before { background: #fff; }
.tier-cta {
  position: relative; z-index: 4; margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 48px;
  border: 2px solid #fff; border-radius: 12px; background: #fff; color: #0b0910; font: 700 16px/1 var(--ui-font); text-decoration: none;
  transition: background-color .2s, color .2s, scale 160ms var(--ease-out);
}
.tier-cta:hover { background: rgba(255,255,255,.2); color: #fff; }
.tier-cta:active { scale: .97; }
.tier-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .tier:hover { transform: scale(1.05); }
  .tier:hover .tier-price { transform: none; }
  .tier:hover .tier-bg svg { transform: scale(1.5); }
  .tier:hover .tier-bg circle { transform: translateY(-25px) scaleY(.5); }
  .tier:hover .tier-bg ellipse { transform: translateY(-25px) scaleY(2.25); }
}

.foot { background: var(--veil); border-top: 1px solid rgba(255,255,255,.08); padding: 40px 32px 48px; color: var(--ink-3); }
.foot-in { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot-brand { font: 600 16px/1 var(--ui-font); letter-spacing: .15em; color: #f3eef2; text-decoration: none; }
.foot-links { display: flex; gap: 24px; }
.foot-links a { font-size: 15px; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.foot-links { align-items: center; flex-wrap: wrap; }
.foot-links a, .no-li { display: inline-flex; align-items: center; gap: 8px; }
.foot-links svg { width: 16px; height: 16px; flex: none; }
.foot-links a:hover { color: #fff; }
.foot-pages { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-pages a { font-size: 15px; color: var(--ink-2); text-decoration: none; transition: color .2s; }
.foot-pages a:hover { color: #fff; }
/* LinkedIn: not a link, a joke. The logo sits under a red strike */
.no-li { font-size: 15px; color: var(--ink-3); }
.no-li-mark { position: relative; display: inline-flex; opacity: .6; }
.no-li-mark::after { content: ''; position: absolute; left: -3px; right: -3px; top: 50%; height: 2px; border-radius: 2px; background: #ff5a6a; transform: rotate(-45deg); }
.foot a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 3px; }
.foot-note { margin: 0; font-size: 14px; }

@media (max-width: 1000px) {
  .group, .stage { grid-template-columns: 1fr; gap: 20px; }
  .stage-h { position: static; }
  .about-grid { grid-template-columns: 1fr; }
}
/* four buttons need ~930px for one row; below that, a 2×2 grid instead of three plus an orphan (phones stack them, 760px) */
@media (min-width: 761px) and (max-width: 940px) {
  .hub-btns { display: grid; grid-template-columns: repeat(2, 240px); justify-content: center; }
  .hub-btns .shiny, .hint-wrap { width: 100%; }
}
@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; }
  .tier { min-height: 0; }
  .topics { columns: 1; }
}
@media (max-width: 760px) {
  .sec, .foot { padding-left: 20px; padding-right: 20px; }
  .hub { padding: 40px 0 48px; }
  .hub > .sec-in { padding: 0 20px; }
  /* a phone has no room for a sticky bar of four: the buttons stack, each pane ends with „დახურვა“ */
  .hub-bar { position: static; padding: 0 20px; }
  .hub-btns { flex-direction: column; gap: 12px; }
  .hub-btns .shiny, .hint-wrap { width: 100%; }
  .path { padding-left: 28px; }
  .path-line { left: 3px; }
  .stage::before { left: -29px; }
  .row > a, .row > div { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 16px 0; }
  .row-name { grid-row: 1; grid-column: 1; }
  .row-go { grid-row: 1; grid-column: 2; }
  .row-text, .row-meta { grid-column: 1 / -1; }
  .row-text:empty, .row-meta:empty { display: none; }
  .art-strip { grid-column: 1 / -1; }
  .art-strip img { height: 104px; }
  .facts { column-gap: 16px; }
  .facts div { padding-right: 8px; }   /* „პროდაქშენისთვის“ (90+) is one long word: 24px pushed the pane 8px past its edge */
}
@media (max-width: 380px) { .facts dd { font-size: 14px; } }          /* …and on 360px phones the word itself is too wide at 15px */
@media (prefers-reduced-motion: reduce) {
  .row-go, .btn, .bb-more::after, .row-name, .foot-links a, .tier, .tier-price, .tier-bg svg, .tier-bg circle, .tier-bg ellipse, .hint, .pane-close, .art-strip img { transition: none; }
  .shiny, .shiny::before, .shiny::after, .shiny span::before { animation: none; }
}
