/**
 * No Wake Tools - Modern Variant
 *
 * Design: Spacious, minimal, refined. Apple-inspired sophistication with
 * generous whitespace, soft shadows, translucent header, pill-shaped buttons,
 * and borderless shadow cards. Layers on top of the structural base (main.css)
 * to define ALL visual properties for the Modern look.
 *
 * Accent: Bright blue (#007aff)
 * Feel: Contemporary sans-serif, airy, elevated
 */

/* ==========================================================================
   1. Custom Properties
   ========================================================================== */

:root {
	--nwt-accent: #007aff;
	--nwt-accent-hover: #0056b3;
	--nwt-text: #1d1d1f;
	--nwt-text-muted: #86868b;
	--nwt-bg: #ffffff;
	--nwt-bg-alt: #f5f5f7;
	--nwt-border: #e5e5e5;
	--nwt-white: #ffffff;
	--nwt-radius: 12px;
	--nwt-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--nwt-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ==========================================================================
   2. Body Base Styles
   ========================================================================== */

body {
	font-family: var(--nwt-font);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--nwt-text);
	background-color: var(--nwt-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   3. Link Styles
   ========================================================================== */

a {
	color: var(--nwt-accent);
	text-decoration: none;
	transition: color 0.25s ease;
}

a:hover,
a:focus {
	color: var(--nwt-accent-hover);
}

/* ==========================================================================
   4. Heading Styles
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--nwt-font);
	font-weight: 500;
	line-height: 1.25;
	color: var(--nwt-text);
	letter-spacing: -0.01em;
}

h1 {
	font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
}

h2 {
	font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.25rem);
}

h3 {
	font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

h4 {
	font-size: 1.25rem;
}

h5 {
	font-size: 1.0625rem;
}

h6 {
	font-size: 0.9375rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--nwt-text-muted);
}

/* ==========================================================================
   5. Lists
   ========================================================================== */

ul,
ol {
	padding-left: 1.5em;
	color: var(--nwt-text);
}

ul li,
ol li {
	margin-bottom: 0.35em;
}

/* ==========================================================================
   6. Header
   ========================================================================== */

.site-header {
	background: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: none;
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-branding {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
}

.site-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--nwt-text);
	letter-spacing: -0.02em;
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.site-title a:hover {
	color: var(--nwt-accent);
}

.site-tagline {
	font-size: 0.8125rem;
	color: var(--nwt-text-muted);
	font-weight: 400;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	flex-direction: column;
	gap: 5px;
}

.menu-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background-color: var(--nwt-text);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-list {
	display: flex;
	list-style: none;
	gap: 2rem;
	padding: 0;
	margin: 0;
	align-items: center;
}

.nav-list a {
	color: var(--nwt-text);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.25s ease;
}

.nav-list a:hover,
.nav-list a:focus {
	color: var(--nwt-accent);
}

@media (max-width: 768px) {
	.menu-toggle {
		display: flex;
	}

	.nav-list {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.95);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		padding: 1.5rem 2rem;
		gap: 1rem;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
		border-radius: 0 0 var(--nwt-radius) var(--nwt-radius);
	}

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

/* ==========================================================================
   7. Hero
   ========================================================================== */

.hero {
	text-align: center;
	padding: 6rem 0 4rem;
}

.hero__title {
	font-size: clamp(2.5rem, 2rem + 3vw, 3.5rem);
	font-weight: 500;
	color: var(--nwt-text);
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin-bottom: 1rem;
}

.hero__tagline {
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	color: var(--nwt-text-muted);
	font-weight: 400;
	line-height: 1.6;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   8. Buttons
   ========================================================================== */

.btn {
	display: inline-block;
	font-family: var(--nwt-font);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1;
	padding: 0.65em 1.75em;
	border-radius: 100px;
	border: 2px solid transparent;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn--primary {
	background-color: var(--nwt-accent);
	color: var(--nwt-white);
	border-color: var(--nwt-accent);
}

.btn--primary:hover,
.btn--primary:focus {
	background-color: var(--nwt-accent-hover);
	border-color: var(--nwt-accent-hover);
	color: var(--nwt-white);
	box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
	transform: translateY(-1px);
}

.btn--outline {
	background-color: transparent;
	color: var(--nwt-accent);
	border-color: var(--nwt-accent);
}

.btn--outline:hover,
.btn--outline:focus {
	background-color: var(--nwt-accent);
	color: var(--nwt-white);
	box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
	transform: translateY(-1px);
}

.btn--small {
	font-size: 0.8125rem;
	padding: 0.5em 1.25em;
}

/* ==========================================================================
   9. Product Sections
   ========================================================================== */

.home-products {
	padding: 5rem 0;
}

.home-products__link {
	color: var(--nwt-accent);
	font-weight: 500;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: color 0.25s ease;
}

.home-products__link:hover,
.home-products__link:focus {
	color: var(--nwt-accent-hover);
}

.product-grid {
	gap: 2rem;
}

.product-card {
	background-color: var(--nwt-white);
	border: none;
	border-radius: var(--nwt-radius);
	padding: 2rem;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.product-card__title {
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--nwt-text);
	margin-bottom: 0.5rem;
}

.product-card__title a {
	color: inherit;
	text-decoration: none;
}

.product-card__title a:hover {
	color: var(--nwt-accent);
}

.product-card__desc {
	font-size: 0.9375rem;
	color: var(--nwt-text-muted);
	line-height: 1.6;
}

/* ==========================================================================
   10. Tag List
   ========================================================================== */

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.tag-list__item {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--nwt-accent);
	background-color: rgba(0, 122, 255, 0.08);
	padding: 0.35em 1em;
	border-radius: 100px;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.tag-list__item:hover {
	background-color: rgba(0, 122, 255, 0.15);
}

.tag-list__item a {
	color: inherit;
	text-decoration: none;
}

/* ==========================================================================
   11. How It Works
   ========================================================================== */

.how-it-works {
	background-color: var(--nwt-bg-alt);
	padding: 5rem 0;
	border-top: none;
	border-bottom: none;
}

.how-it-works__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 2rem;
}

.how-it-works__list li {
	font-size: 1rem;
	color: var(--nwt-text);
	line-height: 1.7;
}

/* ==========================================================================
   12. Single Product
   ========================================================================== */

.product-single__summary {
	font-size: 1.0625rem;
	color: var(--nwt-text);
	line-height: 1.7;
	margin-bottom: 2rem;
}

.product-single__cta {
	margin: 2.5rem 0;
}

.product-single__back {
	display: inline-block;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--nwt-accent);
	text-decoration: none;
	margin-top: 2rem;
	transition: color 0.25s ease;
}

.product-single__back:hover,
.product-single__back:focus {
	color: var(--nwt-accent-hover);
}

/* ==========================================================================
   13. FAQ Accordion
   ========================================================================== */

details {
	border: 1px solid var(--nwt-border);
	border-radius: var(--nwt-radius);
	margin-bottom: 0.75rem;
	overflow: hidden;
	transition: box-shadow 0.25s ease;
}

details[open] {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.125rem 1.5rem;
	font-weight: 500;
	font-size: 1rem;
	color: var(--nwt-text);
	cursor: pointer;
	list-style: none;
	transition: background-color 0.25s ease;
}

summary::-webkit-details-marker {
	display: none;
}

summary::before {
	content: "+";
	font-size: 1.25rem;
	font-weight: 300;
	color: var(--nwt-text-muted);
	margin-right: 1rem;
	flex-shrink: 0;
	transition: transform 0.25s ease;
}

details[open] summary::before {
	content: "\2212";
}

summary:hover {
	background-color: var(--nwt-bg-alt);
}

details > *:not(summary) {
	padding: 0 1.5rem 1.25rem;
	color: var(--nwt-text);
	line-height: 1.7;
}

/* ==========================================================================
   14. Entry Content
   ========================================================================== */

.entry-header {
	margin-bottom: 2.5rem;
}

.entry-title {
	font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem);
	font-weight: 500;
	color: var(--nwt-text);
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.entry-meta {
	font-size: 0.875rem;
	color: var(--nwt-text-muted);
	margin-top: 0.75rem;
}

.entry-meta a {
	color: var(--nwt-text-muted);
	text-decoration: underline;
	text-decoration-color: var(--nwt-border);
	text-underline-offset: 2px;
}

.entry-meta a:hover {
	color: var(--nwt-accent);
	text-decoration-color: var(--nwt-accent);
}

.entry-content {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--nwt-text);
}

.entry-content p {
	margin-bottom: 1.5em;
}

.entry-content code {
	font-family: var(--nwt-mono);
	font-size: 0.875em;
	background-color: var(--nwt-bg-alt);
	padding: 0.15em 0.4em;
	border-radius: 6px;
	color: var(--nwt-text);
}

.entry-content pre {
	font-family: var(--nwt-mono);
	font-size: 0.875rem;
	background-color: var(--nwt-bg-alt);
	padding: 1.5rem;
	border-radius: var(--nwt-radius);
	overflow-x: auto;
	line-height: 1.6;
	margin-bottom: 1.75rem;
}

.entry-content pre code {
	background: none;
	padding: 0;
	border-radius: 0;
}

.entry-content blockquote {
	border-left: 3px solid var(--nwt-accent);
	margin: 2rem 0;
	padding: 1rem 1.5rem;
	color: var(--nwt-text-muted);
	font-style: italic;
	font-size: 1.0625rem;
	background-color: var(--nwt-bg-alt);
	border-radius: 0 var(--nwt-radius) var(--nwt-radius) 0;
}

/* ==========================================================================
   15. Archive
   ========================================================================== */

.archive-header {
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--nwt-border);
}

.archive-title {
	font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
	font-weight: 500;
	color: var(--nwt-text);
}

.archive-desc {
	font-size: 1rem;
	color: var(--nwt-text-muted);
	margin-top: 0.5rem;
	line-height: 1.6;
}

/* ==========================================================================
   16. Post List
   ========================================================================== */

.post-list__item {
	padding: 2rem 0;
	border-bottom: 1px solid var(--nwt-border);
}

.post-list__item:first-child {
	padding-top: 0;
}

.post-list__title {
	font-size: 1.375rem;
	font-weight: 500;
	color: var(--nwt-text);
	line-height: 1.3;
	margin-bottom: 0.375rem;
}

.post-list__title a {
	color: inherit;
	text-decoration: none;
}

.post-list__title a:hover {
	color: var(--nwt-accent);
}

.post-list__meta {
	font-size: 0.8125rem;
	color: var(--nwt-text-muted);
	margin-bottom: 0.5rem;
}

.post-list__excerpt {
	font-size: 0.9375rem;
	color: var(--nwt-text-muted);
	line-height: 1.65;
}

/* ==========================================================================
   17. 404
   ========================================================================== */

.error-404 {
	text-align: center;
	padding: 6rem 0;
}

.error-404 h1 {
	font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
	font-weight: 500;
	color: var(--nwt-text);
	margin-bottom: 1rem;
}

.error-404 p {
	font-size: 1.0625rem;
	color: var(--nwt-text-muted);
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   18. Post Navigation
   ========================================================================== */

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--nwt-border);
}

.post-navigation a {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--nwt-accent);
	text-decoration: none;
	transition: color 0.25s ease;
}

.post-navigation a:hover {
	color: var(--nwt-accent-hover);
}

/* ==========================================================================
   19. Pagination
   ========================================================================== */

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--nwt-text);
	background-color: transparent;
	border: 1px solid var(--nwt-border);
	border-radius: 100px;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.page-numbers:hover {
	background-color: var(--nwt-bg-alt);
	border-color: var(--nwt-text-muted);
	color: var(--nwt-text);
}

.page-numbers.current {
	background-color: var(--nwt-accent);
	border-color: var(--nwt-accent);
	color: var(--nwt-white);
}

/* ==========================================================================
   20. Footer
   ========================================================================== */

.site-footer {
	margin-top: 4rem;
	padding: 3rem 0;
	background-color: var(--nwt-bg-alt);
	color: var(--nwt-text-muted);
	font-size: 0.875rem;
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.site-footer__nav {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 1.5rem;
}

.site-footer__nav a {
	color: var(--nwt-text-muted);
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.25s ease;
}

.site-footer__nav a:hover {
	color: var(--nwt-accent);
}

/* ==========================================================================
   21. WP Caption
   ========================================================================== */

.wp-caption-text {
	font-size: 0.8125rem;
	color: var(--nwt-text-muted);
	text-align: center;
	margin-top: 0.5rem;
	font-style: italic;
}

/* ==========================================================================
   22. Main Container Padding
   ========================================================================== */

.site-main > .container {
	padding-top: 3rem;
	padding-bottom: 5rem;
}
