/*
 * Ljust Tersus-tema för skolvärlden.
 * Den tidigare designen ligger kvar i styles.css och laddas som basresurs.
 */

:root {
  --brand-ink: #173f5f;
  --brand-steel: #5f7587;
  --brand-mist: #9bb4c5;
  --brand-amber: #c98b1c;
  --paper: #f6f8f7;
  --paper-soft: #fbfcfc;
  --panel: #ffffff;
  --text-900: #183044;
  --text-700: #40596b;
  --text-500: #667b89;
  --line: rgba(23, 63, 95, 0.1);
  --accent: #efc66f;
  --accent-strong: #c98b1c;
  --accent-soft: rgba(239, 198, 111, 0.2);
  --school-blue: #39799d;
  --school-blue-soft: #e8f2f7;
  --school-green: #4e8174;
  --school-green-soft: #e9f2ee;
  --school-sand: #f7f1e5;
  --shadow-soft: 0 18px 44px rgba(32, 69, 91, 0.08);
  --shadow-hero: 0 24px 64px rgba(32, 69, 91, 0.12);
  --font-sans: "Albert Sans", "Segoe UI", Arial, sans-serif;
  --font-display: "Barlow Semi Condensed", "Albert Sans", "Segoe UI", Arial, sans-serif;
}

body {
  color: var(--text-900);
  background: var(--paper-soft);
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: var(--brand-ink);
  border-radius: 0.65rem;
  box-shadow: var(--shadow-soft);
  transform: translateY(calc(-100% - 1.5rem));
  transition: transform 160ms ease;
}

.skip-link:focus {
  color: #ffffff;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  transform: translateY(0);
}

main:focus {
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.campaign-page h1,
.campaign-page h2,
.campaign-page h3,
.campaign-lead-section h2,
.campaign-lead-section h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
}

.site-header,
.site-header--glass-light {
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 63, 95, 0.1);
  box-shadow: 0 8px 28px rgba(32, 69, 91, 0.07);
  backdrop-filter: blur(12px);
}

.site-header .brand,
.site-header--glass-light .brand,
.site-header .nav-links,
.site-header--glass-light .nav-links {
  color: var(--brand-ink);
  font-size: 0.82rem;
}

.site-header .nav-links a:hover,
.site-header--glass-light .nav-links a:hover {
  color: var(--school-blue);
}

.site-header .nav-toggle-label,
.site-header--glass-light .nav-toggle-label {
  color: var(--brand-ink);
  border-color: rgba(23, 63, 95, 0.14);
  background: rgba(255, 255, 255, 0.86);
}

.nav-cta,
.site-header--glass-light .nav-cta,
.campaign-page-header .campaign-page-nav-action {
  color: #25455d;
  border: 1px solid rgba(57, 121, 157, 0.18);
  background: var(--school-blue-soft);
  box-shadow: none;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #eef4f4;
}

.hero-shell {
  isolation: isolate;
  min-height: 100svh;
  grid-template-columns: minmax(0, 620px);
  gap: 0;
  padding-top: calc(var(--header-h) + 22px);
  padding-bottom: 34px;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-copy {
  z-index: 2;
  max-width: 620px;
  gap: 20px;
  color: var(--brand-ink);
}

.hero-title {
  max-width: 15ch;
  font-size: clamp(3.2rem, 5.4vw, 5.35rem);
  color: var(--brand-ink);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-title-accent {
  color: var(--school-blue);
}

.hero-lead {
  max-width: 46ch;
  color: var(--text-700);
  font-size: clamp(1.08rem, 1.45vw, 1.24rem);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--school-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--school-blue);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  width: min(var(--container), calc(100vw - 40px));
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-width: 0;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 12px 13px;
  border: 1px solid rgba(23, 63, 95, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  text-align: left;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--brand-ink);
  font-size: 0.82rem;
  line-height: 1.2;
  text-wrap: balance;
}

.hero-proof span {
  margin-top: 4px;
  color: var(--text-500);
  font-size: 0.67rem;
  line-height: 1.3;
}

.button-primary,
.campaign-page-button--primary,
.campaign-lead-submit {
  color: #25455d;
  background: #f3cd7b;
  box-shadow: 0 12px 28px rgba(168, 117, 25, 0.16);
}

.button-secondary {
  color: var(--brand-ink);
  border-color: rgba(23, 63, 95, 0.16);
  background: rgba(255, 255, 255, 0.68);
}

.button-secondary:hover {
  border-color: rgba(23, 63, 95, 0.28);
  background: #ffffff;
}

.hero-frame {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #eef4f4;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 50%;
  width: 100vw;
  max-width: none;
  height: 100%;
  margin: 0;
  overflow: hidden;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(246, 250, 250, 0.98) 0%,
      rgba(246, 250, 250, 0.94) 26%,
      rgba(246, 250, 250, 0.78) 42%,
      rgba(246, 250, 250, 0.22) 66%,
      rgba(246, 250, 250, 0.05) 100%),
    linear-gradient(180deg, rgba(246, 250, 250, 0.08), rgba(23, 63, 95, 0.04));
}

.hero-svg-host {
  width: 100%;
  height: 100%;
}

.hero-illustration {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  filter: none;
}

.content > .section {
  padding-top: clamp(58px, 6.5vw, 88px);
  padding-right: clamp(22px, 4vw, 54px);
  padding-bottom: clamp(58px, 6.5vw, 88px);
  padding-left: clamp(22px, 4vw, 54px);
}

#produkter {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 13%, rgba(239, 198, 111, 0.1), transparent 20%),
    radial-gradient(circle at 92% 86%, rgba(78, 129, 116, 0.08), transparent 24%),
    #ffffff;
}

.home-products-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.home-products-intro .section-title {
  max-width: 17ch;
  margin-bottom: 0;
  font-size: clamp(2.55rem, 4.25vw, 4.15rem);
  line-height: 1.02;
}

.home-products-intro .section-title span {
  display: block;
  color: var(--school-blue);
}

.home-products-intro > p {
  margin: 0 0 0.35rem;
  color: var(--text-700);
  font-size: 1.08rem;
  line-height: 1.65;
}

.tersus-products-browser {
  gap: clamp(30px, 4vw, 46px);
}

.tersus-product-group + .tersus-product-group {
  padding-top: clamp(36px, 5vw, 52px);
  border-top-color: rgba(23, 63, 95, 0.09);
}

.tersus-product-group-intro {
  gap: 12px;
}

.tersus-product-group-head {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
}

.tersus-product-group-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--school-blue-soft);
  box-shadow: none;
}

.tersus-catalog-icon,
.tersus-catalog-icon.adela-logo,
.tersus-catalog-icon.adela-logo-bo,
.tersus-catalog-icon.adela-logo-gr,
.tersus-catalog-icon.adela-logo-gy {
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  line-height: 42px;
}

.tersus-product-group-content h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.08;
}

.tersus-product-group-copy {
  max-width: 850px;
  margin-top: 12px;
  font-size: 1.04rem;
  line-height: 1.62;
}

.tersus-products-grid {
  counter-reset: homepage-product;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.tersus-product-card {
  --product-accent: var(--brand-amber);
  --product-soft: rgba(239, 198, 111, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(23, 63, 95, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 42px rgba(32, 69, 91, 0.08);
  counter-increment: homepage-product;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tersus-product-card:nth-child(3n + 2) {
  --product-accent: var(--school-green);
  --product-soft: rgba(78, 129, 116, 0.14);
}

.tersus-product-card:nth-child(3n) {
  --product-accent: #376eaa;
  --product-soft: rgba(55, 110, 170, 0.13);
}

.tersus-product-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 5px;
  background: var(--product-accent);
}

.tersus-product-card::after {
  content: "";
  position: absolute;
  top: -68px;
  right: -58px;
  width: 190px;
  height: 190px;
  border: 26px solid var(--product-soft);
  border-radius: 50%;
  pointer-events: none;
}

.tersus-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(32, 69, 91, 0.11);
}

.tersus-product-card-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "number icon"
    "title title"
    "description description"
    "action action";
  flex: 1 1 auto;
  padding: 30px 28px 26px;
}

.tersus-product-card-body::before {
  content: counter(homepage-product, decimal-leading-zero);
  grid-area: number;
  align-self: center;
  color: var(--product-accent);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.tersus-product-card-body::after {
  content: none;
}

.tersus-product-icon-wrap {
  grid-area: icon;
  float: none;
  width: 54px;
  height: 54px;
  margin: 0;
  border-radius: 18px;
  background: var(--product-soft);
}

.tersus-tree-icon-product,
.tersus-tree-icon.adela-logo,
.tersus-tree-icon.adela-logo-bo,
.tersus-tree-icon.adela-logo-gr,
.tersus-tree-icon.adela-logo-gy {
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
  line-height: 42px;
}

.tersus-product-card-title {
  grid-area: title;
  margin: 28px 0 12px;
  padding: 0;
  font-size: clamp(1.48rem, 2vw, 1.82rem);
  line-height: 1.08;
}

.tersus-product-card-description {
  grid-area: description;
  align-self: start;
  color: var(--text-700);
  font-size: 0.98rem;
  line-height: 1.58;
}

.tersus-product-toggle {
  grid-area: action;
  justify-self: start;
  float: none;
  min-height: 0;
  margin: 26px 0 0;
  padding: 0 0 4px;
  color: var(--brand-ink);
  border: 0;
  border-bottom: 1px solid var(--product-accent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tersus-product-toggle:hover,
.tersus-product-toggle:focus-visible {
  color: var(--product-accent);
  background: transparent;
  box-shadow: none;
}

.tersus-modules-panel {
  position: relative;
  z-index: 1;
  margin: 0 28px 28px;
  padding-top: 18px;
  border-top-color: rgba(23, 63, 95, 0.09);
}

.tersus-product-details {
  margin-top: 22px;
  scroll-margin-top: calc(var(--header-h) + 20px);
  padding: 28px;
  border: 1px solid rgba(23, 63, 95, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.tersus-product-details-title {
  margin: 0;
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.tersus-product-details .tersus-modules-panel {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
  margin: 20px 0 0;
  padding-top: 20px;
}

.tersus-module-item {
  padding: 14px;
  border-radius: 16px;
  background: rgba(247, 250, 250, 0.92);
}

.tersus-module-copy {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
}

.tersus-module-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-bottom: 3px;
  color: var(--brand-ink);
  border-bottom: 1px solid var(--school-blue);
  font-weight: 700;
  text-decoration: none;
}

.tersus-module-item .tersus-module-more {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 12px;
}

.tersus-module-more:hover,
.tersus-module-more:focus-visible {
  color: var(--school-blue);
}

.tersus-module-article {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(23, 63, 95, 0.1);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.tersus-module-article-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.tersus-module-article-title {
  margin: 0;
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.tersus-module-article-intro {
  max-width: 75ch;
  margin: 14px 0 20px;
}

.section-title {
  font-weight: 600;
}

.section-title,
.card h3,
.feature-card h3,
.timeline-card h3 {
  color: var(--brand-ink);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.about-intro .section-title {
  max-width: 16ch;
  font-size: clamp(2.4rem, 4.5vw, 4.3rem);
  line-height: 1;
}

.about-timeline-visual {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 95, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 10%, rgba(239, 198, 111, 0.24), transparent 28%),
    linear-gradient(145deg, #ffffff, #edf6f5);
  box-shadow: var(--shadow-soft);
}

.about-timeline-track {
  position: absolute;
  top: 48px;
  bottom: 48px;
  left: 55px;
  width: 2px;
  background: linear-gradient(var(--school-blue), var(--school-green), var(--accent-strong));
  opacity: 0.32;
}

.about-timeline-point {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 10px 14px 10px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.about-timeline-point span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #ffffff;
  background: var(--school-blue);
  font-size: 0.75rem;
  font-weight: 800;
}

.about-timeline-point:nth-of-type(3) span {
  background: var(--school-green);
}

.about-timeline-point--current span {
  color: var(--brand-ink);
  background: var(--accent);
}

.about-timeline-point--future {
  border: 1px dashed rgba(23, 63, 95, 0.2);
  background: rgba(255, 255, 255, 0.46);
}

.about-timeline-point--future span {
  color: #ffffff;
  background: var(--school-green);
}

.about-timeline-point strong {
  color: var(--brand-ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.about-grid {
  gap: 18px;
  margin-top: 34px;
}

.about-grid .card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-grid .card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 121, 157, 0.2);
  box-shadow: 0 22px 48px rgba(32, 69, 91, 0.12);
}

.about-card-illustration {
  width: 100%;
  height: 118px;
  margin: 0 0 22px;
  padding: 22px;
  border-radius: 24px;
  color: var(--school-blue);
  background: linear-gradient(145deg, #edf6fa, #dcecf3);
}

.about-grid .card:nth-child(3n + 2) .about-card-illustration {
  color: var(--school-green);
  background: linear-gradient(145deg, #eef7f3, #dcece5);
}

.about-grid .card:nth-child(3n) .about-card-illustration {
  color: #b77b12;
  background: linear-gradient(145deg, #fff8e7, #f7e8c0);
}

.about-card-illustration svg {
  width: auto;
  max-width: 100%;
  height: 100%;
}

.about-card-illustration svg [fill]:not([fill="none"]) {
  fill: currentColor;
}

.about-card-illustration svg [stroke] {
  stroke: currentColor;
}

.site-capabilities {
  position: relative;
  overflow: hidden;
}

.site-capabilities::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(78, 129, 116, 0.13), transparent 27%),
    radial-gradient(circle at 88% 82%, rgba(239, 198, 111, 0.16), transparent 25%),
    linear-gradient(145deg, #eff7f6, #f7faf9 52%, #f8f5ed);
}

.site-capabilities > * {
  position: relative;
  z-index: 1;
}

.capabilities-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
}

.capabilities-layout .section-title {
  max-width: 12ch;
  font-size: clamp(2.45rem, 4.7vw, 4.4rem);
}

.capabilities-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 22px;
  color: var(--school-blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.capabilities-visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

.capabilities-orbit {
  position: absolute;
  border: 1px solid rgba(57, 121, 157, 0.19);
  border-radius: 50%;
}

.capabilities-orbit--one {
  width: 250px;
  height: 250px;
}

.capabilities-orbit--two {
  width: 330px;
  height: 190px;
  transform: rotate(-18deg);
}

.capabilities-center,
.capabilities-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(32, 69, 91, 0.13);
  font-weight: 800;
}

.capabilities-center {
  width: 112px;
  height: 112px;
  color: #ffffff;
  background: var(--brand-ink);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.capabilities-node {
  appearance: none;
  width: 68px;
  height: 68px;
  padding: 0;
  border: 8px solid rgba(255, 255, 255, 0.88);
  color: var(--brand-ink);
  background: #ffffff;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.capabilities-node:hover,
.capabilities-node.is-capability-active {
  box-shadow: 0 22px 48px rgba(32, 69, 91, 0.22);
  filter: saturate(1.12);
  transform: translateY(-3px) scale(1.06);
}

.capabilities-node:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}

.capabilities-node--help {
  top: 15px;
  left: 17%;
  color: var(--school-blue);
  background: var(--school-blue-soft);
}

.capabilities-node--ai {
  top: 54px;
  right: 8%;
  color: #a66f0e;
  background: #fff1cb;
}

.capabilities-node--app {
  bottom: 25px;
  left: 12%;
  color: var(--school-green);
  background: var(--school-green-soft);
}

.capabilities-node--api {
  right: 14%;
  bottom: 12px;
  color: var(--school-blue);
  background: var(--school-blue-soft);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.capability-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  min-height: 190px;
  scroll-margin-top: calc(var(--header-h) + 20px);
  padding: 24px;
  border: 1px solid rgba(23, 63, 95, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.capability-card.is-capability-active {
  border-color: rgba(57, 121, 157, 0.34);
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(32, 69, 91, 0.17);
  transform: translateY(-3px);
}

.capability-card.is-capability-selected {
  border-color: rgba(57, 121, 157, 0.42);
  background: #ffffff;
}

.capability-card.is-capability-pulsing {
  animation: tersus-capability-pulse 680ms cubic-bezier(0.22, 0.72, 0.28, 1);
}

@keyframes tersus-capability-pulse {
  0%, 100% {
    transform: translateY(-3px) scale(1);
  }

  42% {
    border-color: rgba(57, 121, 157, 0.52);
    box-shadow: 0 28px 68px rgba(57, 121, 157, 0.24);
    transform: translateY(-5px) scale(1.022);
  }
}

.capability-card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  color: var(--school-blue);
  background: var(--school-blue-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.capability-card--ai .capability-card-icon {
  color: #a66f0e;
  background: #fff1cb;
}

.capability-card--app .capability-card-icon {
  color: var(--school-green);
  background: var(--school-green-soft);
}

.capability-card h3 {
  margin: 2px 0 8px;
  color: var(--brand-ink);
  font-size: 1.14rem;
}

.capability-card p {
  margin: 0;
  color: var(--text-700);
  line-height: 1.65;
}

.capability-card-intro {
  color: var(--text-700);
  line-height: 1.65;
}

.capability-card-intro p + p {
  margin-top: 0.75em;
}

.capability-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.capability-card-copy .capability-more {
  margin-top: auto;
  padding-top: 16px;
}

.capability-more {
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--school-blue);
  background: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.capability-detail {
  margin-top: 20px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(23, 63, 95, 0.1);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.capability-detail[hidden] {
  display: none;
}

.capability-detail .tersus-news-story {
  margin-top: 22px;
}

@media (min-width: 901px) {
  .capability-detail[data-capability-detail="ai"] .tersus-news-story {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  }

  .capability-detail[data-capability-detail="app"]:has(> .tersus-news-story:not(.tersus-news-story--text-only)):not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: clamp(24px, 4vw, 34px);
    row-gap: 22px;
  }

  .capability-detail[data-capability-detail="app"] .tersus-module-article-head {
    grid-column: 1 / -1;
  }

  .capability-detail[data-capability-detail="app"] .tersus-news-story:not(.tersus-news-story--text-only) {
    display: contents;
  }

  .capability-detail[data-capability-detail="app"] .tersus-news-hero {
    grid-column: 1;
    grid-row: 2 / span 2;
  }

  .capability-detail[data-capability-detail="app"] .tersus-news-body {
    grid-column: 2;
    grid-row: 2;
  }

  .capability-detail[data-capability-detail="app"] .tersus-news-gallery {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
  }
}

.capability-detail .tersus-news-body {
  max-width: 78ch;
}

.capability-detail .tersus-news-hero-image {
  display: block;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.capability-detail[data-capability-detail="app"] .tersus-news-image-button {
  max-width: 240px;
}

.capability-image-caption {
  margin: 12px 0 0;
  color: var(--text-700);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .capabilities-node,
  .capability-card {
    transition: none;
  }

  .capability-card.is-capability-pulsing {
    animation: none;
  }
}

.deployment-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(23, 63, 95, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 18%, rgba(239, 198, 111, 0.18), transparent 27%),
    linear-gradient(120deg, rgba(232, 244, 246, 0.96), rgba(255, 252, 245, 0.94));
  box-shadow: var(--shadow-soft);
}

.deployment-callout-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  color: #ffffff;
  background: var(--brand-ink);
  box-shadow: 0 16px 32px rgba(23, 63, 95, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.deployment-callout .eyebrow {
  margin-bottom: 7px;
  color: var(--school-green);
}

.deployment-callout h3 {
  margin: 0 0 8px;
  color: var(--brand-ink);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
}

.deployment-callout p:last-child {
  max-width: 86ch;
  margin: 0;
  color: var(--text-700);
  line-height: 1.62;
}

.section-panel,
.card,
.feature-card,
.timeline-card,
.tersus-news-card,
.tersus-product-group-card,
.tersus-product-card {
  border-color: rgba(23, 63, 95, 0.09);
  box-shadow: var(--shadow-soft);
}

.tersus-news-list {
  display: grid;
  gap: 20px;
}

.tersus-news-shell,
.tersus-news-shell--loading {
  gap: 28px;
}

.tersus-news-stream,
.tersus-news-loading-list {
  gap: 18px;
}

#nyheter {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 12%, rgba(239, 198, 111, 0.11), transparent 24%),
    linear-gradient(145deg, #f5f9fa, #fbfcfb 54%, #f8f6f0);
}

#nyheter .section-head,
.tersus-news-card-head {
  width: 100%;
  max-width: none;
}

#nyheter .section-title {
  max-width: none;
  font-size: clamp(2.25rem, 4vw, 3.9rem);
}

.tersus-news-card,
.tersus-news-loading-card {
  gap: 14px;
  padding: clamp(20px, 2.7vw, 28px);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(239, 198, 111, 0.08), transparent 25%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(32, 69, 91, 0.07);
}

.tersus-news-card-head {
  gap: 8px;
}

.tersus-news-meta {
  font-size: 0.72rem;
}

.tersus-news-title {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.08;
}

.tersus-news-intro {
  font-size: clamp(0.96rem, 1.2vw, 1.05rem);
  line-height: 1.55;
}

.tersus-news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 2px 0 5px;
  color: var(--school-blue);
  border-bottom: 1px solid currentColor;
  font-weight: 800;
  text-decoration: none;
}

.tersus-news-read-more:hover,
.tersus-news-read-more:focus-visible {
  color: var(--brand-ink);
}

.tersus-news-read-more.is-pending {
  pointer-events: none;
}

.tersus-news-read-more.is-loading > [aria-hidden="true"] {
  display: none;
}

.tersus-news-read-more.is-loading::after {
  width: 14px;
  height: 14px;
  content: "";
  border: 2px solid rgba(57, 121, 157, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: tersus-news-inline-spinner 720ms linear infinite;
}

@keyframes tersus-news-inline-spinner {
  to {
    transform: rotate(360deg);
  }
}

.tersus-news-details {
  display: grid;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 63, 95, 0.1);
}

.tersus-news-pagination,
.tersus-news-page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tersus-news-pagination {
  padding-top: 4px;
}

.tersus-news-page {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  color: var(--brand-ink);
  border: 1px solid rgba(23, 63, 95, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.tersus-news-page:hover,
.tersus-news-page:focus-visible {
  color: var(--brand-ink);
  border-color: rgba(57, 121, 157, 0.35);
  background: var(--school-blue-soft);
}

.tersus-news-page.is-active,
.tersus-news-page[aria-current="page"] {
  color: #ffffff;
  border-color: var(--school-blue);
  background: var(--school-blue);
}

.tersus-news-page--direction {
  min-width: 112px;
}

.tersus-news-page.disabled,
.tersus-news-page[disabled],
.tersus-news-page:not([href]):not(.is-active) {
  color: var(--text-500);
  background: rgba(255, 255, 255, 0.38);
  opacity: 0.55;
}

#kontakt {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: max(20px, calc((100% - var(--container)) / 2));
  padding-left: max(20px, calc((100% - var(--container)) / 2));
  color: #ffffff;
  border-top: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(239, 198, 111, 0.2), transparent 25%),
    radial-gradient(circle at 88% 82%, rgba(57, 121, 157, 0.2), transparent 28%),
    linear-gradient(135deg, #102b43 0%, #173f5f 52%, #0d263c 100%);
}

.contact-panel {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 0;
  color: #ffffff;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-panel h2 {
  color: #ffffff;
  line-height: 1.08;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-link,
.contact-link:hover {
  color: #f3cd7b;
}

.contact-link:hover {
  color: #fff1c7;
}

.contact-column + .contact-column {
  padding-left: clamp(28px, 5vw, 72px);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-actions .button-secondary {
  color: #ffffff;
}

.campaign-page {
  background: var(--paper-soft);
}

.campaign-page-hero {
  padding: calc(var(--header-h) + clamp(46px, 5vw, 72px)) 0 clamp(52px, 6vw, 78px);
  color: var(--text-900);
  background:
    radial-gradient(circle at 88% 16%, rgba(239, 198, 111, 0.22), transparent 24%),
    radial-gradient(circle at 8% 42%, rgba(78, 129, 116, 0.11), transparent 27%),
    linear-gradient(145deg, #f8fbfc 0%, #e9f3f7 58%, #f8f6ef 100%);
}

.campaign-page-hero-grid {
  gap: clamp(38px, 5vw, 72px);
}

.campaign-page-hero::before {
  background-image:
    linear-gradient(rgba(57, 121, 157, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 121, 157, 0.035) 1px, transparent 1px);
  opacity: 0.65;
}

.campaign-page-eyebrow {
  color: var(--school-blue);
}

.campaign-page-eyebrow,
.campaign-page-kicker {
  margin-bottom: 14px;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
}

.campaign-page-hero h1 {
  color: var(--brand-ink);
  font-size: clamp(2.9rem, 5vw, 4.85rem);
  font-weight: 720;
  line-height: 1.01;
}

.campaign-page-hero h1 span {
  display: block;
  color: var(--school-blue);
}

.campaign-page-lead {
  margin-top: 22px;
  color: var(--text-700);
  font-size: clamp(1.1rem, 1.45vw, 1.24rem);
  line-height: 1.58;
}

.campaign-page-actions {
  margin-top: 28px;
}

.campaign-page-button {
  min-height: 52px;
  font-size: 0.96rem;
}

.campaign-page-button--secondary {
  color: var(--brand-ink);
  border-color: rgba(23, 63, 95, 0.16);
  background: rgba(255, 255, 255, 0.7);
}

.campaign-page-button--secondary:hover {
  background: #ffffff;
}

.campaign-page-button--dark {
  color: #ffffff;
  background: var(--school-blue);
  box-shadow: 0 12px 28px rgba(57, 121, 157, 0.18);
}

.campaign-page-hero-points {
  margin-top: 24px;
  color: var(--text-700);
  font-size: 0.94rem;
}

.campaign-page-hero-points span {
  color: var(--school-green);
}

.campaign-page-offer {
  padding: clamp(30px, 4vw, 42px);
  color: var(--text-900);
  border-color: rgba(57, 121, 157, 0.13);
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 198, 111, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 64px rgba(32, 69, 91, 0.11);
  backdrop-filter: blur(12px);
}

.campaign-page-offer-value {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.campaign-page-offer-value span {
  display: block;
  line-height: 1.25;
}

.campaign-page-offer-label,
.campaign-page-offer-products span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.campaign-page-offer-products li {
  font-size: 0.94rem;
}

.campaign-page-offer > p:not([class]),
.campaign-page-offer a {
  font-size: 0.96rem;
}

.campaign-page-offer::after {
  border-color: rgba(57, 121, 157, 0.06);
}

.campaign-page-offer-label,
.campaign-page-offer-products span {
  color: var(--school-blue);
}

.campaign-page-offer-value,
.campaign-page-offer h2 {
  color: var(--brand-ink);
}

.campaign-page-offer-value span,
.campaign-page-offer > p:not([class]) {
  color: var(--text-500);
}

.campaign-page-offer-products li {
  color: var(--text-700);
  border-color: rgba(23, 63, 95, 0.09);
  background: rgba(255, 255, 255, 0.7);
}

.campaign-page-offer a {
  color: var(--school-blue);
  text-decoration-color: rgba(57, 121, 157, 0.35);
}

.campaign-page-trust {
  background: #ffffff;
}

.campaign-page-trust p {
  padding-top: 22px;
  padding-bottom: 22px;
}

.campaign-page-trust strong {
  font-size: 0.98rem;
}

.campaign-page-trust span {
  font-size: 0.9rem;
  line-height: 1.45;
}

.campaign-page-section {
  padding: clamp(54px, 6vw, 82px) 0;
}

.campaign-page-section h2 {
  font-size: clamp(2.25rem, 3.55vw, 3.4rem);
  line-height: 1.07;
}

.campaign-page-section-head > p:last-child,
.campaign-page-product-copy > p:not([class]),
.campaign-page-personal-copy > p:not([class]),
.campaign-page-offering-grid > div:first-child > p:last-child,
.campaign-page-faq-intro > p:last-child {
  margin-top: 18px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.campaign-page-section--products {
  background:
    radial-gradient(circle at 9% 13%, rgba(239, 198, 111, 0.1), transparent 20%),
    radial-gradient(circle at 91% 84%, rgba(78, 129, 116, 0.08), transparent 24%),
    #ffffff;
}

.campaign-page-product-card {
  min-height: 450px;
  padding: 28px;
  border-color: rgba(23, 63, 95, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(32, 69, 91, 0.08);
}

.campaign-page-products-head {
  gap: clamp(32px, 5vw, 68px);
}

.campaign-page-products-head > p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.campaign-page-product-cards {
  margin-top: clamp(34px, 4.5vw, 48px);
}

.campaign-page-product-number {
  font-size: 0.84rem;
}

.campaign-page-product-badge {
  font-size: 0.74rem;
}

.campaign-page-product-card h3 {
  margin-top: 30px;
}

.campaign-page-product-card > p {
  min-height: 86px;
  font-size: 1rem;
  line-height: 1.58;
}

.campaign-page-product-features {
  margin: 20px 0 24px;
  padding-top: 18px;
  gap: 9px;
}

.campaign-page-product-features li {
  font-size: 0.94rem;
  line-height: 1.45;
}

.campaign-page-product-card > a,
.campaign-page-products-foot p {
  font-size: 0.98rem;
}

.campaign-page-products-foot {
  margin-top: 18px;
  padding: 20px 24px;
}

.campaign-page-product-card:hover {
  box-shadow: 0 22px 54px rgba(32, 69, 91, 0.11);
}

.campaign-page-fit-grid {
  margin-top: clamp(32px, 4vw, 46px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.campaign-page-fit-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(23, 63, 95, 0.09);
  border-top: 3px solid var(--school-blue);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(32, 69, 91, 0.055);
}

.campaign-page-fit-grid article:nth-child(2),
.campaign-page-fit-grid article:nth-child(4) {
  border-top-color: var(--school-green);
}

.campaign-page-fit-grid article > span {
  color: var(--school-blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.campaign-page-fit-grid h3,
.campaign-page-scope h3,
.campaign-page-first-meeting h3 {
  margin: 22px 0 10px;
  color: var(--brand-ink);
  font-family: var(--font-display);
  line-height: 1.2;
}

.campaign-page-fit-grid h3 {
  font-size: 1.3rem;
}

.campaign-page-fit-grid p,
.campaign-page-scope p,
.campaign-page-first-meeting li,
.campaign-page-reference > div:last-child > p:first-child {
  margin: 0;
  color: var(--text-500);
  line-height: 1.55;
}

.campaign-page-scope {
  margin-top: 18px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid rgba(23, 63, 95, 0.1);
  border-bottom: 1px solid rgba(23, 63, 95, 0.1);
}

.campaign-page-scope > div {
  max-width: 760px;
}

.campaign-page-scope h3 {
  margin-top: 0;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.campaign-page-scope .campaign-page-kicker {
  margin-bottom: 8px;
}

.campaign-page-scope .campaign-page-button {
  flex: 0 0 auto;
}

.campaign-page-section--paper {
  background: #f8faf9;
}

.campaign-page-process li {
  min-height: 220px;
  padding: 25px;
  border-color: rgba(23, 63, 95, 0.09);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(32, 69, 91, 0.06);
}

.campaign-page-process {
  margin-top: 38px;
}

.campaign-page-process li:nth-child(even) {
  transform: none;
}

.campaign-page-step {
  width: 44px;
  height: 44px;
}

.campaign-page-process h3 {
  margin: 28px 0 8px;
  font-size: 1.35rem;
}

.campaign-page-process p {
  font-size: 1rem;
  line-height: 1.55;
}

.campaign-page-first-meeting {
  margin-top: 32px;
  padding: 30px 0;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  border-top: 1px solid rgba(23, 63, 95, 0.1);
  border-bottom: 1px solid rgba(23, 63, 95, 0.1);
}

.campaign-page-first-meeting h3 {
  margin-top: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.campaign-page-first-meeting ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  list-style: none;
}

.campaign-page-first-meeting li {
  position: relative;
  padding-left: 22px;
}

.campaign-page-first-meeting li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--school-green);
  box-shadow: 0 0 0 4px rgba(78, 129, 116, 0.12);
}

.campaign-page-section--ink {
  color: var(--text-900);
  background:
    radial-gradient(circle at 14% 18%, rgba(78, 129, 116, 0.12), transparent 25%),
    radial-gradient(circle at 90% 82%, rgba(239, 198, 111, 0.14), transparent 24%),
    linear-gradient(145deg, #edf5f2, #f3f8fa);
}

.campaign-page-section--ink h2 {
  color: var(--brand-ink);
}

.campaign-page-section--ink .campaign-page-product-copy > p:not([class]) {
  color: var(--text-700);
}

.campaign-page-text-link {
  color: var(--school-blue);
}

.campaign-page-brief {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
}

.campaign-page-brief > div > p:not([class]) {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--text-700);
  font-size: 1.08rem;
  line-height: 1.6;
}

.campaign-page-brief-points {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
  border-top: 1px solid rgba(23, 63, 95, 0.12);
}

.campaign-page-brief-points li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  border-bottom: 1px solid rgba(23, 63, 95, 0.12);
}

.campaign-page-brief-points strong {
  color: var(--brand-ink);
}

.campaign-page-brief-points span {
  color: var(--text-500);
  line-height: 1.5;
}

.campaign-page-feature-grid article,
.campaign-page-feature-grid article.campaign-page-feature-card--highlight {
  min-height: 205px;
  padding: 24px;
  color: var(--text-900);
  border-color: rgba(57, 121, 157, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(32, 69, 91, 0.055);
}

.campaign-page-product-grid {
  gap: clamp(44px, 6vw, 78px);
}

.campaign-page-feature-grid {
  gap: 14px;
}

.campaign-page-feature-grid article.campaign-page-feature-card--highlight {
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 198, 111, 0.14), transparent 38%),
    #ffffff;
}

.campaign-page-feature-icon {
  color: var(--school-blue);
  border-color: rgba(57, 121, 157, 0.18);
  background: var(--school-blue-soft);
}

.campaign-page-feature-grid h3 {
  margin: 22px 0 8px;
  color: var(--brand-ink);
  font-size: 1.36rem;
}

.campaign-page-feature-grid p {
  color: var(--text-500);
  font-size: 1rem;
  line-height: 1.55;
}

.campaign-page-personal-card {
  min-height: 310px;
  padding: clamp(30px, 4vw, 42px);
  color: var(--text-900);
  border: 1px solid rgba(78, 129, 116, 0.14);
  background:
    radial-gradient(circle at 76% 18%, rgba(239, 198, 111, 0.22), transparent 30%),
    linear-gradient(145deg, #e8f2ee, #f7faf8);
  box-shadow: var(--shadow-soft);
}

.campaign-page-personal {
  gap: clamp(44px, 6vw, 76px);
}

.campaign-page-personal-statement {
  font-size: clamp(1.65rem, 2.5vw, 2.1rem);
  line-height: 1.25;
}

.campaign-page-personal-source {
  margin-top: 18px;
  font-size: 0.84rem;
}

.campaign-page-quote-mark {
  color: rgba(78, 129, 116, 0.12);
}

.campaign-page-personal-source {
  color: var(--school-green);
}

.campaign-page-section--reference {
  padding-top: clamp(44px, 5vw, 64px);
  padding-bottom: clamp(44px, 5vw, 64px);
}

.campaign-page-reference {
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
  border-top: 1px solid rgba(23, 63, 95, 0.12);
  border-bottom: 1px solid rgba(23, 63, 95, 0.12);
}

.campaign-page-reference .campaign-page-reference-note {
  margin-top: 20px;
}

.campaign-page-section--mist {
  background:
    radial-gradient(circle at 86% 18%, rgba(239, 198, 111, 0.14), transparent 24%),
    #eef5f6;
}

.campaign-page-offering-card,
.campaign-page-faq-list details,
.campaign-page-section--terms {
  border-color: rgba(23, 63, 95, 0.09);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(32, 69, 91, 0.055);
}

.campaign-page-offering-grid,
.campaign-page-faq-grid {
  gap: clamp(42px, 6vw, 76px);
}

.campaign-page-offering-card {
  padding: clamp(28px, 4vw, 38px);
}

.campaign-page-offering-card ul {
  margin-bottom: 24px;
  gap: 20px 24px;
}

.campaign-page-offering-card strong,
.campaign-page-faq-list summary {
  font-size: 1rem;
}

.campaign-page-offering-card li span,
.campaign-page-faq-list details p,
.campaign-page-terms li {
  font-size: 0.96rem;
  line-height: 1.55;
}

.campaign-page-faq-list summary {
  padding-top: 19px;
  padding-bottom: 19px;
}

.campaign-page-section--terms {
  padding: clamp(46px, 6vw, 68px) 0;
}

.campaign-page-terms {
  gap: clamp(38px, 6vw, 70px);
}

.campaign-page-faq-list details[open] {
  box-shadow: 0 16px 38px rgba(32, 69, 91, 0.075);
}

.campaign-page-form-slot {
  background:
    radial-gradient(circle at 12% 14%, rgba(78, 129, 116, 0.08), transparent 24%),
    #f8faf9;
}

.campaign-lead-shell {
  border-color: rgba(23, 63, 95, 0.1);
  box-shadow: 0 20px 56px rgba(32, 69, 91, 0.1);
}

.campaign-lead-intro {
  color: var(--text-900);
  background:
    radial-gradient(circle at 14% 12%, rgba(239, 198, 111, 0.2), transparent 31%),
    radial-gradient(circle at 92% 88%, rgba(78, 129, 116, 0.11), transparent 31%),
    linear-gradient(150deg, #edf5f2, #f7faf8);
}

.campaign-lead-intro::after {
  border-color: rgba(57, 121, 157, 0.08);
  box-shadow: 0 0 0 38px rgba(57, 121, 157, 0.025), 0 0 0 76px rgba(57, 121, 157, 0.018);
}

.campaign-lead-eyebrow,
.campaign-lead-intro-text,
.campaign-lead-benefits li,
.campaign-lead-intro-note {
  color: var(--text-700);
}

.campaign-lead-eyebrow span,
.campaign-lead-intro-note-icon {
  color: #ffffff;
  background: var(--school-green);
  box-shadow: 0 0 0 6px rgba(78, 129, 116, 0.12);
}

.campaign-lead-benefit-number {
  color: var(--school-blue);
  border-color: rgba(57, 121, 157, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.campaign-lead-intro-note {
  border-top-color: rgba(23, 63, 95, 0.1);
}

.campaign-lead-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 198, 111, 0.09), transparent 25%),
    #ffffff;
}

.campaign-lead-control:focus {
  border-color: var(--school-blue);
  box-shadow: 0 0 0 4px rgba(57, 121, 157, 0.13);
}

.campaign-page-footer,
.site-footer {
  background: #ffffff;
}

@media (max-width: 1080px) {
  .hero,
  .hero-shell {
    min-height: auto;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-h) + 54px);
    padding-bottom: 44px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-proof {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: auto;
  }

  .hero-visual {
    max-width: none;
    margin: 0;
  }

  .hero-illustration {
    max-height: none;
    object-position: 62% center;
  }

  .hero-visual::after {
    background:
      linear-gradient(90deg,
        rgba(246, 250, 250, 0.96) 0%,
        rgba(246, 250, 250, 0.9) 52%,
        rgba(246, 250, 250, 0.68) 100%),
      linear-gradient(180deg, rgba(246, 250, 250, 0.08), rgba(23, 63, 95, 0.06));
  }

  .about-intro,
  .capabilities-layout {
    grid-template-columns: 1fr;
  }

  .about-timeline-visual {
    max-width: 720px;
  }

  .capabilities-visual {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .home-products-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .home-products-intro > p {
    max-width: 720px;
  }

  .tersus-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .campaign-page-hero {
    padding-top: calc(var(--header-h) + 42px);
  }

  .campaign-page-product-card {
    min-height: auto;
  }

  .campaign-page-product-card > p {
    min-height: 0;
  }

  .campaign-page-personal-card {
    min-height: 280px;
  }

  .campaign-page-fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campaign-page-scope {
    align-items: flex-start;
    flex-direction: column;
  }

  .campaign-page-first-meeting,
  .campaign-page-brief,
  .campaign-page-reference {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header .nav-links,
  .site-header--glass-light .nav-links {
    color: var(--brand-ink);
    border-color: rgba(23, 63, 95, 0.1);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 44px rgba(32, 69, 91, 0.12);
  }

  #kontakt {
    padding-right: 20px;
    padding-left: 20px;
  }

  .contact-column + .contact-column {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }
}

@media (max-width: 700px) {
  .hero-shell {
    padding-top: calc(var(--header-h) + 30px);
    padding-bottom: 34px;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(1.8rem, 8.8vw, 2.75rem);
    line-height: 1.05;
    letter-spacing: 0;
  }

  .hero-visual::after {
    background:
      linear-gradient(90deg,
        rgba(246, 250, 250, 0.58) 0%,
        rgba(246, 250, 250, 0.42) 44%,
        rgba(246, 250, 250, 0.18) 72%,
        rgba(246, 250, 250, 0.08) 100%),
      linear-gradient(180deg,
        rgba(246, 250, 250, 0.12) 0%,
        rgba(246, 250, 250, 0.03) 58%,
        rgba(23, 63, 95, 0.05) 100%);
  }

  .hero-lead {
    max-width: 39ch;
    padding: 11px 14px;
    border-radius: 14px;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.34));
    box-shadow: 0 8px 22px rgba(23, 63, 95, 0.08);
    font-size: 0.94rem;
    line-height: 1.45;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .hero-proof li {
    min-height: 84px;
    padding: 9px 7px;
  }

  .hero-proof strong {
    font-size: clamp(0.64rem, 2.7vw, 0.76rem);
  }

  .hero-proof span {
    font-size: clamp(0.56rem, 2.15vw, 0.66rem);
  }

  .content > .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  #produkter {
    scroll-margin-top: 28px;
  }

  .home-products-intro {
    margin-bottom: 30px;
  }

  .home-products-intro .section-title {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
  }

  .home-products-intro > p {
    font-size: 1rem;
  }

  .tersus-products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .tersus-product-card {
    min-height: 0;
    border-radius: 24px;
  }

  .tersus-product-card-body {
    padding: 26px 22px 22px;
  }

  .tersus-product-card-title {
    margin-top: 22px;
  }

  .tersus-modules-panel {
    margin: 0 22px 22px;
  }

  .tersus-product-details {
    padding: 22px;
    border-radius: 24px;
  }

  .tersus-product-details .tersus-modules-panel {
    margin: 18px 0 0;
  }

  .about-timeline-visual {
    padding: 18px;
    border-radius: 24px;
  }

  .about-timeline-track {
    left: 45px;
  }

  .about-timeline-point {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .about-timeline-point span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .capabilities-visual {
    min-height: 280px;
    transform: scale(0.9);
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
    padding: 20px;
  }

  .deployment-callout {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .deployment-callout-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  #nyheter .section-title {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .tersus-news-card,
  .tersus-news-loading-card {
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
  }

  .tersus-news-title {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
  }

  .tersus-news-intro {
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .campaign-page-hero {
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 46px;
  }

  .campaign-page-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.65rem);
  }

  .campaign-page-section {
    padding: 48px 0;
  }

  .campaign-page-section h2 {
    font-size: clamp(2.1rem, 10vw, 2.85rem);
  }

  .campaign-page-process li,
  .campaign-page-feature-grid article,
  .campaign-page-feature-grid article.campaign-page-feature-card--highlight {
    min-height: auto;
  }

  .campaign-page-personal-card {
    min-height: 250px;
  }

  .campaign-page-products-foot {
    padding: 20px;
  }

  .campaign-page-fit-grid,
  .campaign-page-first-meeting ul {
    grid-template-columns: 1fr;
  }

  .campaign-page-fit-grid article {
    min-height: auto;
  }

  .campaign-page-scope {
    padding-right: 0;
    padding-left: 0;
  }

  .campaign-page-scope .campaign-page-button {
    width: 100%;
  }

  .campaign-page-brief-points li {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 520px) {
  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof li {
    padding: 12px 13px;
  }

  .hero-proof strong {
    font-size: 0.82rem;
  }

  .hero-proof span {
    font-size: 0.72rem;
  }
}

@media (max-width: 430px) {
  .hero-lead {
    margin-top: clamp(220px, 68vw, 285px);
  }

  .tersus-news-pagination {
    gap: 10px 6px;
  }

  .tersus-news-page--direction {
    min-width: 104px;
  }
}

@media (forced-colors: active) {
  .hero-title-accent {
    color: CanvasText;
  }
}

/* Publika status- och felsidor. */
.tersus-status-page {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 5vw, 5rem);
  color: var(--text-900);
  background:
    radial-gradient(circle at 83% 18%, rgba(239, 198, 111, 0.28), transparent 24rem),
    radial-gradient(circle at 12% 82%, rgba(57, 121, 157, 0.16), transparent 26rem),
    linear-gradient(135deg, #f8fbfb 0%, #f3f7f6 52%, #fbf7ee 100%);
}

.tersus-status-page::before,
.tersus-status-page::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(57, 121, 157, 0.1);
  border-radius: 50%;
}

.tersus-status-page::before {
  width: min(46vw, 34rem);
  aspect-ratio: 1;
  top: -16rem;
  right: -9rem;
}

.tersus-status-page::after {
  width: min(38vw, 27rem);
  aspect-ratio: 1;
  bottom: -15rem;
  left: -8rem;
}

.tersus-status-card {
  width: min(100%, 47rem);
  margin: auto;
  padding: clamp(2rem, 6vw, 4.5rem);
  border: 1px solid rgba(23, 63, 95, 0.1);
  border-radius: clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 198, 111, 0.18), transparent 32%),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-hero);
  backdrop-filter: blur(12px);
}

.tersus-status-eyebrow {
  margin-bottom: 1rem;
  color: var(--school-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tersus-status-heading {
  max-width: 12ch;
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(2.35rem, 5.2vw, 4.25rem);
  font-weight: 600;
  line-height: 1.03;
  text-wrap: balance;
}

.tersus-status-message {
  max-width: 35rem;
  margin: 1.5rem 0 0;
  color: var(--text-700);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.7;
}

.tersus-status-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-top: 2rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  color: #25455d;
  background: var(--accent);
  box-shadow: 0 0.75rem 1.75rem rgba(201, 139, 28, 0.18);
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.tersus-status-link:hover,
.tersus-status-link:focus-visible {
  color: var(--brand-ink);
  background: #f4d58f;
  box-shadow: 0 0.9rem 2rem rgba(201, 139, 28, 0.24);
  transform: translateY(-2px);
}

.tersus-status-link:focus-visible {
  outline: 3px solid var(--school-blue);
  outline-offset: 3px;
}

.tersus-status-footer {
  margin: 0;
  color: var(--text-500);
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 600px) {
  .tersus-status-page {
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .tersus-status-card {
    padding: 2rem 1.5rem;
  }
}
