/* Shared styles for the Learn section (hub + articles).
   Same design system as the homepage: hairline rules, uppercase labels,
   monochrome, generous whitespace. */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
	background: #fafafa;
	color: #111;
	line-height: 1.6;
}

.a-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 2rem;
	border-bottom: 1px solid #e5e5e5;
	background: #fff;
}

.a-nav a {
	font-size: 0.875rem;
	color: #666;
	text-decoration: none;
	transition: color 0.2s ease;
}

.a-nav a:hover {
	color: #000;
}

.a-nav .a-nav-section {
	font-size: 0.6875rem;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 500;
}

.article {
	max-width: 680px;
	margin: 0 auto;
	padding: 3rem 1.5rem 2rem;
}

.a-meta {
	font-size: 0.6875rem;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 500;
	margin-bottom: 1rem;
}

.article h1 {
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.25;
	margin-bottom: 1rem;
}

.a-lede {
	font-size: 1.125rem;
	color: #666;
	line-height: 1.6;
	margin-bottom: 2.5rem;
}

.article h2 {
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	margin: 2.75rem 0 1rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e5e5;
}

.article h3 {
	font-size: 1rem;
	font-weight: 600;
	margin: 1.75rem 0 0.5rem;
}

.article p {
	font-size: 1rem;
	color: #3d3d3d;
	line-height: 1.75;
	margin-bottom: 1.1rem;
}

.article ul,
.article ol {
	margin: 0 0 1.1rem 1.35rem;
	color: #3d3d3d;
}

.article li {
	margin-bottom: 0.4rem;
	line-height: 1.65;
}

.article code {
	font-family: ui-monospace, 'SF Mono', Menlo, monospace;
	font-size: 0.85em;
	background: #efefef;
	border-radius: 4px;
	padding: 0.1em 0.35em;
}

.article table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	font-size: 0.9rem;
}

.article th {
	text-align: left;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #999;
	font-weight: 500;
	padding: 0.6rem 0.75rem 0.6rem 0;
	border-bottom: 1px solid #e5e5e5;
}

.article td {
	padding: 0.65rem 0.75rem 0.65rem 0;
	border-bottom: 1px solid #efefef;
	color: #3d3d3d;
	vertical-align: top;
}

/* Tool callout */

.a-callout {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 1.1rem 1.4rem;
	margin: 1.75rem 0;
	text-decoration: none;
	color: #000;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.a-callout:hover {
	border-color: #ccc;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.a-callout .a-callout-label {
	font-size: 0.6875rem;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 500;
	white-space: nowrap;
}

.a-callout .a-callout-body {
	flex: 1;
}

.a-callout .a-callout-body strong {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.a-callout .a-callout-body span {
	font-size: 0.875rem;
	color: #888;
}

.a-callout .a-arrow {
	color: #000;
	transition: transform 0.2s ease;
}

.a-callout:hover .a-arrow {
	transform: translateX(4px);
}

/* FAQ + related — mirrors the tool pages */

.a-block {
	max-width: 680px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.a-block-inner {
	border-top: 1px solid #e5e5e5;
	padding: 2.25rem 0;
}

.a-label {
	display: block;
	font-size: 0.6875rem;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 500;
	margin-bottom: 1.25rem;
}

.a-faq-item {
	display: flex;
	gap: 1.5rem;
	padding: 1.25rem 0;
}

.a-faq-item + .a-faq-item {
	border-top: 1px solid #efefef;
}

.a-faq-item .a-num {
	font-size: 0.8125rem;
	color: #bbb;
	font-weight: 500;
	min-width: 1.5rem;
	padding-top: 0.1rem;
}

.a-faq-item h3 {
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #000;
	margin: 0 0 0.35rem;
}

.a-faq-item p {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #666;
	margin: 0;
	max-width: 58ch;
}

.a-item {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding: 1rem 0;
	text-decoration: none;
	color: #000;
	transition: padding-left 0.2s ease;
}

.a-item + .a-item {
	border-top: 1px solid #efefef;
}

.a-item:hover {
	padding-left: 0.75rem;
}

.a-item .a-item-name {
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.a-item .a-item-desc {
	flex: 1;
	font-size: 0.875rem;
	color: #888;
}

.a-item .a-arrow {
	font-size: 1rem;
	color: #000;
	transition: transform 0.2s ease;
}

.a-item:hover .a-arrow {
	transform: translateX(4px);
}

footer {
	padding: 3rem;
	text-align: center;
	color: #999;
	font-size: 0.875rem;
	border-top: 1px solid #e5e5e5;
	margin-top: 3rem;
}

/* Hub */

.hub-hero {
	max-width: 680px;
	margin: 0 auto;
	padding: 4rem 1.5rem 2rem;
}

.hub-hero h1 {
	font-size: 2.25rem;
	font-weight: 400;
	letter-spacing: -0.03em;
	margin-bottom: 0.75rem;
}

.hub-hero p {
	font-size: 1.0625rem;
	color: #666;
}

.hub-item {
	display: block;
	padding: 1.4rem 0;
	text-decoration: none;
	color: #000;
	transition: padding-left 0.2s ease;
}

.hub-item + .hub-item {
	border-top: 1px solid #efefef;
}

.hub-item:hover {
	padding-left: 0.75rem;
}

.hub-item h3 {
	font-size: 1.0625rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	margin: 0 0 0.3rem;
}

.hub-item p {
	font-size: 0.9375rem;
	color: #888;
	margin: 0;
	line-height: 1.55;
}

@media (max-width: 768px) {
	.article h1 {
		font-size: 1.6rem;
	}

	.a-faq-item {
		gap: 1rem;
	}

	.a-callout {
		flex-wrap: wrap;
		gap: 0.6rem 1rem;
	}
}
