/* ==========================================================================
   Mochacidal Industries — static stylesheet
   Converted from the Tailwind/shadcn theme. No build step required.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens (light theme)
   -------------------------------------------------------------------------- */
:root {
  --background: hsl(36 33% 97%);
  --foreground: hsl(25 52% 19%);
  --border: hsl(37 40% 85%);
  --card: hsl(36 40% 98%);
  --card-foreground: hsl(25 52% 19%);
  --primary: hsl(75 36% 35%);
  --primary-foreground: hsl(36 33% 97%);
  --secondary: hsl(37 50% 92%);
  --secondary-foreground: hsl(25 52% 19%);
  --muted: hsl(37 40% 90%);
  --muted-foreground: hsl(25 30% 40%);
  --accent: hsl(37 50% 92%);
  --accent-foreground: hsl(25 52% 19%);
  --destructive: hsl(0 84% 60%);
  --input: hsl(37 40% 85%);
  --ring: hsl(75 36% 35%);

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-mono: Menlo, Consolas, "Courier New", monospace;

  --radius: 0.75rem;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1rem;
}

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

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

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon--sm {
  width: 1rem;
  height: 1rem;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.5rem 1rem;
  min-height: 2.25rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

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

.btn--primary:hover {
  background-color: hsl(75 36% 30%);
}

.btn--outline {
  background-color: transparent;
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--foreground);
}

.btn--outline:hover {
  background-color: hsl(75 36% 35% / 0.05);
  color: var(--primary);
}

.btn--outline-primary {
  border-color: hsl(75 36% 35% / 0.2);
  color: var(--foreground);
}

.btn--outline-primary:hover {
  background-color: hsl(75 36% 35% / 0.05);
  color: var(--primary);
}

.btn--pill {
  border-radius: 9999px;
}

.btn--sm {
  min-height: 2rem;
  padding-inline: 1.5rem;
  font-size: 0.75rem;
}

.btn--lg {
  min-height: 3.5rem;
  padding-inline: 2rem;
  font-size: 1rem;
}

.btn--xl {
  min-height: 4rem;
  padding-inline: 2.5rem;
  font-size: 1.125rem;
}

.btn--block {
  width: 100%;
}

.btn--shadow {
  box-shadow: 0 10px 15px -3px hsl(75 36% 35% / 0.2),
    0 4px 6px -4px hsl(75 36% 35% / 0.2);
}

.btn--shadow-lg {
  box-shadow: 0 20px 25px -5px hsl(75 36% 35% / 0.2),
    0 8px 10px -6px hsl(75 36% 35% / 0.2);
}

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid hsl(37 40% 85% / 0.4);
  background-color: hsl(36 33% 97% / 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.8;
}

.brand-logo {
  height: 3rem;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--secondary-foreground);
  display: none;
}

@media (min-width: 640px) {
  .brand-name {
    display: inline-block;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.menu-toggle {
  display: inline-flex;
  padding: 0.5rem;
  margin-right: -0.5rem;
  color: var(--foreground);
}

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

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 5rem;
  z-index: 40;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1rem;
  max-width: 1280px;
  margin-inline: auto;
}

.mobile-menu a:not(.btn) {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
}

.mobile-menu a.active:not(.btn) {
  color: var(--primary);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   6. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--secondary-foreground);
  color: var(--secondary);
  border-top: 1px solid hsl(37 40% 85% / 0.1);
}

.site-footer .container {
  padding-block: 3rem;
}

@media (min-width: 768px) {
  .site-footer .container {
    padding-block: 4rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

  .footer-brand {
    grid-column: span 2;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  height: 2.5rem;
  width: auto;
}

.footer-brand-row span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--primary-foreground);
}

.footer-brand p {
  color: hsl(37 50% 92% / 0.7);
  max-width: 24rem;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--primary-foreground);
}

.footer-col nav,
.footer-col > div {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: hsl(37 50% 92% / 0.7);
}

.footer-col a {
  width: fit-content;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(37 50% 92% / 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: hsl(37 50% 92% / 0.5);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* --------------------------------------------------------------------------
   7. Sections
   -------------------------------------------------------------------------- */
.section {
  padding-block: 6rem;
}

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

.section--bordered {
  border-top: 1px solid hsl(37 40% 85% / 0.5);
  border-bottom: 1px solid hsl(37 40% 85% / 0.5);
}

.section--dark {
  background-color: var(--secondary-foreground);
  color: var(--background);
}

.section--tight {
  padding-block: 5rem;
}

/* Centered CTA block (light) */
.cta-block {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.cta-block h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-block h2 {
    font-size: 2.25rem;
  }
}

.cta-block p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Centered CTA block (dark) */
.cta-dark {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.cta-dark h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--background);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-dark h2 {
    font-size: 2.25rem;
  }
}

.cta-dark p {
  color: hsl(36 33% 97% / 0.8);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-head h2,
.section-head h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .section-head h2,
  .section-head h3 {
    font-size: 2.25rem;
  }
}

.section-head p {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

/* Page hero (interior pages) */
.page-hero {
  background-color: var(--background);
  padding-top: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid hsl(37 40% 85% / 0.5);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 3rem;
  }
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   8. Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--background);
  padding-top: 6rem;
  padding-bottom: 8rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 8rem;
    padding-bottom: 10rem;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top right,
    hsl(37 50% 92% / 0.5),
    var(--background) 60%,
    var(--background) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 12rem;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

@media (min-width: 768px) {
  .hero-logo {
    width: 16rem;
  }
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero h1 .accent {
  color: var(--primary);
  font-style: italic;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .hero-sub {
    font-size: 1.25rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    width: auto;
  }
}

/* --------------------------------------------------------------------------
   9. Grids & cards
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

@media (min-width: 1024px) {
  .grid--2-wide {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.grid--center {
  max-width: 72rem;
  margin-inline: auto;
}

.grid--features {
  max-width: 64rem;
  margin-inline: auto;
}

/* Service overview card */
.service-card {
  background-color: var(--background);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
  border-color: hsl(75 36% 35% / 0.3);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--accent);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.service-icon .icon {
  width: 2rem;
  height: 2rem;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.service-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.learn-more .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.service-card:hover .learn-more .icon {
  transform: translateX(0.25rem);
}

/* Featured product (dark) panel */
.featured-panel {
  background-color: var(--secondary-foreground);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 72rem;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .featured-panel {
    padding: 4rem;
  }
}

.featured-glow-1,
.featured-glow-2 {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
}

.featured-glow-1 {
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background-color: hsl(75 36% 35% / 0.2);
  transform: translate(33%, -50%);
}

.featured-glow-2 {
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background-color: hsl(37 50% 92% / 0.1);
  transform: translate(-25%, 33%);
}

.featured-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: hsl(75 36% 35% / 0.2);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid hsl(75 36% 35% / 0.3);
}

.featured-panel h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--background);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .featured-panel h2 {
    font-size: 3rem;
  }
}

.featured-panel h2 .accent {
  color: var(--primary);
  font-style: italic;
}

.featured-panel > .featured-grid p.lead {
  font-size: 1.125rem;
  color: hsl(36 33% 97% / 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  color: hsl(36 33% 97% / 0.9);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-list .icon {
  color: var(--primary);
}

/* Terminal mockup */
.terminal {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 28rem;
  margin-inline: auto;
  background-color: hsl(36 40% 98% / 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.terminal-inner {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 0.75rem;
  background-color: var(--background);
  border: 1px solid hsl(37 40% 85% / 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.terminal-bar {
  height: 2.5rem;
  background-color: hsl(37 40% 90% / 0.5);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 1rem;
}

.terminal-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
}

.terminal-dot--red {
  background-color: hsl(0 84% 60% / 0.6);
}

.terminal-dot--amber {
  background-color: rgba(251, 146, 60, 0.6);
}

.terminal-dot--green {
  background-color: hsl(75 36% 35% / 0.6);
}

.terminal-title {
  margin-left: 1rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--muted-foreground);
}

.terminal-body {
  flex: 1;
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--foreground);
  position: relative;
  overflow: hidden;
}

.terminal-body .space-y > * + * {
  margin-top: 0.5rem;
}

.terminal-body .inner {
  opacity: 0.8;
}

.terminal-body .inner p {
  margin-bottom: 0.5rem;
}

.terminal-body .prompt {
  color: var(--primary);
}

.terminal-body .ok {
  color: #16a34a;
}

.terminal-body .final {
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.terminal-watermark {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 6rem;
  height: 6rem;
  color: hsl(75 36% 35% / 0.05);
  transform: rotate(12deg);
}

/* --------------------------------------------------------------------------
   10. Services page
   -------------------------------------------------------------------------- */
.service-detail {
  display: flex;
  flex-direction: column;
}

.service-detail-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--accent);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 1px solid hsl(75 36% 35% / 0.2);
  color: var(--primary);
}

.service-detail-icon .icon {
  width: 2rem;
  height: 2rem;
}

.service-detail h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-detail > p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.service-item {
  display: flex;
  gap: 1rem;
}

.service-item-icon {
  margin-top: 0.25rem;
  background-color: hsl(75 36% 35% / 0.1);
  padding: 0.5rem;
  border-radius: 9999px;
  height: fit-content;
  color: var(--primary);
  flex-shrink: 0;
}

.service-item h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--foreground);
}

.service-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.outcome {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background-color: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.outcome strong {
  display: block;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.outcome p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* --------------------------------------------------------------------------
   11. MochaFlux page
   -------------------------------------------------------------------------- */
.flux-hero {
  position: relative;
  background-color: var(--card);
  padding-top: 5rem;
  padding-bottom: 6rem;
  overflow: hidden;
  border-bottom: 1px solid hsl(37 40% 85% / 0.5);
}

@media (min-width: 768px) {
  .flux-hero {
    padding-top: 7rem;
    padding-bottom: 8rem;
  }
}

.flux-hero::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background-color: hsl(37 50% 92% / 0.2);
  transform: skewX(-12deg) translateX(5rem);
  pointer-events: none;
}

.flux-hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.flux-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .flux-hero h1 {
    font-size: 3.75rem;
  }
}

.flux-hero h1 .accent {
  color: var(--primary);
}

.flux-hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 32rem;
}

@media (min-width: 768px) {
  .flux-hero p {
    font-size: 1.25rem;
  }
}

.flux-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .flux-actions {
    flex-direction: row;
    align-items: center;
  }
}

.flux-actions .or-email {
  display: flex;
  align-items: center;
  padding-inline: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.flux-actions .or-email a {
  margin-left: 0.25rem;
  color: var(--foreground);
  font-weight: 600;
  transition: color 0.2s ease;
}

.flux-actions .or-email a:hover {
  color: var(--primary);
}

.flux-visual {
  display: none;
  position: relative;
}

@media (min-width: 1024px) {
  .flux-visual {
    display: block;
  }
}

.flux-dashboard {
  aspect-ratio: 1 / 1;
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: var(--background);
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.flux-dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.flux-dashboard-head .title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.flux-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.flux-status .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #22c55e;
}

.flux-jobs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.flux-job {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
}

.flux-job .name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.flux-job .time {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.flux-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

.flux-tag--loaded {
  background-color: #dcfce7;
  color: #15803d;
}

.flux-tag--processing {
  background-color: #ffedd5;
  color: #c2410c;
}

.flux-tag--scheduled {
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.feature-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  transition: border-color 0.2s ease;
}

@media (min-width: 768px) {
  .feature-card {
    padding: 2rem;
  }
}

.feature-card:hover {
  border-color: hsl(75 36% 35% / 0.3);
}

.feature-card-icon {
  background-color: hsl(37 50% 92% / 0.5);
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.feature-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. Contact page
   -------------------------------------------------------------------------- */
.contact-main {
  background-color: var(--background);
  padding-top: 5rem;
  padding-bottom: 8rem;
}

.contact-head {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.contact-head h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .contact-head h1 {
    font-size: 3rem;
  }
}

.contact-head p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-inline: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-info {
    grid-column: span 2;
  }
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--muted-foreground);
}

.contact-info-item .icon {
  color: var(--primary);
  margin-top: 0.125rem;
}

.contact-info-item .label {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.contact-info-item a {
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.contact-info-item a:hover {
  color: var(--primary);
}

.contact-info-item p {
  font-size: 0.875rem;
}

.contact-info-divider {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-card {
  background-color: var(--card);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .contact-card {
    grid-column: span 3;
    padding: 2.5rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-heading h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.form-heading p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

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

.opt {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--input);
  background-color: transparent;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input {
  height: 2.25rem;
  padding-block: 0.25rem;
}

.field textarea {
  min-height: 60px;
  padding-block: 0.5rem;
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-foreground);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 1px var(--ring);
}

.field input:disabled,
.field textarea:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.form-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--destructive);
  background-color: hsl(0 84% 60% / 0.1);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.form-error .icon {
  width: 1rem;
  height: 1rem;
}

.form-error a {
  text-decoration: underline;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 2rem;
  gap: 1rem;
}

.form-success .icon {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--primary);
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.form-success p {
  color: var(--muted-foreground);
  max-width: 20rem;
}

.form-success .btn {
  margin-top: 1rem;
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 9999px;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   13. 404 page
   -------------------------------------------------------------------------- */
.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: hsl(37 40% 96%);
  padding: 2rem;
}

.notfound-card {
  width: 100%;
  max-width: 28rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.notfound-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.notfound-head .icon {
  width: 2rem;
  height: 2rem;
  color: #ef4444;
}

.notfound-head h1 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.notfound-card p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.notfound-card .btn {
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   14. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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