:root {
  color: #111318;
  background: #ffffff;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 8%, rgba(11, 120, 246, .12), transparent 34rem),
    linear-gradient(145deg, #ffffff, #f2f5f9 54%, #ffffff);
}

.preview-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 16px;
  padding: 18px 22px 14px;
}

.preview-header {
  width: min(100%, 920px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.preview-brand { display: flex; align-items: center; gap: 12px; }
.preview-brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(11, 120, 246, .18);
}
.preview-brand div { display: grid; gap: 2px; }
.preview-brand span {
  color: #0b78f6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.preview-brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.preview-header a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(11, 120, 246, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #0b5fc2;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(11, 120, 246, .08);
}
.preview-header a:hover { border-color: #0b78f6; color: #0b78f6; }

.phone {
  box-sizing: content-box;
  align-self: center;
  width: 390px;
  height: 844px;
  overflow: hidden;
  border: 8px solid #080a0d;
  border-radius: 38px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(8, 10, 13, .24), 0 0 0 1px rgba(255,255,255,.22) inset;
}
iframe { display: block; width: 100%; height: 100%; border: 0; background: #ffffff; }
.preview-note { margin: 0; color: #4d5664; font-size: 11px; font-weight: 650; letter-spacing: .02em; }

@media (max-width: 520px) {
  .preview-shell { display: block; padding: 0; }
  .preview-header, .preview-note { display: none; }
  .phone {
    box-sizing: border-box;
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
