.container { max-width: 1100px; margin: 0 auto; padding: 1.5rem 2rem; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.logo { color: var(--text); font-weight: 600; text-decoration: none; transition: opacity 0.15s; }
.logo:hover { opacity: 0.75; }

.lang { display: flex; gap: 0.5rem; }
.lang button {
  background: none; border: 0; cursor: pointer; font: inherit;
  color: var(--muted); font-size: 0.9rem; font-weight: 500;
  padding: 2px 6px; border-radius: 4px; transition: color 0.15s;
}
.lang button[aria-pressed="true"] { color: var(--text); background: var(--btn-bg); }
.lang button:hover { color: var(--text); }

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
}

.window {
  background: var(--window-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 1.75rem 2.25rem;
}

h1 { font-size: 2.2rem; margin: 0 0 0.3rem; }
h2 { font-size: 1.2rem; font-weight: 400; color: var(--muted); margin: 0 0 1rem; }
.intro { margin: 0.75rem 0; line-height: 1.65; color: var(--muted); max-width: 560px; }
.tags { margin: 0.5rem 0 1.25rem; }
.tag {
  display: inline-block; margin: 2px 3px 2px 0; padding: 3px 10px;
  background: var(--tag-bg); color: var(--tag-text); border-radius: 20px;
  font-size: 0.8rem; font-weight: 500;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

.notice {
  border: 1px solid var(--warn-border);
  background: var(--warn-bg);
  border-radius: 10px;
  padding: 0.8rem 1.1rem;
  margin: 1rem 0;
  font-size: 0.92rem;
  line-height: 1.6;
}
.notice strong { color: var(--warn-text); }
.notice ul { margin: 0.5rem 0 0; padding-left: 1.2rem; color: var(--btn-text); }
.notice li { margin-bottom: 0.25rem; }
.notice code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace; font-size: 0.85em;
  background: rgba(110, 118, 129, 0.25); padding: 1px 6px; border-radius: 6px; color: var(--text);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--btn-bg); color: var(--btn-text);
  border: 1px solid var(--border); border-radius: 8px;
  text-decoration: none; font: inherit; font-weight: 500; font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--btn-hover); border-color: var(--muted); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn.primary { background: var(--accent); color: #0d1117; border-color: var(--accent); }
.btn.primary:hover { background: #79c0ff; border-color: #79c0ff; }

.phone {
  height: min(var(--phone-h), calc(100dvh - 10rem));
  aspect-ratio: 390 / 844;
  padding: 12px;
  border-radius: 54px;
  background: #05070a;
  border: 1px solid var(--border);
  box-shadow: 0 0 0 2px #1c2128, 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}
.phone::before, .phone::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #1c2128;
}
.phone::before { left: -4px; top: 18%; height: 9%; box-shadow: 0 calc(100% + 18px) 0 #1c2128; }
.phone::after { right: -4px; top: 24%; height: 13%; }

.screen {
  position: relative; width: 100%; height: 100%;
  overflow: hidden; border-radius: 42px; background: #f8fafc;
}
.screen iframe {
  position: absolute; top: 0; left: 0;
  width: var(--app-w); height: var(--app-h);
  border: 0; background: #f8fafc;
  transform: scale(var(--k, 1)); transform-origin: 0 0;
}
.hint { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 0.9rem; }
.mobile-only { display: none; }

