/* iphoneabonnemang.se — guide section styles, v3 "Prislappen".
   Loads after style.css. Same tokens and font stacks as the main
   stylesheet (repeated here so the guides also render correctly if this
   file is ever used on its own). Text is left-aligned throughout. */

:root {
  --ink: #13182B;
  --muted: #49546B;
  --accent: #213CF3;
  --total: #E7FF79;
  --surface: #F2F3F9;
  --line: #D3D7E3;
  --font-head: 'Newsreader', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

/* ---- hub ---------------------------------------------------------------- */
.guide-cards {
  display: grid;
  gap: 16px;
  margin: 20px 0 8px;
  text-align: left;
}
@media (min-width: 720px) { .guide-cards { grid-template-columns: 1fr 1fr; } }
.guide-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--ink);
}
.guide-card:hover { border-color: var(--accent); }
.guide-card strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--accent);
  margin-bottom: 6px;
}
.guide-card span { display: block; color: var(--muted); font-size: 0.95rem; }

/* ---- article -------------------------------------------------------------- */
.guide-article {
  max-width: 46rem;
  text-align: left;
}
.guide-article h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.guide-article h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.15;
  margin-top: 2em;
}
.guide-article h3 { font-size: 1.15rem; }
.guide-article p, .guide-article li { font-size: 1.02rem; line-height: 1.65; }
.guide-article a { color: var(--accent); }

/* Tables stay inside the column: scroll-safe wrapper behaviour on phones. */
.guide-article table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.guide-article th, .guide-article td {
  border-bottom: 1px solid var(--line);
  padding: 8px;
  text-align: left;
  vertical-align: top;
}
.guide-article thead th { border-bottom: 2px solid var(--accent); }
@media (max-width: 720px) {
  .guide-article table { display: block; overflow-x: auto; }
}

.guide-article .keybox {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
  text-align: left;
}
.guide-article .keybox ul { margin: 0; padding-left: 20px; }
.guide-article .keybox li + li { margin-top: 6px; }

.guide-article .sources {
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 16px;
  text-align: left;
}
.guide-article .sources h2 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0;
}
