:root {
  --bg: #07111f;
  --text: #f3efe7;
  --muted: #aaafb8;
  --gold: #cfba8d;
  --line: rgba(207, 186, 141, 0.18);
  --max: 1240px;
  --brand-bar-h: 74px;
  --nav-h: 50px;
  --transition: 220ms ease;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #07182f 0%, #081a33 52%, #0a1d38 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
}
.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}
body > *:not(.site-code-canvas):not(.intro-screen) {
  position: relative;
  z-index: 1;
}
body > [data-site-header] {
  z-index: 20000;
}
/* Reserve the measured header block before site.js injects its markup. */
body[data-page="home"] > [data-site-header] {
  min-height: calc(53px + 4.625rem);
}
@media (min-width: 1200px) {
  body[data-page="home"] > [data-site-header] {
    min-height: calc(37.5px + 5.7rem);
  }
}
@media (max-width: 720px) {
  body[data-page="home"] > [data-site-header] {
    min-height: calc(106px + 6.625rem);
  }
}
.site-code-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.intro-screen {
  position: fixed !important;
  inset: 0;
  z-index: 30000;
  visibility: hidden;
  pointer-events: none;
}
.noscript-site-header .nav-links {
  display: flex !important;
}
@media (max-width: 1080px) {
  .noscript-site-header .nav-shell {
    min-height: auto;
    padding-block: 0.55rem;
  }
  .noscript-site-header .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
.site-brand-bar {
  position: sticky;
  top: 0;
  min-height: var(--brand-bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 2rem;
  background: linear-gradient(180deg, rgba(16, 33, 57, 0.96), rgba(13, 28, 49, 0.94));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-brand-bar-inner,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.site-brand-bar-inner {
  position: relative;
  z-index: 1;
}
.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.brand-mark__image {
  position: absolute;
  top: 53%;
  left: 50%;
  display: block;
  width: 235%;
  height: 235%;
  max-width: none;
  object-fit: contain;
  transform: translate(-50%, -50%);
}
.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-text strong {
  font-size: clamp(1.35rem, 1.6vw, 1.7rem);
  white-space: nowrap;
}
.brand-text > span {
  color: rgba(228, 232, 238, 0.78);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.site-header {
  position: sticky;
  top: var(--brand-bar-h);
  z-index: 1000;
  background: linear-gradient(
    180deg,
    rgba(16, 33, 57, 0.9),
    rgba(13, 28, 49, 0.84)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-shell {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-shell-brandless {
  gap: 1.6rem;
}
.nav-shell-brandless .nav-links {
  flex: 1 1 auto;
  justify-content: center;
  gap: 0.65rem;
}
.nav-shell-brandless .nav-actions {
  flex: 0 0 auto;
  margin-left: auto;
}
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}
.nav-links {
  gap: 0.35rem;
}
.site-header .nav-links a {
  padding: 0.32rem 0.62rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.91rem;
}
.nav-actions {
  margin-left: auto;
  gap: 0.75rem;
}
.site-header .nav-actions .btn {
  min-height: 34px;
  padding-inline: 0.84rem;
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.hero {
  position: relative;
  padding: 4.15rem 0 5.35rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(8, 22, 45, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(4, 10, 21, 0.28), rgba(4, 11, 23, 0.44));
}
.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(620px, 1.12fr);
  grid-template-areas: "copy leo";
  align-items: center;
  column-gap: clamp(56px, 6vw, 96px);
  min-height: calc(100vh - var(--nav-h) - 7.2rem);
}
.hero-main {
  grid-area: copy;
  display: flex;
  width: 100%;
}
.hero-copy {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 186, 141, 0.9));
}
.hero-copy .eyebrow {
  margin-bottom: 1.2rem;
}
.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: "Fraunces", serif;
  font-size: clamp(2.3rem, 3vw, 4.05rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: pretty;
}
.lead-accent {
  color: #e2d1ab;
}
.hero-copy p {
  max-width: 56ch;
  margin: 1.1rem 0 0;
  color: rgba(236, 239, 243, 0.86);
  font-size: 1.02rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.55rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
}
.btn:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-primary {
  background: linear-gradient(135deg, #d4c39f, #b59a65);
  color: #07111f;
  box-shadow: 0 12px 30px rgba(181, 154, 101, 0.26);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(207, 186, 141, 0.22);
  color: rgba(244, 240, 232, 0.94);
}
.hero-value-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  margin-top: 1.45rem;
}
.hero-value-point {
  color: rgba(225, 229, 236, 0.8);
  font-size: 0.98rem;
  line-height: 1.4;
}
.hero-leo-3d {
  grid-area: leo;
  position: relative;
  justify-self: end;
  width: min(100%, 760px);
  min-height: 560px;
  margin-top: clamp(20px, 4vh, 56px);
  pointer-events: none;
}
.hero-leo-assistant {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 560px;
}
.leo-response-bubble {
  position: relative;
  z-index: 4;
  order: 1;
  align-self: center;
  width: clamp(250px, 18vw, 300px);
  flex: 0 0 clamp(250px, 18vw, 300px);
  padding: 18px;
  border: 1px solid rgba(214, 181, 111, 0.34);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 247, 232, 0.97), rgba(244, 232, 209, 0.95)),
    rgba(255, 247, 232, 0.96);
  box-shadow: 0 22px 44px rgba(2, 8, 18, 0.16);
  color: #132640;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.leo-page-guide__label {
  color: rgba(21, 39, 66, 0.72);
}
.leo-response-bubble p,
.leo-response-bubble__message,
.leo-chat-message,
.leo-chat-message p {
  color: #132640;
}
.leo-chat-message--leo,
.leo-chat-message--thinking {
  background: rgba(255, 255, 255, 0.62);
  color: #132640;
  box-shadow: inset 0 0 0 1px rgba(21, 39, 66, 0.06);
}
.leo-response-bubble.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.leo-chat-bubble {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-leo-3d__stage {
  position: relative;
  min-width: 340px;
  min-height: 520px;
  transform: translateY(clamp(18px, 3vh, 36px));
}
.hero-leo-3d__stage canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.hero-leo-3d__loader {
  position: absolute;
  left: 50%;
  bottom: 18%;
  padding: 0.58rem 0.86rem;
  border: 1px solid rgba(216, 191, 132, 0.22);
  border-radius: 999px;
  background: rgba(7, 18, 38, 0.72);
  color: rgba(245, 240, 230, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
body[data-page="home"] .hero-main[data-reveal] {
  opacity: 1;
  transform: none;
}
@media (max-width: 1080px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20030;
    flex: 0 0 auto;
  }
  .site-header.is-open .nav-links {
    display: flex !important;
    position: fixed;
    inset: 0;
    z-index: 20020;
    height: 100dvh;
    padding: calc(env(safe-area-inset-top) + 5.25rem) 1.1rem calc(env(safe-area-inset-bottom) + 1.25rem);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    background: #07111f;
  }
  .site-header.is-open .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(207, 186, 141, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
  }
  .hero-shell {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "leo";
    justify-items: center;
    gap: 2.4rem;
    min-height: auto;
  }
  .hero {
    padding-bottom: 5rem;
  }
  .hero-main {
    justify-content: center;
  }
  .hero-copy {
    max-width: 100%;
    margin-top: 0;
    text-align: center;
  }
  .hero-copy .eyebrow,
  .btn-row,
  .hero-value-points {
    justify-content: center;
  }
  .hero-copy h1 {
    max-width: 14ch;
    font-size: clamp(2rem, 7.2vw, 3rem);
  }
  .hero-copy p {
    max-width: 100%;
    margin-inline: auto;
  }
  .hero-leo-3d {
    justify-self: center;
    width: min(100%, 420px);
    min-height: 0;
    margin-top: 0;
  }
  .hero-leo-assistant {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-height: 0;
    width: 100%;
  }
  .hero-leo-3d__stage {
    width: min(100%, 420px);
    min-width: min(100%, 420px);
    min-height: 420px;
    transform: none;
  }
}
@media (min-width: 992px) {
  .hero {
    overflow: visible;
  }
  .hero-shell {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "leo";
    gap: 2.5rem;
    align-items: start;
    justify-items: center;
    min-height: auto;
  }
  .hero-main {
    width: 100%;
    justify-content: center;
  }
  .hero-copy {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
  }
  .hero-copy .eyebrow,
  .hero-copy .btn-row,
  .hero-value-points {
    justify-content: center;
  }
  .hero-copy h1 {
    max-width: 24ch;
    margin-inline: auto;
    text-align: center;
  }
  html[lang="el"] body[data-page="home"] .hero-copy h1 {
    max-width: min(100%, 15.66em) !important;
  }
  html[lang="el"] body[data-page="home"] .hero-copy p {
    max-width: min(100%, 41.48em) !important;
  }
  .hero-copy p {
    max-width: 68ch;
    margin-inline: auto;
    text-align: center;
  }
  .hero-leo-3d {
    width: 100%;
    max-width: 940px;
    justify-self: center;
    min-height: 520px;
    margin-top: 0;
  }
  .hero-leo-assistant {
    width: 100%;
    max-width: 940px;
    min-height: 520px;
    justify-content: center;
    gap: 2rem;
  }
  .leo-response-bubble {
    order: 1;
    width: 420px;
    max-width: 420px;
    flex: 0 0 420px;
    margin: 0;
    padding: 1.18rem 1.24rem 1.12rem;
    border-radius: 30px;
  }
  .hero-leo-3d__stage {
    order: 2;
    width: 430px;
    min-width: 430px;
    min-height: 540px;
    flex: 0 0 430px;
    margin-top: 0;
    transform: none;
  }
}
@media (max-width: 991px) {
  .hero-copy {
    width: 100%;
    max-width: min(100%, 390px);
    margin-inline: auto;
    padding-inline: 0.65rem;
    text-align: center;
  }
  .hero-copy h1 {
    max-width: min(100%, 14ch);
    margin-inline: auto;
    text-align: center;
  }
  .hero-copy p {
    max-width: 34ch;
    margin-inline: auto;
    text-align: center;
  }
  html[lang="el"] body[data-page="home"] .hero-copy h1 {
    max-width: min(100%, 8.29em) !important;
  }
  html[lang="el"] body[data-page="home"] .hero-copy p {
    max-width: min(100%, 20.74em) !important;
  }
}
@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--max));
  }
  .hero {
    padding-top: 3.1rem;
  }
  .hero-copy h1 {
    max-width: min(100%, 13.5ch);
    font-size: clamp(1.72rem, 8.4vw, 2.35rem);
    line-height: 1.09;
  }
  html[lang="el"] body[data-page="home"] .hero-copy h1 {
    max-width: min(100%, 9.18em) !important;
  }
  html[lang="el"] body[data-page="home"] .hero-copy p {
    max-width: min(100%, 20.74em) !important;
  }
  .hero-copy p {
    font-size: 0.96rem;
    line-height: 1.65;
  }
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-row .btn {
    width: 100%;
  }
  .hero-value-points {
    gap: 0.7rem;
  }
  .hero-leo-3d {
    width: min(100%, 320px);
    min-width: 280px;
    min-height: 280px;
  }
  .hero-leo-3d__stage {
    order: 1;
    flex: 0 0 auto;
    min-width: 280px;
    transform: translateY(130px);
  }
  .leo-response-bubble {
    order: 2;
    width: min(100%, 390px);
    flex: 0 1 auto;
    margin-top: 0;
    max-width: min(390px, calc(100vw - 32px));
  }
  .brand-text > span {
    white-space: normal;
    max-width: 22ch;
  }
  .site-brand-bar-inner {
    flex-direction: column;
    text-align: center;
  }
  .site-brand-bar .brand-text {
    align-items: center;
  }
}
