
:root {
  --radius: 1rem;

  --background: oklch(0.985 0.005 90);
  --foreground: oklch(0.19 0.015 260);
  --card:        oklch(1 0 0);
  --card-foreground: oklch(0.19 0.015 260);

  --primary:          oklch(0.21 0.02 260);
  --primary-foreground: oklch(0.985 0.005 90);

  --secondary:          oklch(0.955 0.012 85);
  --secondary-foreground: oklch(0.25 0.02 260);

  --muted:          oklch(0.955 0.008 85);
  --muted-foreground: oklch(0.52 0.02 260);

  --accent:          oklch(0.9 0.055 62);
  --accent-foreground: oklch(0.28 0.06 45);

  --border: oklch(0.9 0.012 85);
  --input:  oklch(0.9 0.012 85);
  --ring:   oklch(0.7 0.06 62);

  --sand: oklch(0.86 0.075 65);
  --clay: oklch(0.62 0.13 45);
  --sea:  oklch(0.62 0.09 210);

  --gradient-dawn: linear-gradient(180deg, oklch(0.985 0.005 90) 0%, oklch(0.95 0.035 70) 100%);
  --gradient-ink:  linear-gradient(135deg, oklch(0.24 0.02 260), oklch(0.32 0.04 250));

  --shadow-float: 0 30px 60px -25px oklch(0.3 0.06 60 / 0.35);
  --shadow-soft:  0 12px 30px -18px oklch(0.3 0.05 60 / 0.4);

  /* border-radius scale */
  --radius-sm:  calc(var(--radius) - 4px);   /* 12px */
  --radius-md:  calc(var(--radius) - 2px);   /* 14px */
  --radius-lg:  var(--radius);               /* 16px */
  --radius-xl:  calc(var(--radius) + 4px);   /* 20px */
  --radius-2xl: calc(var(--radius) + 8px);   /* 24px */
  --radius-3xl: calc(var(--radius) + 12px);  /* 28px */
  --radius-4xl: calc(var(--radius) + 16px);  /* 32px */
}

/* =========================================================
   Base reset / typography
   ========================================================= */

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

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1;
}

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

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

/* =========================================================
   Utility classes  (mirror Tailwind @utility blocks)
   ========================================================= */

.dawn-bg {
  background-image: var(--gradient-dawn);
}

.float-shadow {
  box-shadow: var(--shadow-float);
}

.surface-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   Layout helpers
   ========================================================= */

.container {
  margin-inline: auto;
  max-width: 72rem; /* 1152 px ≈ max-w-6xl */
  padding-inline: 1.5rem;
}

/* =========================================================
   Navigation / header
   ========================================================= */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
}

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

.logo-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  color: var(--foreground);
  flex-shrink: 0;
}

.logo-icon img {
  width: 1.25rem;
  height: 1.25rem;
}

.logo-name {
  font-family: "Jura", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--foreground);
}

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

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

.site-nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.15s;
}

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

/* =========================================================
   Hero section
   ========================================================= */

.hero {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 5rem;
  }
}

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

.hero-title {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.03em;
  margin-top: 1.25rem;
  max-width: 48rem;
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 0.95;
  font-weight: 600;
}

.hero-description {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

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

.hero-screenshot {
  margin-top: 3.5rem;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-float);
}

.hero-screenshot img {
  width: 100%;
  display: block;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, opacity 0.15s;
  border: none;
  outline: none;
  height: 2.5rem;
  padding-inline: 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.btn-primary:hover {
  background-color: oklch(from var(--primary) calc(l + 0.05) c h);
  opacity: 0.9;
}

.btn-outline {
  background-color: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.btn-secondary:hover {
  background-color: oklch(from var(--secondary) calc(l - 0.02) c h);
}

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

.btn-ghost:hover {
  background-color: oklch(1 0 0 / 0.10);
}

/* =========================================================
   Features grid
   ========================================================= */

.features {
  padding-block: 5rem;
}

.features-title {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  max-width: 32rem;
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 600;
}

.features-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  background-color: var(--border);
}

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

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

.feature-card {
  background-color: var(--card);
  padding: 2rem;
}

.feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--clay);
  flex-shrink: 0;
}

.feature-card h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* =========================================================
   Screenshots gallery
   ========================================================= */

.screenshots {
  padding-block: 2.5rem;
}

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

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

.screenshot-figure {
  overflow: hidden;
}

.screenshot-figure img {
  width: 100%;
  display: block;
}

.screenshot-caption {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}

.screenshot-caption h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

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

/* =========================================================
   Install CTA
   ========================================================= */

.install {
  padding-block: 6rem;
}

.install-panel {
  border-radius: var(--radius-3xl);
  background-color: var(--primary);
  padding: 3.5rem 2rem;
  color: var(--primary-foreground);
}

@media (min-width: 640px) {
  .install-panel {
    padding-inline: 3.5rem;
  }
}

.install-title {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  max-width: 28rem;
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 600;
}

.install-steps {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.875rem;
}

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

.install-step {
  border-top: 1px solid oklch(1 0 0 / 0.20);
  padding-top: 1rem;
}

.install-step-num {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.install-step p {
  margin-top: 0.5rem;
  opacity: 0.9;
}

.install-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.site-footer a {
  transition: color 0.15s;
}

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

/* =========================================================
   Logo concepts page
   ========================================================= */

.logo-page-hero {
  padding-block: 2rem 2.5rem;
  max-width: 42rem;
}

.logo-page-title {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
}

.logo-page-lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.logo-concepts {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.logo-concept {
  overflow: hidden;
}

.logo-concept-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem 0;
}

.logo-concept-num {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-foreground);
  opacity: 0.45;
  flex-shrink: 0;
}

.logo-concept-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.logo-concept-header p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 36rem;
}

.logo-concept-previews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
}

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

.logo-concept-preview {
  display: grid;
  place-items: center;
  min-height: 12rem;
  padding: 2.75rem 2rem;
}

@media (min-width: 640px) {
  .logo-concept-preview:not(:last-child) {
    border-right: 1px solid var(--border);
  }
}

@media (max-width: 639px) {
  .logo-concept-preview:not(:last-child) {
    border-bottom: 1px solid var(--border);
  }
}

.logo-concept-preview--light {
  background-color: var(--muted);
}

.logo-concept-preview--dark {
  background: var(--gradient-ink);
}

.logo-concept-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 0.875rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  flex-shrink: 0;
  box-shadow: 0 12px 25px -14px oklch(0.15 0.03 260 / 0.7);
}

.logo-concept-icon--lg {
  width: 8rem;
  height: 8rem;
  border-radius: 1.75rem;
}

.logo-concept-icon--on-dark {
  background-color: oklch(1 0 0 / 0.1);
  color: var(--primary-foreground);
  border: 1px solid oklch(1 0 0 / 0.12);
}

.logo-concept-icon img {
  width: 2.75rem;
  height: 2.75rem;
}

.logo-concept-icon--lg img {
  width: 5.5rem;
  height: 5.5rem;
}

.logo-concept-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-concept-wordmark {
  font-family: "Jura", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.logo-concept-wordmark--light {
  color: var(--primary-foreground);
}
