@font-face {
  font-family: "DM Galaktioni";
  src: url("/collab/assets/dm-galaktioni-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color-scheme: light;
  --bg: #f4f7f3;
  --fg: #152d23;
  --muted: #586b61;
  --line: #163e251a;
  --accent: #087b53;
  --card: #ffffffb8;
  background: var(--bg);
  color: var(--fg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100dvh;
  background: radial-gradient(ellipse at 20% 68%, #64b79212, transparent 55%);
  display: flex;
  flex-direction: column;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.masthead,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 5.5vw;
}
.masthead {
  height: 112px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -1px;
}
.brand img {
  object-fit: contain;
}
.byline {
  font-size: 10px;
  letter-spacing: 0.4px;
  font-weight: 400;
  margin-left: 14px;
  color: var(--muted);
}
main {
  width: 100%;
  max-width: 1500px;
  margin: auto;
  padding: 70px 7vw 50px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 8vw;
}
.vision {
  position: relative;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: var(--accent);
  font-weight: 600;
}
.eyebrow span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(42px, 5.1vw, 76px);
  font-weight: 450;
  line-height: 1.08;
  letter-spacing: -3.5px;
  margin: 26px 0 22px;
}
h1:lang(ka) {
  font-family: "DM Galaktioni", "Noto Sans Georgian", "Sylfaen", sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.32;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1:lang(ka) .headline-line:nth-child(2) {
  color: var(--accent);
}
.intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.field {
  height: 260px;
  position: relative;
  max-width: 560px;
  margin: 0 -35px -8px;
  pointer-events: none;
}
.field telab-character {
  width: 250px;
  height: 250px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.field-label {
  position: absolute;
  bottom: 2px;
  left: 35px;
  font-size: 8px;
  letter-spacing: 1.35px;
  color: var(--muted);
  opacity: 0.7;
}
.entry {
  padding: 38px 34px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 22px 80px #153a2510;
  max-width: 440px;
  width: 100%;
  justify-self: end;
}
.entry-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--accent);
}
.entry-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #118b6110;
  font-size: 21px;
}
h2 {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 25px 0 12px;
}
.entry > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.sign-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #747775;
  padding: 15px 12px;
  border-radius: 12px;
  margin-top: 30px;
  font-size: 14px;
  font-weight: 500;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.google-mark {
  flex-shrink: 0;
  object-fit: contain;
}
.sign-in:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 8px #00000010;
}
.entry .access-note {
  font-size: 11px;
  text-align: center;
  margin: 14px 0 0;
}
.access-note strong {
  font-weight: 500;
}
footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  gap: 20px;
}
footer span + span {
  font-size: 9px;
  letter-spacing: 1.2px;
}
footer span span {
  padding: 0 12px;
  opacity: 0.5;
}
/* Dark unless theme.js resolved the stored choice to light. */
:root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #0b1713;
  --fg: #e3eee7;
  --muted: #94a69b;
  --line: #a8d5bc1c;
  --accent: #6cdbac;
  --card: #14231ccc;
}
:root:not([data-theme="light"]) .entry {
  box-shadow: 0 22px 80px #00000020;
}
:root:not([data-theme="light"]) .sign-in {
  background: #131314;
  color: #e3e3e3;
  border-color: #8e918f;
}
:root:not([data-theme="light"]) .sign-in:hover {
  background: #202122;
}
:root:not([data-theme="light"]) .entry-icon {
  background: #6cdbac0d;
}
.theme-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.theme-switch button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.theme-switch button:hover {
  color: var(--fg);
}
.theme-switch button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--fg);
}
.theme-switch button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.theme-switch svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (min-width: 1700px) {
  main {
    gap: 140px;
  }
}
@media (max-width: 900px) {
  main {
    gap: 40px;
    padding: 50px 6vw;
  }
  .entry {
    padding: 28px 24px;
  }
  h1 {
    letter-spacing: -2px;
  }
  .sign-in {
    font-size: 12px;
    padding: 14px 12px;
    gap: 10px;
  }
  .byline {
    display: none;
  }
  .field {
    height: 210px;
  }
  .field telab-character {width: 200px; height: 200px;}
}
@media (max-width: 680px) {
  .masthead {
    height: 80px;
    margin: 0 24px;
  }
  main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px 24px;
  }
  .vision {
    text-align: center;
  }
  .eyebrow {
    justify-content: center;
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  h1 {
    font-size: 48px;
    letter-spacing: -2.5px;
    margin-top: 22px;
  }
  .intro {
    font-size: 13px;
  }
  .field {
    height: 155px;
    margin: 0 auto -12px;
    width: min(370px, 100%);
  }
  .field telab-character {width: 155px; height: 155px;}
  .field-label {
    display: none;
  }
  .entry {
    justify-self: center;
    max-width: 440px;
    padding: 26px;
  }
  .sign-in {
    font-size: 12px;
  }
  .entry-top {
    font-size: 8px;
  }
  h2 {
    font-size: 25px;
    margin-top: 20px;
  }
  footer {
    margin: 0 24px;
    font-size: 9px;
  }
  footer span + span {
    font-size: 8px;
  }
}
.headline-line {
  display: block;
  animation: headline-enter 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.headline-line:nth-child(2) {
  animation-delay: 0.16s;
}
@keyframes headline-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .headline-line {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* A one-time spark from “ფიქრია” becomes the companion. Login stays usable. */
.thought-flight{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:5;}
.thought-origin.is-sparking{animation:thought-spark 1.7s ease-out both;}
.field telab-character.arrival-pending{opacity:0;visibility:hidden;}
.field telab-character.arrival-forming{animation:companion-arrival 1.05s cubic-bezier(.16,1,.3,1) both;transform-origin:50% 48%;}
@keyframes thought-spark{
 0%,100%{text-shadow:none;}
 25%{color:#c9ffe3;text-shadow:0 0 9px #a2ffcf,0 0 24px #58dda8;}
}
@keyframes companion-arrival{
 0%{opacity:0;transform:scale(.22);filter:blur(12px) brightness(2.6);}
 45%{opacity:.8;filter:blur(3px) brightness(1.5);}
 100%{opacity:1;transform:scale(1);filter:blur(0) brightness(1);}
}
@media(prefers-reduced-motion:reduce){
 .thought-flight{display:none;}
 .field telab-character.arrival-pending{opacity:1;visibility:visible;}
 .field telab-character.arrival-forming,.thought-origin.is-sparking{animation:none;}
}
