html {
  scroll-behavior: smooth;
}

body.landing-page-modern.landing-page-modern {
  --bg: #f8fafc;
  --bg-soft: #eff6ff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;
  --primary: #1953d6;
  --primary-dark: #1e4fc3;
  --success-soft: #dcfce7;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1180px;
  --shadow:
    0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 28px rgba(15, 23, 42, 0.07);
  --shadow-hover: 0 18px 36px rgba(15, 23, 42, 0.11);
  --shadow-blue: 0 14px 30px rgba(25, 83, 214, 0.22);
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.1),
      transparent 34rem
    ),
    linear-gradient(180deg, #fff 0%, #f8fafc 32rem, #fff 100%);
  font-family:
    "Inter",
    "Open Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.landing-page-modern.landing-page-modern::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0, transparent 700px);
}

body.landing-page-modern.landing-page-modern * {
  box-sizing: border-box;
}

body.landing-page-modern.landing-page-modern #primary a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

body.landing-page-modern.landing-page-modern #primary a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

body.landing-page-modern.landing-page-modern #primary {
  overflow: hidden;
}

.landing-container,
body.landing-page-modern.landing-page-modern #cta {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

body.landing-page-modern.landing-page-modern .landing-hero {
  position: relative;
  margin-top: -100px;
  padding: 140px 0 68px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 85% 18%,
      rgba(37, 99, 235, 0.18),
      transparent 24rem
    ),
    linear-gradient(180deg, #eef6ff 0%, #fff 78%);
}

body.landing-page-modern.landing-page-modern .landing-hero::before {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  top: 56px;
  width: min(42vw, 520px);
  height: 520px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 36px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.82),
      rgba(239, 246, 255, 0.52)
    ),
    repeating-linear-gradient(
      135deg,
      rgba(25, 83, 214, 0.13) 0 1px,
      transparent 1px 18px
    );
  box-shadow: 0 34px 80px rgba(25, 83, 214, 0.12);
  transform: rotate(4deg);
}

.landing-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 44px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.44rem 0.78rem 0.48rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
}

.badge::before {
  content: "\2713";
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.landing-page-modern.landing-page-modern h1,
body.landing-page-modern.landing-page-modern h2,
body.landing-page-modern.landing-page-modern h3 {
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}

body.landing-page-modern.landing-page-modern h1 {
  max-width: 13ch;
  margin: 16px 0 22px;
  font-size: clamp(2.55rem, 5.1vw, 4.9rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.045em;
}

body.landing-page-modern.landing-page-modern .brand-hp {
  color: #0875d0;
}

body.landing-page-modern.landing-page-modern h2 {
  max-width: 17ch;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: -0.055em;
}

body.landing-page-modern.landing-page-modern h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
}

body.landing-page-modern.landing-page-modern p {
  margin: 0 0 1rem;
}

body.landing-page-modern.landing-page-modern .lead,
body.landing-page-modern.landing-page-modern .functions-heading > p:last-child,
body.landing-page-modern.landing-page-modern .proof-heading > p:last-child,
body.landing-page-modern.landing-page-modern .delprov-heading > p:last-child,
body.landing-page-modern.landing-page-modern .official-heading > p:last-child {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  line-height: 1.72;
}

.btn-row,
#hero-buttons,
#overview-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.btn,
#start-btn,
#explore-btn,
#try-btn,
#cta-btn,
#overview-btns > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.22rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.btn::after,
#start-btn::after,
#explore-btn::after,
#try-btn::after,
#cta-btn::after,
#overview-btns > a::after {
  content: "";
  width: 1.1em;
  height: 1.1em;
  margin-left: 0.5rem;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13'/%3E%3Cpath d='M13 7l5 5-5 5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13'/%3E%3Cpath d='M13 7l5 5-5 5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.btn:hover,
#start-btn:hover,
#explore-btn:hover,
#try-btn:hover,
#cta-btn:hover,
#overview-btns > a:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary,
#start-btn,
#try-btn,
#cta-btn {
  color: #fff !important;
  background: linear-gradient(135deg, #1953d6 0%, #2f76ff 100%);
  box-shadow: var(--shadow-blue);
}

.btn-secondary,
#explore-btn,
#overview-btns > a:last-child {
  color: #334155 !important;
  background: #fff;
  border-color: var(--border);
}

.hero-card,
.function-card,
.proof-grid article,
.official-grid article,
.delprov-board,
#FAQ details {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.98);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

@media (min-width: 981px) {
  body.landing-page-modern.landing-page-modern .landing-hero .hero-card {
    margin-top: 56px;
  }

  body.landing-page-modern.landing-page-modern .landing-hero::before {
    top: 112px;
  }
}

.hero-card::before {
  content: "";
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: 24px;
  border-radius: 22px;
  background:
    url("https://studerahp.se/wp-content/uploads/2026/04/dashboard-preview.webp")
      center / calc(100% - 16px) auto no-repeat,
    #fff;
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.7);
}

.hero-card h2 {
  max-width: none;
  font-size: 28px;
}

.hero-card-title {
  display: grid;
  gap: 6px;
}

.hero-card-rotator {
  position: relative;
  display: block;
  width: 100%;
  min-height: 1.18em;
  overflow: hidden;
  color: var(--primary);
}

.hero-card-rotator > span {
  position: absolute;
  inset: 0 0 auto 0;
  display: block;
  width: 100%;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-115%);
  animation: heroCardWordRoll 10s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  will-change: transform, opacity;
}

.hero-card-rotator > span:nth-child(1) {
  animation-delay: -0.2s;
}

.hero-card-rotator > span:nth-child(2) {
  animation-delay: 1.8s;
}

.hero-card-rotator > span:nth-child(3) {
  animation-delay: 3.8s;
}

.hero-card-rotator > span:nth-child(4) {
  animation-delay: 5.8s;
}

.hero-card-rotator > span:nth-child(5) {
  animation-delay: 7.8s;
}

.hero-card-title__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-card ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: hero-steps;
}

.hero-card li {
  position: relative;
  counter-increment: hero-steps;
  padding: 12px 12px 12px 48px;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
  font-weight: 650;
}

.hero-card li::before {
  content: counter(hero-steps);
  position: absolute;
  left: 12px;
  top: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  transform: translateY(-50%);
}

.quick-links {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-block: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.045);
  backdrop-filter: blur(18px);
}

.quick-links .landing-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0;
  white-space: nowrap;
}

.quick-links a {
  padding: 0.52rem 0.78rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155 !important;
  font-size: 0.82rem;
  font-weight: 700;
}

#functions-container,
#overview-container,
#delprov-guide,
#official-resources,
#plugg-guide,
#FAQ,
#cta {
  scroll-margin-top: 84px;
}

.functions-heading,
.proof-heading,
.delprov-heading,
.official-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.functions-heading h2,
.proof-heading h2,
.delprov-heading h2,
.official-heading h2 {
  margin-inline: auto;
  text-align: center;
}

body.landing-page-modern.landing-page-modern .functions-heading h2,
body.landing-page-modern.landing-page-modern .proof-heading h2,
body.landing-page-modern.landing-page-modern .delprov-heading h2,
body.landing-page-modern.landing-page-modern .official-heading h2 {
  width: 100%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.landing-page-modern.landing-page-modern .functions-heading,
body.landing-page-modern.landing-page-modern .proof-heading,
body.landing-page-modern.landing-page-modern .delprov-heading,
body.landing-page-modern.landing-page-modern .official-heading {
  max-width: 920px;
}

#functions,
.proof-grid,
.official-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.function-card,
.proof-grid article,
.official-grid article {
  min-width: 0;
  padding: 24px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.function-card:hover,
.proof-grid article:hover,
.official-grid article:hover {
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.function-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
}

.function-icon {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.function-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.function-icon svg circle {
  fill: none;
}

.function-card:nth-child(2) .function-icon svg path,
.function-card:nth-child(2) .function-icon svg circle {
  fill: currentColor;
  stroke: none;
}

.function-title,
.overview-title,
.proof-grid strong,
.official-grid h3 {
  display: block;
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.function-p,
.overview-item,
.proof-grid p,
.official-grid p,
.delprov-row p,
#plugg-guide p,
#FAQ details p,
#cta p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.functions-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px auto 0;
}

.functions-proof span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px 8px 34px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.functions-proof span::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

#proof-container {
  width: 100%;
  max-width: none;
  background: linear-gradient(
    180deg,
    rgba(239, 246, 255, 0.72),
    rgba(248, 250, 252, 0.88)
  );
  border-block: 1px solid rgba(226, 232, 240, 0.75);
  padding: 30px 0;
}

#proof-container > * {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

#proof-container .proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#official-resources {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

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

.official-grid article a {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
}

.official-grid article a::after {
  content: "";
  width: 1em;
  height: 1em;
  margin-left: 0.45rem;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

#overview-btns {
  justify-content: center;
}

.delprov-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
}

.delprov-column {
  min-width: 0;
  padding: 8px;
}

.delprov-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  color: inherit;
}

.delprov-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 7px;
  background: #eff6ff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

#plugg-guide h2 {
  max-width: 25ch;
  text-align: left;
}

#plugg-guide h3 {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

#plugg-guide ul {
  display: grid;
  gap: 10px;
  margin: 10px 0 18px;
  padding: 0;
  list-style: none;
}

#plugg-guide li {
  position: relative;
  padding: 12px 14px 12px 36px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
  font-weight: 650;
}

#plugg-guide li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 1.35em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

#faq-title {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 84px 24px 0;
  background: linear-gradient(
    180deg,
    rgba(239, 246, 255, 0.72),
    rgba(248, 250, 252, 0.88)
  );
  text-align: center;
}

#FAQ details {
  padding: 0;
}

#FAQ details + details {
  margin-top: 12px;
}

#FAQ summary {
  align-items: center;
  column-gap: 16px;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  list-style: none;
  padding: 20px 24px;
  color: var(--text);
  font-weight: 850;
}

#FAQ summary::-webkit-details-marker {
  display: none;
}

#FAQ summary::after {
  content: "+";
  color: var(--primary);
  display: block;
  font-size: 1.3rem;
  line-height: 1;
}

#FAQ details[open] summary::after {
  content: "-";
}

#FAQ details > p {
  padding: 0 24px 22px;
}

#cta {
  margin-bottom: 30px;
  margin-top: 30px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(147, 197, 253, 0.34),
      transparent 18rem
    ),
    linear-gradient(135deg, #0f172a 0%, #172554 100%);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

#cta h2,
#cta p {
  color: #fff;
  text-align: left;
}

#cta p {
  max-width: 56ch;
  color: #dbeafe;
}

#bottom-g {
  display: none;
}

body.landing-page-modern.landing-page-modern #functions-container,
body.landing-page-modern.landing-page-modern #overview-container,
body.landing-page-modern.landing-page-modern #delprov-guide,
body.landing-page-modern.landing-page-modern #official-resources,
body.landing-page-modern.landing-page-modern #plugg-guide,
body.landing-page-modern.landing-page-modern #FAQ {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 34px 0 84px;
}

body.landing-page-modern.landing-page-modern #functions-container,
body.landing-page-modern.landing-page-modern #overview-container,
body.landing-page-modern.landing-page-modern #official-resources,
body.landing-page-modern.landing-page-modern #plugg-guide {
  background: #fff;
}

body.landing-page-modern.landing-page-modern #delprov-guide,
body.landing-page-modern.landing-page-modern #faq-title,
body.landing-page-modern.landing-page-modern #FAQ {
  background: linear-gradient(
    180deg,
    rgba(239, 246, 255, 0.72),
    rgba(248, 250, 252, 0.88)
  );
  border-block: 1px solid rgba(226, 232, 240, 0.75);
}

body.landing-page-modern.landing-page-modern #faq-title {
  border-bottom: 0;
}

body.landing-page-modern.landing-page-modern #FAQ {
  border-top: 0;
}

body.landing-page-modern.landing-page-modern #functions-container > *,
body.landing-page-modern.landing-page-modern #overview-container > *,
body.landing-page-modern.landing-page-modern #delprov-guide > *,
body.landing-page-modern.landing-page-modern #official-resources > *,
body.landing-page-modern.landing-page-modern #FAQ > * {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

body.landing-page-modern.landing-page-modern #plugg-guide > * {
  width: min(980px, calc(100% - 48px));
  margin-inline: auto;
}

body.landing-page-modern.landing-page-modern #plugg-guide {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.landing-page-modern.landing-page-modern #overview-content {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(226, 232, 240, 0.98);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      circle at 92% 8%,
      rgba(147, 197, 253, 0.22),
      transparent 18rem
    ),
    #fff;
  box-shadow: var(--shadow);
}

body.landing-page-modern.landing-page-modern #overview-container > h2 {
  width: min(var(--max), calc(100% - 48px));
  max-width: none;
  margin: 0 auto 28px;
  text-align: left;
}

body.landing-page-modern.landing-page-modern #overview-inner {
  display: block;
}

body.landing-page-modern.landing-page-modern #overview-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 8px;
  counter-reset: overview-step;
}

body.landing-page-modern.landing-page-modern #overview-list > div {
  position: relative;
  counter-increment: overview-step;
  min-height: 76px;
  padding: 18px 0 18px 72px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.landing-page-modern.landing-page-modern
  #overview-list
  > div:not(:last-child) {
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

body.landing-page-modern.landing-page-modern #overview-list > div::before {
  content: counter(overview-step);
  position: absolute;
  left: 0;
  top: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px #bfdbfe;
}

.countdown-fixed {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 9999;
  transform: translateX(-50%);
  pointer-events: none;
}

.countdown-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #334155;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.countdown-text {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.countdown-label {
  color: #475569;
  font-weight: 700;
}

.countdown-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: var(--primary);
  align-self: center;
}

.countdown-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.countdown-time {
  color: #dc2626;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

span.countdown-text {
  justify-self: center;
  width: 100%;
  justify-content: center;
}

.btn-anim {
  display: inline-block;
  opacity: 0;
  transform: scale(0.85);
  transform-origin: center;
  will-change: transform, opacity;
}

.btn-anim.is-visible {
  opacity: 1;
  animation: bounceInWrap 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bounceInWrap {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }

  55% {
    opacity: 1;
    transform: scale(1.1);
  }

  75% {
    transform: scale(0.97);
  }

  88% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes heroCardWordRoll {
  0% {
    opacity: 0;
    transform: translateY(-115%);
  }

  4%,
  17% {
    opacity: 1;
    transform: translateY(0);
  }

  20%,
  100% {
    opacity: 0;
    transform: translateY(115%);
  }
}

.reveal-up {
  opacity: 0;
  transform: translateY(80px);
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0);
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 500ms ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-70px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(70px);
}

@media (max-width: 980px) {
  body.landing-page-modern.landing-page-modern .landing-hero::before {
    right: -35vw;
    width: 80vw;
    opacity: 0.5;
  }

  body.landing-page-modern.landing-page-modern .landing-hero-layout,
  #functions,
  .proof-grid,
  #proof-container .proof-grid,
  .official-grid,
  .delprov-board {
    grid-template-columns: 1fr;
  }

  #functions-container,
  #proof-container,
  #overview-container,
  #delprov-guide,
  #official-resources,
  #plugg-guide,
  #FAQ,
  #cta {
    padding-block: 62px;
  }
}

@media (max-width: 640px) {
  .landing-container,
  body.landing-page-modern.landing-page-modern #functions-container,
  body.landing-page-modern.landing-page-modern #overview-container,
  body.landing-page-modern.landing-page-modern #delprov-guide,
  body.landing-page-modern.landing-page-modern #official-resources,
  body.landing-page-modern.landing-page-modern #plugg-guide,
  body.landing-page-modern.landing-page-modern #FAQ,
  body.landing-page-modern.landing-page-modern #cta,
  #proof-container > * {
    width: min(100% - 36px, var(--max));
  }

  body.landing-page-modern.landing-page-modern .landing-hero {
    margin-top: 0;
    padding: 120px 0 46px !important;
  }

  body.landing-page-modern.landing-page-modern h1 {
    max-width: 12ch;
    font-size: clamp(2.25rem, 11vw, 3.45rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  body.landing-page-modern.landing-page-modern h2 {
    max-width: 18ch;
  }

  body.landing-page-modern.landing-page-modern .hero-card h2 {
    max-width: none;
  }

  body.landing-page-modern.landing-page-modern #under-rubrik {
    max-width: 34ch;
    margin-top: 18px;
    color: #334155;
    font-size: 1.06rem;
    line-height: 1.7;
    font-weight: 500;
  }

  .btn-row,
  #hero-buttons,
  #overview-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn,
  #start-btn,
  #explore-btn,
  #try-btn,
  #cta-btn,
  #overview-btns > a {
    width: min(100%, 320px);
  }

  body.landing-page-modern.landing-page-modern #hero-buttons > .btn-anim,
  body.landing-page-modern.landing-page-modern #hero-buttons > a {
    width: min(100%, 320px) !important;
  }

  body.landing-page-modern.landing-page-modern #hero-buttons > .btn-anim > a {
    width: 100% !important;
  }

  .quick-links {
    position: relative;
  }

  .hero-card,
  .function-card,
  .proof-grid article,
  .official-grid article,
  #overview-content,
  #plugg-guide,
  #FAQ details {
    border-radius: 16px;
  }

  #overview-content,
  #plugg-guide {
    padding: 20px;
  }

  .delprov-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .countdown-pill {
    min-width: 300px;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px 12px;
    border-radius: 24px;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
  }

  .countdown-text {
    display: grid;
    gap: 3px;
  }

  .countdown-label {
    font-size: 11px;
    line-height: 1.15;
    letter-spacing: 0;
  }

  .countdown-time {
    display: block;
    font-size: 14px;
    line-height: 1.1;
  }
}

@media (max-width: 640px) {
  body.landing-page-modern.landing-page-modern #functions-container,
  body.landing-page-modern.landing-page-modern #overview-container,
  body.landing-page-modern.landing-page-modern #delprov-guide,
  body.landing-page-modern.landing-page-modern #official-resources,
  body.landing-page-modern.landing-page-modern #plugg-guide,
  body.landing-page-modern.landing-page-modern #FAQ {
    width: 100%;
    max-width: none;
    padding: 28px 0 56px;
  }

  body.landing-page-modern.landing-page-modern #functions-container > *,
  body.landing-page-modern.landing-page-modern #overview-container > *,
  body.landing-page-modern.landing-page-modern #delprov-guide > *,
  body.landing-page-modern.landing-page-modern #official-resources > *,
  body.landing-page-modern.landing-page-modern #plugg-guide > *,
  body.landing-page-modern.landing-page-modern #FAQ > * {
    width: min(100% - 36px, var(--max));
  }
}
