:root {
  --bg: #f7f2e8;
  --ink: #18222d;
  --muted: #5d6875;
  --accent: #F95C31;
  --green: #848D49;
  --accent-soft: rgba(249, 92, 49, 0.12);
  --green-soft: rgba(132, 141, 73, 0.12);
  --surface: rgba(255,255,255,.92);
  --surface-solid: #ffffff;
  --line: rgba(24,34,45,.12);
  --shadow: 0 18px 50px rgba(24,34,45,.10);
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sofia Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,122,89,.14), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(45,122,104,.12), transparent 24%),
    linear-gradient(180deg, #fcfaf6 0%, var(--bg) 100%);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252,250,246,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.back-link,
.topbar > a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(132,141,73,.25);
  transition: .2s ease;
}

.back-link:hover,
.topbar > a:last-child:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
  text-decoration: none;
}

.page {
  padding: 38px 0 76px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px 30px;
}

h1 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 900;
}

h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  line-height: 1.25;
}

p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.62;
  white-space: pre-line;
}

.lead {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .95rem;
  font-weight: 900;
}

.divider,
hr {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 22px 0;
}

.section {
  display: grid;
  gap: 9px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-solid);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

thead th,
th {
  background: var(--green-soft);
  color: var(--ink);
  text-align: left;
  padding: 14px;
  font-size: 14px;
  font-weight: 900;
  border-bottom: 1px solid var(--line);
}

tbody td,
td {
  background: rgba(255,255,255,.72);
  color: var(--ink);
  padding: 14px;
  font-size: 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

tbody tr:last-child td {
  border-bottom: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

/* Página suscripción */
body > header:not(.site-header),
body > main,
body > footer:not(.site-footer) {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

body > header:not(.site-header) {
  padding: 38px 0 12px;
}

body > main {
  padding: 0 0 50px;
}

body > footer:not(.site-footer) {
  padding: 0 0 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 900;
  font-size: .92rem;
  margin-bottom: 16px;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  color: var(--green);
  font-size: .88rem;
  font-weight: 900;
}

.chip:hover {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.callout {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 800;
}

.callout.ok {
  border-left-color: var(--green);
  background: var(--green-soft);
}

.code {
  margin: 12px 0;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: .94rem;
}

.small {
  color: var(--muted);
  font-size: .95rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 900;
	letter-spacing: .02em;
	color: var(--ink);
}

.brand-logo {
	width: 50px;
	height: 50px;
	object-fit: contain;
	display: block;
}

.brand-copy {
	display: block;
	line-height: 1.05;
}

.brand-copy small {
	display: block;
	margin-top: 3px;
	font-size: .78rem;
	font-weight: 800;
	color: var(--muted);
	letter-spacing: .08em;
	text-transform: uppercase;
}


.brand,
.brand:hover,
.brand:focus,
.brand:active,
.brand:visited {
	color: var(--ink);
	text-decoration: none;
}

.brand:hover .brand-copy,
.brand:hover .brand-copy small {
	color: inherit;
	text-decoration: none;
}

.brand-copy,
.brand-copy small {
	text-decoration: none;
}


/* Ajuste específico para Suscripción y Reembolsos */

body > header:not(.site-header) {
	max-width: var(--max);
	padding-top: 42px;
}

body > header:not(.site-header) .topbar {
	margin-bottom: 28px;
}

body > header:not(.site-header) h1 {
	max-width: 820px;
	margin-bottom: 14px;
}

#resumen.card {
	overflow: hidden;
}

#resumen .grid-2 {
	grid-template-columns: 1fr;
	gap: 18px;
}

#resumen table {
	min-width: 0;
	width: 100%;
	table-layout: fixed;
}

#resumen th:first-child,
#resumen td:first-child {
	width: 26%;
}

#resumen th,
#resumen td {
	word-break: normal;
	overflow-wrap: break-word;
}

main > .card {
	margin-bottom: 18px;
}

main > section.card {
	margin-bottom: 18px;
}

.toc {
	max-width: 900px;
	margin-top: 18px;
	margin-bottom: 18px;
}

.chip {
	background: rgba(255,255,255,.84);
	box-shadow: 0 8px 18px rgba(24,34,45,.04);
}

.callout.ok {
	margin-top: 18px;
	padding: 18px 20px;
	font-size: 1rem;
}

body > footer:not(.site-footer) {
	text-align: center;
}

@media (max-width: 720px) {
	#resumen th:first-child,
	#resumen td:first-child {
		width: 34%;
	}

	#resumen th,
	#resumen td {
		padding: 12px 10px;
		font-size: 13px;
	}

	.toc {
		gap: 7px;
	}

	.chip {
		font-size: .8rem;
		padding: 7px 10px;
	}
}



@media (max-width: 720px) {
	.brand-logo {
		width: 46px;
		height: 46px;
	}

	.brand-copy small {
		font-size: .7rem;
	}
}


ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

li {
  margin: 6px 0;
  color: var(--ink);
  font-size: 15px;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container,
  body > header:not(.site-header),
  body > main,
  body > footer:not(.site-footer) {
    width: min(calc(100% - 24px), var(--max));
  }

  .card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .nav {
    min-height: 68px;
  }

  .brand span {
    display: none;
  }

  .back-link,
  .topbar > a:last-child {
    padding: 10px 14px;
    font-size: 14px;
  }

  h1 {
    font-size: 2rem;
  }

  p,
  li {
    font-size: 14px;
  }

  table {
    min-width: 720px;
  }
}