@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-500.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-600.woff2") format("woff2");
}

.rg-root {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #0a1812;
}

.rg-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-rendering: geometricPrecision;
  font-synthesis: none;
}

.rg-demo-page {
  min-height: 100vh;
  padding: 48px 24px 72px;
  background: var(--bg, #19211D);
  color: var(--text, #F2F0E9);
}

.rg-demo-header {
  max-width: 1160px;
  margin: 0 auto 32px;
}

.rg-demo-heading {
  margin: 0;
  color: var(--cream, #F2F0E9);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
}

.rg-demo-note {
  margin: 10px 0 0;
  color: var(--muted, #8BA89F);
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rg-demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 260px);
  justify-content: center;
  gap: 30px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.rg-demo-card {
  width: 260px;
  min-width: 0;
}

.rg-demo-phone {
  width: 260px;
  height: 562.67px;
  overflow: hidden;
  border: 1px solid rgba(242, 240, 233, 0.18);
  border-radius: 28px;
  background: #0a1812;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.rg-demo-copy {
  padding: 14px 3px 0;
}

.rg-demo-title {
  margin: 0;
  color: var(--cream, #F2F0E9);
  font-family: var(--serif, Georgia, serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.1;
}

.rg-demo-state {
  margin: 6px 0 0;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rg-demo-description {
  margin: 8px 0 0;
  color: var(--body, #C7CFC8);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 360px) {
  .rg-demo-page {
    padding-right: 14px;
    padding-left: 14px;
  }
}
