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

:root {
  --color-bg:      #fafafa;
  --color-surface: #ffffff;
  --color-text:    #1a1a1a;
  --color-muted:   #64748b;
  --color-primary: #8B4513;
  --color-accent:  #A0522D;
  --color-border:  #e2e8f0;
  --radius:        10px;
  --max-width:     860px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-accent); text-decoration: underline; }

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

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

main { flex: 1; }

/* ── Header / Nav ─────────────────────────────────────────── */
header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  text-decoration: none;
}

.logo img {
  height: 54px;
  width: auto;
}

nav { display: flex; gap: 24px; }
nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color .15s;
}
nav a:hover, nav a.active {
  color: var(--color-text);
  text-decoration: none;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 100px 24px 72px;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.2rem;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: 48px 0;
}

.section h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
}

.section p, .section li {
  color: var(--color-muted);
  margin-bottom: 12px;
}

.section ul, .section ol {
  padding-left: 22px;
}

/* ── Cards row ────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.card p { font-size: 0.92rem; }

/* ── Contact / Support ────────────────────────────────────── */
.contact-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-top: 24px;
  text-align: center;
}

.contact-box p {
  font-size: 1.05rem;
}

.email-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
}

.email-link:hover { color: var(--color-accent); }

/* ── Legal pages ──────────────────────────────────────────── */
.legal {
  padding: 48px 0 64px;
}

.legal h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.legal .effective-date {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 10px;
}

.legal p, .legal li {
  color: var(--color-muted);
  margin-bottom: 10px;
}

.legal ul, .legal ol {
  padding-left: 22px;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-muted);
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

footer .footer-links a {
  color: var(--color-muted);
  font-weight: 500;
}

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

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 52px 16px 40px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 1rem; }
  nav { gap: 14px; }
  nav a { font-size: 0.82rem; }
  .legal { padding: 32px 0 48px; }
  .service-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; align-items: flex-start; }
  .step-num { margin-bottom: 4px; }
  .tech-tags { gap: 8px; }
}

/* ── Alt section background ───────────────────────────────── */
.section-alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 48px 0;
}

/* ── Service grid ─────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.service-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.service-item p {
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ── Steps (How We Work) ──────────────────────────────────── */
.steps {
  margin-top: 24px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 4px;
}

.step p {
  color: var(--color-muted);
  font-size: 0.94rem;
  margin-bottom: 0;
}

/* ── Tech tags ────────────────────────────────────────────── */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

/* ── CTA section ──────────────────────────────────────────── */
.cta-section h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-section p {
  color: var(--color-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background .15s;
}

.btn:hover {
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}
