:root {
  --bg: #d1d1d1;
  --bg-alt: #d1d1d1;
  --text-main: #111111;
  --text-muted: #111111;
  --accent: #111111;
  --accent-soft: #d1d1d1;
  --border-subtle: #111111;
  --max-width: 1200px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.12);
  --transition-fast: 200ms ease-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui,
    -system-ui, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Language toggle */

.lang-toggle-input {
  display: none;
}

.lang-en {
  display: inline;
}

.lang-sv {
  display: none;
}

/* Step explanations in hero card */

.step-toggle {
  display: none;
}

.step-copy {
  display: none !important;
}

#step-contact:checked ~ .hero-mesh .step-contact-label,
#step-register:checked ~ .hero-mesh .step-register-label,
#step-connect:checked ~ .hero-mesh .step-connect-label,
#step-upload:checked ~ .hero-mesh .step-upload-label,
#step-select:checked ~ .hero-mesh .step-select-label,
#step-publish:checked ~ .hero-mesh .step-publish-label,
#step-display:checked ~ .hero-mesh .step-display-label,
#step-insights:checked ~ .hero-mesh .step-insights-label {
  background: #111111;
  color: #d1d1d1;
}

#step-contact:checked ~ .hero-stats .step-contact,
#step-register:checked ~ .hero-stats .step-register,
#step-connect:checked ~ .hero-stats .step-connect,
#step-upload:checked ~ .hero-stats .step-upload,
#step-select:checked ~ .hero-stats .step-select,
#step-publish:checked ~ .hero-stats .step-publish,
#step-display:checked ~ .hero-stats .step-display,
#step-insights:checked ~ .hero-stats .step-insights {
  display: inline-block !important;
}

/* Ensure only active language text is visible (overrides step display) */

#lang-sv:checked ~ .page .lang-en {
  display: none !important;
}

#lang-sv:checked ~ .page .lang-sv:not(.step-copy) {
  display: inline !important;
}

#lang-en:checked ~ .page .lang-en:not(.step-copy) {
  display: inline !important;
}

#lang-en:checked ~ .page .lang-sv {
  display: none !important;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 14px;
  text-transform: uppercase;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d1d1;
  font-size: 12px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 64px;
  font-size: 14px;
  color: var(--text-muted);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.lang-switch-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-switch-select {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  padding: 4px 8px;
  display: inline-flex;
  gap: 4px;
  background: var(--bg);
}

.lang-option {
  padding: 3px 8px;
  border-radius: 999px;
  cursor: pointer;
}

#lang-en:checked ~ .page .lang-option-en {
  background: var(--text-main);
  color: var(--bg);
}

#lang-sv:checked ~ .page .lang-option-sv {
  background: var(--text-main);
  color: var(--bg);
}

.nav a {
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--text-main);
  transition: width var(--transition-fast);
}

.nav a:hover {
  color: var(--text-main);
}

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: inherit;
  font-weight: 600;
  display: inline-block;
  line-height: 1.2;
  vertical-align: baseline;
  transition: color var(--transition-fast);
}

.nav-cta:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 8px 30px rgba(0, 113, 227, 0.3);
}

/* Hero */

.hero {
  padding: 140px 0;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(40px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero-title span {
  background: none;
  color: #111111;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.btn-primary {
  border-radius: 999px;
  padding: 12px 26px;
  background: var(--accent);
  color: #d1d1d1;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0px 50px rgba(0, 113, 227, 0.35);
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-primary:hover {
  background: #0077ed;
  transform: translateY(-1px);
  box-shadow: 0 24px 70px rgba(0, 113, 227, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 14px 40px rgba(0, 113, 227, 0.3);
}

.btn-ghost {
  border-radius: 999px;
  padding: 11px 22px;
  border: 1px solid var(--border-subtle);
  background: #d1d1d1;
  color: var(--text-main);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(16px);
  transition: background var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-ghost:hover {
  background: #ffffff;
  border-color: #c0c0c5;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-meta span {
  color: var(--text-main);
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  background: #d1d1d1;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(210, 210, 215, 0.6);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pill {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-weight: 600;
}

.hero-card-title {
  font-size: 20px;
  font-weight: 600;
}

.hero-card-sub {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-mesh {
  border-radius: 18px;
  background: #d1d1d1;
  padding: 14px;
  border: 1px solid rgba(210, 210, 215, 0.65);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mesh-node {
  border-radius: 14px;
  background: #d1d1d1;
  border: 1px solid #111111;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.mesh-node.primary {
  background: #111111;
  color: #d1d1d1;
  border-color: #111111;
  box-shadow: none;
}

.mesh-node strong {
  font-weight: 600;
  color: inherit;
}

/* Pointer hand hint – only on Register when Contact is selected */

.mesh-node::after {
  content: "";
}

#step-contact:checked ~ .hero-mesh .step-register-label::after {
  content: "⬇︎";
  position: absolute;
  top: -20px;
  font-size: 18px;
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  animation: hand-wiggle 700ms ease-in-out infinite alternate;
}

@keyframes hand-wiggle {
  from {
    transform: translateX(-50%) translateY(0);
  }
  to {
    transform: translateX(-50%) translateY(-4px);
  }
}

.hero-stats {
  display: flex;
  gap: 18px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 90px;
  border-radius: 16px;
  border: 1px solid #111111;
  padding: 10px 12px;
  background: #d1d1d1;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

/* Section base */

section {
  padding: 140px 0;
}

/* Extra vertical space between main topic sections on the page */
#platform,
#solutions,
#stories,
#contact {
  margin-top: 80px;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-title {
  font-size: 26px;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Features */

.features {
  background: var(--bg-alt);
}

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

.feature-card {
  border-radius: var(--radius-md);
  background: #d1d1d1;
  padding: 20px 20px 18px;
  border: 1px solid rgba(210, 210, 215, 0.8);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast), background var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  border-color: #111111;
  background: #d1d1d1;
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #d1d1d1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
}

.feature-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Product-style band */

.band {
  background: #d1d1d1;
}

.band-inner {
  border-radius: var(--radius-lg);
  border: 1px solid #111111;
  padding: 30px 26px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  background: #d1d1d1;
  box-shadow: none;
}

.band-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
}

.band-title {
  font-size: 24px;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.band-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.band-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #d1d1d1;
  color: var(--text-muted);
}

.band-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.band-meta span {
  font-weight: 500;
  color: var(--text-main);
}

.band-visual {
  border-radius: 18px;
  border: 1px solid #111111;
  padding: 14px;
  background: #d1d1d1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.band-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #d1d1d1;
  border: 1px solid #111111;
}

.band-row-label {
  color: var(--text-muted);
}

.band-row-value {
  font-weight: 600;
}

/* Testimonials */

.testimonials {
  background: var(--bg-alt);
}

.test-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.quote-card {
  border-radius: var(--radius-md);
  background: #d1d1d1;
  padding: 24px 24px 20px;
  border: 1px solid #111111;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-mark {
  font-size: 32px;
  line-height: 0.6;
  color: var(--text-main);
}

.quote-text {
  font-size: 16px;
  line-height: 1.7;
}

.quote-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.quote-name {
  font-weight: 600;
  color: var(--text-main);
}

.quote-role {
  color: var(--text-muted);
}

.quote-pill {
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid var(--border-subtle);
  background: #d1d1d1;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.logos-card {
  border-radius: var(--radius-md);
  background: #d1d1d1;
  padding: 18px 18px 16px;
  border: 1px solid #111111;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.logos-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-chip {
  border-radius: 999px;
  padding: 7px 12px;
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-main);
  background: #d1d1d1;
}

/* CTA */

.cta {
  background: #111111;
  color: #d1d1d1;
}

.cta-inner {
  text-align: center;
  padding: 40px 0 34px;
}

.cta-title {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.cta-text {
  font-size: 15px;
  color: #d1d1d1;
  max-width: 420px;
  margin: 0 auto 22px;
  line-height: 1.6;
}

.cta-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
  text-align: left;
}

.cta-card {
  border-radius: 18px;
  border: 1px solid #d1d1d1;
  padding: 20px 18px 18px;
  background: #111111;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-card-title {
  font-size: 18px;
  margin-bottom: 4px;
}

.cta-card-text {
  font-size: 14px;
  color: #d1d1d1;
  line-height: 1.6;
}

.btn-light {
  border-radius: 999px;
  padding: 11px 24px;
  border: none;
  background: #d1d1d1;
  color: #111111;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
  box-shadow: none;
}

.btn-light:hover {
  background: #d1d1d1;
  transform: none;
  box-shadow: none;
}

.btn-outline-dark {
  border-radius: 999px;
  padding: 10px 22px;
  border: 1px solid #d1d1d1;
  background: transparent;
  color: #d1d1d1;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition-fast),
    border-color var(--transition-fast), color var(--transition-fast);
}

.btn-outline-dark:hover {
  background: #111111;
  border-color: #d1d1d1;
}

.cta-meta {
  font-size: 12px;
  color: #d1d1d1;
}

/* Footer */

.footer {
  background: #111111;
  color: #d1d1d1;
  padding: 22px 0 26px;
  font-size: 12px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer a {
  color: #d1d1d1;
}

.footer a:hover {
  color: #d1d1d1;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #d1d1d1;
}

.social-icon i {
  font-size: 20px;
}

.social-icon:hover {
  color: #ffffff;
}

/* Responsive */

@media (max-width: 960px) {
  .nav {
    gap: 18px;
  }

  .hero-inner,
  .band-inner,
  .test-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: 2;
  }

  .hero-card {
    margin: 0 auto;
    max-width: 460px;
  }

  .band-inner,
  .quote-card {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 56px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title {
    font-size: 22px;
  }

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

  section {
    padding: 40px 0;
  }

  .cta-title {
    font-size: 24px;
  }

  .cta-options {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

