/*
Theme Name: Trade Techxou
Theme URI: https://techxou.com/
Author: Techxou
Author URI: https://techxou.com/
Description: Trade Techxou is a modern, professional single-page WordPress landing page theme built for traders, market analysts and trading mentors. It was developed by Techxou and includes a hero section with a markets strip, about/credentials, services, experience timeline, testimonials, strategy-session booking form, and contact section — designed to turn visitors into booked sessions.
Version: 1.0.0
License: Proprietary
License URI: https://techxou.com/license
Text Domain: trade-techxou
Tags: trading, forex, finance, landing page, responsive, modern
*/

/* Theme stylesheet — styles for the Home (landing page) template and inner pages.
Developer: hbe — https://github.com/Minhajul-galib
*/

/* ==========================================================================
   1. Design tokens
   The primary colour set in the Customizer overrides the --color-primary*
   and --color-on-primary values below (see ttx_assets() in functions.php).
   ========================================================================== */
:root {
	--color-primary: #10b981;
	--color-primary-rgb: 16, 185, 129;
	--color-primary-dark: #0b825a;
	--color-on-primary: #0b1628;

	--color-navy: #0b1628;
	--color-navy-2: #12223b;
	--color-ink: #0f1b2d;
	--color-muted: #52627a;
	--color-line: #dde5ee;
	--color-bg: #f3f6fa;
	--color-surface: #ffffff;
	--color-down: #f43f5e;

	--radius: 18px;
	--radius-sm: 12px;
	--shadow-sm: 0 2px 10px rgba(11, 22, 40, 0.06);
	--shadow-md: 0 18px 44px rgba(11, 22, 40, 0.12);

	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-heading: var(--font-body);

	--container: 1180px;
	--header-h: 72px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-ink);
	background: var(--color-surface);
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--color-primary-dark);
}

a:hover {
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.6em;
	font-family: var(--font-heading);
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

:focus-visible {
	outline: 3px solid var(--color-primary);
	outline-offset: 3px;
}

.container {
	width: min(100% - 32px, var(--container));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	z-index: 1000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	background: var(--color-surface);
	color: var(--color-ink);
	border-radius: 8px;
	box-shadow: var(--shadow-md);
}

.icon {
	flex: none;
	width: 24px;
	height: 24px;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 52px;
	padding: 0 1.6rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn .icon {
	width: 20px;
	height: 20px;
}

.btn-primary {
	background: var(--color-primary);
	color: var(--color-on-primary);
}

.btn-primary:hover {
	background: var(--color-primary-dark);
	color: #fff;
}

.btn-ghost {
	border-color: rgba(255, 255, 255, 0.3);
	color: #fff;
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.5);
}

.btn-sm {
	min-height: 42px;
	padding: 0 1.15rem;
	font-size: 0.92rem;
}

.btn-block {
	width: 100%;
}

.btn[disabled] {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(11, 22, 40, 0.94);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
	border-bottom-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: #fff;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: var(--color-primary);
	color: var(--color-on-primary);
}

.custom-logo-link img {
	width: auto;
	max-height: 48px;
}

.nav-toggle {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 12px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s, background-color 0.2s, top 0.2s;
}

.nav-toggle-bar {
	position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle-bar::before {
	top: -6px;
}

.nav-toggle-bar::after {
	top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
	top: 0;
	transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
	top: 0;
	transform: rotate(-45deg);
}

.primary-nav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	display: none;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	background: var(--color-navy-2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.primary-nav.is-open {
	display: flex;
}

.primary-nav .menu {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav .menu a {
	display: block;
	padding: 12px 10px;
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.86);
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s, background-color 0.2s;
}

.primary-nav .menu a:hover,
.primary-nav .menu a.is-active {
	color: var(--color-primary);
	background: rgba(255, 255, 255, 0.04);
}

@media (min-width: 960px) {
	.nav-toggle {
		display: none;
	}

	.primary-nav {
		position: static;
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 22px;
		padding: 0;
		background: none;
		border: 0;
	}

	.primary-nav .menu {
		flex-direction: row;
		gap: 2px;
	}

	.primary-nav .menu a {
		padding: 8px 12px;
	}
}

/* ==========================================================================
   5. Sections — shared
   ========================================================================== */
section[id] {
	scroll-margin-top: var(--header-h);
}

.section {
	padding: clamp(60px, 8vw, 108px) 0;
}

.section--alt {
	background: var(--color-bg);
}

.section--dark {
	background: linear-gradient(180deg, var(--color-navy), var(--color-navy-2));
	color: rgba(255, 255, 255, 0.86);
}

.section--dark h2,
.section--dark h3 {
	color: #fff;
}

.section-head {
	max-width: 660px;
	margin: 0 auto clamp(36px, 5vw, 56px);
	text-align: center;
}

.section-head h2,
.about-content h2,
.booking-info h2 {
	font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.section-head p {
	color: var(--color-muted);
	font-size: 1.08rem;
}

.section--dark .section-head p {
	color: rgba(255, 255, 255, 0.7);
}

.eyebrow {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(var(--color-primary-rgb), 0.12);
	color: var(--color-primary-dark);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* p.eyebrow outranks the paragraph colour rules of .section-head, .about-content
   and .booking-info, which would otherwise turn the label grey. */
.section p.eyebrow {
	color: var(--color-primary-dark);
}

.hero p.eyebrow,
.section--dark p.eyebrow {
	color: var(--color-primary);
}

/* Scroll reveal (only active when JS has added .js to <html>) */
.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.86);
	background:
		radial-gradient(900px 480px at 85% -10%, rgba(var(--color-primary-rgb), 0.24), transparent 60%),
		radial-gradient(700px 400px at -10% 100%, rgba(var(--color-primary-rgb), 0.1), transparent 60%),
		linear-gradient(180deg, var(--color-navy), var(--color-navy-2));
}

.hero-grid {
	display: grid;
	gap: 48px;
	align-items: center;
	padding: clamp(48px, 7vw, 96px) 0;
}

.hero-title {
	margin-bottom: 0.5em;
	color: #fff;
	font-size: clamp(2.3rem, 5.4vw, 3.9rem);
}

.hero .lead {
	max-width: 560px;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	color: rgba(255, 255, 255, 0.76);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 2rem;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	gap: 8px clamp(20px, 4vw, 44px);
	margin: 2.5rem 0 0;
	padding: 1.75rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	list-style: none;
}

.hero-stats strong {
	display: block;
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.hero-stats span {
	display: block;
	font-size: 0.88rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.64);
}

.hero-media {
	position: relative;
}

.chart-card {
	position: relative;
	padding: clamp(16px, 3vw, 28px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.04);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.chart-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.62);
}

.chart-dots {
	display: flex;
	gap: 6px;
}

.chart-dots i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
}

.chart {
	display: block;
	width: 100%;
	height: auto;
}

.chart-grid line {
	stroke: rgba(255, 255, 255, 0.07);
	stroke-width: 1;
}

.chart-trend {
	fill: none;
	stroke: rgba(255, 255, 255, 0.35);
	stroke-width: 2;
	stroke-dasharray: 6 6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.candle {
	color: var(--color-primary);
}

.candle--down {
	color: var(--color-down);
}

.candle line {
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.candle rect {
	fill: currentColor;
}

.hero-photo {
	margin-top: 16px;
	overflow: hidden;
	border-radius: var(--radius);
}

.hero-photo img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.hero-badge {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.06);
}

.hero-badge .icon {
	color: var(--color-primary);
}

.hero-badge strong {
	display: block;
	color: #fff;
	line-height: 1.3;
}

.hero-badge span {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.64);
}

.markets {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.markets-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	padding: 22px 0;
}

.markets-label {
	margin-right: 6px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.markets-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.markets-list li {
	padding: 7px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 500;
}

@media (min-width: 900px) {
	.hero-grid {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 64px;
	}
}

/* ==========================================================================
   7. About / credentials
   ========================================================================== */
.about-grid {
	display: grid;
	gap: 48px;
	align-items: center;
}

.about-grid.no-media {
	max-width: 820px;
	margin-inline: auto;
}

.about-media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}

.about-content > p {
	color: var(--color-muted);
	font-size: 1.05rem;
}

.credentials {
	margin-top: 1.75rem;
	padding: 24px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--color-bg);
}

.credentials h3 {
	margin-bottom: 0.9rem;
	font-size: 1.1rem;
}

.credentials ul {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.credentials li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.credentials .icon {
	width: 22px;
	height: 22px;
	margin-top: 2px;
	padding: 3px;
	border-radius: 50%;
	background: rgba(var(--color-primary-rgb), 0.16);
	color: var(--color-primary-dark);
	stroke-width: 3;
}

@media (min-width: 900px) {
	.about-grid:not(.no-media) {
		grid-template-columns: 0.85fr 1.15fr;
		gap: 72px;
	}
}

/* ==========================================================================
   8. Services
   ========================================================================== */
.card-grid {
	display: grid;
	gap: 22px;
}

.service-card {
	padding: 30px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--color-surface);
	box-shadow: var(--shadow-sm);
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
	transform: translateY(-4px);
	border-color: rgba(var(--color-primary-rgb), 0.5);
	box-shadow: var(--shadow-md);
}

.service-icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	border-radius: 16px;
	background: rgba(var(--color-primary-rgb), 0.14);
	color: var(--color-primary-dark);
}

.service-icon .icon {
	width: 28px;
	height: 28px;
}

.service-card h3 {
	margin-bottom: 0.45em;
	font-size: 1.2rem;
}

.service-card p {
	margin: 0;
	color: var(--color-muted);
}

@media (min-width: 640px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 980px) {
	.card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ==========================================================================
   9. Experience timeline
   ========================================================================== */
.timeline {
	position: relative;
	max-width: 780px;
	margin: 0 auto;
	padding: 0 0 0 34px;
	list-style: none;
}

.timeline::before {
	content: "";
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 8px;
	width: 2px;
	background: var(--color-line);
}

.timeline-item {
	position: relative;
	padding-bottom: 34px;
}

.timeline-item:last-child {
	padding-bottom: 0;
}

.timeline-item::before {
	content: "";
	position: absolute;
	top: 8px;
	left: -34px;
	width: 18px;
	height: 18px;
	border: 4px solid var(--color-primary);
	border-radius: 50%;
	background: var(--color-surface);
}

.timeline-year {
	display: inline-block;
	margin-bottom: 8px;
	padding: 3px 12px;
	border-radius: 999px;
	background: rgba(var(--color-primary-rgb), 0.14);
	color: var(--color-primary-dark);
	font-size: 0.85rem;
	font-weight: 700;
}

.timeline-item h3 {
	margin-bottom: 0.15em;
	font-size: 1.25rem;
}

.timeline-place {
	margin-bottom: 0.5em;
	color: var(--color-muted);
	font-weight: 600;
}

.timeline-item p:last-child {
	margin-bottom: 0;
	color: var(--color-muted);
}

/* ==========================================================================
   10. Testimonials
   ========================================================================== */
.testimonial-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 30px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.05);
}

.stars {
	display: flex;
	gap: 3px;
	margin-bottom: 16px;
	color: #fbbf24;
}

.stars .icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
	stroke: none;
}

.testimonial-card blockquote {
	flex: 1;
	margin: 0 0 22px;
	color: #fff;
	font-size: 1.05rem;
}

.testimonial-card figcaption strong {
	display: block;
	color: #fff;
}

.testimonial-card figcaption span {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 900px) {
	.testimonials-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ==========================================================================
   11. Booking form
   ========================================================================== */
.booking-grid {
	display: grid;
	gap: 40px;
	align-items: start;
}

.booking-info > p {
	color: var(--color-muted);
	font-size: 1.05rem;
}

.booking-points {
	display: grid;
	gap: 14px;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.booking-points li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 500;
}

.booking-points .icon {
	width: 44px;
	height: 44px;
	padding: 10px;
	border-radius: 14px;
	background: rgba(var(--color-primary-rgb), 0.14);
	color: var(--color-primary-dark);
}

.booking-card {
	padding: clamp(22px, 4vw, 36px);
	border: 1px solid var(--color-line);
	border-radius: 24px;
	background: var(--color-surface);
	box-shadow: var(--shadow-md);
}

.form-grid {
	display: grid;
	gap: 18px;
}

.field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.92rem;
	font-weight: 600;
}

.field .req {
	color: var(--color-down);
}

.field input,
.field select,
.field textarea {
	display: block;
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1.5px solid var(--color-line);
	border-radius: var(--radius-sm);
	background: var(--color-surface);
	color: var(--color-ink);
	font: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
	min-height: 120px;
	resize: vertical;
}

.field select {
	appearance: none;
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2352627a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.2);
}

/* Honeypot — kept off-screen, not display:none, so naive bots still fill it. */
.field-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	margin-bottom: 20px;
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	font-weight: 500;
}

.form-notice[hidden] {
	display: none;
}

.form-notice.is-success {
	background: #e7f8f0;
	color: #0a5c3d;
	border: 1px solid #a7e3c8;
}

.form-notice.is-error {
	background: #fdecef;
	color: #9f1239;
	border: 1px solid #f7b5c2;
}

.form-note {
	margin: 14px 0 0;
	font-size: 0.85rem;
	color: var(--color-muted);
	text-align: center;
}

@media (min-width: 560px) {
	.form-grid {
		grid-template-columns: 1fr 1fr;
	}

	.field--full {
		grid-column: 1 / -1;
	}
}

@media (min-width: 960px) {
	.booking-grid {
		grid-template-columns: 0.8fr 1.2fr;
		gap: 72px;
	}
}

/* ==========================================================================
   12. Contact
   ========================================================================== */
.contact-grid {
	display: grid;
	gap: 22px;
}

.contact-card {
	padding: 28px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: var(--color-surface);
	text-align: center;
	box-shadow: var(--shadow-sm);
}

.contact-card .icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	padding: 14px;
	border-radius: 16px;
	background: rgba(var(--color-primary-rgb), 0.14);
	color: var(--color-primary-dark);
}

.contact-card h3 {
	margin-bottom: 0.35em;
	font-size: 1.1rem;
}

.contact-card p {
	margin: 0;
	color: var(--color-muted);
	overflow-wrap: anywhere;
}

.contact-card a {
	color: inherit;
	text-decoration: none;
}

.contact-card a:hover {
	color: var(--color-primary-dark);
	text-decoration: underline;
}

.contact-cta {
	margin-top: 36px;
	text-align: center;
}

.btn-outline {
	border-color: var(--color-ink);
	color: var(--color-ink);
}

.btn-outline:hover {
	background: var(--color-ink);
	color: #fff;
}

@media (min-width: 640px) {
	.contact-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 980px) {
	.contact-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
	background: #07101e;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.95rem;
}

.footer-main {
	display: grid;
	gap: 28px;
	padding: 56px 0 36px;
}

.footer-brand .brand {
	margin-bottom: 12px;
}

.footer-brand p {
	max-width: 420px;
	margin: 0;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

.footer-menu a:hover {
	color: var(--color-primary);
}

.risk-warning {
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.82rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
}

.risk-warning p {
	margin: 0;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 18px 0 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.88rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom a {
	color: var(--color-primary);
}

@media (min-width: 800px) {
	.footer-main {
		grid-template-columns: 1.2fr 1fr;
		align-items: start;
	}

	.footer-menu {
		justify-content: flex-end;
	}
}

/* ==========================================================================
   14. Inner pages — posts, pages, archives, 404
   ========================================================================== */
.page-wrap {
	padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px);
}

.entry,
.post-card {
	max-width: 780px;
	margin: 0 auto 48px;
}

.entry-title {
	font-size: clamp(2rem, 4vw, 2.8rem);
}

.archive-header {
	margin-bottom: 32px;
}

.entry-title a,
.post-card h2 a {
	color: inherit;
	text-decoration: none;
}

.entry-title a:hover,
.post-card h2 a:hover {
	color: var(--color-primary-dark);
}

.entry-meta {
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
	color: var(--color-muted);
}

.entry-thumb img {
	width: 100%;
	margin-bottom: 1.5rem;
	border-radius: var(--radius);
}

.entry-content > * + * {
	margin-top: 1.2em;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.6em;
}

.entry-content img {
	border-radius: var(--radius-sm);
}

.entry-content blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--color-primary);
	color: var(--color-muted);
}

.post-card {
	padding: 28px;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.post-card h2 {
	font-size: 1.5rem;
}

.pagination,
.post-navigation {
	max-width: 780px;
	margin: 0 auto;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
}

.page-numbers {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--color-line);
	border-radius: 10px;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-on-primary);
}

.not-found {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}

.not-found .error-code {
	margin: 0;
	color: var(--color-primary-dark);
	font-size: clamp(4rem, 12vw, 7rem);
	font-weight: 800;
	line-height: 1;
}

.comments-area {
	max-width: 780px;
	margin: 0 auto;
}

.comments-area .comment-list {
	padding-left: 1.2em;
}

.comments-area input[type="text"],
.comments-area input[type="email"],
.comments-area input[type="url"],
.comments-area textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1.5px solid var(--color-line);
	border-radius: var(--radius-sm);
	font: inherit;
}

.comments-area .submit {
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--color-primary);
	color: var(--color-on-primary);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

/* ==========================================================================
   15. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}
