/* ============================================================
   Spinbara Copyright & Policy Index — styles.css
   Clean corporate style: mint-green + neutral grey palette
   ============================================================ */

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

:root {
  --mint:       #3dbfa0;
  --mint-light: #e8f8f4;
  --mint-mid:   #b2e8da;
  --grey-dark:  #2c3340;
  --grey-mid:   #5a6272;
  --grey-light: #f4f5f7;
  --border:     #dde2ea;
  --white:      #ffffff;
  --shadow:     0 2px 10px rgba(0,0,0,.07);
  --radius:     8px;
  --font:       'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-w:      1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-dark);
  background: var(--white);
}

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

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

/* ── Layout helpers ───────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section   { padding: 64px 0; }
.section--grey { background: var(--grey-light); }
.section--mint { background: var(--mint-light); }

/* ── Top strip ────────────────────────────────────────────── */
.top-strip {
  background: var(--grey-dark);
  color: #b8c0cc;
  font-size: 13px;
  text-align: center;
  padding: 8px 24px;
  letter-spacing: .02em;
}
.top-strip a { color: var(--mint-mid); }

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--grey-dark);
  text-decoration: none;
}

.logo-icon {
  width: 34px; height: 34px;
  background: var(--mint);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav ul li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-mid);
  transition: color .2s;
}

nav ul li a:hover,
nav ul li a.active { color: var(--mint); text-decoration: none; }

.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--grey-dark); border-radius: 2px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--mint-light) 0%, var(--white) 60%);
  padding: 80px 0 64px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--mint);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  color: var(--grey-dark);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 17px;
  color: var(--grey-mid);
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  border: none;
  text-decoration: none;
}
.btn:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }

.btn-primary { background: var(--mint); color: #fff; }
.btn-outline  { background: transparent; color: var(--mint); border: 2px solid var(--mint); }

.hero-note {
  font-size: 13px;
  color: #8a95a3;
  font-style: italic;
}
.hero-note a { color: var(--mint); }

/* ── Section headings ─────────────────────────────────────── */
.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--grey-dark);
  margin-bottom: 8px;
}
.section-sub {
  font-size: 15px;
  color: var(--grey-mid);
  margin-bottom: 40px;
  max-width: 560px;
}

/* ── Card grid ────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateY(-2px); }

.card-icon {
  width: 44px; height: 44px;
  background: var(--mint-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--grey-dark); }
.card p  { font-size: 14px; color: var(--grey-mid); line-height: 1.6; }
.card-link { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--mint); }

/* ── Reference banner ─────────────────────────────────────── */
.ref-banner {
  background: var(--mint-light);
  border-left: 4px solid var(--mint);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--grey-mid);
}
.ref-banner a { color: var(--mint); font-weight: 600; }

/* ── Steps ────────────────────────────────────────────────── */
.steps { display: flex; flex-wrap: wrap; gap: 20px; counter-reset: step; }

.step {
  flex: 1 1 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  box-shadow: var(--shadow);
}

.step-num {
  width: 36px; height: 36px;
  background: var(--mint);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}

.step h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step p  { font-size: 13px; color: var(--grey-mid); }

/* ── Content pages ────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--mint-light) 0%, var(--white) 60%);
  padding: 56px 0 44px;
}
.page-hero h1 { font-size: clamp(24px, 4vw, 38px); font-weight: 800; margin-bottom: 10px; }
.page-hero p  { font-size: 16px; color: var(--grey-mid); max-width: 580px; }

.content-body { max-width: 820px; }
.content-body h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; color: var(--grey-dark); border-bottom: 2px solid var(--mint-light); padding-bottom: 8px; }
.content-body h3 { font-size: 17px; font-weight: 700; margin: 28px 0 8px; color: var(--grey-dark); }
.content-body p  { margin-bottom: 16px; color: var(--grey-mid); }
.content-body ul, .content-body ol { margin: 0 0 16px 24px; color: var(--grey-mid); }
.content-body li { margin-bottom: 6px; }
.content-body a  { color: var(--mint); }

.info-box {
  background: var(--mint-light);
  border-left: 4px solid var(--mint);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--grey-mid);
}
.info-box strong { color: var(--grey-dark); }

.last-updated {
  display: inline-block;
  font-size: 12px;
  color: #8a95a3;
  background: var(--grey-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 8px;
}

/* ── Form ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--grey-dark); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  color: var(--grey-dark);
  background: var(--white);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--mint); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: #8a95a3; margin-top: 8px; }

/* ── Contact info block ───────────────────────────────────── */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.contact-card-icon { font-size: 28px; flex-shrink: 0; }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-card p  { font-size: 14px; color: var(--grey-mid); }
.contact-card a  { color: var(--mint); font-weight: 600; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--grey-dark);
  color: #b8c0cc;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 260px; }
.footer-brand a { color: var(--mint-mid); }

.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #8a95a3; transition: color .2s; }
.footer-col ul li a:hover { color: var(--mint-mid); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #6b7585;
}
.footer-bottom a { color: #8a95a3; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle  { display: flex; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 14px; }
  nav ul.open { display: flex; }
  header { position: relative; }
  .nav-inner { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid   { grid-template-columns: 1fr; }
  .steps       { flex-direction: column; }
}
