/* ═══════════════════════════════════════════
   Connected & Protected — Shared Stylesheet
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --cream: #faf7f2;
  --warm-white: #fff9f2;
  --charcoal: #2c2825;
  --medium: #5c534a;
  --light: #9c8f84;
  --accent: #c0622a;
  --accent-light: #f0ddd0;
  --accent-soft: #faeee6;
  --green: #3a7d5a;
  --green-light: #d4ede0;
  --amber: #c08a20;
  --amber-light: #fdf0d0;
  --red-soft: #c04040;
  --red-light: #fde8e8;
  --blue: #2a6496;
  --blue-light: #dceeff;
  --border: #e8e0d8;
  --shadow: rgba(44,40,37,0.08);
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.75;
}

/* ── TOP SITE NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.nav-brand-icon {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.nav-brand-text {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2;
}

.nav-brand-text span {
  display: block;
  font-size: 0.62rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
  flex: 1;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--medium);
  text-decoration: none;
  white-space: nowrap;
  padding: 0 0.75rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

/* ── HERO ── */
.hero {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 2rem 3.5rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 2rem;
  padding: 0.3rem 1rem;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.25;
  max-width: 680px;
  margin: 0 auto 1rem;
}

.hero h1 em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 1rem;
  color: var(--medium);
  max-width: 540px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

.hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  color: var(--medium);
  background: var(--cream);
}

/* ── CONTENT AREA ── */
.content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

/* ── SECTIONS ── */
section { padding-top: 3.5rem; }

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.4rem;
}

h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--charcoal);
  margin-bottom: 1.1rem;
}

h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 2rem 0 0.5rem;
}

p { color: var(--medium); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0.75rem 0 0;
}

/* ── CALLOUTS ── */
.callout {
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.callout-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.callout-body { flex: 1; }
.callout-body strong { display: block; font-weight: 600; margin-bottom: 0.25rem; font-size: 0.93rem; }
.callout-body p { font-size: 0.88rem; margin: 0; }

.callout.tip    { background: var(--accent-soft); border-left: 3px solid var(--accent); }
.callout.tip .callout-body strong { color: var(--accent); }
.callout.info   { background: var(--green-light); border-left: 3px solid var(--green); }
.callout.info .callout-body strong { color: var(--green); }
.callout.warning { background: var(--amber-light); border-left: 3px solid var(--amber); }
.callout.warning .callout-body strong { color: var(--amber); }
.callout.caution { background: var(--red-light); border-left: 3px solid var(--red-soft); }
.callout.caution .callout-body strong { color: var(--red-soft); }
.callout.note   { background: var(--blue-light); border-left: 3px solid var(--blue); }
.callout.note .callout-body strong { color: var(--blue); }

/* ── STEP FLOW ── */
.flow { display: flex; flex-direction: column; margin: 1.75rem 0; }

.flow-item { display: flex; gap: 1.1rem; align-items: flex-start; }

.flow-spine { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }

.flow-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.flow-line { width: 2px; flex: 1; min-height: 20px; background: var(--border); margin: 3px 0; }

.flow-content { padding-bottom: 1.5rem; padding-top: 0.4rem; }
.flow-content h4 { font-weight: 600; font-size: 0.93rem; color: var(--charcoal); margin-bottom: 0.25rem; }
.flow-content p { font-size: 0.88rem; margin: 0; }

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

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

.feature-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
}

.feature-card .fc-icon { font-size: 1.3rem; margin-bottom: 0.4rem; display: block; }
.feature-card h4 { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); margin-bottom: 0.3rem; }
.feature-card p { font-size: 0.84rem; margin: 0; }

/* ── PROS/CONS ── */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

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

.pc-col { border-radius: 10px; padding: 1.1rem 1.3rem; }
.pc-col.pros { background: var(--green-light); border: 1px solid #b0ddc5; }
.pc-col.cons { background: var(--red-light); border: 1px solid #f0b8b8; }
.pc-col h4 { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.8rem; }
.pc-col.pros h4 { color: var(--green); }
.pc-col.cons h4 { color: var(--red-soft); }
.pc-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.pc-col li { font-size: 0.86rem; color: var(--charcoal); display: flex; gap: 0.45rem; align-items: flex-start; }
.pc-col li::before { flex-shrink: 0; margin-top: 0.15rem; }
.pc-col.pros li::before { content: "✓"; color: var(--green); font-weight: 700; }
.pc-col.cons li::before { content: "✗"; color: var(--red-soft); font-weight: 700; }

/* ── LIMIT LIST ── */
.limit-list { display: flex; flex-direction: column; gap: 0.9rem; margin: 1.5rem 0; }

.limit-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.limit-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.limit-body h4 { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); margin-bottom: 0.2rem; }
.limit-body p { font-size: 0.86rem; margin: 0; }

/* ── CLOSING ── */
.closing {
  margin-top: 4rem;
  background: var(--charcoal);
  border-radius: 16px;
  padding: 2.75rem 2.25rem;
  text-align: center;
  color: #fff;
}

.closing h2 { font-family: 'Lora', serif; color: #fff; margin-bottom: 0.65rem; }
.closing p { color: rgba(255,255,255,0.6); max-width: 500px; margin: 0 auto; font-size: 0.93rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow { animation: fadeUp 0.5s ease 0.05s both; }
.hero h1      { animation: fadeUp 0.5s ease 0.15s both; }
.hero-sub     { animation: fadeUp 0.5s ease 0.25s both; }
.hero-pills   { animation: fadeUp 0.5s ease 0.35s both; }

/* ── PAGE BREADCRUMB ── */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--light);
  padding: 0.75rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }
