/* Metis — standalone static stylesheet (no build step) */

:root {
  --radius: 0.875rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.2 0.03 285);
  --card: oklch(1 0 0);
  --primary: oklch(0.38 0.22 289);
  --primary-foreground: oklch(0.985 0.005 285);
  --secondary: oklch(0.62 0.16 293);
  --muted: oklch(0.97 0.005 285);
  --muted-foreground: oklch(0.5 0.02 285);
  --accent-foreground: oklch(0.3 0.09 60);
  --cream: oklch(0.958 0.038 79);
  --ink: oklch(0.19 0.045 289);
  --border: oklch(0.9 0.012 285);
  --shadow-soft: 0 30px 60px -30px oklch(0.38 0.22 289 / 0.45);
  --font-display: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

p {
  margin: 0;
}

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

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

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

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  background: color-mix(in oklch, var(--background) 85%, transparent);
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-mark {
  display: block;
  height: 1.5rem;
  width: 1.5rem;
  transform: rotate(45deg);
  border-radius: 5px;
  background: var(--primary);
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

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

.nav a.is-active {
  color: var(--primary);
}

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

/* ---------- buttons ---------- */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.9rem 1.75rem;
  font-weight: 600;
  font-size: 0.975rem;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 12px 30px -12px oklch(0.38 0.22 289 / 0.6);
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-ghost:hover {
  background: var(--muted);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.btn-on-ink {
  background: var(--secondary);
}

/* ---------- sections ---------- */

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

.section > .wrap {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .section > .wrap {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.section--cream {
  background: var(--cream);
}

.section--ink {
  background: var(--ink);
  color: var(--primary-foreground);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
}

.lead {
  max-width: 36rem;
  color: var(--muted-foreground);
}

.measure {
  max-width: 42rem;
}

.text-gradient {
  background-image: linear-gradient(100deg, var(--primary) 0%, var(--secondary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.text-ink {
  color: var(--ink);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-warm {
  color: var(--accent-foreground);
}

.h-xl {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.h-lg {
  font-size: clamp(2rem, 4vw, 3rem);
}

.h-md {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

/* ---------- hero ---------- */

.hero .wrap {
  display: grid;
  gap: 3.5rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .hero .wrap {
    grid-template-columns: 1fr 1fr;
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  object-fit: cover;
  box-shadow: 0 40px 80px -40px oklch(0.38 0.22 289 / 0.55);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* ---------- grids and cards ---------- */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--tight {
  gap: 0.75rem;
}

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

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

.card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-soft);
}

.card h2,
.card h3 {
  font-size: 1.125rem;
  color: var(--ink);
}

.card--cap h2 {
  font-size: 1.25rem;
}

.card p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.chip {
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklch, var(--accent-foreground) 15%, transparent);
  background: color-mix(in oklch, var(--background) 60%, transparent);
  padding: 0.875rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.tile {
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklch, var(--accent-foreground) 15%, transparent);
  background: var(--background);
  padding: 1.25rem;
}

.tile h3 {
  font-size: 1rem;
  color: var(--ink);
}

.tile p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

/* ---------- bullet lists ---------- */

.bullets {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.bullets li::before {
  content: "";
  margin-top: 0.5rem;
  display: block;
  height: 0.375rem;
  width: 0.375rem;
  flex: 0 0 auto;
  transform: rotate(45deg);
  background: var(--primary);
}

.bullets--alt li::before {
  background: var(--secondary);
}

/* ---------- feature block ---------- */

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

@media (min-width: 768px) {
  .feature {
    grid-template-columns: 1fr 1fr;
  }
  .feature--reverse .feature-copy { order: 2; }
  .feature--reverse .feature-img { order: 1; }
}

.feature-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  border: 1px solid var(--border);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* ---------- comparison table ---------- */

.compare {
  margin-top: 2.5rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid color-mix(in oklch, var(--accent-foreground) 15%, transparent);
  background: var(--background);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-head {
  background: var(--ink);
  color: var(--primary-foreground);
  font-weight: 600;
  font-size: 0.9rem;
}

.compare-row > div {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
}

.compare-row .before {
  color: var(--muted-foreground);
}

.compare-row .after {
  font-weight: 500;
  color: var(--ink);
}

.compare-head > div {
  color: var(--primary-foreground);
}

/* ---------- CTA ---------- */

.cta-inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.cta-inner p {
  margin-top: 1.25rem;
  color: color-mix(in oklch, var(--primary-foreground) 75%, transparent);
}

.cta-inner .accent {
  color: var(--secondary);
}

/* ---------- contact panel ---------- */

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

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

.contact-card {
  border-radius: 1rem;
  border: 1px solid color-mix(in oklch, var(--accent-foreground) 15%, transparent);
  background: var(--background);
  padding: 2rem;
}

.contact-card .email {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-card .email:hover {
  color: var(--primary);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--ink);
  color: var(--primary-foreground);
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .site-footer .wrap {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.site-footer .logo-mark {
  height: 1.25rem;
  width: 1.25rem;
  background: var(--secondary);
}

.site-footer .logo-word {
  color: var(--primary-foreground);
  font-size: 1.125rem;
}

.site-footer p {
  margin-top: 0.75rem;
  max-width: 24rem;
  font-size: 0.9rem;
  color: color-mix(in oklch, var(--primary-foreground) 70%, transparent);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: color-mix(in oklch, var(--primary-foreground) 75%, transparent);
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: color-mix(in oklch, var(--primary-foreground) 50%, transparent);
}
