/*
Theme Name: Hostwire Launch
Theme URI: https://hostwire.com
Author: Hostwire.com
Author URI: https://hostwire.com
Description: Ultra-fast, zero-bloat starter theme crafted for Hostwire Managed WordPress Cloud. Pre-tuned for Nginx FastCGI Cache, Redis Object Cache, and 100/100 Core Web Vitals.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hostwire-launch
*/

:root {
  --hw-bg: #f5f5f7;
  --hw-surface: #ffffff;
  --hw-border: rgba(0, 0, 0, 0.08);
  --hw-text: #1d1d1f;
  --hw-muted: #6e6e73;
  --hw-accent: #059669;
  --hw-accent-soft: rgba(16, 185, 129, 0.1);
  --hw-accent-border: rgba(16, 185, 129, 0.28);
  --hw-radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --hw-bg: #141416;
    --hw-surface: #1e1e21;
    --hw-border: rgba(255, 255, 255, 0.09);
    --hw-text: #f5f5f7;
    --hw-muted: #98989d;
    --hw-accent: #10b981;
    --hw-accent-soft: rgba(16, 185, 129, 0.12);
    --hw-accent-border: rgba(52, 211, 153, 0.3);
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--hw-bg);
  color: var(--hw-text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--hw-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hw-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.hw-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--hw-bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hw-border);
}

.hw-header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hw-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--hw-text);
  text-decoration: none;
}

.hw-brand:hover {
  text-decoration: none;
}

.hw-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--hw-accent);
  box-shadow: 0 0 0 4px var(--hw-accent-soft);
}

.hw-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hw-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--hw-muted);
  text-decoration: none;
}

.hw-nav a:hover {
  color: var(--hw-text);
}

.hw-main {
  flex: 1;
  padding: 56px 0 72px;
}

.hw-hero {
  background: var(--hw-surface);
  border: 1px solid var(--hw-border);
  border-radius: 24px;
  padding: 48px 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hw-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--hw-accent-border);
  background: var(--hw-accent-soft);
  color: var(--hw-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hw-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--hw-accent);
}

.hw-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hw-hero p {
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  color: var(--hw-muted);
}

.hw-stack-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hw-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--hw-bg);
  border: 1px solid var(--hw-border);
  color: var(--hw-muted);
}

.hw-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.hw-btn:hover {
  text-decoration: none;
  opacity: 0.92;
}

.hw-btn-primary {
  background: var(--hw-accent);
  color: #ffffff;
}

.hw-btn-secondary {
  background: var(--hw-bg);
  color: var(--hw-text);
  border: 1px solid var(--hw-border);
}

.hw-section-title {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hw-muted);
  margin: 0 0 16px;
}

.hw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.hw-card {
  background: var(--hw-surface);
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hw-card-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--hw-muted);
}

.hw-card h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hw-card h2 a {
  color: var(--hw-text);
  text-decoration: none;
}

.hw-card h2 a:hover {
  color: var(--hw-accent);
}

.hw-card-excerpt {
  margin: 0;
  font-size: 14px;
  color: var(--hw-muted);
}

.hw-article {
  background: var(--hw-surface);
  border: 1px solid var(--hw-border);
  border-radius: 24px;
  padding: 40px;
}

.hw-article h1 {
  margin: 8px 0 20px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hw-article-content {
  font-size: 16px;
}

.hw-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.hw-footer {
  border-top: 1px solid var(--hw-border);
  background: var(--hw-surface);
  padding: 24px 0;
}

.hw-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--hw-muted);
}

.hw-powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--hw-accent-border);
  background: var(--hw-accent-soft);
  color: var(--hw-text);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.hw-powered-badge:hover {
  text-decoration: none;
  transform: translateY(-1px);
  border-color: var(--hw-accent);
}

.hw-powered-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--hw-accent);
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .hw-hero, .hw-article {
    padding: 28px 22px;
  }
}
