/* ============================================
   AtlasX — mobile.css   (< 768px viewport)
   Recreates the 360px Figma "Home (Mobile)" frame.
   Unit convention: 1rem = 10 design-pixels.
   ============================================ */

@media (max-width: 767px) {

.is-desktop-only { display: none !important; }

/* ---- Layout container ------------------------------------------ */
.gnb,
.hero,
.about,
.avatars,
.chat,
.features,
.quote-row,
.trust,
.cta,
.footer {
  width: 100%;
  margin: 0 auto;
}

/* ============================================================
   GNB
============================================================ */
.gnb {
  height: 6.8rem;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.logo-mark {
  font-family: var(--ff-body);
  font-weight: 200;
  font-size: 2.6rem;
  letter-spacing: 0.6rem;
  color: #1a1a1a;
  padding-left: 0.6rem;
  line-height: 1;
}
.logo-mark--white { color: #fff; }

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 1.5rem 0 4rem;
  text-align: center;
}
.hero__top {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 3.2rem;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #000;
}
.hero__display {
  margin: 1.4rem 0 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}
.hero__sub {
  margin: 1rem 0 0;
  font-family: var(--ff-body);
  font-size: 1.4rem;
  line-height: 1.3;
  color: #444847;
  padding: 0 4rem;
}
.hero__cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-size: 1.4rem;
  letter-spacing: -0.05em;
  line-height: 1.3;
  border: 0.06rem solid transparent;
  border-radius: 2.5rem;
  padding: 1rem 2.5rem;
  height: 3.8rem;
  min-width: 12rem;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .25s ease;
}
.btn--outline { background: #fff; color: #1a1a1a; border-color: #1a1a1a; }
.btn--outline:hover { background: #1a1a1a; color: #fff; }
.btn--dark { background: #1a1a1a; color: #fff; }
.btn--dark:hover { background: #444; }

.btn--pill { height: 3.2rem; min-width: 5.5rem; padding: 0.8rem 1rem; font-size: 1.2rem; border-radius: 2.5rem; }
.btn--pill-outline { background: #fff; color: #1a1a1a; border-color: rgba(102,102,102,.4); }
.btn--pill-fill { background: #eaeaea; color: #121212; border-color: rgba(102,102,102,.4); }

.btn--launch { background: #fff; color: #121212; border-radius: 2.5rem; font-size: 1.4rem; padding: 1rem 2.5rem; min-width: 11.9rem; height: 3.8rem; }

/* ============================================================
   KEY VISUAL
============================================================ */
.key-visual { padding: 0; margin-top: 4rem; }
.key-visual__img {
  width: 100%;
  height: 22.8rem;
  background: url('../assets/images/key-visual.png') center / cover no-repeat;
}

/* ============================================================
   ABOUT
============================================================ */
.about {
  padding: 4rem 0 0;
  text-align: center;
}
.about__eyebrow { font-size: 1.8rem; margin: 0 0 0.8rem; }
.about__quote {
  position: relative;
  padding: 2rem 0 2rem;
}
.about__quote-open,
.about__quote-close {
  position: absolute;
  width: 2rem;
  height: 2rem;
  padding: 0.2rem;
  display: block;
  opacity: 0.2;
}
.about__quote-open { left: 2rem; top: 0; }
.about__quote-close { right: 2rem; bottom: 0; }
.about__quote-open img, .about__quote-close img { width: 100%; height: 100%; }

.about__text {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: #1a1a1a;
  margin: 0;
}

/* ============================================================
   AVATARS (mobile uses chat-inline avatars only - hide standalone)
============================================================ */
.avatars { display: none; }

/* ============================================================
   CHAT
============================================================ */
.chat {
  padding: 4rem 3rem 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2.9rem;
}
/* mini avatars row */
.chat__avatar { display: none; }

.chat__thread {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  align-items: flex-end;
}
.chat__msg {
  border-radius: 0.8rem;
  border: 0.04rem solid rgba(102,102,102,.4);
  padding: 1rem 1.2rem;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.3;
  color: #000;
  max-width: 26.7rem;
}
.chat__msg--user { align-self: flex-end; background: #fff; text-align: right; }
.chat__msg--ai {
  align-self: flex-start;
  background: #eaeaea;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.chat__msg-avatar {
  flex-shrink: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: url('../assets/images/thena.png') center / cover no-repeat #ebeae7;
}
.chat__msg-text { flex: 1; }

.chat__actions {
  margin-top: 1.5rem;
  width: 100%;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

/* Insert avatar pair above thread (mobile) */
.chat::before, .chat::after {
  content: "";
  display: block;
}

/* ============================================================
   FEATURES (4 vertical stack)
============================================================ */
.features {
  padding: 6rem 0 4rem;
  text-align: center;
}
.features__eyebrow { font-size: 1.8rem; margin: 0 0 0.8rem; }
.features__title { margin-top: 3.1rem; }
.features__title-top {
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0;
}
.features__title-display {
  margin: 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.features__deco { display: none; }
.features__grid {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  padding: 0 2rem;
  text-align: left;
}
.feature {
  border-top: 0.05rem solid rgba(0,0,0,.5);
  padding: 4rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 25rem;
  position: relative;
}
.feature:first-child { border-top: 0; }
.feature__num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 6rem;
  line-height: 1;
  color: #1a1a1a;
}
.feature__body { display: flex; flex-direction: column; gap: 0.4rem; }
.feature__kicker {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: #a7a7a7;
  margin: 0;
}
.feature__title {
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: #1a1a1a;
  margin: 0.4rem 0 0;
}
.feature__desc {
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: #1a1a1a;
  margin: 0.8rem 0 0;
}

/* ============================================================
   QUOTE
============================================================ */
.quote-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3rem;
}
.quote-row__img {
  order: -1;
  width: 30rem;
  height: 41.4rem;
  background: url('../assets/images/img2.png') center / cover no-repeat;
  margin: 0 auto 2rem;
}
.quote-row__text {
  font-family: var(--ff-body);
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #000;
  margin: 0;
  text-align: left;
  padding: 1rem;
}
.quote-row__mark { font-family: var(--ff-display); font-style: italic; color: rgba(26,26,26,.3); }

/* ============================================================
   TRUST BAR
============================================================ */
.trust {
  padding: 4rem 2rem 0;
  text-align: center;
}
.trust__eyebrow { font-size: 1.8rem; margin: 0 0 0.8rem; }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 0.0625rem solid rgba(0,0,0,.5);
  padding: 1rem 0;
  margin-top: 2rem;
}
.trust__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding: 2rem 0;
}
.trust__cell:not(:last-child) { border-right: 0.0625rem solid rgba(0,0,0,.5); }
.trust__icon { height: 3.2rem; display: flex; align-items: center; justify-content: center; }
.trust__icon img { height: 100%; width: auto; }
.trust__label {
  font-family: var(--ff-body);
  font-size: 1.4rem;
  line-height: 1;
  color: #121212;
  margin: 0;
  white-space: pre-line;
}
.trust__footer {
  margin-top: 2rem;
  font-family: var(--ff-body);
  font-size: 1.4rem;
  line-height: 1.3;
  color: #444847;
  padding: 0 4rem;
}

/* ============================================================
   CTA
============================================================ */
.cta {
  position: relative;
  height: 32rem;
  overflow: hidden;
  margin-top: 6rem;
}
.cta__bg {
  position: absolute;
  left: 50%;
  top: -2rem;
  transform: translateX(-50%);
  width: 72rem;
  height: 72rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #121212 0%, #343434 100%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4rem;
  gap: 4rem;
}
.cta__headline {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 5.6rem;
  line-height: 1.3;
  text-align: center;
  color: #fff;
  margin: 0;
}
.cta__sub {
  font-family: var(--ff-body);
  font-size: 1.4rem;
  text-align: center;
  color: #fff;
  margin: -3.2rem 0 0;
}
.cta__arrow { display: block; color: #fff; width: 2.75rem; height: 5rem; }
.cta__arrow svg { width: 100%; height: 100%; }
.btn--launch { margin-top: 0; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #343434;
  color: #fff;
  padding: 4rem 2.4rem 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.footer__top {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}
.footer__contacts p {
  font-family: var(--ff-body);
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin: 0;
}
.footer__contacts p + p { margin-top: 0.5rem; }
.footer__contacts a { color: #fff; }

.footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer__social a {
  font-family: var(--ff-body);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: #fff;
  padding: 0.4rem 0.8rem;
}
.footer__logo { margin-top: 2.4rem; }
.footer__logo .logo-mark { font-size: 4rem; letter-spacing: 0.6rem; }

} /* end @media max-width 767 */
