/* First Lemma — Clean, professional industrial AI site */

:root {
  --color-bg: #f7f8f9;
  --color-surface: #ffffff;
  --color-text: #1a1f2c;
  --color-text-muted: #5a6577;
  --color-accent: #b89648;
  --color-accent-hover: #9a7b3a;
  --color-border: #e2e8f0;
  --color-dark: #0f172a;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 1120px;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Typography */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 249, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.logo img {
  width: 36px;
  height: 32px;
  object-fit: contain;
}

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

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

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  background: var(--color-accent);
  color: white !important;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: var(--color-accent-hover);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: 0.2s;
}

/* Hero */
.hero {
  padding: 6.5rem 0 5.5rem;
  text-align: center;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero-mark {
  width: 72px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 7px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

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

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface);
  border-color: #cbd5e1;
}

/* Approach */
.approach {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}

.approach-text h2 {
  margin-bottom: 1.25rem;
}

.approach-text p {
  margin-bottom: 1.25rem;
}

.approach-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.approach-list li {
  display: flex;
  gap: 1rem;
}

.approach-list .icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: #f6efd9;
  color: #8a6b2e;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
}

.approach-list h3 {
  margin-bottom: 0.25rem;
  font-size: 1.0625rem;
}

.approach-list p {
  font-size: 0.9375rem;
  margin: 0;
}

/* Solutions */
.solutions-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

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

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

.solution-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
}

.solution-card h3 {
  margin-bottom: 0.5rem;
}

.solution-card p {
  font-size: 0.975rem;
  margin: 0;
}

/* Differentiation */
.diff {
  background: var(--color-dark);
  color: white;
}

.diff .section-label {
  color: #d4b36a;
}

.diff h2 {
  color: white;
  margin-bottom: 1.25rem;
}

.diff p {
  color: #94a3b8;
  max-width: 560px;
}

.diff-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.diff-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.diff-points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: #e2e8f0;
  font-size: 1.05rem;
}

.diff-points li::before {
  content: "→";
  color: #d4b36a;
  font-weight: 600;
  flex-shrink: 0;
}

/* Contact */
.contact {
  text-align: center;
}

.contact-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 3rem 2rem;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  margin-bottom: 0.75rem;
}

.contact-box p {
  margin-bottom: 2rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-email {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-accent);
}

.contact-email:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
  text-align: center;
}

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

/* Mobile */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1rem;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 4.5rem 0 4rem;
  }

  .approach-grid,
  .diff-inner,
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .contact-box {
    padding: 2.25rem 1.5rem;
  }
}
