/* iQHOME content pages: FAQ, guides, disclaimer (teal theme) */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --ink: #0a2540;
  --body: #425466;
  --muted: #6b7c93;
  --border: #e6ebf1;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.08);
  --accent-text: #0f766e;
  --shadow-sm: 0 2px 5px rgba(50, 50, 93, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --radius-lg: 12px;
  --radius-pill: 999px;
  --max-width: 1140px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  line-height: 1.6;
}

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

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

.page-shell::before {
  content: "";
  position: absolute;
  top: 0;
  right: -12%;
  width: min(780px, 72vw);
  height: min(1320px, 130vh);
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 92% 48% at 84% 0%, rgba(13, 148, 136, 0.18), transparent 68%),
    radial-gradient(ellipse 78% 48% at 68% 28%, rgba(0, 212, 170, 0.1), transparent 66%);
  filter: blur(72px);
  opacity: 0.85;
}

.shell-inner {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
  position: relative;
  z-index: 1;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  margin-bottom: 8px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
}

.nav-title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav-title span {
  color: var(--accent);
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  color: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-right {
  justify-self: end;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

.article-hero {
  margin-top: 48px;
  margin-bottom: 32px;
  text-align: center;
  padding: 0 8px;
}

.hero-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-text);
  border: 1px solid #99f6e4;
  background: var(--accent-soft);
}

.article-title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 auto;
  max-width: 20ch;
  color: var(--ink);
}

.article-title .accent {
  color: var(--accent);
}

.article-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  color: var(--body);
  max-width: 52ch;
  margin: 16px auto 0;
}

.content-shell {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.panel {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.panel-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.info-card h3,
.section-heading {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.lead,
.panel p,
.info-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--body);
}

.lead + .lead,
.panel p + p {
  margin-top: 12px;
}

.stack {
  display: grid;
  gap: 16px;
}

.list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.list li + li {
  margin-top: 8px;
}

.list strong {
  color: var(--ink);
}

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

.guide-link {
  display: block;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.guide-link:hover {
  border-color: #99f6e4;
  box-shadow: var(--shadow-sm);
  color: var(--accent-hover);
}

.guide-link span {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--muted);
}

.faq-wrap {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer-inner {
  padding: 0 18px 16px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--body);
}

.faq-answer-inner p {
  margin: 0;
}

.faq-answer-inner p + p {
  margin-top: 10px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.ih-footer {
  padding: 40px 0 32px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
  background: var(--bg);
}

.ih-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ih-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
}

.ih-footer-links a {
  color: var(--body);
  font-size: 0.8125rem;
  text-decoration: none;
}

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

.ih-footer-right {
  color: var(--muted);
}

@media (max-width: 960px) {
  .panel-grid,
  .panel-grid.two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-center {
    display: none;
  }
}
