/* Shared styles for ViaHub content pages (features, guides, comparisons).
   Same palette and fonts as the home page. */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #14172b;
  --muted: #5b6178;
  --accent: #408cff;
  --accent-dark: #2f6fe0;
  --accent-soft: rgba(64, 140, 255, 0.10);
  --border: rgba(20, 23, 43, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; margin: 0; line-height: 1.2; }
a { color: var(--accent-dark); }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.top-nav { display: flex; flex-wrap: wrap; align-items: center; row-gap: 10px; padding: 24px 0; }
.brand { display: flex; align-items: center; gap: 8px; margin-right: 18px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 19px; text-decoration: none; color: var(--text); }
.brand img { width: 26px; height: 26px; border-radius: 8px; display: block; }
.top-nav .links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.top-nav .links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.top-nav .links a:hover, .top-nav .links a.current { color: var(--text); }

/* Breadcrumb */
.crumbs { font-size: 13px; color: var(--muted); margin: 8px 0 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* Page hero */
.page-hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; padding: 20px 0 50px; }
.page-hero.solo { grid-template-columns: 1fr; text-align: left; }
.eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; letter-spacing: -0.01em; }
.page-hero .lead { font-size: 18px; color: var(--muted); margin: 16px 0 0; max-width: 620px; }
.hero-shot { justify-self: center; width: 250px; aspect-ratio: 1170 / 2532; border-radius: 30px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 50px -22px rgba(20, 23, 43, 0.4); background: var(--surface); }
.hero-shot img, .hero-shot video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 24px 50px -22px rgba(20, 23, 43, 0.4); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* App Store button */
.store-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; background: #000; color: #fff; text-decoration: none; padding: 10px 18px 10px 16px; border-radius: 12px; transition: opacity 0.15s ease, transform 0.15s ease; }
.store-badge:hover { opacity: 0.88; transform: translateY(-1px); }
.store-badge svg { width: 24px; height: 24px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge small { font-size: 11px; font-weight: 500; }
.store-badge strong { font-size: 19px; font-weight: 600; font-family: 'Sora', sans-serif; }
.content .store-badge strong, .content .store-badge small { color: #fff; }

/* Content */
.content section { margin: 0 0 44px; }
.content h2 { font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.content h3 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; }
.content p, .content li { color: var(--muted); font-size: 16.5px; }
.content p { margin: 0 0 14px; }
.content ul, .content ol { padding-left: 22px; margin: 0 0 14px; }
.content li { margin-bottom: 8px; }
.content strong { color: var(--text); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 18px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; }
.card h3 { margin: 0 0 6px; font-size: 16.5px; }
.card p { margin: 0; font-size: 15px; }

.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { position: relative; padding: 16px 20px 16px 62px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-size: 14px; }

.day { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; margin-bottom: 14px; }
.day h3 { margin: 0 0 8px; }
.day .city { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.city.oslo { background: rgba(64, 140, 255, 0.12); color: #2f6fe0; }
.city.cph { background: rgba(236, 104, 76, 0.12); color: #c4472d; }
.day ul { margin-bottom: 0; }

.note { background: var(--accent-soft); border-radius: 14px; padding: 14px 18px; color: var(--text); font-size: 15px; margin: 18px 0; }

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-family: 'Sora', sans-serif; font-size: 14px; background: rgba(20, 23, 43, 0.03); }
tr:last-child td { border-bottom: none; }
td { color: var(--muted); }
td:first-child { color: var(--text); font-weight: 600; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--text); font-size: 16px; }
.faq details p { margin: 10px 0 0; }

/* CTA */
.cta { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 40px 24px; margin: 20px 0 60px; }
.cta h2 { font-size: 26px; margin-bottom: 8px; }
.cta p { color: var(--muted); margin: 0; }

.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.related a { text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; color: var(--text); }
.related a:hover { border-color: var(--accent); }

/* Footer */
footer { padding: 0 0 40px; color: var(--muted); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 36px 0 28px; border-top: 1px solid var(--border); }
.footer-grid h4 { margin: 0 0 10px; font-size: 13px; color: var(--text); }
.footer-grid a { display: block; padding: 3px 0; color: var(--muted); text-decoration: none; font-size: 13.5px; }
.footer-grid a:hover { color: var(--text); }
.copyright { text-align: center; margin: 0; }

@media (max-width: 760px) {
  .page-hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-shot { width: 210px; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
