/* Sproochentest Pro — content components (pages and blog posts). Theme-agnostic. */
:root {
	--stp-ink: #14212b;
	--stp-muted: #52606d;
	--stp-line: #dfe5ea;
	--stp-soft: #f3f7fa;
	--stp-brand: #0b5c8a;
	--stp-brand-strong: #08476b;
	--stp-sky: #00a3e0;
	--stp-red: #d7263d;
	--stp-radius: 14px;
}

.stp-hero,
.stp-section,
.stp-steps,
.stp-cards,
.stp-pricing,
.stp-faq,
.stp-table,
.stp-note { box-sizing: border-box; }

.stp-hero *,
.stp-section *,
.stp-cards *,
.stp-pricing * { box-sizing: border-box; }

/* Hero */
.stp-hero {
	margin: 0 0 2.5rem;
	padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 3.5rem);
	border-radius: var(--stp-radius);
	background:
		radial-gradient(1200px 400px at 110% -10%, rgba(0, 163, 224, .28), transparent 60%),
		linear-gradient(135deg, #0b3a5b 0%, #0b5c8a 60%, #0e77ad 100%);
	color: #fff;
}
.stp-hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(1.9rem, 4.6vw, 3.1rem);
	line-height: 1.12;
	letter-spacing: -.01em;
	color: #fff;
	max-width: 20ch;
}
.stp-hero .stp-lead {
	margin: 0 0 1.75rem;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, .92);
	max-width: 60ch;
}
.stp-hero p { color: rgba(255, 255, 255, .92); }
.stp-hero a:not(.stp-btn) { color: #fff; }
.stp-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }

/* Buttons */
.stp-btn,
a.stp-btn,
.entry-content a.stp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: .75rem 1.35rem;
	border: 2px solid var(--stp-red);
	border-radius: 999px;
	background: var(--stp-red);
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.stp-btn:hover,
.stp-btn:focus-visible { background: #b81d31; border-color: #b81d31; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(215, 38, 61, .25); }
.stp-btn-ghost,
a.stp-btn.stp-btn-ghost,
.entry-content a.stp-btn.stp-btn-ghost { background: transparent; border-color: currentColor; color: var(--stp-brand); }
.stp-hero .stp-btn-ghost,
.stp-hero a.stp-btn.stp-btn-ghost { color: #fff; }
.stp-btn-ghost:hover,
.stp-btn-ghost:focus-visible { background: rgba(11, 92, 138, .08); color: var(--stp-brand-strong); box-shadow: none; }
.stp-hero .stp-btn-ghost:hover,
.stp-hero .stp-btn-ghost:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; }
.stp-btn-disabled,
.stp-btn.stp-btn-disabled { background: #e9edf1; border-color: #e9edf1; color: var(--stp-muted); cursor: default; transform: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .stp-btn { transition: none; } .stp-btn:hover { transform: none; } }

/* Sections */
.stp-section { margin: 0 0 3rem; }
.stp-section.stp-alt { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--stp-radius); background: var(--stp-soft); }
.stp-section > h2 { margin-top: 0; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; }

/* Steps */
.stp-steps { counter-reset: stp-step; list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stp-steps > li { counter-increment: stp-step; position: relative; margin: 0; padding: 3.4rem 1.25rem 1.25rem; border: 1px solid var(--stp-line); border-radius: var(--stp-radius); background: #fff; }
.stp-steps > li::before { content: counter(stp-step); position: absolute; top: 1.1rem; left: 1.25rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--stp-brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.stp-steps h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.stp-steps p { margin: 0; color: var(--stp-muted); }

/* Cards */
.stp-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.5rem 0; }
.stp-card { padding: 1.35rem; border: 1px solid var(--stp-line); border-radius: var(--stp-radius); background: #fff; }
.stp-card h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.stp-card p:last-child { margin-bottom: 0; }

/* Pricing */
.stp-pricing { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; margin: 1.5rem 0; }
.stp-plan { display: flex; flex-direction: column; padding: 1.6rem 1.4rem; border: 1px solid var(--stp-line); border-radius: var(--stp-radius); background: #fff; }
.stp-plan h3 { margin: 0 0 .35rem; font-size: 1.2rem; }
.stp-plan .stp-price { margin: 0 0 1rem; font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--stp-ink); font-variant-numeric: tabular-nums; }
.stp-plan ul { margin: 0 0 1.25rem; padding-left: 1.1rem; flex: 1; }
.stp-plan li { margin: .3rem 0; }
.stp-plan .stp-btn { width: 100%; margin-top: auto; }
.stp-plan.stp-featured { border: 2px solid var(--stp-brand); box-shadow: 0 10px 30px rgba(11, 92, 138, .12); }
.stp-plan .stp-badge { align-self: flex-start; margin: 0 0 .75rem; padding: .2rem .6rem; border-radius: 999px; background: var(--stp-brand); color: #fff; font-size: .8rem; font-weight: 700; }

/* FAQ */
.stp-faq { margin: 1.5rem 0; border-top: 1px solid var(--stp-line); }
.stp-faq details { border-bottom: 1px solid var(--stp-line); }
.stp-faq summary { cursor: pointer; list-style: none; position: relative; padding: 1rem 2.5rem 1rem 0; font-weight: 700; }
.stp-faq summary::-webkit-details-marker { display: none; }
.stp-faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--stp-brand); }
.stp-faq details[open] summary::after { content: "–"; }
.stp-faq summary:focus-visible { outline: 2px solid var(--stp-sky); outline-offset: 2px; }
.stp-faq details > div { padding: 0 0 1rem; color: var(--stp-muted); }
.stp-faq details > div p:last-child { margin-bottom: 0; }

/* Table */
.stp-table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-size: .97rem; display: block; overflow-x: auto; }
.stp-table th,
.stp-table td { padding: .7rem .8rem; border-bottom: 1px solid var(--stp-line); text-align: left; vertical-align: top; }
.stp-table thead th { background: var(--stp-soft); font-weight: 700; }

/* Note */
.stp-note { margin: 1.5rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--stp-sky); border-radius: 0 10px 10px 0; background: #eef8fd; }
.stp-note p:last-child { margin-bottom: 0; }

/* Independence notice */
.stp-footer-note { padding: 1rem 16px 1.25rem; text-align: center; }
.stp-disclaimer { max-width: 760px; margin: 0 auto; font-size: .85rem; line-height: 1.5; color: var(--stp-muted); }

/* Home: the hero carries the H1, hide the theme's page title. */
.stp-key-home .entry-title,
.stp-key-home .page-title,
.stp-key-home h1.entry-header,
.stp-key-home .ast-archive-description,
.stp-key-home .tutor-page-title { display: none; }

@media (max-width: 600px) {
	.stp-hero { border-radius: 10px; }
	.stp-ctas .stp-btn { width: 100%; }
}
