.topbar {

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 58px;

  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 0 18px;

  background:
    rgba(10,10,10,0.72);

  backdrop-filter:
    blur(18px);

  border-bottom:
    1px solid var(--border);

}

.topbar-left,
.topbar-center,
.topbar-right {

  display: flex;
  align-items: center;
  gap: 8px;

}

.topbar-center {

  flex: 1;

  justify-content: center;

}

.brand {

  font-size: 13px;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  color: var(--text);

  white-space: nowrap;

}

/* =========================
   HERO
========================= */

.hero-screen {

  position: absolute;

  inset: 0;

  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    100px 40px 80px;

}

.hero-inner {

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 28px;

  text-align: center;

  max-width: 760px;

}

.hero-inner h1 {

  font-size:
    clamp(54px, 11vw, 138px);

  line-height: 0.92;

  letter-spacing:
    -0.06em;

  color:
    var(--text);

}

.hero-inner p {

  color:
    var(--muted);

  font-size:
    14px;

  line-height:
    1.9;

}

.hero-note {

  margin-top: 10px;

  color:
    var(--ghost);

  font-size:
    11px;

  letter-spacing:
    0.18em;

  text-transform:
    uppercase;

}

/* =========================
   WORKSPACE
========================= */

.workspace {

  position: relative;

  width: 100%;
  height: 100%;

  z-index: 2;

  overflow: hidden;

}

/* =========================
   FOOTER
========================= */

.footer {

  position: fixed;

  bottom: 0;
  left: 0;

  width: 100%;
  height: 40px;

  z-index: 1000;

  display: grid;

  grid-template-columns:
    1fr auto 1fr;

  align-items: center;

  padding: 0 18px;

  background:
    rgba(10,10,10,0.72);

  backdrop-filter:
    blur(18px);

  border-top:
    1px solid var(--border);

  font-size:
    11px;

  color:
    var(--muted);

}

.footer-center {

  color:
    var(--ghost);

}

.footer-right {

  display: flex;

  justify-content: flex-end;

  gap: 8px;

}

/* =========================
   TITLE WRAP
========================= */

.title-wrap {

  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 0;

}

/* =========================
   DESKTOP GRID FEEL
========================= */

.workspace::before {

  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  opacity: 0.03;

  background-image:

    linear-gradient(
      rgba(255,255,255,0.04) 1px,
      transparent 1px
    ),

    linear-gradient(
      90deg,
      rgba(255,255,255,0.04) 1px,
      transparent 1px
    );

  background-size:
    40px 40px;

}

/* =========================
   START BUTTON
========================= */

#startWritingBtn {

  min-width: 180px;

  padding:
    14px 22px;

  font-size:
    13px;

}

/* =========================
   MOBILE WARNING
========================= */

.mobile-warning {

  position: fixed;

  left: 20px;
  right: 20px;
  bottom: 60px;

  z-index: 4000;

  padding:
    14px 16px;

  background:
    rgba(15,15,15,0.96);

  border:
    1px solid var(--border);

  color:
    var(--muted);

  font-size:
    12px;

  line-height:
    1.6;

}