:root {
  --ink: #101418;
  --muted: #5f625f;
  --paper: #fffaf0;
  --cream: #f6efe2;
  --turquoise: #00a99d;
  --gold: #d4af37;
  --burgundy: #5d1234;
  --line: rgba(16, 20, 24, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fffaf0 0%, #f7efe1 100%);
}

a { color: inherit; }

.rg-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 70px);
  background: rgba(255, 250, 240, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.rg-brand {
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 22px;
}

.rg-header nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
}

.rg-header nav a,
.rg-footer a {
  text-decoration: none;
  color: #303735;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px clamp(18px, 4vw, 40px) 70px;
}

.rg-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 34px 0 56px;
}

.rg-kicker {
  color: var(--burgundy);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  font-size: 13px;
}

h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.07em;
  margin: 12px 0 22px;
}

.rg-lead {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  color: #383f3c;
  max-width: 660px;
}

.rg-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.rg-primary,
.rg-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.rg-primary {
  background: linear-gradient(135deg, var(--turquoise), #05746c);
  color: white;
  box-shadow: 0 16px 38px rgba(0, 169, 157, 0.24);
}

.rg-secondary {
  border: 1px solid rgba(93, 18, 52, 0.28);
  color: var(--burgundy);
  background: rgba(255, 255, 255, 0.48);
}

.rg-hero-image {
  margin: 0;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 30px 90px rgba(32, 17, 20, 0.18);
  background: #101418;
}

.rg-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.rg-section {
  margin: 48px 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.50);
  box-shadow: 0 20px 65px rgba(20, 20, 20, 0.06);
}

.rg-section h2,
.rg-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.rg-section-intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

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

.rg-card,
.rg-mockups article {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.74);
  border: 1px solid rgba(16, 20, 24, 0.08);
}

.rg-card h3,
.rg-mockups h3 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.rg-card p,
.rg-mockups p,
.rg-list li,
.rg-faqs p,
.rg-cta p {
  color: #4b514e;
  line-height: 1.65;
}

.rg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.rg-list {
  padding-left: 20px;
}

.rg-list li {
  margin: 12px 0;
}

.rg-mockups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rg-mockups span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--burgundy);
  color: white;
  font-weight: 900;
  margin-bottom: 14px;
}

.rg-cta {
  margin: 56px 0;
  padding: clamp(34px, 7vw, 70px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 20% 10%, rgba(212, 175, 55, 0.26), transparent 36%),
    linear-gradient(135deg, #071918, #123330 56%, #5d1234);
  color: var(--paper);
  box-shadow: 0 30px 90px rgba(16, 20, 24, 0.22);
}

.rg-cta p { color: rgba(255, 250, 240, 0.84); max-width: 760px; }

.rg-faqs details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.rg-faqs summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 18px;
}

.rg-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rg-related a {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
}

.rg-footer {
  padding: 36px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 250, 240, 0.72);
}

.rg-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .rg-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .rg-hero,
  .rg-split,
  .rg-grid,
  .rg-mockups {
    grid-template-columns: 1fr;
  }

  .rg-section {
    padding: 24px;
    border-radius: 24px;
  }

  .rg-hero-image {
    border-radius: 24px;
  }
}
