:root {
  color-scheme: dark;
  --bg: #101418;
  --bg-soft: #151b20;
  --bg-panel: #1b2228;
  --bg-panel-strong: #222b32;
  --text: #f5f8fb;
  --text-muted: #b9c4ce;
  --text-soft: #8d9aa5;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --brand: #52a6e8;
  --brand-strong: #75c7ff;
  --green: #77d7aa;
  --amber: #f3c969;
  --coral: #ff8a78;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --max: 1180px;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Outfit", "Hanken Grotesk", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(82, 166, 232, 0.08), transparent 460px),
    linear-gradient(135deg, rgba(119, 215, 170, 0.07), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--text-muted);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-140%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--text);
  padding: 0.75rem 1rem;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 132px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 20, 24, 0.72);
}

.site-nav a,
.language-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 700;
  line-height: 1;
  padding: 0.7rem 0.95rem;
}

.site-nav a:hover,
.language-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.language-link {
  border: 1px solid var(--line);
  background: rgba(82, 166, 232, 0.1);
  color: var(--brand-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.64fr);
  gap: clamp(1.5rem, 4vw, 3.75rem);
  align-items: center;
  width: min(100% - 2rem, var(--max));
  min-height: auto;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 3rem) 0 clamp(2rem, 4vw, 3rem);
}

.hero__content {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  max-width: 100%;
  border: 1px solid rgba(82, 166, 232, 0.22);
  border-radius: 999px;
  background: rgba(82, 166, 232, 0.1);
  padding: 0.65rem 0.9rem;
  text-transform: none;
}

.eyebrow__dot {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(119, 215, 170, 0.12);
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.02;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: var(--font-display);
}

h1 {
  max-width: 980px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.7rem, 5vw, 4.25rem);
}

h1 span {
  color: var(--green);
}

.hero__lead {
  max-width: 720px;
  color: #d8e2ea;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  font-weight: 800;
  line-height: 1.1;
  padding: 0.95rem 1.15rem;
}

.button--primary {
  background: var(--brand);
  border-color: transparent;
  color: #071018;
  box-shadow: 0 14px 36px rgba(82, 166, 232, 0.28);
}

.button--primary:hover {
  background: var(--brand-strong);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.11);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 2rem;
}

.quick-facts div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem;
}

.quick-facts dt {
  color: var(--text);
  font-weight: 800;
}

.quick-facts dd {
  margin: 0.3rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero__visual {
  align-self: center;
  display: grid;
  place-items: center;
  height: clamp(320px, 42vw, 450px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(82, 166, 232, 0.18), transparent),
    linear-gradient(315deg, rgba(255, 138, 120, 0.12), rgba(119, 215, 170, 0.08)),
    var(--bg-panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__visual img {
  width: min(84%, 440px);
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.34));
}

.proof-strip,
.section,
.cta,
.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.3rem 0;
  text-align: center;
}

.proof-strip h2 {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
  gap: 0.75rem;
}

.logo-row img {
  width: 100%;
  height: 88px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section__intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section__intro h2,
.split__copy h2,
.platform__panel h2,
.trust__content h2,
.cta h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.8vw, 4.25rem);
}

.split__copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
}

.section__intro p,
.split__copy p,
.platform__panel p,
.trust__content p,
.cta p {
  font-size: 1.08rem;
}

.steps,
.service-grid,
.platform-grid,
.app-grid,
.story-grid,
.trust-grid {
  display: grid;
  gap: 1rem;
}

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

.step,
.service-grid article,
.platform-grid article,
.app-card,
.story-card,
.trust-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.step__number {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1.2rem;
  border-radius: 999px;
  background: rgba(82, 166, 232, 0.14);
  color: var(--brand-strong);
  font-weight: 900;
}

.step h3,
.service-grid h3,
.platform-grid h3,
.app-card h3,
.story-card h3,
.trust-grid h3 {
  margin-bottom: 0.65rem;
  font-size: 1.28rem;
}

.step p,
.service-grid p,
.platform-grid p,
.app-card p,
.story-card p,
.trust-grid p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

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

.platform__panel,
.trust {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(82, 166, 232, 0.12), transparent),
    var(--bg-panel);
  padding: clamp(1.35rem, 4vw, 2.2rem);
}

.platform-grid,
.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(119, 215, 170, 0.36);
  border-radius: 50%;
  color: var(--green);
}

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

.app-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-panel);
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand);
}

.app-card--fantilsi::before {
  background: var(--green);
}

.app-card--forms::before {
  background: var(--amber);
}

.app-card--raettles::before {
  background: var(--coral);
}

.app-card__meta,
.story-card__label {
  display: inline-flex;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
}

.app-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 1.15rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.story-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.story-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
}

.story-card__label {
  width: fit-content;
  background: rgba(82, 166, 232, 0.12);
  color: var(--brand-strong);
}

.text-link {
  width: fit-content;
  margin-top: auto;
  color: var(--brand-strong);
  font-weight: 800;
}

.text-link:hover {
  color: var(--text);
}

.trust {
  padding: clamp(1.35rem, 4vw, 2.6rem) 0 0;
  border: 0;
  background: transparent;
}

.trust__content {
  align-self: start;
}

.trust-grid {
  margin-top: 0;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(82, 166, 232, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(82, 166, 232, 0.18), rgba(119, 215, 170, 0.08)),
    var(--bg-panel);
  padding: clamp(1.35rem, 4vw, 2.4rem);
}

.cta p {
  max-width: 720px;
  margin-bottom: 0;
}

.cta__actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--text-soft);
}

.site-footer p {
  margin: 0.6rem 0 0;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--brand-strong);
}

@media (max-width: 1040px) {
  .hero,
  .split,
  .platform__panel,
  .trust {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    min-height: 340px;
  }

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

  .app-grid,
  .platform-grid,
  .trust-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    order: 1;
  }

  .language-link {
    order: 2;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    border-radius: var(--radius);
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .service-grid,
  .story-grid,
  .app-grid,
  .platform-grid,
  .trust-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    display: none;
  }

  .quick-facts-section {
    display: none;
  }

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

  .logo-row img {
    height: 76px;
  }

  .story-card {
    min-height: auto;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero,
  .proof-strip,
  .section,
  .cta,
  .site-footer,
  .site-header {
    width: min(100% - 1rem, var(--max));
  }

  h1 {
    font-size: clamp(2.15rem, 10.4vw, 3.25rem);
  }

  .eyebrow {
    align-items: flex-start;
    border-radius: var(--radius);
  }

  .hero__actions,
  .cta__actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
