/* ============================================================
   Hame Lourie — Search Consultancy
   Sibling site to AI Crawl Check. Same design tokens, same
   component language (--content-width, the amber/verified/accent
   signal system, Manrope/Inter/IBM Plex Mono) — deliberately
   not a separate visual identity, since it's the same person/company.
   ============================================================ */

:root {
  --ink: #FAFAF7;
  --panel: #FFFFFF;
  --panel-alt: #F4F3EE;
  --panel-raised: #FFFFFF;
  --border: #E4E2DC;
  --border-bright: #CFCCC2;

  --text-primary: #14181A;
  --text-secondary: #5B6560;
  --text-muted: #8B948E;

  --accent: #0F8A6B;
  --accent-hover: #0D7A5F;
  --accent-tint: rgba(15, 138, 107, 0.08);

  --warm-wash: #FBEAE0;

  --signal-verified: #0F8A6C;
  --signal-spoofed: #C23B24;
  --signal-unverified: #6B7873;
  --signal-amber: #B87400;

  --content-width: 700px;

  --font-display: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 6px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--text-primary);
  font-family: var(--font-body);
}

::selection { background: var(--accent); color: #fff; }

button, input, textarea { font-family: inherit; color: inherit; }

a { color: var(--accent); }

/* ---------- Nav ---------- */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: inherit;
}

.brand-mark { color: var(--signal-amber); font-size: 16px; }
.brand-accent { color: var(--accent); }

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13.5px;
}

.site-nav-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.15s ease; }
.site-nav-links a:hover { color: var(--text-primary); }

@media (max-width: 640px) {
  .site-nav-links { display: none; }
}

/* ---------- Layout helpers ---------- */

.landing { max-width: var(--content-width); margin: 0 auto; padding: 0 24px; }
.landing-wide { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

.crawl-trace {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.section-block { padding: 56px 0; }

/* ---------- Hero (two-column: copy left, mock panel right) ---------- */

.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 56px;
}
@media (max-width: 760px) {
  .hero-split { grid-template-columns: 1fr; padding: 40px 0; }
}

.hero-split h1 {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.hero-split p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.mock-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px;
  box-shadow: 0 1px 0 rgba(20,24,26,0.04);
}

.crawl-graph {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- About (two-column: profile card left, copy right) ---------- */

.about-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) {
  .about-split { grid-template-columns: 1fr; }
}

.profile-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.profile-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(20,24,26,0.07);
  transform: translateY(-1px);
}
.profile-card:active { transform: translateY(0); }

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 12.5px;
  margin-bottom: 14px;
}

.linkedin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #0A66C2;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
}

.profile-card-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.profile-card:hover .profile-card-arrow {
  color: var(--accent);
  transform: translate(1px, -1px);
}

.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--panel-alt);
  border: 1px solid var(--border-bright);
  margin-bottom: 14px;
  object-fit: cover;
  display: block;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}

.profile-headline {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0 0 4px;
}

.profile-location {
  color: var(--text-muted);
  font-size: 12px;
  font-family: var(--font-mono);
}

.about-split h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 18px;
}

.about-split p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.cta-center {
  text-align: center;
  margin-top: 28px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 32px;
}

.section-intro {
  margin: 0 0 32px;
  text-align: left;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.compare-table-wrap {
  margin: 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.crawl-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 0 32px;
}
@media (max-width: 760px) {
  .crawl-comparison { grid-template-columns: 1fr; }
}

.crawl-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
  text-align: center;
}

.crawl-panel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.crawl-node-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--accent);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: var(--radius);
  margin-bottom: 6px;
}
.crawl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.crawl-arrows {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 12px;
  margin: 4px 0 14px;
}

.crawl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.crawl-page {
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  text-align: left;
}

.crawl-page.reached {
  background: rgba(15, 138, 108, 0.08);
  border-color: rgba(15, 138, 108, 0.35);
}
.crawl-page.reached .crawl-mark { color: var(--signal-verified); font-weight: 700; }

.crawl-page.missed { color: var(--text-muted); }
.crawl-page.missed .crawl-mark { color: var(--signal-spoofed); font-weight: 700; }

.crawl-page.missed.critical {
  background: rgba(194, 59, 36, 0.06);
  border-color: rgba(194, 59, 36, 0.3);
  text-decoration: line-through;
  color: var(--signal-spoofed);
}

.crawl-panel-caption {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.crawl-panel-caption.critical-caption { color: var(--signal-spoofed); }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.compare-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  color: var(--text-muted);
  background: var(--panel-alt);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table td:first-child { color: var(--text-primary); }

.issues-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.issues-heading {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 18px;
}

.issues-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) {
  .issues-grid { grid-template-columns: 1fr; }
}

.issues-col-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.issues-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.issues-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
}
.issues-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 1.5px;
  background: var(--signal-spoofed);
}
.issues-list code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--panel-alt);
  padding: 1px 5px;
  border-radius: 3px;
}

.issues-note {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.issues-source {
  margin: 8px 0 0;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}
.issues-source a { color: var(--text-muted); text-decoration: underline; }
.issues-source a:hover { color: var(--accent); }

/* ---------- Where I help (service list) ---------- */

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.service-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ---------- Buttons ---------- */

.btn {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  min-height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border-bright);
  background: var(--panel-alt);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
  text-decoration: none;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:visited { color: var(--text-primary); }
.btn:hover { border-color: var(--accent); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  min-height: 48px;
  min-width: 48px;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(20,24,26,0.08);
}
.btn-primary:visited { color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(15, 138, 107, 0.25); }
.btn-primary:active { transform: translateY(0) scale(0.98); box-shadow: 0 1px 0 rgba(20,24,26,0.08); }

.btn-tool {
  background: rgba(184, 116, 0, 0.08);
  color: var(--signal-amber);
  border-color: rgba(184, 116, 0, 0.3);
}
.btn-tool:visited { color: var(--signal-amber); }
.btn-tool:hover { background: rgba(184, 116, 0, 0.14); border-color: var(--signal-amber); }

/* ---------- Contact form ---------- */

.contact-form {
  max-width: 460px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
  margin-top: 8px;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { max-width: none; }
}

.contact-faq h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0 0 16px;
}

.contact-faq p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.contact-faq ol {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}
.contact-faq ol li { margin-bottom: 6px; }

.contact-faq ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-faq ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}
.contact-faq ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.contact-faq ul li strong {
  color: var(--text-primary);
  font-weight: 600;
}

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

.form-field label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--panel-alt);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field textarea { resize: vertical; min-height: 120px; }

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235B6560'%3E%3Cpath d='M5.5 7.5L10 12l4.5-4.5' stroke='%235B6560' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  color: var(--text-primary);
  cursor: pointer;
}
.form-field select:invalid { color: var(--text-muted); }

/* Honeypot field — real visitors never see this. Kept in normal flow
   (not display:none) since some bots skip fields hidden that way. */
.form-field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 13.5px;
  text-align: center;
  min-height: 20px;
}
.form-status.error { color: var(--signal-spoofed); }
.form-status.success { color: var(--signal-verified); }

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--text-muted);
  font-size: 12px;
  font-family: var(--font-mono);
  border-top: 1px solid var(--border);
}
