/* Felles stilark for www.sendit.no */
:root {
  --navy: #16325c;
  --navy-deep: #0d2140;
  --teal: #1a9e96;
  --teal-dark: #127a74;
  --ink: #1b2533;
  --muted: #566273;
  --line: #e2e7ee;
  --bg: #f4f6f9;
  --card: #ffffff;
  --warn-bg: #fff6e5;
  --warn-line: #f0b44c;
  --warn-ink: #7a4308;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3 { line-height: 1.2; text-wrap: balance; color: var(--navy); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.08rem; font-weight: 700; }
.eyebrow {
  display: inline-block;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 0.6rem;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Top bar ─────────────────────────────── */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 68px;
}
.brand img { height: 30px; width: auto; }
.topnav { display: flex; align-items: center; gap: 1.4rem; }
.topnav a.link {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem;
}
.topnav a.link:hover { color: var(--teal-dark); }
.topnav .btn { padding: 0.55rem 1rem; font-size: 0.88rem; }
@media (max-width: 860px) { .topnav a.link { display: none; } }
@media (max-width: 420px) { .brand img { height: 24px; } .topnav .btn { padding: 0.5rem 0.8rem; } }

/* ── Hero ────────────────────────────────── */
.hero {
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(26,158,150,0.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.hero-logo { height: 44px; width: auto; margin-bottom: 1.4rem; }
.hero h1 {
  color: #fff; font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero p { color: rgba(255,255,255,0.82); font-size: 1.08rem; max-width: 52ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1.8rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.75);
}
.hero-facts span::before { content: '✓'; color: #5fd3c9; font-weight: 800; margin-right: 0.4rem; }
.hero-figure {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 1rem;
  justify-self: center;
  max-width: 340px;
}
.hero-figure img { border-radius: 12px; width: 100%; height: auto; }
.hero-figure figcaption { font-size: 0.82rem; color: rgba(255,255,255,0.7); margin-top: 0.7rem; text-align: center; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { max-width: 260px; }
}

/* ── 2G notice ───────────────────────────── */
.notice { margin-top: -1.6rem; position: relative; z-index: 2; }
.notice-card {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  display: flex; gap: 1rem; align-items: flex-start;
  box-shadow: 0 10px 30px rgba(13,33,64,0.12);
}
.notice-card .ico {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--warn-line); color: #fff; display: grid; place-items: center; font-weight: 800;
}
.notice-card h2 { font-size: 1.05rem; color: var(--warn-ink); margin-bottom: 0.25rem; }
.notice-card p { color: var(--warn-ink); font-size: 0.93rem; }
.notice-card a { color: var(--warn-ink); font-weight: 700; }

/* ── Sections ────────────────────────────── */
section.band { padding-block: clamp(3rem, 7vw, 5rem); }
section.band.white { background: #fff; }
.sec-head { margin-bottom: 2rem; }
.sec-head h2 { margin-bottom: 0.6rem; }

.grid { display: grid; gap: 1rem; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .g3, .g2 { grid-template-columns: 1fr; } }

.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.2rem;
}
section.band.white .tile { background: var(--bg); border-color: transparent; }
.tile .ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(26,158,150,0.12); color: var(--teal-dark); margin-bottom: 0.9rem;
}
.tile .ico svg { width: 22px; height: 22px; }
.tile h3 { margin-bottom: 0.35rem; }
.tile p { color: var(--muted); font-size: 0.93rem; }

/* ── Upgrade 2G → 4G ─────────────────────── */
.upgrade { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 820px) { .upgrade { grid-template-columns: 1fr; } }
.swap {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 0.8rem;
}
.swap figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.7rem; }
.swap img { border-radius: 8px; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.swap figcaption { font-size: 0.8rem; font-weight: 700; text-align: center; margin-top: 0.5rem; color: var(--muted); }
.swap figcaption b { display: block; color: var(--navy); font-size: 0.92rem; }
.swap .arrow {
  width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center;
}
.swap .arrow svg { width: 20px; height: 20px; }
.checklist { list-style: none; margin: 1.2rem 0 1.6rem; display: grid; gap: 0.6rem; }
.checklist li { padding-left: 1.8rem; position: relative; color: var(--ink); }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 0.3rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.timeline {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; margin-bottom: 1.6rem;
}
.timeline > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 1rem; }
.timeline .when { font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.timeline .what { font-size: 0.88rem; color: var(--muted); }
.timeline .done .when { color: #b42318; }

/* ── Login cards ─────────────────────────── */
.login-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem;
}
.login-card.main { border: 2px solid var(--teal); box-shadow: 0 12px 30px rgba(26,158,150,0.12); }
.login-card .tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 999px; background: rgba(26,158,150,0.12); color: var(--teal-dark);
}
.login-card.legacy .tag { background: #eef1f5; color: var(--muted); }
.login-card p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.login-card .btn { align-self: flex-start; }

/* ── Split rows (el / dealer) ────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
}
.panel img { width: 96px; height: auto; border-radius: 10px; }
.panel h3 { margin-bottom: 0.35rem; }
.panel p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0.6rem; }
.panel dl { font-size: 0.92rem; display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.8rem; }
.panel dt { color: var(--muted); }
.panel dd { font-weight: 600; }
@media (max-width: 420px) { .panel { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────── */
.faq { display: grid; gap: 0.6rem; max-width: 820px; }
.faq details { background: var(--bg); border-radius: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 1.2rem; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.4rem; line-height: 1; color: var(--teal-dark); font-weight: 600; transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.2rem 1.1rem; color: var(--muted); font-size: 0.95rem; }
.faq .answer p + p { margin-top: 0.6rem; }

/* ── Contact ─────────────────────────────── */
.contact { display: grid; grid-template-columns: 320px 1fr; gap: 1rem; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.contact-card h3 { margin-bottom: 0.8rem; }
.contact-card dl { display: grid; gap: 0.9rem; font-size: 0.95rem; }
.contact-card dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-card dd a { font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 300px; background: #dde3ea; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }

/* ── Footer ──────────────────────────────── */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.72); font-size: 0.86rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; padding-block: 1.6rem; }
footer a { color: #fff; }
footer a:hover { color: #5fd3c9; }

/* ── Undersider ──────────────────────────── */
.crumbs { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.crumbs a { color: #fff; }
.hero.page .wrap { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 820px) { .hero.page .wrap { grid-template-columns: 1fr; } }
.hero-dates { display: grid; gap: 0.7rem; }
.hero-dates > div {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px; padding: 1rem 1.2rem;
}
.hero-dates .when { font-size: 1.35rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.hero-dates .what { color: rgba(255,255,255,0.78); font-size: 0.95rem; }
.hero-dates .done .when { color: #ffb4a8; }

.prose { max-width: 70ch; }
.prose p { color: var(--muted); margin-bottom: 0.9rem; }
.prose p strong { color: var(--ink); }

.signs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 700px) { .signs { grid-template-columns: 1fr; } }
.sign {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
}
section.band.white .sign { background: var(--bg); border-color: transparent; }
.sign .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.95rem;
}
.sign h3 { margin-bottom: 0.3rem; }
.sign p { color: var(--muted); font-size: 0.93rem; }
.sign img { margin-top: 0.8rem; width: 140px; border-radius: 10px; border: 1px solid var(--line); }

.steps { list-style: none; counter-reset: step; display: grid; gap: 1rem; max-width: 760px; }
.steps li {
  counter-increment: step; position: relative; padding: 1.2rem 1.3rem 1.2rem 4.2rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.steps li::before {
  content: counter(step); position: absolute; left: 1.2rem; top: 1.15rem;
  width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.steps h3 { margin-bottom: 0.25rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }

.cta-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: 0.3rem; }
.cta-band p { color: rgba(255,255,255,0.8); }
.cta-band .ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
