/* ─── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --bg:        #0f0f11;
  --bg-alt:    #17171b;
  --bg-card:   #1c1c21;
  --border:    #2a2a32;
  --text:      #e8e8ee;
  --text-muted:#8888a0;
  --amber:     #f5a623;
  --amber-dim: #c07d0f;
  --blue:      #4a9eff;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(0,0,0,.35);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

code {
  font-family: ui-monospace, monospace;
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .85em;
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.section-header p  { color: var(--text-muted); font-size: 1.1rem; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: opacity .15s, transform .1s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }

.btn-sm  { padding: 8px 16px;  font-size: .875rem; }
.btn-lg  { padding: 14px 28px; font-size: 1rem;    }
.btn-full { width: 100%; justify-content: center; margin-top: 16px; }

.btn-primary { background: var(--text);  color: var(--bg);    }
.btn-amber   { background: var(--amber); color: var(--bg);    }
.btn-ghost   { background: transparent; color: var(--text); border: 1.5px solid var(--border); }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,15,17,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; opacity: .85; }
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ─── Language switcher ──────────────────────────────────────────────────── */
.lang-switcher {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-shrink: 0;
}
.lang-switcher a {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: .04em;
  transition: color .15s;
  text-decoration: none;
}
.lang-switcher a:hover { color: var(--text); }
.lang-switcher a[aria-current="page"] {
  color: var(--amber);
  background: rgba(245,166,35,.12);
}

/* ─── Slack mockup ───────────────────────────────────────────────────────── */
.slack-mockup {
  max-width: 520px;
  margin: 56px auto 0;
  background: #1a1d21;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
  overflow: hidden;
  text-align: left;
}
.slack-titlebar {
  background: #19171d;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 11px 16px;
  font-size: .82rem;
  font-weight: 700;
  color: #d1d2d3;
  display: flex;
  align-items: center;
  gap: 6px;
}
.slack-titlebar::before {
  content: '#';
  color: #6b6f76;
  font-weight: 400;
}
.slack-messages {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.slack-message {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.slack-avatar {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: #fff;
}
.slack-avatar-munin {
  background: var(--bg);
  border: 1px solid rgba(245,166,35,.3);
}
.slack-content { flex: 1; min-width: 0; }
.slack-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 3px;
}
.slack-username {
  font-weight: 700;
  font-size: .88rem;
  color: #d1d2d3;
}
.slack-badge {
  font-size: .62rem;
  background: rgba(255,255,255,.12);
  color: #9b9ca3;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: .04em;
}
.slack-time {
  font-size: .73rem;
  color: #5c5f66;
}
.slack-content p {
  font-size: .88rem;
  color: #d1d2d3;
  line-height: 1.55;
  margin: 0;
}
.slack-content strong { color: #fff; }
.slack-footnote {
  font-size: .78rem !important;
  color: #5c5f66 !important;
  margin-top: 5px !important;
}

/* ─── Mockup scroll section ─────────────────────────────────────────────── */
.mockup-section {
  padding: 72px 0;
  overflow: hidden;
}
.mockup-section .section-header { margin-bottom: 40px; }
.mockup-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 0 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.mockup-scroll:active { cursor: grabbing; }
.mockup-scroll::-webkit-scrollbar { height: 3px; }
.mockup-scroll::-webkit-scrollbar-track { background: transparent; }
.mockup-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.mockup-scroll .slack-mockup {
  min-width: 360px;
  max-width: 360px;
  margin: 0;
  scroll-snap-align: start;
  flex-shrink: 0;
}
.mockup-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ─── Voice message bubble ───────────────────────────────────────────────── */
.voice-message {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 7px 12px 7px 8px;
}
.voice-play {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .55rem;
  color: var(--bg);
  padding-left: 2px;
}
.voice-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
}
.voice-bars span {
  display: block;
  width: 3px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
}
.voice-duration {
  font-size: .73rem;
  color: #5c5f66;
}

/* ─── File attachment bubble ─────────────────────────────────────────────── */
.file-attachment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: .82rem;
  color: #9b9ca3;
  margin-top: 4px;
}
.file-attachment span { color: var(--amber); font-size: .95rem; }

/* ─── Onboarding steps (vertical) ───────────────────────────────────────── */
.onboarding-steps {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.onboarding-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.onboarding-step:last-child { border-bottom: none; }
.onboarding-step .step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245,166,35,.12);
  color: var(--amber);
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.onboarding-step h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.onboarding-step p  { color: var(--text-muted); font-size: .95rem; line-height: 1.6; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 96px;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(245,166,35,.12) 0%, transparent 70%);
}
.badge {
  display: inline-block;
  background: rgba(245,166,35,.12);
  color: var(--amber);
  border: 1px solid rgba(245,166,35,.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-sub strong { color: var(--text); }
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-proof {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: .875rem;
}

/* ─── Proof bar ──────────────────────────────────────────────────────────── */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.proof-bar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.proof-label { color: var(--text-muted); font-size: .875rem; }
.proof-platforms {
  display: flex;
  gap: 20px;
}
.proof-platforms span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
}

/* ─── Steps ──────────────────────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 24px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245,166,35,.15);
  color: var(--amber);
  font-weight: 700;
  font-size: .875rem;
  margin-bottom: 16px;
}
.step-icon { font-size: 2.4rem; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.step p  { color: var(--text-muted); font-size: .95rem; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--border);
  padding-top: 60px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
}

/* ─── Features ───────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature-icon { font-size: 1.8rem; margin-bottom: 16px; }
.feature h3   { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature p    { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ─── Pricing ────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.pricing-card-featured {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), var(--shadow);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--bg);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name  { font-size: 1rem; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; }
.plan-price { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.price-amount { font-size: 2.4rem; }
.plan-desc  { color: var(--text-muted); font-size: .875rem; margin-bottom: 24px; }
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .9rem;
  margin-bottom: 8px;
}
.plan-features li { color: var(--text-muted); }
.plan-features li::first-letter { /* checkmark color handled inline */ }

.checkout-form input[type="tel"] {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.checkout-form input[type="tel"]:focus { border-color: var(--amber); }
.checkout-form input[type="tel"]::placeholder { color: var(--text-muted); }

.vipps-inline { vertical-align: middle; filter: brightness(0) invert(0.15); }
.btn-amber .vipps-inline, .btn-primary .vipps-inline { filter: none; }

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: .875rem;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 20px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform .2s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.65;
}

/* ─── CTA section ────────────────────────────────────────────────────────── */
.cta-section {
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(245,166,35,.1) 0%, transparent 70%);
  padding: 96px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-section h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 16px; }
.cta-section p  { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 36px; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-brand p { color: var(--text-muted); font-size: .875rem; margin-top: 10px; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a { color: var(--text-muted); font-size: .875rem; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-bottom p { color: var(--text-muted); font-size: .8rem; }

/* ─── Error state ────────────────────────────────────────────────────────── */
.form-error {
  color: #ff6b6b;
  font-size: .825rem;
  margin-top: 8px;
  display: none;
}
.form-error.visible { display: block; }
