/*
 * Membership pricing table.
 * Palette lifted from the Anarchapulco 2026 kit (purple / fuchsia / teal /
 * yellow) so the subscribe page reads as Anarchapulco, not as generic SaaS.
 * Headings use Merriweather, the brand's primary face.
 */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&display=swap');

.avms-pr {
	--pr-purple:  #231941;
	--pr-fuchsia: #B14B83;
	--pr-teal:    #3BA1A5;
	--pr-yellow:  #FEE170;
	--pr-orange:  #F9975F;
	--pr-ink:     #f3f1f7;
	--pr-muted:   #a89fbd;
	--pr-panel:   #1a1330;
	--pr-hair:    rgba(255, 255, 255, .12);

	color: var(--pr-ink);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	/* This block is `alignfull`, and the theme stretches that with negative side
	   margins - which override `margin: 0 auto` and pin the whole thing left.
	   Centre the children instead of the wrapper. */
	padding: 0 4vw 10px;
}
.avms-pr__tiers,
.avms-pr__matrix { max-width: 1180px; margin-left: auto; margin-right: auto; }
.avms-pr *, .avms-pr *::before, .avms-pr *::after { box-sizing: border-box; }

/* ------------------------------------------------------------ period switch */

.avms-pr__switch {
	display: inline-flex;
	margin: 0 auto 34px;
	padding: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid var(--pr-hair);
}
.avms-pr__switch { display: flex; width: max-content; margin-left: auto; margin-right: auto; }
.avms-pr__opt {
	border: 0; cursor: pointer;
	padding: 9px 22px; border-radius: 999px;
	background: transparent; color: var(--pr-muted);
	font: 600 .9rem/1 inherit;
	transition: background .15s ease, color .15s ease;
}
.avms-pr__opt:hover { color: var(--pr-ink); }
.avms-pr__opt.is-on { background: var(--pr-yellow); color: #1b1330; }

/* -------------------------------------------------------------------- tiers */

.avms-pr__tiers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	/* `auto` sides, not 0 - this rule sits after the shared centring rule and
	   would otherwise reset it, which pinned the tiers left of the matrix. */
	margin: 0 auto 54px;
}

.avms-pr__tier {
	position: relative;
	background: var(--pr-panel);
	border: 1px solid var(--pr-hair);
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.avms-pr__tier.is-featured {
	border-color: var(--pr-fuchsia);
	box-shadow: 0 0 0 1px var(--pr-fuchsia), 0 22px 50px rgba(177, 75, 131, .2);
}

.avms-pr__flag {
	position: absolute; top: 14px; right: 14px; z-index: 2;
	background: var(--pr-fuchsia); color: #fff;
	font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
	padding: 5px 11px; border-radius: 999px;
}

.avms-pr__art {
	height: 168px;
	background-size: cover;
	background-position: center;
	position: relative;
}
.avms-pr__art::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to bottom, rgba(26, 19, 48, .15), var(--pr-panel));
}

.avms-pr__body { padding: 4px 26px 28px; display: flex; flex-direction: column; flex: 1 1 auto; }

.avms-pr__name {
	font-family: Merriweather, Georgia, serif;
	font-weight: 900;
	font-size: 1.5rem;
	margin: 0 0 8px;
	letter-spacing: -.01em;
}
.avms-pr__blurb { color: var(--pr-muted); font-size: .94rem; line-height: 1.5; margin: 0 0 20px; }

.avms-pr__price { margin-top: auto; }
.avms-pr__price[hidden] { display: none; }

.avms-pr__amount {
	font-family: Merriweather, Georgia, serif;
	font-weight: 900;
	font-size: 2.7rem;
	line-height: 1;
	letter-spacing: -.02em;
}
.avms-pr__per { color: var(--pr-muted); font-size: 1rem; margin-left: 6px; }
.avms-pr__save {
	display: inline-block;
	margin-left: 10px; padding: 3px 9px; border-radius: 999px;
	background: rgba(59, 161, 165, .18); color: var(--pr-teal);
	font-size: .76rem; font-weight: 700;
}

.avms-pr__cta {
	display: block; margin: 20px 0 0;
	padding: 14px 20px; border-radius: 8px;
	background: var(--pr-yellow); color: #1b1330;
	font-weight: 800; font-size: 1rem; text-align: center; text-decoration: none;
	transition: transform .12s ease, background .15s ease;
}
.avms-pr__cta:hover { background: #fff0a8; color: #1b1330; }
.avms-pr__cta:active { transform: translateY(1px); }
.is-featured .avms-pr__cta { background: var(--pr-fuchsia); color: #fff; }
.is-featured .avms-pr__cta:hover { background: #c75d96; color: #fff; }

.avms-pr__founding {
	margin: 14px 0 0;
	color: var(--pr-muted);
	font-size: .78rem;
	line-height: 1.45;
}

/* ------------------------------------------------------------------- matrix */

.avms-pr__matrix {
	width: 100%;
	border-collapse: collapse;
	font-size: .93rem;
}
.avms-pr__matrix th,
.avms-pr__matrix td {
	padding: 13px 14px;
	border-bottom: 1px solid var(--pr-hair);
	text-align: left;
	vertical-align: middle;
}
.avms-pr__matrix thead th {
	font-family: Merriweather, Georgia, serif;
	font-size: .95rem;
	font-weight: 700;
	border-bottom: 2px solid var(--pr-hair);
}
.avms-pr__matrix thead th:not(:first-child),
.avms-pr__matrix tbody td { text-align: center; width: 20%; }

.avms-pr__matrix tbody th { font-weight: 500; color: var(--pr-ink); }

.avms-pr__group th {
	font-family: Merriweather, Georgia, serif;
	font-size: .74rem; font-weight: 700;
	letter-spacing: .16em; text-transform: uppercase;
	color: var(--pr-teal);
	padding-top: 28px;
	border-bottom: 1px solid var(--pr-hair);
}

.avms-pr__yes { color: var(--pr-teal); font-size: 1.15rem; font-weight: 700; }
.avms-pr__no  { color: rgba(255, 255, 255, .28); }
.avms-pr__val { color: var(--pr-yellow); font-weight: 700; font-size: .88rem; }

/* --------------------------------------------------------------- responsive */

@media (max-width: 860px) {
	.avms-pr__tiers { grid-template-columns: 1fr; }
	.avms-pr__amount { font-size: 2.3rem; }

	/* A two-column comparison doesn't survive a phone; stack each row and
	   label the values instead of relying on a distant header. */
	.avms-pr__matrix thead { display: none; }
	.avms-pr__matrix, .avms-pr__matrix tbody, .avms-pr__matrix tr, .avms-pr__matrix th, .avms-pr__matrix td { display: block; width: auto; }
	.avms-pr__matrix tr { padding: 10px 0; border-bottom: 1px solid var(--pr-hair); }
	.avms-pr__matrix tbody th { padding: 0 0 8px; font-weight: 700; }
	.avms-pr__matrix tbody td {
		display: flex; align-items: center; justify-content: space-between;
		text-align: right; padding: 6px 0; border: 0; width: auto;
	}
	.avms-pr__matrix tbody td::before {
		content: attr(data-label);
		color: var(--pr-muted); font-size: .82rem; text-align: left;
	}
	.avms-pr__group th { padding: 22px 0 6px; }
	.avms-pr__matrix tr.avms-pr__group { border-bottom: 0; }
}

/* ===================================================== subscribe page shell */

.avms-sub {
	--pr-purple:  #231941;
	--pr-fuchsia: #B14B83;
	--pr-teal:    #3BA1A5;
	--pr-yellow:  #FEE170;
	--pr-ink:     #f3f1f7;
	--pr-muted:   #a89fbd;
	--pr-hair:    rgba(255, 255, 255, .12);

	background: linear-gradient(180deg, #14102a 0%, #0b0d10 62%);
	color: var(--pr-ink);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	padding: 0 0 70px;
}
.avms-sub *, .avms-sub *::before, .avms-sub *::after { box-sizing: border-box; }
.avms-sub h1, .avms-sub h2, .avms-sub h3 { font-family: Merriweather, Georgia, serif; }

.avms-sub__hero {
	position: relative;
	min-height: min(64vh, 560px);
	display: flex; align-items: center;
	padding: 72px 4vw;
	background-size: cover; background-position: center;
	overflow: hidden;
}
.avms-sub__hero::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(to top, #14102a 4%, rgba(20,16,42,.55) 55%, rgba(20,16,42,.25) 100%),
		linear-gradient(to right, rgba(20,16,42,.9) 0%, rgba(20,16,42,.15) 62%);
}
.avms-sub__heroinner { position: relative; z-index: 1; max-width: 720px; }
.avms-sub__eyebrow {
	color: var(--pr-yellow); font-size: .78rem; font-weight: 700;
	letter-spacing: .2em; text-transform: uppercase; margin: 0 0 16px;
}
.avms-sub__hero h1 {
	font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 900;
	line-height: 1.04; letter-spacing: -.02em; margin: 0 0 18px;
}
.avms-sub__hero h1 em { font-style: normal; color: var(--pr-yellow); }
.avms-sub__lede { font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.6; color: #ded8ec; margin: 0 0 8px; max-width: 46rem; }

.avms-sub__section { max-width: 1180px; margin: 0 auto; padding: 60px 4vw 0; }
.avms-sub__section h2 {
	font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900;
	letter-spacing: -.01em; margin: 0 0 14px;
}
.avms-sub__section > p { color: var(--pr-muted); line-height: 1.65; max-width: 48rem; margin: 0 0 8px; }

/* release window */
.avms-sub__flow {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
	margin: 30px 0 6px; padding: 0; list-style: none;
}
.avms-sub__flow li {
	background: rgba(255,255,255,.04);
	border: 1px solid var(--pr-hair);
	border-top: 3px solid var(--pr-teal);
	border-radius: 10px; padding: 18px 16px;
}
.avms-sub__flow li:nth-child(1) { border-top-color: var(--pr-yellow); }
.avms-sub__flow li:nth-child(2) { border-top-color: var(--pr-orange, #F9975F); }
.avms-sub__flow li:nth-child(3) { border-top-color: var(--pr-fuchsia); }
.avms-sub__when {
	display: block; color: var(--pr-teal); font-size: .72rem; font-weight: 800;
	letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px;
}
.avms-sub__flow strong { display: block; font-size: 1rem; margin: 0 0 6px; }
.avms-sub__flow span.avms-sub__note { color: var(--pr-muted); font-size: .86rem; line-height: 1.45; }

.avms-sub__callout {
	margin: 26px 0 0; padding: 18px 20px;
	border-left: 3px solid var(--pr-yellow);
	background: rgba(254, 225, 112, .07);
	color: #e8e2f2; line-height: 1.6; font-size: .95rem;
	border-radius: 0 8px 8px 0;
}

/* collections */
.avms-sub__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.avms-sub__chips li {
	border: 1px solid var(--pr-hair); border-radius: 999px;
	padding: 9px 16px; font-size: .9rem; color: #ded8ec;
	background: rgba(255,255,255,.04);
}

@media (max-width: 860px) {
	.avms-sub__flow { grid-template-columns: 1fr; }
	.avms-sub__hero { min-height: 48vh; padding: 52px 4vw; }
}
