:root {
  --rios-red: #eb1b24;
  --rios-red-dark: #b91c1c;
  --text: #242424;
  --muted: #5d6470;
  --line: #d1d5db;
  --surface: #f7f7f7;
  --success: #087443;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: var(--rios-red-dark);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand-text strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: .02em;
}

.brand-text span {
  display: block;
  font-size: .85rem;
  color: var(--muted);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .95rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
}

nav a:hover {
  color: var(--rios-red);
}

.hero {
  padding: 76px 0 58px;
  background:
    linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--rios-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
}

h1, h2, h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin: 10px 0 18px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 18px;
}

h3 {
  margin-top: 0;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 720px;
}

.hero-card {
  border: 1px solid var(--line);
  border-top: 5px solid var(--rios-red);
  border-radius: 18px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.hero-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

section {
  padding: 64px 0;
}

section.alt {
  background: var(--surface);
}

.section-intro {
  max-width: 800px;
  color: var(--muted);
  margin-bottom: 32px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: var(--white);
}

.card.accent {
  border-top: 4px solid var(--rios-red);
}

.check {
  color: var(--success);
  font-weight: 700;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}

.flow-step {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: var(--white);
  position: relative;
}

.flow-step strong {
  display: block;
  color: var(--rios-red-dark);
  margin-bottom: 8px;
}

.callout {
  margin-top: 28px;
  border-left: 5px solid var(--rios-red);
  background: #fff7f7;
  padding: 20px 22px;
  border-radius: 8px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.screenshot-placeholder {
  border: 1px dashed #9ca3af;
  background: #fff;
  border-radius: 12px;
  min-height: 260px;
  padding: 28px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.policy {
  max-width: 900px;
}

.policy h3 {
  margin-top: 28px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
  font-size: .92rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.small {
  font-size: .9rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .cards,
  .flow {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    padding: 14px 0;
    flex-direction: column;
  }
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.screenshot-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.screenshot-card img {
  width: 100%;
  height: 240px;
  display: block;
  object-fit: cover;
  object-position: top left;
  background: #f3f4f6;
}

.screenshot-card figcaption {
  padding: 18px 20px 20px;
  color: var(--muted);
  font-size: .94rem;
}

.screenshot-card figcaption strong {
  color: var(--text);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .screenshot-gallery {
    grid-template-columns: 1fr;
  }

  .screenshot-card img {
    height: auto;
  }
}
