/* Direction B: enterprise dark. Black, one green, real product screens. Type: FiraGO. */
:root {
  color-scheme: dark;
  --bg: #120F17;  /* matches the Dither background colour */
  --panel: #0E1211;
  --panel-2: #141A18;
  --edge: rgba(255, 255, 255, 0.07);
  --edge-2: rgba(255, 255, 255, 0.12);
  --text: #EDEFEE;
  --text-2: #9AA19D;
  --text-3: #6F7773;
  --green: #3CC985;
  --green-hi: #6EE0A6;
  --green-bg: rgba(60, 201, 133, 0.12);
  --green-ink: #04140B;
  --red: #F07D72;
  --red-bg: rgba(240, 125, 114, 0.12);
  --amber: #E9B65C;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* surface details that used to be hard-coded for dark */
  --scroll-thumb: #1C2321;
  --announce-text: #B9C0BC;
  --edge-hover: rgba(255, 255, 255, 0.22);
  --tag-bg: #1E3A2C;
  --shadow: rgba(0, 0, 0, 0.55);
  --dot: #232927;
  --th-bg: #0B0F0E;
  --price-main: #0C1311;
  --sb-base: #525252;
}
/* Light theme: set on <html data-theme="light"> by the head script (saved choice, else the system setting). */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F2F4EF;
  --panel: #FFFFFF;
  --panel-2: #F0F3EE;
  --edge: rgba(16, 24, 20, 0.09);
  --edge-2: rgba(16, 24, 20, 0.16);
  --text: #121715;
  --text-2: #4D5752;
  --text-3: #6E7973;
  --green: #1F9D63;
  --green-hi: #167A4C;
  --green-bg: rgba(31, 157, 99, 0.12);
  --green-ink: #04140B;
  --red: #C8463A;
  --red-bg: rgba(200, 70, 58, 0.10);
  --amber: #A8741A;
  --scroll-thumb: #C9D0CB;
  --announce-text: #3F4944;
  --edge-hover: rgba(16, 24, 20, 0.28);
  --tag-bg: #DDF1E5;
  --shadow: rgba(20, 30, 25, 0.14);
  --dot: #D5DBD7;
  --th-bg: #F6F8F5;
  --price-main: #EEF7F1;
  --sb-base: #B4BDB7;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: 84px; caret-color: var(--green); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: transparent; color: var(--text); font: 400 16px/1.6 "FiraGO", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--green); color: var(--green-ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 8px; border: 2px solid var(--bg); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 40px; } }
.num { font-variant-numeric: tabular-nums; }
.fine { font-size: 13px; color: var(--text-3); margin: 16px 0 0; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 300ms var(--ease); }
.top.scrolled { border-bottom-color: var(--edge); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 17px; white-space: nowrap; }
.logo svg { display: none; }  /* ring mark kept in markup for a future icon */
.brand-name { letter-spacing: -0.01em; font-size: 20px; }
.brand-name::after { content: "."; color: var(--green); }
nav { display: flex; gap: 4px; align-items: center; }
.navlink { font-size: 14px; color: var(--text-2); padding: 8px 12px; transition: color 150ms var(--ease); }
.navlink:hover { color: var(--text); }
.lang { font: 400 13px/1 "FiraGO", sans-serif; color: var(--text-2); background: none; border: 0; padding: 8px 10px; cursor: pointer; transition: color 150ms var(--ease); }
.lang:hover { color: var(--text); }
@media (max-width: 820px) { .navlink { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 8px; font-weight: 500; font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease), transform 120ms var(--ease); white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; margin-left: 8px; }
.btn.green { background: var(--green); color: var(--green-ink); }
.btn.green:hover { background: var(--green-hi); }
.btn.light { background: var(--text); color: var(--bg); }
.btn.light:hover { background: #fff; }
.btn.ghost { border-color: var(--edge-2); color: var(--text); }
.btn.ghost:hover { background: var(--panel); border-color: var(--edge-hover); }
.btn[aria-disabled="true"] { background: var(--panel-2); color: var(--text-3); border-color: var(--edge); cursor: not-allowed; transform: none; }

/* hero */
.hero { text-align: center; padding-top: 96px; }
@media (min-width: 900px) { .hero { padding-top: 112px; } }
.announce { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; color: var(--announce-text); border: 1px solid var(--edge-2); border-radius: 999px; padding: 6px 14px 6px 6px; margin-bottom: 32px; transition: border-color 150ms var(--ease); }
.announce:hover { border-color: var(--edge-hover); }
.announce b { background: var(--tag-bg); color: var(--green-hi); font-weight: 500; padding: 2px 10px; border-radius: 999px; }
h1 { font-weight: 500; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.1; letter-spacing: -0.025em; margin: 0 auto 24px; max-width: 15em; text-wrap: balance; }
html[lang="ka"] h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.18; letter-spacing: -0.01em; }
.lede { font-size: 19px; line-height: 1.6; color: var(--text-2); margin: 0 auto 40px; max-width: 36em; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* the product screen */
.shot { margin: 72px auto 0; max-width: 1040px; border: 1px solid var(--edge-2); border-radius: 16px; background: var(--panel); overflow: hidden; text-align: left;
  box-shadow: 0 40px 100px var(--shadow); }
.chrome { display: flex; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--edge); font-size: 13px; color: var(--text-3); }
.dots { display: flex; gap: 6px; margin-right: 4px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); display: block; }
.grow { flex: 1; }
.score-pill { color: var(--text-3); }
.score-pill b { color: var(--red); font-weight: 500; margin-left: 4px; }
.sample { font-size: 12px; color: var(--text-3); border: 1px solid var(--edge-2); border-radius: 999px; padding: 1px 9px; }
@media (max-width: 560px) { .score-pill, #shotTitle { display: none; } }
.cols { display: grid; grid-template-columns: 1.45fr 1fr; }
.work { padding: 36px 40px 40px; min-width: 0; }
.q { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; font-size: 14px; color: var(--text-2); }
.qid { font-size: 12px; font-weight: 500; color: var(--text-2); background: var(--panel-2); border-radius: 6px; padding: 2px 8px; }
.label { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px; font-size: 13px; color: var(--text-3); }
.count { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot.red { background: var(--red); }
.text { margin: 0; font-size: 22px; line-height: 2.15; letter-spacing: -0.005em; }
.fx { border-radius: 6px; transition: background-color 250ms var(--ease), box-shadow 250ms var(--ease); }
.fx del { color: var(--red); text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, var(--red) 70%, transparent); }
.fx ins { color: var(--green-hi); text-decoration: none; background: var(--green-bg); border-radius: 5px; padding: 1px 6px; margin-left: 6px; }
.fx sup { font-size: 11px; color: var(--text-3); margin-left: 3px; }
.fx.hl { background: color-mix(in srgb, var(--green) 8%, transparent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--green) 8%, transparent); }
.why-list { list-style: none; margin: 0; padding: 28px; border-left: 1px solid var(--edge); display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.why-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px; border-radius: 12px; transition: background-color 250ms var(--ease); cursor: default; }
.why-list li:hover, .why-list li.hl { background: var(--panel-2); }
.why-list .n { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--edge-2); color: var(--text-2); font-size: 12px; display: grid; place-items: center; margin-top: 1px; transition: border-color 250ms var(--ease), color 250ms var(--ease); }
.why-list li.hl .n, .why-list li:hover .n { border-color: var(--green); color: var(--green-hi); }
.why-list p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }
@media (max-width: 960px) { .cols { grid-template-columns: 1fr; } .why-list { border-left: 0; border-top: 1px solid var(--edge); padding: 16px; } }
@media (max-width: 560px) { .work { padding: 24px 20px 28px; } .text { font-size: 18px; } }

/* the one authored moment: each fix firms up in turn on first view; nothing moves or leaves gaps */
.js .shot:not(.played) .fx ins { opacity: 0.28; background-color: transparent; }
.js .shot:not(.played) .fx del { text-decoration-color: transparent; color: var(--text); }
.js .shot:not(.played) .fx sup { opacity: 0; }
.js .shot .fx ins { transition: opacity 600ms var(--ease), background-color 600ms var(--ease); }
.js .shot .fx sup { transition: opacity 600ms var(--ease); }
.js .shot .fx del { transition: color 500ms var(--ease), text-decoration-color 500ms var(--ease); }
.js .shot.played .fx[data-n="2"] del, .js .shot.played .fx[data-n="2"] ins, .js .shot.played .fx[data-n="2"] sup { transition-delay: 500ms; }
.js .shot.played .fx[data-n="3"] del, .js .shot.played .fx[data-n="3"] ins, .js .shot.played .fx[data-n="3"] sup { transition-delay: 1000ms; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); margin-top: 0; }
.facts > div { padding: 32px 24px; border-left: 1px solid var(--edge); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-size: 32px; font-weight: 500; letter-spacing: -0.02em; }
.facts span { font-size: 14px; color: var(--text-2); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div { padding: 24px 16px; border-left: 0; } .facts > div:nth-child(even) { border-left: 1px solid var(--edge); } .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--edge); } .facts > div:first-child { padding-left: 16px; } }

/* sections */
.block { padding-block: 136px; }
.block + .block { border-top: 1px solid var(--edge); }
.head { text-align: center; max-width: 36em; margin: 0 auto 64px; }
h2 { font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
html[lang="ka"] h2 { letter-spacing: -0.005em; line-height: 1.25; }
.head p { color: var(--text-2); font-size: 17px; margin: 0; }
h3 { font-weight: 500; font-size: 18px; margin: 0 0 16px; }
.two { display: grid; gap: 20px; }
@media (min-width: 960px) { .two { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--edge); border-radius: 16px; overflow: hidden; }
.panel.pad { padding: 36px; }

/* leaderboard */
.board-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 18px 24px; text-align: left; white-space: nowrap; }
th { font-size: 13px; font-weight: 400; color: var(--text-3); border-bottom: 1px solid var(--edge); background: var(--th-bg); }
td { border-bottom: 1px solid var(--edge); font-size: 15px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color 150ms var(--ease); }
tbody tr:hover { background: var(--panel-2); }
th.r, td.r { text-align: right; }
td.r { font-variant-numeric: tabular-nums; color: var(--text-2); }
.pos { color: var(--text-3); width: 64px; }
tr.lead .pos { color: var(--green); }
.sys { display: flex; align-items: center; gap: 12px; }
.avatar { width: 30px; height: 30px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--edge-2); display: grid; place-items: center; font-size: 13px; font-weight: 500; color: var(--text-2); }
.who-name { display: block; font-weight: 500; }
.who-note { display: block; font-size: 13px; color: var(--text-3); }
.overall { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: var(--text); }
.track { width: 100px; height: 4px; border-radius: 2px; background: var(--panel-2); overflow: hidden; }
.fill { display: block; height: 100%; background: var(--text-3); }
tr.lead .fill { background: var(--green); }
.errpct { color: var(--red) !important; }
.dim { color: var(--text-3) !important; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); background: var(--panel-2); border: 1px solid var(--edge); border-radius: 999px; padding: 3px 10px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.board-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 24px; border-top: 1px solid var(--edge); font-size: 13px; color: var(--text-3); }
.found { margin: 20px 0 0; list-style: none; padding: 0; display: grid; gap: 8px; }
.found li { background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; padding: 12px 16px; display: flex; gap: 12px; align-items: baseline; }
.found .id { font-size: 12px; color: var(--text-3); }
.found del { color: var(--red); } .found ins { color: var(--green-hi); text-decoration: none; }

/* method */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--green-bg); color: var(--green-hi); font-size: 13px; font-weight: 500; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 6px; width: 1px; background: var(--edge-2); }
.steps b { display: block; font-weight: 500; margin-bottom: 2px; }
.steps span { color: var(--text-2); font-size: 15px; }
.downloads { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; border-top: 1px solid var(--edge); }
.chip-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; border: 1px solid var(--edge-2); border-radius: 999px; padding: 6px 14px; transition: border-color 150ms var(--ease), background-color 150ms var(--ease); }
.chip-link:hover { border-color: var(--green); background: var(--green-bg); }
.chip-link svg { color: var(--text-3); }
.list { display: flex; flex-direction: column; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 24px; border-bottom: 1px solid var(--edge); }
.list-head b { font-weight: 500; }
.list-head span { font-size: 13px; color: var(--text-3); }
/* Scroll Fade List (dqnamo's Kitchen) */
.fade-list { list-style: none; margin: 0; padding: 4px 0; max-height: 470px; overflow-y: auto; scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px, #000 calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16px, #000 calc(100% - 72px), transparent 100%); }
.fade-list li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: baseline; padding: 12px 24px; border-bottom: 1px solid var(--edge); }
.fade-list .id { font-size: 12px; color: var(--text-3); }
.fade-list .t { font-size: 14px; color: var(--text-2); }

/* audit */
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%236EE0A6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.policy { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--edge); }
.policy p { margin: 0; font-size: 14px; color: var(--text-2); }
.policy b { color: var(--text); font-weight: 500; }
.price { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 20px 28px; border-top: 1px solid var(--edge); }
.price:first-child { border-top: 0; }
.price b { display: block; font-weight: 500; margin-bottom: 2px; }
.price span { color: var(--text-2); font-size: 14px; }
.amt { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price.main { background: var(--price-main); }
.price.main .amt { color: var(--green-hi); }

/* founder */
.founder { display: grid; gap: 28px; max-width: 760px; margin: 0 auto; }
@media (min-width: 760px) { .founder { grid-template-columns: 120px 1fr; } }
.founder img { width: 120px; height: 120px; border-radius: 14px; object-fit: cover; }
.founder-name { font-size: 22px; font-weight: 500; margin: 0 0 4px; }
.founder-role { color: var(--text-3); margin: 0 0 14px; }
.founder-bio { color: var(--text-2); margin: 0; }

/* closing */
.closing { text-align: center; }
.closing p { color: var(--text-2); font-size: 17px; max-width: 36em; margin: 0 auto 36px; }

/* footer */
.foot { border-top: 1px solid var(--edge); padding-top: 56px; }
.cols4 { display: grid; gap: 32px; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .cols4 { grid-template-columns: 1fr 1fr; } .cols4 > div:first-child { grid-column: 1 / -1; } }
.cols4 > div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.cols4 b { font-weight: 500; margin-bottom: 4px; }
.cols4 a:not(.logo) { color: var(--text-2); transition: color 150ms var(--ease); }
.cols4 a:not(.logo):hover { color: var(--text); }
.cols4 .fine { max-width: 26em; margin-top: 8px; }
.base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 32px 40px; margin-top: 48px; border-top: 1px solid var(--edge); font-size: 13px; color: var(--text-3); }

/* legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 80px 20px 112px; }
.legal h1 { text-align: left; font-size: 40px; margin: 0 0 8px; }
.legal .fine { margin: 0 0 40px; }
.legal h2 { font-size: 20px; margin: 36px 0 8px; letter-spacing: 0; }
.legal p, .legal li { color: var(--text-2); }
.legal a { color: var(--green-hi); text-decoration: underline; text-underline-offset: 3px; }

/* research citations */
.research { margin-top: 72px; }
.research h3 { text-align: center; font-size: 22px; margin-bottom: 24px; }
.cite { margin: 0; background: var(--panel); border: 1px solid var(--edge); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.cite-fig { margin: 0; font-size: 34px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.cite blockquote { margin: 0; color: var(--text); font-size: 16px; line-height: 1.6; }
.cite-note { margin: 0; color: var(--text-3); font-size: 14px; }
.cite figcaption { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--edge); font-size: 13px; }
.cite figcaption a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--edge-2); text-underline-offset: 3px; transition: color 150ms var(--ease); }
.cite figcaption a:hover { color: var(--green-hi); }

/* mobile menu */
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--edge-2); border-radius: 8px; background: none; color: var(--text); cursor: pointer; place-items: center; margin-left: 4px; }
.menu-btn:active { transform: scale(0.96); }
@media (max-width: 820px) {
  .menu-btn { display: grid; }
  .top .btn.sm:not(.theme-btn) { display: none; }
  .mobile-menu { display: grid; gap: 4px; padding: 8px 20px 20px; border-top: 1px solid var(--edge); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 12px 4px; font-size: 16px; color: var(--text-2); border-bottom: 1px solid var(--edge); }
  .mobile-menu a:last-child { border-bottom: 0; margin-top: 8px; color: var(--bg); background: var(--green); text-align: center; border-radius: 8px; font-weight: 500; }
}
@media (min-width: 821px) { .mobile-menu { display: none !important; } }

/* gentle reveal as sections enter the view (content stays visible without JS or with reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* waitlist: email field + glass button on one line (stacks under 480px) */
.waitlist { display: flex; gap: 10px; max-width: 30em; margin: 0 auto; }
.waitlist input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 18px; border: 1px solid var(--sb-base);
  background: var(--panel-2); color: var(--text); font: inherit; font-size: 15px; transition: border-color 150ms var(--ease); }
.waitlist input::placeholder { color: var(--text-3); }
.waitlist input:focus-visible { outline: none; border-color: var(--green); }
.waitlist input:disabled { opacity: .6; cursor: not-allowed; }
.waitlist .btn.sb:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.wait-msg:empty { display: none; }
.wait-msg.ok { color: var(--green); }
@media (max-width: 480px) { .waitlist { flex-direction: column; } .waitlist input { flex: none; } .waitlist .btn { width: 100%; } }

/* free-check line for vendors, under the price list */
.check-line { margin: 0; padding: 16px 20px; font-size: 14px; color: var(--text-2); border-top: 1px solid var(--edge); }
.check-line a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* SpecularButton (specular.js; port of React Bits SpecularButton, MIT): glass body, WebGL edge light that
   slides toward the cursor. Primary = green light + faint green tint, alt = white. Sizes keep the site's .btn heights. */
.btn.sb { --sb-radius: 18px; --sb-tint: #3cc985; --sb-tint-opacity: 0.04; --sb-text-color: var(--text);
  position: relative; isolation: isolate; gap: .5em; border: 1px solid var(--sb-base); border-radius: var(--sb-radius);
  color: var(--sb-text-color); letter-spacing: .01em;
  background: color-mix(in srgb, var(--sb-tint) calc(var(--sb-tint-opacity) * 100%), transparent);
  box-shadow: 0 10px 24px -14px var(--shadow); -webkit-tap-highlight-color: transparent;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color 150ms var(--ease); }
.btn.sb.sb-gl { border-color: transparent; }  /* the WebGL hairline replaces the CSS border */
.btn.sb:hover { background: color-mix(in srgb, var(--sb-tint) calc(var(--sb-tint-opacity) * 200%), transparent); }
.btn.sb:active { transform: scale(.97); }
.btn.sb:focus-visible { outline: 2px solid color-mix(in srgb, var(--sb-text-color) 55%, transparent); outline-offset: 3px; }
.btn.sb[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; background: color-mix(in srgb, var(--sb-tint) 4%, transparent); color: var(--sb-text-color); }
.sb-light { position: absolute; inset: -24px; z-index: 1; display: block; width: calc(100% + 48px); height: calc(100% + 48px); pointer-events: none; }
.sb-label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: inherit; }

/* ASCII skeleton (skeleton.js; port of ascii-reveal's AsciiSkeleton, MIT).
   Faint base glyphs + a brighter wave layer shown through a sweeping mask band, flickering every 120ms. */
.ask { display: block; color: var(--ask-color, var(--text-3)); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 400; line-height: 1;
  --ask-base: .22; --ask-wave: .9; --ask-band: 55%; --ask-speed: 1.8s; --ask-radius: 8px; user-select: none; pointer-events: none; }
.ask-scan { --ask-base: .28; --ask-band: 38%; }
.ask-braille { --ask-base: .35; --ask-band: 40%; }
.ask-terminal { --ask-base: .16; --ask-band: 35%; --ask-speed: 1.5s; }
.ask-terminal .ask-wave { color: var(--green); }
.ask-inline { display: inline-block; vertical-align: middle; }
.ask-row { position: relative; display: block; max-width: 100%; white-space: pre; overflow: hidden; line-height: 1; letter-spacing: -.02em; }
.ask-lines .ask-row + .ask-row { margin-top: .55em; }
.ask-block { overflow: hidden; border-radius: var(--ask-radius); background: color-mix(in srgb, currentColor 6%, transparent); }
.ask-block .ask-row { width: 100%; }
.ask-base { opacity: var(--ask-base); }
.ask-wave { position: absolute; inset: 0; opacity: var(--ask-wave);
  -webkit-mask: linear-gradient(90deg, transparent, #000 45%, #000 55%, transparent) no-repeat;
          mask: linear-gradient(90deg, transparent, #000 45%, #000 55%, transparent) no-repeat;
  -webkit-mask-size: var(--ask-band) 100%; mask-size: var(--ask-band) 100%;
  animation: ask-sweep var(--ask-speed) cubic-bezier(.45, .05, .55, .95) var(--ask-delay, 0ms) infinite backwards,
             ask-flick 240ms steps(1) infinite; }
.ask-f2 { animation-delay: var(--ask-delay, 0ms), 120ms; }
@keyframes ask-sweep { from { -webkit-mask-position: -122% 0; mask-position: -122% 0; } to { -webkit-mask-position: 222% 0; mask-position: 222% 0; } }
@keyframes ask-flick { 0% { visibility: visible; } 50% { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .ask-wave { display: none; } }
/* leaderboard: score cells wait for data */
.board-skel { width: 4ch; height: 1em; font-size: 13px; --ask-color: var(--text-2); --ask-base: .35; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ParticleText (particle-text.js; port of React Bits ParticleText, MIT) */
.particle-text { position: relative; display: block; width: 100%; overflow: hidden; touch-action: pan-y; isolation: isolate; }
.particle-text__canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.particle-text__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* hero entrance wordmark */
/* --pt-bleed: the canvas reaches this far past the text box so click bursts aren't cut off; margins cancel it out */
.hero-mark { --pt-bleed: 110px; position: relative; z-index: 2; color: var(--text); pointer-events: none;
  width: calc(min(900px, 100%) + 2 * var(--pt-bleed)); height: calc(clamp(150px, 26vw, 260px) + 2 * var(--pt-bleed));
  margin: calc(-56px - var(--pt-bleed)) 0 calc(8px - var(--pt-bleed)) calc((100% - min(900px, 100%)) / 2 - var(--pt-bleed)); }
main { overflow-x: clip; }  /* the wordmark's bleed may pass the screen edge; clip it here (on <body> it would leak to the viewport) */

/* Dither page background (dither.js; port of React Bits Dither, MIT) */
.dither-container { position: relative; width: 100%; height: 100%; overflow: hidden; }
.dither-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.bg-dither { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
/* The pasted settings make the waves bright enough to drown out text, so a dark veil keeps them a texture.
   Raise --dither-dim toward 1 for subtler waves, lower it for stronger ones. */
.bg-dither { --dither-dim: .8; }
.bg-dither::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) calc(var(--dither-dim) * 100%), transparent); }

/* Desktop layout: two-column hero, left-set section heads (phones keep the centred stack) */
@media (min-width: 1100px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: center; text-align: left; padding-top: 64px; }
  .hero-copy { min-width: 0; }
  .hero-mark { width: calc(100% + 2 * var(--pt-bleed)); height: calc(170px + 2 * var(--pt-bleed)); margin: calc(0px - var(--pt-bleed)) 0 calc(12px - var(--pt-bleed)) calc(0px - var(--pt-bleed)); }
  .hero h1 { font-size: clamp(40px, 3.7vw, 56px); margin: 0 0 22px; max-width: 13em; }
  html[lang="ka"] .hero h1 { font-size: clamp(34px, 3.1vw, 46px); }
  .hero .lede { margin: 0 0 36px; max-width: 30em; }
  .hero .ctas { justify-content: flex-start; }
  .hero .shot { margin: 0; max-width: none; }
  .hero .cols { grid-template-columns: 1fr; }
  .hero .work { padding: 28px 32px 30px; }
  .hero .why-list { border-left: 0; border-top: 1px solid var(--edge); padding: 14px 18px; }
  .hero .why-list li { padding: 10px 12px; }
  .hero { padding-bottom: 72px; }  /* room between the buttons and the stats line below */
}
@media (min-width: 960px) {
  .head { text-align: left; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
  .head h2 { margin: 0; }
  .closing { text-align: left; }
  .closing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
  .closing h2 { grid-column: 1; margin: 0; }
  .closing .wrap > p:not(.fine) { grid-column: 2; margin: 0; }
  .closing .ctas, .closing .fine, .closing .waitlist { grid-column: 1 / -1; justify-content: flex-start; }
  .closing .waitlist { margin: 40px 0 0; }
  .closing .fine { margin: 16px 0 0; }
  .closing .ctas { margin-top: 40px; }
}

/* Theme toggle: an icon-only glass (Specular) button in the header; shows the moon in dark mode, the sun in light */
.btn.sb.theme-btn { width: 36px; padding: 0; margin-left: 4px; }
.theme-btn svg { display: block; }
.theme-btn .ico-sun { display: none; }
:root[data-theme="light"] .theme-btn .ico-sun { display: block; }
:root[data-theme="light"] .theme-btn .ico-moon { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html.theme-anim, html.theme-anim * { transition: background-color 300ms var(--ease), border-color 300ms var(--ease), color 300ms var(--ease) !important; }
}
