/* === Variables === */
:root {
  --color-primary: #0A2343;
  --color-blue: #1767CE;
  --color-light-blue: #D4EEFC;
  --color-bg: #F3F8FC;
  --color-white: #FFFFFF;
  --color-text: #1a1a1a;
  --color-text-muted: #6b7280;
  --color-border: #e2e8f0;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1080px;
  --content-width: 672px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.content-col {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
}
.site-header .logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.site-header nav a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.site-header nav a:hover {
  color: var(--color-text);
}

/* === Hero (split layout) === */
.hero-split {
  background: var(--color-primary);
  overflow: hidden;
}
.hero-split-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  padding: 3rem 1.5rem 0;
}
@media (min-width: 768px) {
  .hero-split-inner {
    grid-template-columns: 1fr 1fr;
    padding: 4rem 1.5rem 0;
    gap: 3rem;
  }
}
.hero-text {
  text-align: center;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .hero-text {
    text-align: left;
    padding-bottom: 4rem;
  }
}
.hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .hero-text h1 { font-size: 2.5rem; }
}
.hero-text p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.hero-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero-badges { justify-content: flex-start; }
}
.hero-free {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.phone-frame {
  width: 260px;
  background: #1a1a1a;
  border-radius: 32px 32px 0 0;
  padding: 12px 12px 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
  .phone-frame { width: 300px; }
}
.phone-frame img {
  width: 100%;
  border-radius: 22px 22px 0 0;
  display: block;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn-white:hover { background: rgba(255, 255, 255, 0.9); }
.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
}
.btn-primary:hover { background: #1255a8; }

/* === Features === */
.features {
  padding: 5rem 1.5rem;
  background: var(--color-bg);
}
.features-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  text-align: center;
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* === CTA Section === */
.cta-section {
  padding: 5rem 1.5rem;
  text-align: center;
  background: var(--color-white);
}
.cta-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}
.cta-section p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

/* === Footer === */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 1.5rem;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-white); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* === Blog Listing === */
.blog-header {
  text-align: center;
  padding: 3rem 0 2rem;
}
.blog-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.blog-header p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 4rem;
}
.blog-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.blog-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.blog-card-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
.blog-card-body {
  padding: 1.25rem;
}
.blog-card-date {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}
.blog-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.blog-card:hover .blog-card-title {
  color: var(--color-blue);
}
.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* === Blog Post === */
.post-meta {
  padding-top: 3rem;
  margin-bottom: 1.5rem;
}
.post-date {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.post-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.post-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.post-hero {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  border-radius: 12px;
  margin-bottom: 2rem;
}
.post-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
}
.post-body h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}
.post-body p {
  margin-bottom: 1.25rem;
}
.post-body ul, .post-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
}
.post-body li {
  margin-bottom: 0.5rem;
}
.post-body a {
  color: var(--color-blue);
  text-decoration: underline;
}

/* === Post CTA Box === */
.post-cta {
  margin: 2.5rem 0;
  padding: 2rem;
  border-radius: 12px;
  background: var(--color-primary);
  text-align: center;
  color: var(--color-white);
}
.post-cta h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.post-cta p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
}
.post-cta .btn {
  background: var(--color-white);
  color: var(--color-primary);
}
.post-cta .btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* === Utilities === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
