/*
Theme Name: Kroma
Theme URI: https://kroma.ai
Author: Kroma AI
Author URI: https://kroma.ai
Description: Custom theme for Kroma AI — beautiful presentations, impossibly fast
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kroma
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
  --kroma-orange: #FB7232;
  --kroma-orange-dark: #E85D1A;
  --kroma-orange-deeper: #D04A08;
  --charcoal: #1F1F1F;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F7F7F7;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
}

/* ==========================================================================
   1. Reset / Base
   ========================================================================== */

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--white);
}

::selection {
  background: rgba(251, 114, 50, 0.2);
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
}

/* ==========================================================================
   2. Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  margin: 0;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.3;
}

h5 {
  font-size: 1.125rem;
  line-height: 1.3;
}

h6 {
  font-size: 1rem;
  line-height: 1.3;
}

p,
li {
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--kroma-orange);
  text-decoration: none;
  transition: color 200ms ease;
}

a:hover {
  text-decoration: underline;
}

strong {
  font-weight: 600;
}

blockquote {
  margin: 1.5rem 0;
  border-left: 3px solid var(--kroma-orange);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--gray-500);
}

/* ==========================================================================
   3. Layout Utilities
   ========================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 800px;
}

.container--content {
  max-width: 720px;
}

.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.gap-4 {
  gap: 1.5rem;
}

.gap-5 {
  gap: 2rem;
}

.gap-6 {
  gap: 2.5rem;
}

.gap-7 {
  gap: 3rem;
}

.gap-8 {
  gap: 3.5rem;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   4. Navigation
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 3px rgba(31, 31, 31, 0.02);
}

.site-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
}

.site-nav__logo {
  flex-shrink: 0;
}

.site-nav__logo img {
  height: 32px;
  width: auto;
}

.site-nav__links {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.site-nav__links a:not(.site-nav__cta) {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(31, 31, 31, 0.6);
  text-decoration: none;
  transition: color 200ms ease;
}

.site-nav__links a:not(.site-nav__cta):hover {
  color: var(--charcoal);
  text-decoration: none;
}

a.site-nav__cta,
.site-nav .site-nav__cta,
.site-nav__cta {
  display: none;
  align-items: center;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #FB7232 !important;
  background-color: #FB7232 !important;
  color: #FFFFFF !important;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 200ms ease;
  box-shadow: 0 2px 8px rgba(251, 114, 50, 0.25);
  white-space: nowrap;
}

.site-nav__links .site-nav__cta:hover,
a.site-nav__cta:hover,
.site-nav__cta:hover {
  background: #E85D1A !important;
  background-color: #E85D1A !important;
  filter: brightness(1.1);
  box-shadow: 0 4px 16px rgba(251, 114, 50, 0.35);
  text-decoration: none !important;
  color: #FFFFFF !important;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--charcoal);
  transition: transform 300ms ease, opacity 300ms ease;
}

.mobile-toggle.active span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}

.mobile-menu.open {
  max-height: 320px;
  padding: 1.5rem;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
}

.mobile-menu__cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  border-radius: 9999px;
  background: var(--kroma-orange);
  color: var(--white);
  padding: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
}

.mobile-menu__cta:hover {
  color: var(--white);
  text-decoration: none;
}

@media (min-width: 768px) {
  .site-nav__links {
    display: flex;
  }

  a.site-nav__cta,
  .site-nav .site-nav__cta,
  .site-nav__cta {
    display: inline-flex;
  }

  .mobile-toggle {
    display: none;
  }
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 3rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero__grid-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(31, 31, 31, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 31, 31, 1) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero__gradient-orb {
  pointer-events: none;
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  height: 600px;
  width: 600px;
  border-radius: 9999px;
  background: rgba(251, 114, 50, 0.05);
  filter: blur(120px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 9999px;
  border: 1px solid rgba(251, 114, 50, 0.15);
  background: rgba(251, 114, 50, 0.05);
  padding: 0.5rem 1.25rem;
  margin-bottom: 2rem;
}

.hero__badge-dot {
  position: relative;
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  background: var(--kroma-orange);
}

.hero__badge-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--kroma-orange);
  animation: pulse 2s infinite;
}

.hero__badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--kroma-orange);
}

.hero__title {
  text-align: center;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--charcoal);
}

.hero__title-gradient {
  background: linear-gradient(135deg, var(--kroma-orange), #E85D1A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  text-align: center;
  max-width: 600px;
  margin: 1.5rem auto 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--gray-500);
}

.hero__ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--kroma-orange);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 200ms ease, filter 200ms ease;
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(251, 114, 50, 0.25);
  filter: brightness(1.1);
  color: var(--white);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--charcoal);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 200ms ease;
}

.btn-secondary:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
  text-decoration: none;
}

.hero__input-mockup {
  max-width: 640px;
  width: 100%;
  margin-top: 4rem;
}

.hero__input-box {
  border-radius: 1rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(31, 31, 31, 0.05);
}

.hero__input-label {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}

.hero__typing-text {
  min-height: 28px;
  font-size: 1rem;
  color: var(--kroma-orange);
}

.hero__typing-cursor {
  animation: blink 1s infinite;
}

.hero__input-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero__input-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid var(--gray-200);
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gray-400);
}

.hero__input-generate {
  border-radius: 9999px;
  background: var(--kroma-orange);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   6. Editor Mockup
   ========================================================================== */

.editor-mockup {
  max-width: 1100px;
  width: 100%;
  margin: 4rem auto 0;
}

.editor-mockup__window {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: 0 25px 80px rgba(31, 31, 31, 0.08);
}

.editor-mockup__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--gray-100);
  background: rgba(249, 250, 251, 0.8);
  padding: 0.75rem 1rem;
}

.editor-mockup__dot {
  height: 12px;
  width: 12px;
  border-radius: 9999px;
}

.editor-mockup__dot:nth-child(1) {
  background: #FF5F57;
}

.editor-mockup__dot:nth-child(2) {
  background: #FFBD2E;
}

.editor-mockup__dot:nth-child(3) {
  background: #28CA41;
}

.editor-mockup__url {
  margin-left: 1rem;
  flex: 1;
  border-radius: 0.5rem;
  background: var(--gray-100);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
}

.editor-mockup__body {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--white);
  padding: 1.25rem;
}

.editor-mockup__layout {
  display: flex;
  height: 100%;
  gap: 1rem;
}

.editor-mockup__sidebar {
  width: 96px;
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

.slide-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--gray-100);
  background: #0C0C0F;
}

.slide-thumb--active {
  border-color: var(--kroma-orange);
  box-shadow: 0 2px 8px rgba(251, 114, 50, 0.1);
}

/* Slide thumb: title slide */
.slide-thumb--title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.slide-thumb--title::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 9999px;
  background: var(--kroma-orange);
  margin-bottom: 4px;
}

.slide-thumb--title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
}

/* Slide thumb: metrics */
.slide-thumb--metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px;
}

.slide-thumb--metrics::before,
.slide-thumb--metrics::after {
  content: '';
  display: block;
  width: 18px;
  height: 22px;
  border-radius: 3px;
  background: rgba(251, 114, 50, 0.15);
}

/* Slide thumb: content-image */
.slide-thumb--content-image {
  display: flex;
  align-items: center;
  padding: 6px;
  gap: 4px;
}

.slide-thumb--content-image::before {
  content: '';
  display: block;
  flex: 1;
  height: 20px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.slide-thumb--content-image::after {
  content: '';
  display: block;
  flex: 1;
  height: 20px;
  border-radius: 2px;
  background: rgba(251, 114, 50, 0.1);
}

/* Slide thumb: section divider */
.slide-thumb--section-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.slide-thumb--section-divider::before {
  content: '';
  display: block;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}

/* Slide thumb: bullets */
.slide-thumb--bullets {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 8px;
}

.slide-thumb--bullets::before,
.slide-thumb--bullets::after {
  content: '';
  display: block;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.slide-thumb--bullets::before {
  width: 80%;
}

.slide-thumb--bullets::after {
  width: 60%;
}

.editor-mockup__canvas {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: #0C0C0F;
}

.canvas__gradient-orb {
  pointer-events: none;
  position: absolute;
  top: -40px;
  right: -40px;
  height: 180px;
  width: 180px;
  border-radius: 9999px;
  filter: blur(60px);
  background: rgba(251, 114, 50, 0.1);
}

.canvas__accent-bar {
  height: 3px;
  width: clamp(2rem, 4vw, 3rem);
  border-radius: 9999px;
  background: var(--kroma-orange);
  margin-bottom: 1rem;
}

.canvas__title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.canvas__subtitle {
  margin-top: 0.375rem;
  font-size: clamp(0.625rem, 1vw, 0.75rem);
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
}

.canvas__metrics {
  margin-top: clamp(1rem, 2vw, 2rem);
  display: flex;
  gap: clamp(0.5rem, 1.5vw, 1rem);
}

.canvas__metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.75rem;
  padding: 0.5rem 0.625rem;
  background: linear-gradient(180deg, rgba(251, 114, 50, 0.1), rgba(251, 114, 50, 0.03));
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.canvas__metric-value {
  font-size: clamp(0.75rem, 1.2vw, 1.125rem);
  font-weight: 700;
  color: var(--kroma-orange);
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

.canvas__metric-label {
  margin-top: 0.125rem;
  font-size: clamp(0.4375rem, 0.6vw, 0.5625rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
}

.editor-mockup__toolbar {
  width: 40px;
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.toolbar__icon {
  display: flex;
  height: 32px;
  width: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.toolbar__icon--active {
  border-color: rgba(251, 114, 50, 0.2);
  background: rgba(251, 114, 50, 0.1);
}

@media (min-width: 640px) {
  .editor-mockup__sidebar {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .editor-mockup__toolbar {
    display: flex;
  }
}

/* ==========================================================================
   7. Stats Bar / Social Proof
   ========================================================================== */

.stats-bar {
  margin-top: 5rem;
  width: 100%;
  max-width: 900px;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stats-bar__item {
  text-align: center;
}

.stats-bar__number {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--charcoal);
}

.stats-bar__label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.logo-bar {
  margin-top: 4rem;
  text-align: center;
}

.logo-bar__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-300);
}

.logo-bar__logos {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0.3;
}

.logo-bar__logos span {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}

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

/* ==========================================================================
   8. Benefits Section
   ========================================================================== */

.benefits {
  padding: 6rem 1.5rem;
}

.benefits__header {
  margin-bottom: 5rem;
  text-align: center;
}

.benefits__pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: var(--gray-100);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
}

.benefits__title {
  margin-top: 1rem;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
}

.benefits__title-fade {
  color: var(--gray-300);
}

.benefits__cards {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.feature-card__tag {
  display: inline-flex;
  border-radius: 9999px;
  background: rgba(251, 114, 50, 0.08);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--kroma-orange);
}

.feature-card__title {
  margin-top: 1rem;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
}

.feature-card__desc {
  margin-top: 1rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 28rem;
}

.feature-card__stat {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.feature-card__stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--kroma-orange);
}

.feature-card__stat-label {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.feature-card__visual-box {
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  background: rgba(249, 250, 251, 0.5);
  padding: 1.25rem;
}

/* Feature visual: Generation */
.feature-visual--generation {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-visual__prompt {
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.feature-visual__prompt-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
}

.feature-visual__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gray-300);
  font-size: 0.75rem;
  font-weight: 600;
}

.feature-visual__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  background: rgba(251, 114, 50, 0.1);
  color: var(--kroma-orange);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
}

.feature-visual__output {
  border-radius: 0.75rem;
  background: #0C0C0F;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.feature-visual__output-bar {
  height: 2px;
  width: 2rem;
  border-radius: 9999px;
  background: var(--kroma-orange);
  margin-bottom: 0.75rem;
}

.feature-visual__output-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.feature-visual__output-sub {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0.25rem;
}

/* Feature visual: Design themes */
.feature-visual--design {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.feature-visual__theme {
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  text-align: center;
}

.feature-visual__theme--bold {
  background: #0C0C0F;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-visual__theme--clean {
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.feature-visual__theme--startup {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-visual__theme--friendly {
  background: #FFF7ED;
  border: 1px solid rgba(251, 114, 50, 0.15);
}

.feature-visual__theme-label {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.feature-visual__theme--bold .feature-visual__theme-label,
.feature-visual__theme--startup .feature-visual__theme-label {
  color: rgba(255, 255, 255, 0.5);
}

.feature-visual__theme--clean .feature-visual__theme-label {
  color: var(--gray-400);
}

.feature-visual__theme--friendly .feature-visual__theme-label {
  color: var(--kroma-orange);
}

/* Feature visual: Export */
.feature-visual--export {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.feature-visual__deck-stack {
  position: relative;
  width: 200px;
  height: 120px;
}

.feature-visual__deck-slide {
  position: absolute;
  width: 160px;
  height: 90px;
  border-radius: 0.5rem;
  background: #0C0C0F;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-visual__deck-slide:nth-child(1) {
  top: 0;
  left: 0;
  transform: rotate(-6deg);
  opacity: 0.5;
}

.feature-visual__deck-slide:nth-child(2) {
  top: 5px;
  left: 15px;
  transform: rotate(-2deg);
  opacity: 0.75;
}

.feature-visual__deck-slide:nth-child(3) {
  top: 10px;
  left: 30px;
  transform: rotate(2deg);
}

.feature-visual__formats {
  display: flex;
  gap: 0.5rem;
}

.feature-visual__format-card {
  border-radius: 0.5rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 0.5rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-visual__format-card--active {
  border-color: var(--kroma-orange);
  color: var(--kroma-orange);
  background: rgba(251, 114, 50, 0.05);
}

@media (min-width: 768px) {
  .benefits {
    padding: 9rem 1.5rem;
  }

  .benefits__cards {
    gap: 9rem;
  }

  .feature-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }

  .feature-card:nth-child(even) .feature-card__content {
    order: 2;
  }

  .feature-card:nth-child(even) .feature-card__visual {
    order: 1;
  }

  .feature-card__visual-box {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   9. How It Works Section
   ========================================================================== */

.how-it-works {
  position: relative;
  padding: 6rem 1.5rem;
  background: var(--charcoal);
  overflow: hidden;
}

.how-it-works__orb-1 {
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 400px;
  width: 400px;
  border-radius: 9999px;
  background: rgba(251, 114, 50, 0.05);
  filter: blur(100px);
}

.how-it-works__orb-2 {
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 300px;
  width: 300px;
  border-radius: 9999px;
  background: rgba(251, 114, 50, 0.03);
  filter: blur(80px);
}

.how-it-works__header {
  margin-bottom: 4rem;
  text-align: center;
}

.how-it-works__pill {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.how-it-works__title {
  margin-top: 1rem;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.how-it-works__title-fade {
  color: rgba(255, 255, 255, 0.3);
}

.hiw-grid {
  display: grid;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hiw-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  transition: background 300ms ease, border-color 300ms ease;
}

.hiw-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.hiw-card__number {
  margin-bottom: 1.5rem;
  display: flex;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.hiw-card__number--1 {
  background: rgba(251, 114, 50, 0.15);
  color: var(--kroma-orange);
}

.hiw-card__number--2 {
  background: rgba(99, 102, 241, 0.15);
  color: #818CF8;
}

.hiw-card__number--3 {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
}

.hiw-card__title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.hiw-card__desc {
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9375rem;
}

.hiw-card__connector {
  display: none;
}

/* HIW step visuals */
.hiw-card__visual {
  margin-top: 1.5rem;
}

.hiw-visual__input {
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.hiw-visual__slides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.375rem;
}

.hiw-visual__mini-slide {
  aspect-ratio: 16 / 9;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hiw-visual__mini-slide--active {
  border-color: rgba(251, 114, 50, 0.3);
}

.hiw-visual__toolbar {
  display: flex;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.hiw-visual__toolbar-btn {
  height: 24px;
  width: 24px;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hiw-visual__toolbar-btn--active {
  border-color: rgba(251, 114, 50, 0.2);
  background: rgba(251, 114, 50, 0.08);
}

@media (min-width: 768px) {
  .how-it-works {
    padding: 9rem 1.5rem;
  }

  .how-it-works__header {
    margin-bottom: 5rem;
  }

  .hiw-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .hiw-card__connector {
    display: block;
    position: absolute;
    top: 50%;
    right: -12px;
    width: 24px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
  }

  .hiw-card:last-child .hiw-card__connector {
    display: none;
  }
}

/* ==========================================================================
   10. How It Works CTA
   ========================================================================== */

.hiw-cta {
  margin-top: 4rem;
  text-align: center;
}

.hiw-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--kroma-orange);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 200ms ease, filter 200ms ease;
}

.hiw-cta a:hover {
  box-shadow: 0 8px 24px rgba(251, 114, 50, 0.25);
  filter: brightness(1.1);
  color: var(--white);
  text-decoration: none;
}

/* ==========================================================================
   11. FAQ Section
   ========================================================================== */

.faq {
  padding: 6rem 1.5rem;
  background: rgba(249, 250, 251, 0.5);
}

.faq__header {
  margin-bottom: 3rem;
  text-align: center;
}

.faq__pill {
  display: inline-flex;
  border-radius: 9999px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
}

.faq__title {
  margin-top: 1rem;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
}

.faq__subtitle {
  margin-top: 0.75rem;
  color: var(--gray-500);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  background: var(--white);
  padding: 0 2rem;
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item__question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 200ms ease;
  font-family: inherit;
}

.faq-item__question:hover {
  color: var(--kroma-orange);
}

.faq-item__question-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  padding-right: 2rem;
  transition: color 200ms ease;
}

.faq-item__question:hover .faq-item__question-text {
  color: var(--kroma-orange);
}

.faq-item__icon {
  flex-shrink: 0;
  height: 28px;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.faq-item.open .faq-item__icon {
  border-color: rgba(251, 114, 50, 0.3);
  background: rgba(251, 114, 50, 0.1);
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-in-out;
}

.faq-item.open .faq-item__answer {
  /* max-height is set via JS for smooth animation */
}

.faq-item__answer-inner {
  padding-bottom: 1.5rem;
  padding-right: 3rem;
}

.faq-item__answer-inner p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--gray-500);
  margin: 0;
}

@media (min-width: 768px) {
  .faq {
    padding: 9rem 1.5rem;
  }
}

/* ==========================================================================
   12. Final CTA Section
   ========================================================================== */

.final-cta {
  padding: 6rem 1.5rem;
}

.final-cta__box {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--charcoal);
  padding: 4rem 2rem;
  text-align: center;
}

.final-cta__orb-1 {
  pointer-events: none;
  position: absolute;
  top: -80px;
  right: -80px;
  height: 300px;
  width: 300px;
  border-radius: 9999px;
  background: rgba(251, 114, 50, 0.1);
  filter: blur(80px);
}

.final-cta__orb-2 {
  pointer-events: none;
  position: absolute;
  bottom: -80px;
  left: -80px;
  height: 200px;
  width: 200px;
  border-radius: 9999px;
  background: rgba(251, 114, 50, 0.05);
  filter: blur(60px);
}

.final-cta__accent {
  margin: 0 auto 2rem;
  height: 4px;
  width: 48px;
  border-radius: 9999px;
  background: rgba(251, 114, 50, 0.6);
}

.final-cta__title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.final-cta__title-fade {
  color: rgba(255, 255, 255, 0.4);
}

.final-cta__desc {
  margin: 1.25rem auto 0;
  max-width: 28rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.5);
}

.final-cta__buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-primary--dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--kroma-orange);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 200ms ease, filter 200ms ease;
}

.btn-primary--dark:hover {
  box-shadow: 0 8px 24px rgba(251, 114, 50, 0.25);
  filter: brightness(1.1);
  color: var(--white);
  text-decoration: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  text-decoration: none;
}

.final-cta__badges {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.final-cta__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.final-cta__badge svg {
  flex-shrink: 0;
}

.final-cta__badge span {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
  .final-cta {
    padding: 8rem 1.5rem;
  }

  .final-cta__box {
    padding: 5rem 4rem;
  }
}

/* ==========================================================================
   13. Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--gray-100);
  padding: 4rem 1.5rem;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.site-footer__brand {
  max-width: 280px;
}

.site-footer__brand img {
  height: 26px;
  width: auto;
}

.site-footer__brand p {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-400);
}

.site-footer__links {
  display: flex;
  gap: 4rem;
}

.site-footer__col h4 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-300);
}

.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__col a {
  display: block;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 200ms ease;
}

.site-footer__col a:hover {
  color: var(--charcoal);
  text-decoration: none;
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social-link {
  display: flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--gray-100);
  color: var(--gray-400);
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease;
}

.site-footer__social-link:hover {
  border-color: var(--gray-200);
  color: var(--charcoal);
  text-decoration: none;
}

.site-footer__bottom {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--gray-100);
  padding-top: 2rem;
}

.site-footer__copyright {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin: 0;
}

.site-footer__tagline {
  font-size: 0.75rem;
  color: var(--gray-300);
  margin: 0;
}

@media (min-width: 768px) {
  .site-footer__top {
    flex-direction: row;
    justify-content: space-between;
  }

  .site-footer__bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   14. Blog Archive Styles
   ========================================================================== */

.blog-header {
  padding: 6rem 1.5rem 2.5rem;
  text-align: center;
}

.blog-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}

.blog-header p {
  margin: 0.5rem auto 0;
  color: var(--gray-500);
  max-width: 600px;
}

.post-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.post-card {
  border-bottom: 1px solid var(--gray-100);
  padding: 2rem 0;
  transition: background 200ms ease;
}

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

.post-card:last-child {
  border-bottom: none;
}

.post-card:hover {
  /* No box-shadow for typographical layout */
}

.post-card__image {
  display: none;
}

.post-card__image img {
  display: none;
}

.post-card:hover .post-card__image img {
  /* hidden */
}

.post-card__body {
  padding: 0;
}

.post-card__category {
  display: inline-block;
  border-radius: 9999px;
  background: rgba(251, 114, 50, 0.08);
  color: var(--kroma-orange);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1875rem 0.625rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.post-card__category:hover {
  text-decoration: none;
  background: rgba(251, 114, 50, 0.14);
}

.post-card__title {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
  margin: 0 0 0.625rem;
}

.post-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.post-card__title a:hover {
  color: var(--kroma-orange);
  text-decoration: none;
}

.post-card__excerpt {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.post-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagination {
  padding: 2rem 0 4rem;
  text-align: center;
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-200);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease;
}

.pagination a:hover {
  border-color: var(--charcoal);
  text-decoration: none;
}

.pagination .current {
  background: var(--kroma-orange);
  color: var(--white);
  border-color: var(--kroma-orange);
}

/* ==========================================================================
   15. Single Post Styles
   ========================================================================== */

.single-post {
  padding-top: 5rem;
}

.single-post__header {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
}

.single-post__category {
  display: inline-block;
  border-radius: 9999px;
  background: rgba(251, 114, 50, 0.08);
  color: var(--kroma-orange);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1875rem 0.625rem;
}

.single-post__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
  margin-top: 1rem;
}

.single-post__meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.single-post__content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.single-post__content h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.single-post__content h3 {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.single-post__content p {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-500);
}

.single-post__content img {
  max-width: 100%;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.single-post__content ul,
.single-post__content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style: revert;
}

.single-post__content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.single-post__content code {
  background: var(--gray-100);
  border-radius: 0.25rem;
  padding: 0.125rem 0.375rem;
  font-size: 0.875rem;
}

.single-post__content pre {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 0.5rem;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}

.single-post__content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: 0.875rem;
}

.single-post__content a {
  color: var(--kroma-orange);
  text-decoration: underline;
}

.single-post__content a:hover {
  text-decoration: none;
}

.related-posts {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  border-top: 1px solid var(--gray-100);
}

.related-posts h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 2rem;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ==========================================================================
   16. Page Template Styles
   ========================================================================== */

.page-content {
  padding: 8rem 1.5rem 4rem;
}

.page-content__inner {
  max-width: 720px;
  margin: 0 auto;
}

.page-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.page-content h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-500);
}

.page-content img {
  max-width: 100%;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style: revert;
}

.page-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.page-content code {
  background: var(--gray-100);
  border-radius: 0.25rem;
  padding: 0.125rem 0.375rem;
  font-size: 0.875rem;
}

.page-content pre {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 0.5rem;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}

.page-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.page-content a {
  color: var(--kroma-orange);
  text-decoration: underline;
}

.page-content a:hover {
  text-decoration: none;
}

/* ==========================================================================
   17. Search Results
   ========================================================================== */

.search-results {
  padding: 8rem 1.5rem 4rem;
}

.search-results h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 2rem;
}

.search-results__query {
  color: var(--kroma-orange);
}

.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.search-form input[type="text"] {
  flex: 1;
  border-radius: 9999px;
  border: 1px solid var(--gray-200);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.search-form input[type="text"]:focus {
  outline: none;
  border-color: var(--kroma-orange);
  box-shadow: 0 0 0 3px rgba(251, 114, 50, 0.15);
}

.search-form button {
  border-radius: 9999px;
  background: var(--kroma-orange);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: filter 200ms ease;
}

.search-form button:hover {
  filter: brightness(1.1);
}

/* ==========================================================================
   18. 404 Page
   ========================================================================== */

.page-404 {
  padding: 8rem 1.5rem;
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-404__code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
  margin: 0;
}

.page-404__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: 1rem;
}

.page-404__desc {
  color: var(--gray-500);
  margin-top: 0.5rem;
}

.page-404 .btn-primary {
  margin-top: 2rem;
}

/* ==========================================================================
   19. Sidebar
   ========================================================================== */

.sidebar .widget {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-100);
  background: var(--white);
}

.sidebar .widget-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  margin: 0 0 1rem;
}

.sidebar .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar .widget li {
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--gray-50);
}

.sidebar .widget li:last-child {
  border-bottom: none;
}

.sidebar .widget a {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 200ms ease;
}

.sidebar .widget a:hover {
  color: var(--kroma-orange);
  text-decoration: none;
}

/* ==========================================================================
   20. Animations & Keyframes
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="100"] {
  transition-delay: 100ms;
}

[data-animate-delay="200"] {
  transition-delay: 200ms;
}

[data-animate-delay="300"] {
  transition-delay: 300ms;
}

[data-animate-delay="400"] {
  transition-delay: 400ms;
}

[data-animate-delay="600"] {
  transition-delay: 600ms;
}

/* ==========================================================================
   21. Responsive Breakpoints
   ========================================================================== */

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

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (min-width: 1024px) {
  .hero__title {
    font-size: clamp(3rem, 5vw, 4.5rem);
  }
}

/* Stack grids on mobile */
@media (max-width: 639px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hiw-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(even) .feature-card__content,
  .feature-card:nth-child(even) .feature-card__visual {
    order: unset;
  }

}

/* ==========================================================================
   22. Print Styles
   ========================================================================== */

@media print {
  .site-nav,
  .site-footer,
  .mobile-toggle,
  .mobile-menu,
  .no-print {
    display: none !important;
  }

  body {
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .hero__grid-bg,
  .hero__gradient-orb,
  .canvas__gradient-orb,
  .how-it-works__orb-1,
  .how-it-works__orb-2,
  .final-cta__orb-1,
  .final-cta__orb-2 {
    display: none !important;
  }
}

/* ==========================================================================
   WordPress Core Alignment Classes
   ========================================================================== */

.alignnone {
  margin: 1rem 0;
}

.aligncenter {
  display: block;
  margin: 1rem auto;
}

.alignleft {
  float: left;
  margin: 0.25rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.25rem 0 1rem 1.5rem;
}

.wp-caption {
  max-width: 100%;
  margin-bottom: 1rem;
}

.wp-caption img {
  border-radius: 0.5rem;
}

.wp-caption-text {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  border-radius: 0.5rem;
  width: 100%;
  height: auto;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--gray-100);
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: var(--charcoal);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
