/* ============================================================
   Qondametrics — Landing Page Styles
   Design principle: professional, minimal, deliberately not
   generic-SaaS-blue. Warm earth tones that feel grounded and
   local rather than lifted from a Silicon Valley template.
   ============================================================ */

/* --- Reset & Base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ochre:       #92400E;
  --ochre-light: #B45309;
  --ochre-dark:  #78350F;
  --cream:       #FAFAF7;
  --stone:       #F5F4EF;
  --ink:         #1F2937;
  --ink-light:   #4B5563;
  --border:      #E5E3DC;
  --white:       #FFFFFF;
  --red:         #B91C1C;
  --green:       #15803D;
  --radius:      8px;
  --shadow:      0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.10);
  --max-w:       1100px;
  --font-sans:   -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif:  Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

/* --- Utilities --------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.hidden { display: none; }

/* --- Navigation -------------------------------------------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ochre-dark);
  letter-spacing: -0.02em;
}

.nav-cta {
  background: var(--ochre);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--ochre-dark); }

/* --- Buttons ----------------------------------------------- */
.btn-primary {
  display: inline-block;
  background: var(--ochre);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover {
  background: var(--ochre-dark);
  transform: translateY(-1px);
}

/* --- Hero -------------------------------------------------- */
.hero {
  background: var(--ochre-dark);
  color: var(--white);
  padding: 96px 0 80px;
  text-align: center;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-sub {
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* --- Section headings -------------------------------------- */
section {
  padding: 80px 0;
}

section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ochre-dark);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--ink-light);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* --- Products grid ----------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.product-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.product-industry {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ochre-light);
  margin-bottom: 14px;
}

.product-card p {
  color: var(--ink-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.65;
}

.product-card ul {
  padding-left: 18px;
  color: var(--ink-light);
  font-size: 0.88rem;
  line-height: 1.8;
}

.product-card ul li {
  margin-bottom: 2px;
}

/* --- Deployment options ------------------------------------ */
.alt-bg { background: var(--stone); }

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.deploy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.deploy-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ochre-dark);
  margin-bottom: 12px;
}

.deploy-card p {
  color: var(--ink-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.deploy-good {
  color: var(--green) !important;
  font-weight: 600;
  font-size: 0.9rem !important;
}

/* --- Trust section ----------------------------------------- */
.trust-section { background: var(--cream); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.trust-item {
  text-align: center;
  padding: 28px 20px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.trust-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}

.trust-item h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ochre-dark);
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 0.88rem;
  color: var(--ink-light);
  line-height: 1.6;
}

/* --- Contact form ------------------------------------------ */
#contact { background: var(--stone); }

.contact-form {
  max-width: 680px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.15s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ochre);
}

.form-group textarea { resize: vertical; }

.contact-form .btn-primary {
  width: 100%;
  text-align: center;
  margin-top: 8px;
  font-size: 1rem;
  padding: 14px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-light);
  text-align: center;
  margin-top: 12px;
}

/* --- Footer ------------------------------------------------ */
footer {
  background: var(--ochre-dark);
  color: rgba(255,255,255,0.85);
  padding: 40px 0;
  text-align: center;
}

footer p { margin-bottom: 8px; font-size: 0.95rem; }
footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer strong { color: var(--white); }
.footer-note { font-size: 0.82rem; opacity: 0.65; }

/* --- Responsive -------------------------------------------- */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .deploy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .trust-grid { grid-template-columns: 1fr; }
}
