/**
 * The Cozy Pot Co. — static landing page styles
 * Static HTML/CSS port of the supplied design-system components
 * (Button, Card, ProductCard, Badge, Divider, SectionHeading, Accordion, Input).
 */

/* ---------- custom overrides ---------- */
body {
	background: #fff;
	margin: 0 !important;
}

/* ---------- base ---------- */
.cozy-landing {
	background: var(--surface-page);
	color: var(--espresso);
	font-family: var(--font-body);
	font-size: var(--text-body-md);
	line-height: var(--leading-body);
	-webkit-font-smoothing: antialiased;
}

.cozy-landing h1,
.cozy-landing h2,
.cozy-landing h3,
.cozy-landing h4 {
	font-family: var(--font-display);
	color: var(--text-heading);
	line-height: var(--leading-tight);
	margin: 0;
}

.cozy-landing a {
	color: var(--link);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.cozy-landing a:hover {
	color: var(--link-hover);
}

.cozy-landing ::selection {
	background: var(--soft-linen);
}

.cozy-landing img {
	max-width: 100%;
	height: auto;
}

/* ---------- layout helpers ---------- */
.cozy-section {
	padding: 80px 24px;
}

.cozy-section--alt {
	background: var(--surface-alt);
	border-top: var(--border-hairline);
	border-bottom: var(--border-hairline);
}

.cozy-container {
	max-width: var(--container-max);
	margin: 0 auto;
}

.cozy-container--narrow {
	max-width: var(--content-max);
	margin: 0 auto;
}

/* ---------- hero ---------- */
.cozy-hero {
	background: var(--surface-page);
	padding: 72px 24px 88px;
	text-align: center;
}

.cozy-hero__inner {
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
}

.cozy-hero__logo {
	width: min(420px, 80vw);
}

.cozy-hero__script {
	margin: 0;
	font-family: var(--font-script);
	font-size: var(--text-script-lg);
	color: var(--deep-burgundy);
	line-height: 1.2;
}

.cozy-hero__eyebrow {
	margin: 0;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: var(--tracking-caps-wide);
	text-transform: uppercase;
	color: var(--muted-sage);
}

.cozy-hero__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
}

/* ---------- buttons ---------- */
.cozy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: .06em;
	font-size: 15px;
	border-radius: var(--radius-pill);
	padding: 12px 28px;
	cursor: pointer;
	text-decoration: none !important;
	transition: all var(--transition-fast);
	border: 1.5px solid transparent;
	box-sizing: border-box;
}

.cozy-btn--lg {
	font-size: 17px;
	padding: 16px 36px;
}

.cozy-btn--primary {
	background: var(--btn-primary-bg);
	color: var(--btn-primary-fg) !important;
}

.cozy-btn--primary:hover {
	background: var(--btn-primary-bg-hover);
	color: var(--btn-primary-fg) !important;
}

.cozy-btn--secondary {
	background: transparent;
	color: var(--btn-secondary-fg) !important;
	border-color: var(--btn-secondary-border);
}

.cozy-btn--secondary:hover {
	background: rgba(48, 73, 47, .08);
	color: var(--btn-secondary-fg) !important;
}

/* ---------- section heading ---------- */
.cozy-section-heading {
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cozy-section-heading__eyebrow {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: var(--tracking-caps-wide);
	text-transform: uppercase;
	color: var(--muted-sage);
}

.cozy-section-heading__title {
	font-size: var(--text-h2);
	font-weight: 600;
}

.cozy-section-heading__title .cozy-script {
	font-family: var(--font-script);
	font-weight: 400;
	color: var(--deep-burgundy);
	font-size: 1.35em;
	margin-left: 12px;
}

/* ---------- divider ---------- */
.cozy-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--espresso);
	font-size: 13px;
}

.cozy-divider--sage {
	color: var(--muted-sage);
}

.cozy-divider__line {
	flex: 1;
	height: 1px;
	background: var(--soft-caramel);
}

.cozy-divider--center {
	max-width: 220px;
	margin: 0 auto;
	width: 100%;
}

/* ---------- story ---------- */
.cozy-story {
	display: flex;
	gap: 56px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.cozy-story__text {
	flex: 1 1 420px;
	max-width: var(--content-max);
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.cozy-story__text p {
	margin: 0;
	font-size: var(--text-body-lg);
}

.cozy-story__signature {
	margin: 0;
	font-family: var(--font-script);
	font-size: 30px;
	color: var(--forest-green);
}

.cozy-story__qr {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
}

.cozy-story__qr-card {
	display: block;
	background: var(--warm-ivory);
	border: 1px solid var(--soft-caramel);
	border-radius: var(--radius-lg);
	padding: 20px;
	box-shadow: var(--shadow-card);
}

.cozy-story__qr-card img {
	display: block;
	width: min(220px, 60vw);
	height: auto;
}

.cozy-story__qr-label {
	margin: 0;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: var(--tracking-caps-wide);
	text-transform: uppercase;
	color: var(--muted-sage);
}

/* ---------- cards / product cards ---------- */
.cozy-card {
	background: var(--soft-linen);
	border-radius: var(--radius-lg);
	border: var(--border-hairline);
	padding: var(--space-6);
	box-shadow: var(--shadow-soft);
	transition: box-shadow var(--transition-med);
	box-sizing: border-box;
}

.cozy-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 24px;
}

.cozy-product-card {
	text-decoration: none !important;
	color: inherit;
	display: block;
}

.cozy-product-card__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	padding: var(--space-6) var(--space-5);
}

.cozy-product-card:hover .cozy-card {
	box-shadow: var(--shadow-card-hover);
}

.cozy-product-card__image {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: var(--shadow-card);
	transform: scale(1);
	transition: transform var(--transition-med);
}

.cozy-product-card:hover .cozy-product-card__image {
	transform: scale(1.03);
}

.cozy-product-card h3 {
	font-size: var(--text-h3);
	font-weight: 600;
}

.cozy-product-card p {
	margin: 0;
	font-size: var(--text-body-sm);
	color: var(--text-muted);
}

/* ---------- badges ---------- */
.cozy-badge {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	border: 1px solid;
}

.cozy-badge--sage {
	color: var(--muted-sage);
	border-color: var(--muted-sage);
	background: transparent;
}

.cozy-badge--linen {
	color: var(--espresso);
	border-color: transparent;
	background: var(--warm-ivory);
}

/* ---------- seasonal blends medallions ---------- */
.cozy-blends {
	display: flex;
	flex-direction: column;
	gap: 28px;
	align-items: center;
}

.cozy-blends__label {
	margin: 0;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	color: var(--muted-sage);
}

.cozy-blends__list {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	justify-content: center;
}

.cozy-blend {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 140px;
}

.cozy-blend img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	box-shadow: var(--shadow-card);
}

.cozy-blend figcaption {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	letter-spacing: .04em;
}

/* ---------- waitlist form ---------- */
.cozy-waitlist {
	max-width: 520px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cozy-waitlist p {
	margin: 0;
}

.cozy-waitlist__form {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.cozy-waitlist__note {
	font-size: var(--text-caption);
	color: var(--text-muted);
}

.cozy-input {
	flex: 1 1 260px;
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--espresso);
	background: #fff;
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-pill);
	padding: 13px 22px;
	outline: none;
	box-shadow: none;
	transition: all var(--transition-fast);
	box-sizing: border-box;
}

.cozy-input:focus {
	border-color: var(--muted-sage);
	box-shadow: 0 0 0 3px rgba(116, 118, 90, .15);
}

/* ---------- product info tabs (CSS-only, radio-driven) ---------- */
.cozy-product-info {
	max-width: 680px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.cozy-product-info__intro {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.cozy-product-info__intro p {
	margin: 0;
	font-size: 15px;
	color: var(--text-muted);
	max-width: 440px;
}

.cozy-tabs__pills {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}

.cozy-tabs input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.cozy-tabs__pill {
	display: inline-flex;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	white-space: nowrap;
	line-height: 1;
	padding: 10px 20px;
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: all var(--transition-fast);
	border: 1.5px solid var(--border-soft);
	background: transparent;
	color: var(--espresso);
}

.cozy-tabs input[type="radio"]:focus-visible + .cozy-tabs__pill {
	outline: 2px solid var(--muted-sage);
	outline-offset: 2px;
}

.cozy-tabs__panel {
	display: none;
}

/*
 * Show the panel whose position matches the checked pill, and highlight
 * that pill — positional (nth-of-type) rather than ID-based, so this works
 * for any number of repeater rows (supports up to 10 tabs).
 */
.cozy-tabs input:nth-of-type(1):checked ~ .cozy-tabs__pills .cozy-tabs__pill:nth-of-type(1),
.cozy-tabs input:nth-of-type(2):checked ~ .cozy-tabs__pills .cozy-tabs__pill:nth-of-type(2),
.cozy-tabs input:nth-of-type(3):checked ~ .cozy-tabs__pills .cozy-tabs__pill:nth-of-type(3),
.cozy-tabs input:nth-of-type(4):checked ~ .cozy-tabs__pills .cozy-tabs__pill:nth-of-type(4),
.cozy-tabs input:nth-of-type(5):checked ~ .cozy-tabs__pills .cozy-tabs__pill:nth-of-type(5),
.cozy-tabs input:nth-of-type(6):checked ~ .cozy-tabs__pills .cozy-tabs__pill:nth-of-type(6),
.cozy-tabs input:nth-of-type(7):checked ~ .cozy-tabs__pills .cozy-tabs__pill:nth-of-type(7),
.cozy-tabs input:nth-of-type(8):checked ~ .cozy-tabs__pills .cozy-tabs__pill:nth-of-type(8),
.cozy-tabs input:nth-of-type(9):checked ~ .cozy-tabs__pills .cozy-tabs__pill:nth-of-type(9),
.cozy-tabs input:nth-of-type(10):checked ~ .cozy-tabs__pills .cozy-tabs__pill:nth-of-type(10) {
	border-color: var(--deep-burgundy);
	background: var(--deep-burgundy);
	color: var(--light-ivory);
}

.cozy-tabs input:nth-of-type(1):checked ~ .cozy-tabs__panels .cozy-tabs__panel:nth-of-type(1),
.cozy-tabs input:nth-of-type(2):checked ~ .cozy-tabs__panels .cozy-tabs__panel:nth-of-type(2),
.cozy-tabs input:nth-of-type(3):checked ~ .cozy-tabs__panels .cozy-tabs__panel:nth-of-type(3),
.cozy-tabs input:nth-of-type(4):checked ~ .cozy-tabs__panels .cozy-tabs__panel:nth-of-type(4),
.cozy-tabs input:nth-of-type(5):checked ~ .cozy-tabs__panels .cozy-tabs__panel:nth-of-type(5),
.cozy-tabs input:nth-of-type(6):checked ~ .cozy-tabs__panels .cozy-tabs__panel:nth-of-type(6),
.cozy-tabs input:nth-of-type(7):checked ~ .cozy-tabs__panels .cozy-tabs__panel:nth-of-type(7),
.cozy-tabs input:nth-of-type(8):checked ~ .cozy-tabs__panels .cozy-tabs__panel:nth-of-type(8),
.cozy-tabs input:nth-of-type(9):checked ~ .cozy-tabs__panels .cozy-tabs__panel:nth-of-type(9),
.cozy-tabs input:nth-of-type(10):checked ~ .cozy-tabs__panels .cozy-tabs__panel:nth-of-type(10) {
	display: flex;
}

.cozy-info-card {
	background: var(--soft-linen);
	border: var(--border-hairline);
	border-radius: var(--radius-lg);
	padding: 28px 24px;
	flex-direction: column;
	gap: 22px;
}

.cozy-info-card__head {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.cozy-info-card__head img {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	box-shadow: var(--shadow-card);
}

.cozy-info-card__head h2 {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
}

.cozy-info-card__blends {
	margin-top: 6px;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.cozy-info-block {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cozy-info-block__title {
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	color: var(--muted-sage);
}

.cozy-info-block__body {
	font-size: 15px;
	line-height: 1.7;
}

.cozy-info-block ol,
.cozy-info-block ul {
	margin: 0;
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 15px;
	line-height: 1.7;
}

/* ---------- FAQ accordion (native <details>, no JS) ---------- */
.cozy-faq {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.cozy-faq h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	text-align: center;
}

.cozy-accordion-item {
	border-bottom: var(--border-hairline);
}

.cozy-accordion-item summary {
	list-style: none;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 18px 4px;
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	color: var(--espresso);
	text-align: left;
}

.cozy-accordion-item summary::-webkit-details-marker {
	display: none;
}

.cozy-accordion-item summary::after {
	content: "\271A";
	color: var(--muted-sage);
	font-size: 14px;
	transition: transform var(--transition-fast);
	flex-shrink: 0;
}

.cozy-accordion-item[open] summary::after {
	transform: rotate(45deg);
}

.cozy-accordion-item__body {
	padding: 0 4px 18px;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.7;
	color: var(--text-body);
}

/* ---------- tips ---------- */
.cozy-tips {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.cozy-tips h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	text-align: center;
}

.cozy-tips ul {
	margin: 0;
	padding-left: 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 15px;
}

/* ---------- site footer ---------- */
.cozy-footer {
	background: var(--surface-page);
	padding: 56px 24px 40px;
	text-align: center;
}

.cozy-footer__inner {
	max-width: 520px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: center;
}

.cozy-footer__brand {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: .08em;
}

.cozy-footer__made {
	font-family: var(--font-display);
	font-size: 12px;
	letter-spacing: var(--tracking-caps);
	text-transform: uppercase;
	color: var(--muted-sage);
}

.cozy-footer__social {
	display: flex;
	gap: 20px;
	align-items: center;
}

.cozy-footer__social a {
	color: var(--muted-sage) !important;
	display: flex;
}

.cozy-footer__email {
	font-size: var(--text-body-sm);
}

.cozy-footer__copy {
	font-size: var(--text-caption);
	color: var(--text-muted);
}

@media (max-width: 600px) {
	.cozy-section {
		padding: 56px 20px;
	}
}
