:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --panel: #ffffff;
  --panel-soft: #eef1f5;
  --text: #111318;
  --muted: #707680;
  --line: rgba(17, 19, 24, 0.1);
  --black: #050608;
  --blue: #0a84ff;
  --green: #20c76b;
  --pink: #ff3b6b;
  --orange: #ff8a24;
  --purple: #635bff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(245, 246, 248, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 800;
  font-size: 18px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.desktop-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.desktop-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover {
  background: var(--panel-soft);
  color: var(--text);
}

.header-action {
  border: 0;
  justify-self: end;
  padding: 11px 16px;
  background: var(--black);
  color: white;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.header-menu {
  position: relative;
  justify-self: end;
}

.site-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  display: grid;
  width: 340px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(16, 18, 24, 0.14);
  backdrop-filter: blur(18px);
}

.site-dropdown[hidden] {
  display: none;
}

.site-dropdown a,
.site-dropdown button {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.site-dropdown a:hover,
.site-dropdown button:hover {
  background: var(--panel-soft);
}

.dropdown-divider {
  height: 1px;
  margin: 8px 4px;
  background: var(--line);
}

.site-dropdown .live-auth-panel {
  margin: 0;
  padding: 8px 4px 4px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.site-dropdown .live-auth-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.site-dropdown .live-auth-form label {
  margin-bottom: 5px;
  font-size: 12px;
}

.site-dropdown .live-auth-form input {
  min-height: 42px;
  border-radius: 13px;
  font-size: 14px;
}

.site-dropdown .live-auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  grid-column: auto;
}

.site-dropdown .live-auth-actions .primary-action,
.site-dropdown .live-auth-actions .secondary-action {
  min-height: 42px;
  padding: 0 10px;
  border-radius: 13px;
  font-size: 13px;
}

.site-dropdown .live-form-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.site-dropdown .live-user-row {
  margin: 0;
  padding: 8px 4px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 76px);
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  padding: clamp(28px, 5vw, 70px) clamp(18px, 5vw, 72px) 46px;
  overflow: hidden;
}

.hero-media {
  position: relative;
  min-height: 610px;
}

.phone-frame {
  position: absolute;
  width: min(280px, 42vw);
  aspect-ratio: 1570 / 2932;
  background: transparent;
  border-radius: 46px;
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.22));
}

.phone-left {
  left: 6%;
  top: 5%;
  transform: rotate(-7deg);
}

.phone-right {
  right: 9%;
  top: 16%;
  transform: rotate(7deg);
}

.phone-copper {
  filter: drop-shadow(0 34px 50px rgba(126, 70, 43, 0.32));
}

.phone-red {
  filter: drop-shadow(0 34px 50px rgba(137, 16, 25, 0.3));
}

.phone-shell {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.phone-copper .phone-shell {
  filter: sepia(0.24) saturate(1.24) hue-rotate(342deg) brightness(1.05);
}

.phone-red .phone-shell {
  filter: sepia(0.55) saturate(2.2) hue-rotate(318deg) brightness(0.98);
}

.app-screen {
  position: absolute;
  z-index: 1;
  left: 7.8%;
  right: 7.8%;
  top: 4.9%;
  bottom: 5%;
  height: auto;
  padding: 22px 16px;
  background: #f6f7fb;
  border-radius: 42px;
  overflow: hidden;
}

.phone-copper .app-screen {
  top: 4.8%;
  bottom: 5.1%;
}

.phone-red .app-screen {
  top: 4.8%;
  bottom: 5.1%;
}

.app-screen.public {
  background: #f7fbf8;
}

.login-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 14px 16px;
  background:
    radial-gradient(circle at 50% 8%, rgba(32, 199, 107, 0.14), transparent 34%),
    #f7f8fb;
}

.screen-dynamic-island {
  position: absolute;
  top: 16px;
  left: 50%;
  width: 76px;
  height: 24px;
  transform: translateX(-50%);
  background: #050608;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.login-top {
  display: flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  max-width: 100%;
}

.login-top img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.login-avatar {
  width: 88px;
  height: 88px;
  margin-top: 28px;
  padding: 12px;
  border-radius: 30px;
  background: white;
  box-shadow: 0 18px 34px rgba(24, 32, 44, 0.13);
}

.login-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
}

.login-title {
  margin-top: 14px;
  font-size: 23px;
  font-weight: 950;
  letter-spacing: 0;
  max-width: 100%;
  line-height: 1;
}

.login-subtitle {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}

.login-field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-top: 22px;
  padding: 0 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.login-field span {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #d5dbe3;
}

.login-field p {
  margin: 0;
  color: #8a9099;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.screen-button {
  width: 100%;
  height: 50px;
  margin-top: 12px;
  border: 0;
  border-radius: 18px;
  background: #050608;
  color: white;
  font: inherit;
  font-size: 16px;
  font-weight: 950;
}

.login-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  line-height: 1.35;
  text-align: center;
}

.chat-screen {
  padding: 18px 12px 14px;
  background: #f3f4f7;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  margin-bottom: 12px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.chat-header img {
  width: 38px;
  height: 38px;
  border-radius: 13px;
}

.chat-header strong {
  display: block;
  font-size: 14px;
}

.chat-header small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.chat-date {
  width: max-content;
  margin: 0 auto 12px;
  padding: 6px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.message {
  width: max-content;
  max-width: 94%;
  margin: 8px 0;
  padding: 9px 10px 10px;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(18, 24, 34, 0.07);
}

.message b {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  color: var(--muted);
}

.message span {
  display: block;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.message.incoming {
  background: white;
  border-bottom-left-radius: 6px;
}

.message.outgoing {
  margin-left: auto;
  background: #101216;
  color: white;
  border-bottom-right-radius: 6px;
}

.message.outgoing b {
  color: rgba(255, 255, 255, 0.62);
}

.message.alt {
  background: #e9f7ef;
}

.typing-row {
  display: inline-flex;
  gap: 4px;
  margin-top: 8px;
  padding: 12px 13px;
  background: white;
  border-radius: 999px;
}

.typing-row i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa1ab;
}

.screen-title {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 900;
}

.screen-card,
.avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  margin-bottom: 12px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.screen-card.compact {
  min-height: 72px;
}

.screen-card strong,
.avatar-row strong {
  display: block;
  font-size: 17px;
}

.screen-card small,
.avatar-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.screen-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
}

.screen-icon.blue {
  background: rgba(10, 132, 255, 0.16);
}

.screen-icon.pink {
  background: rgba(255, 59, 107, 0.16);
}

.screen-icon.green {
  background: rgba(32, 199, 107, 0.16);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.screen-grid span {
  aspect-ratio: 1;
  background: #dde3eb;
  border-radius: 18px;
}

.avatar-row img {
  width: 52px;
  height: 52px;
  border-radius: 15px;
}

.chat-line {
  width: max-content;
  max-width: 90%;
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 800;
}

.chat-line.left {
  background: #e9edf3;
}

.chat-line.right {
  margin-left: auto;
  background: #111;
  color: white;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 12vw, 142px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 22px;
}

.hero-copy,
.section-heading p,
.public-section p,
.support-card p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 560;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-action {
  background: var(--black);
  color: white;
}

.secondary-action {
  background: white;
  border: 1px solid var(--line);
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.hero-status span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.live-blog-section {
  padding: clamp(30px, 5vw, 50px) clamp(18px, 5vw, 42px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(12, 15, 24, 0.16);
}

.live-panel {
  position: fixed;
  top: 92px;
  left: 50%;
  z-index: 25;
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100svh - 112px);
  overflow: auto;
  transform: translateX(-50%);
}

.live-panel[hidden] {
  display: none;
}

.admin-panel {
  position: fixed;
  top: 92px;
  left: 50%;
  z-index: 26;
  width: min(1180px, calc(100vw - 32px));
  max-height: calc(100svh - 112px);
  overflow: auto;
  padding: clamp(30px, 5vw, 50px) clamp(18px, 5vw, 42px);
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(12, 15, 24, 0.18);
}

.admin-panel[hidden] {
  display: none;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-card {
  min-height: 260px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.admin-card h3 {
  margin-bottom: 16px;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-item {
  display: grid;
  gap: 8px;
  padding: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.admin-item strong {
  display: block;
  font-size: 15px;
}

.admin-item small,
.admin-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.admin-item select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.admin-role-form,
.support-form {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-role-form input[type="text"],
.admin-role-form input:not([type]),
.support-form input,
.support-form textarea,
.admin-role-form input[name="name"],
.admin-role-form input[name="description"] {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
}

.admin-role-form label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-role-form button,
.support-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.support-form {
  max-width: 620px;
  margin-top: 20px;
}

.support-form textarea {
  min-height: 130px;
  padding-top: 13px;
  resize: vertical;
}

.support-form span {
  min-height: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.live-blog-header {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
}

.live-blog-header h2 {
  max-width: 760px;
}

.live-blog-header p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 560;
  line-height: 1.5;
}

.live-auth-panel,
.live-manager-panel,
.live-user-row {
  margin-bottom: 16px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.live-auth-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.live-auth-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 900;
}

.live-auth-form input,
.live-editor input,
.live-editor textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}

.live-auth-form input:focus,
.live-editor input:focus,
.live-editor textarea:focus {
  border-color: rgba(10, 132, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.1);
}

.live-auth-actions {
  display: flex;
  gap: 10px;
  align-items: end;
  grid-column: span 2;
}

.live-auth-actions .primary-action,
.live-auth-actions .secondary-action {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.live-form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.live-editor {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 12px;
  align-items: start;
}

.live-editor textarea {
  grid-column: 1 / -1;
  min-height: 118px;
  padding-top: 14px;
  resize: vertical;
}

.live-editor button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.live-user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.live-user-row button {
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.live-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.live-post {
  min-height: 230px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.live-post span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
}

.live-post h3 {
  font-size: 24px;
}

.live-post p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 560;
  line-height: 1.5;
  white-space: pre-wrap;
}

.live-post time {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.live-post.skeleton {
  opacity: 0.72;
}

.section {
  padding: clamp(58px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 30px;
}

.section-heading.narrow {
  max-width: 640px;
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card {
  min-height: 280px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.feature-card p,
.timeline p,
.status-row p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 560;
  line-height: 1.48;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 16px;
  font-weight: 900;
}

.feature-icon.blue {
  color: var(--blue);
  background: rgba(10, 132, 255, 0.13);
}

.feature-icon.green {
  color: var(--green);
  background: rgba(32, 199, 107, 0.14);
}

.feature-icon.pink {
  color: var(--pink);
  background: rgba(255, 59, 107, 0.12);
}

.feature-icon.orange {
  color: var(--orange);
  background: rgba(255, 138, 36, 0.14);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  background: #101216;
  color: white;
}

.split-section .section-heading p,
.split-section .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.status-panel {
  display: grid;
  gap: 12px;
}

.status-row {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
}

.status-row > span {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
}

.status-row.active > span {
  background: var(--green);
}

.status-row p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.release-section {
  background: var(--panel);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.timeline article {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.timeline time {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.public-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
}

.support-section {
  padding-top: 30px;
}

.support-card {
  max-width: 980px;
  padding: clamp(28px, 5vw, 58px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 30px;
}

.support-card .primary-action {
  margin-top: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero,
  .split-section,
  .public-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: 2;
    min-height: 520px;
  }

  .phone-left {
    left: 5%;
  }

  .phone-right {
    right: 5%;
  }

  .feature-grid,
  .timeline,
  .live-posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .live-blog-header,
  .live-auth-form,
  .live-editor {
    grid-template-columns: 1fr;
  }

  .live-auth-actions,
  .live-editor textarea {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .header-action {
    display: inline-flex;
  }

  .site-dropdown {
    right: 0;
    width: min(230px, calc(100vw - 36px));
  }

  .live-panel {
    top: 76px;
    width: calc(100vw - 20px);
    max-height: calc(100svh - 86px);
  }

  .admin-panel {
    top: 76px;
    width: calc(100vw - 20px);
    max-height: calc(100svh - 86px);
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

  .phone-frame {
    width: 205px;
    border-radius: 34px;
  }

  .phone-left {
    left: 0;
  }

  .phone-right {
    right: 0;
    top: 22%;
  }

  .screen-title {
    font-size: 22px;
  }

  .feature-grid,
  .timeline,
  .live-posts {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 230px;
  }

  .site-footer {
    flex-direction: column;
  }
}
