/*
Theme Name: EDMatic
Theme URI: https://technomania.info
Author: EDMatic
Description: Block theme for the EDMatic iOS app site — dark, monochrome, built around the app icon.
Version: 1.0.2
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: edmatic
*/

/* Most styling lives in theme.json; this covers what it can't express. */

html { scroll-behavior: smooth; }

body {
	background:
		radial-gradient(1200px 600px at 50% -10%, rgba(139, 92, 246, 0.18), transparent 60%),
		var(--wp--preset--color--base);
	background-attachment: fixed;
}

.edm-icon img {
	border-radius: 22.5%;
	box-shadow: 0 30px 80px rgba(139, 92, 246, 0.25);
}

.edm-eyebrow {
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.edm-card {
	border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--surface);
	transition: border-color 0.2s ease, transform 0.2s ease;
	height: 100%;
}
.edm-card:hover {
	border-color: rgba(139, 92, 246, 0.5);
	transform: translateY(-2px);
}

.edm-card .edm-glyph {
	font-size: 1.6rem;
	line-height: 1;
	margin: 0;
}

.edm-header {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	background: rgba(10, 10, 12, 0.72);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.edm-legal h2 {
	margin-top: var(--wp--preset--spacing--50);
}

.edm-legal p,
.edm-legal li {
	color: var(--wp--preset--color--muted);
}

.wp-block-button__link {
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}

.wp-block-details summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}

@media (max-width: 781px) {
	.edm-hero-title { font-size: 2.6rem !important; }
}
