/*! © 2015–2026 YourWeb (yourweb.se). All rights reserved. Proprietary – see LICENSE.md */
/* Landing pages generated by scripts/build-landing-pages.py (body.lp-page).
   Load after /tjanster/services.css (tokens, hero, sections, buttons, FAQ, CTA)
   and before /header.css. Every page has the same order:
   hero with price list, explanation, offers, steps, references, FAQ, links, CTA. */

.lp-page {
  --lp-blue: #06659f;
  --lp-soft: rgba(255, 255, 255, 0.72);
}

.lp-page main a:not(.button):not(.lw) {
  text-underline-offset: 0.18em;
}

.lp-nb {
  white-space: nowrap;
}

/* Yellow focus rings vanish on white and cream; blue keeps 3:1 there. */
.lp-page .lp-light :focus-visible {
  outline-color: var(--lp-blue);
}

/* ---------- Numbered eyebrow: 01 ── Label ---------- */

.lp-eyebrow {
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0;
  line-height: 1.5;
}

.lp-eyebrow::before {
  content: none;
}

.lp-eyebrow__num {
  display: inline-flex;
  flex: none;
  align-items: center;
  margin-right: 0.7rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.lp-eyebrow__num::after {
  width: 2.2rem;
  height: 2px;
  margin-left: 0.7rem;
  background: currentColor;
  content: "";
}

.lp-page .section-heading .lp-eyebrow {
  margin-bottom: 0.85rem;
}

.lp-light .lp-eyebrow {
  color: var(--ink);
}

.lp-light .lp-eyebrow__num {
  color: var(--lp-blue);
}

.lp-page .section--dark .lp-eyebrow,
.lp-page .lp-refs .lp-eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.lp-page .section--dark .lp-eyebrow__num,
.lp-page .lp-refs .lp-eyebrow__num {
  color: var(--yellow-500);
}

/* ---------- Breadcrumbs: same look, finger-sized targets ---------- */

.lp-page .breadcrumbs a,
.lp-page .breadcrumbs [aria-current="page"] {
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.15rem;
}

.lp-page .breadcrumbs a {
  min-width: 2.75rem;
}

/* ---------- 01 Hero ---------- */

.lp-hero {
  padding-top: clamp(11rem, 14vw, 13.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  background:
    linear-gradient(115deg, rgba(8, 118, 185, 0.16), transparent 44%),
    var(--navy-950);
}

.lp-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.78fr);
  align-items: center;
  gap: clamp(2.25rem, 5vw, 5rem);
}

.lp-hero h1 {
  max-width: 17ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.3rem, 4.7vw, 4.3rem);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.lp-hero--long h1 {
  max-width: 21ch;
  font-size: clamp(1.9rem, 3.7vw, 3.3rem);
  letter-spacing: -0.042em;
  line-height: 1.08;
}

.lp-hero .hero-lead {
  max-width: 38rem;
  margin-bottom: 1.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  line-height: 1.6;
}

.lp-hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  max-width: 38rem;
  margin: 1.5rem 0 0;
  padding: 0;
  color: var(--lp-soft);
  font-size: 0.86rem;
  font-weight: 600;
  list-style: none;
}

.lp-hero__note li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lp-hero__note li::before {
  flex: none;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--yellow-500);
  content: "";
}

/* Price list: every offer on the page with its price, linking to its block. */
.lp-prices {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(6, 24, 39, 0.9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.lp-prices__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1.05rem 1.25rem 0.95rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lp-prices__title span {
  color: var(--yellow-500);
}

.lp-prices__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-prices__list li + li {
  border-top: 1px solid var(--line-dark);
}

.lp-prices__list a {
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem;
  min-height: 4.1rem;
  padding: 0.95rem 1.25rem;
  color: var(--white);
  text-decoration: none;
  transition: background 160ms ease;
}

.lp-prices__list a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lp-prices__list a:focus-visible {
  outline-offset: -4px;
}

.lp-prices__n {
  padding-top: 0.2rem;
  color: var(--yellow-500);
  font-size: 0.74rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.lp-prices__name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.lp-prices__name small,
.lp-prices__price small {
  display: block;
  color: var(--lp-soft);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.lp-prices__name small {
  margin-top: 0.2rem;
}

.lp-prices__price {
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
}

.lp-prices__price em {
  font-weight: 600;
}

.lp-prices__note {
  margin: 0;
  padding: 0.95rem 1.25rem 1.1rem;
  border-top: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--lp-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ---------- Shared section rhythm ---------- */

.lp-section {
  padding-top: clamp(4.25rem, 8vw, 7rem);
  padding-bottom: clamp(4.25rem, 8vw, 7rem);
}

.lp-section .section-heading {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.lp-section .section-heading h2,
.lp-guide__intro h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  letter-spacing: -0.042em;
  line-height: 1.08;
}

.lp-section .section-heading > p {
  max-width: 34rem;
  font-size: 1.02rem;
}

/* ---------- 02 Explanation ---------- */

.lp-guide {
  background: var(--cream-50);
}

.lp-guide__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.lp-guide__intro {
  position: sticky;
  top: 7rem;
}

.lp-guide__intro h2 {
  margin-bottom: 1.1rem;
  font-weight: 800;
}

.lp-guide__intro > p:last-child {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.lp-guide__body {
  display: grid;
  gap: 0;
}

.lp-note {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line-light);
}

.lp-note:first-child {
  padding-top: 0;
  border-top: 0;
}

.lp-note:last-child {
  padding-bottom: 0;
}

.lp-note h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.lp-note p,
.lp-note li {
  color: var(--muted);
  font-size: 1.02rem;
}

.lp-note p {
  max-width: 44rem;
  margin: 0 0 0.85rem;
}

.lp-note > :last-child {
  margin-bottom: 0;
}

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

.lp-note a,
.faq-item p a,
.lp-offer__lead a {
  color: var(--lp-blue);
  font-weight: 700;
}

.lp-list {
  display: grid;
  max-width: 44rem;
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  gap: 0.55rem;
}

.lp-list li {
  position: relative;
  padding-left: 1.35rem;
}

.lp-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--yellow-500);
  box-shadow: 0 0 0 1px rgba(16, 44, 67, 0.25);
  content: "";
}

/* DNS records and other literal values. */
.lp-records {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.9rem;
}

.lp-record {
  padding: 1.35rem 1.4rem 1.4rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: var(--white);
}

.lp-record h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.75rem;
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.lp-record h3 span {
  color: var(--lp-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lp-record p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.lp-record__label {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-code,
.lp-note code,
.faq-item code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.86em;
  overflow-wrap: anywhere;
}

.lp-note code,
.faq-item code {
  padding: 0.1em 0.35em;
  border-radius: 0.3rem;
  background: rgba(16, 44, 67, 0.08);
  color: var(--ink);
}

.lp-code {
  display: block;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: #e8f3fb;
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

/* A free tool that answers the page's question (rendered when the tool exists). */
.lp-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: var(--white);
}

.lp-callout strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.12rem;
}

.lp-callout p {
  margin: 0;
  color: var(--lp-soft);
  font-size: 0.95rem;
}

/* ---------- 03 Offers ---------- */

.lp-offers {
  background: var(--cream-100);
}

.lp-offers__list {
  display: grid;
  gap: 1.1rem;
}

.lp-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "head included scope"
    "actions included scope";
  grid-template-rows: auto 1fr;
  gap: 1.5rem clamp(1.5rem, 3.2vw, 3.25rem);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  scroll-margin-top: 6.5rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lp-offers__more {
  margin: clamp(2.25rem, 4vw, 3.25rem) 0 1.1rem;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.lp-offers__compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.lp-offer--compact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lp-offer--compact h4 {
  margin: 0 0 0.95rem;
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.lp-offer--compact .lp-offer__actions {
  align-self: stretch;
  margin-top: auto;
}

.lp-offer:target {
  border-color: var(--yellow-500);
  box-shadow: 0 0 0 4px rgba(254, 196, 0, 0.5), var(--shadow);
}

.lp-offer__head {
  grid-area: head;
  min-width: 0;
}

.lp-offer__index {
  display: inline-grid;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  place-items: center;
  background: var(--yellow-500);
  color: var(--navy-950);
  font-size: 0.8rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.lp-offer h3 {
  margin-bottom: 0.95rem;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.lp-offer__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.1rem 0.55rem;
  margin: 0 0 1.05rem;
  padding: 0.6rem 0.95rem;
  border-left: 4px solid var(--yellow-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--cream-100);
  color: var(--navy-950);
  line-height: 1.15;
}

.lp-offer__price strong {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.lp-offer__price span {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.lp-offer__hook {
  margin-bottom: 0.5rem;
  color: var(--navy-800);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.4;
}

.lp-offer__lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.lp-offer__included {
  grid-area: included;
  min-width: 0;
}

.lp-offer__scope {
  grid-area: scope;
  min-width: 0;
}

.lp-offer__label {
  margin: 0 0 0.7rem;
  color: var(--lp-blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lp-offer__scope .lp-offer__label:not(:first-child) {
  margin-top: 1.35rem;
}

.lp-offer__scope p:not(.lp-offer__label) {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.lp-check {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.6rem;
}

.lp-check li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.lp-check li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--lp-blue);
  content: "✓";
  font-weight: 900;
}

.lp-offer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: end;
  grid-area: actions;
  gap: 0.5rem 1.25rem;
}

.lp-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(16, 44, 67, 0.35);
}

.lp-more::after {
  color: var(--lp-blue);
  content: "→";
}

.lp-more:hover {
  text-decoration-color: currentColor;
}

/* ---------- 04 Steps and 05 references: one dark band ---------- */

.lp-steps .process {
  grid-template-columns: repeat(var(--lp-steps, 4), minmax(0, 1fr));
}

.lp-steps .process li {
  min-height: 12.5rem;
}

.lp-steps .process span {
  margin-bottom: 2.25rem;
}

.lp-steps .process p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.94rem;
}

.lp-refs {
  padding-top: 0;
  background: var(--navy-950);
  color: var(--white);
}

.lp-refs .section__inner {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line-dark);
}

.lp-refs .section-heading > p {
  color: rgba(255, 255, 255, 0.74);
}

.lp-refs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-refs__more {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
}

/* ---------- FAQ ---------- */

.lp-faq .faq-item summary {
  min-height: 4.5rem;
  line-height: 1.3;
}

.lp-faq .faq-item p {
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- Links onward ---------- */

.lp-related {
  background: var(--cream-50);
}

.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 7.5rem;
  padding: 1.25rem 3.2rem 1.3rem 1.35rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.lp-card::after {
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  color: var(--lp-blue);
  content: "→";
  font-weight: 800;
}

.lp-card:hover {
  border-color: var(--lp-blue);
  transform: translateY(-2px);
}

.lp-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
}

.lp-card span {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.lp-tools {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.lp-tools h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.lp-tools .lp-card {
  border-color: transparent;
  background: var(--navy-900);
  color: var(--white);
}

.lp-tools .lp-card span {
  color: var(--lp-soft);
}

.lp-tools .lp-card::after {
  color: var(--yellow-500);
}

/* ---------- Final call ---------- */

.lp-cta .lp-eyebrow {
  margin-bottom: 1rem;
  color: var(--navy-950);
}

.lp-cta h2 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 3.6vw, 3.3rem);
}

.lp-cta__actions {
  display: grid;
  justify-items: stretch;
  gap: 0.65rem;
  min-width: 15rem;
}

.lp-cta__actions .button--outline {
  border-color: var(--navy-950);
  color: var(--navy-950);
}

.lp-cta__actions .button--outline:hover {
  background: var(--navy-950);
  color: var(--white);
}

.lp-cta :focus-visible {
  outline-color: var(--navy-950);
}

/* ---------- Tablet ---------- */

@media (max-width: 66rem) {
  .lp-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.8fr);
    gap: 2rem;
  }

  .lp-offer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "head head"
      "included scope"
      "actions actions";
    grid-template-rows: auto;
  }

  .lp-refs__grid,
  .lp-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-steps .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-steps .process li {
    min-height: auto;
    border-bottom: 1px solid var(--line-dark);
  }

  .lp-steps .process li:nth-child(2n) {
    border-right: 0;
  }
}

/* ---------- Phone ---------- */

@media (max-width: 48rem) {
  .lp-hero {
    padding-top: 10.25rem;
  }

  .lp-hero .hero-grid,
  .lp-guide__grid {
    grid-template-columns: 1fr;
  }

  .lp-hero .hero-actions .button {
    flex: 1 1 100%;
  }

  .lp-guide__intro {
    position: static;
  }

  .lp-offer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "included"
      "scope"
      "actions";
    gap: 1.5rem;
    border-radius: var(--radius-md);
  }

  .lp-offer__actions .button {
    flex: 1 1 100%;
  }

  .lp-steps .process {
    grid-template-columns: 1fr;
  }

  .lp-steps .process li {
    border-right: 0;
  }

  .lp-steps .process li:last-child {
    border-bottom: 0;
  }

  .lp-refs__grid,
  .lp-cards,
  .lp-offers__compact {
    grid-template-columns: 1fr;
  }

  .lp-card {
    min-height: 0;
  }

  .lp-callout {
    grid-template-columns: 1fr;
  }

  .lp-cta__actions {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-card:hover {
    transform: none;
  }
}
