/* ScaFix - static website (no build step) */

:root {
  /* Warm, light "app-like" canvas */
  --bg-0: #fbf7ef;
  --bg-1: #f2ede3;

  --ink: rgba(18, 20, 24, 0.94);
  --muted: rgba(18, 20, 24, 0.70);
  --muted-2: rgba(18, 20, 24, 0.52);

  /* Brand */
  --teal: #26b7a6;
  --orange: #f08a2c;

  --surface: rgba(255, 255, 255, 0.74);
  --surface-2: rgba(255, 255, 255, 0.90);
  --border: rgba(18, 20, 24, 0.12);

  --shadow: rgba(18, 20, 24, 0.16);

  --radius: 18px;
  --radius-lg: 26px;

  --container: 1140px;
  --pad: 24px;

  --sans: "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
  background:
    radial-gradient(900px 520px at 10% 8%, rgba(240, 138, 44, 0.16), transparent 62%),
    radial-gradient(900px 520px at 90% 70%, rgba(38, 183, 166, 0.14), transparent 62%),
    linear-gradient(180deg, #fffaf1, var(--bg-0) 45%, var(--bg-1));
}

a {
  color: inherit;
  text-decoration-color: rgba(18, 20, 24, 0.22);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.scaffold-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(to right, rgba(18, 20, 24, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 20, 24, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 46% 0%, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0) 70%);
}

.container {
  width: min(var(--container), calc(100% - 2 * var(--pad)));
  margin: 0 auto;
}

.navwrap {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 239, 0.72);
  border-bottom: 1px solid rgba(18, 20, 24, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.announce {
  border-bottom: 1px solid rgba(18, 20, 24, 0.06);
  background: linear-gradient(
    90deg,
    rgba(240, 138, 44, 0.18),
    rgba(255, 255, 255, 0.35),
    rgba(38, 183, 166, 0.18)
  );
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 0;
}

.announce-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(18, 20, 24, 0.74);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(18, 20, 24, 0.12);
  box-shadow: 0 14px 34px rgba(18, 20, 24, 0.10);
}

.announce-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.78);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brandmark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 44px rgba(18, 20, 24, 0.14);
  border: 1px solid rgba(18, 20, 24, 0.10);
}

.brandmark img {
  width: 30px;
  height: 30px;
  display: block;
}

.brandtext {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brandtext strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brandtext span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 750;
}

.navlinks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.navlinks > a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
}

.navlinks > a:hover {
  color: var(--ink);
  background: rgba(18, 20, 24, 0.06);
  border-color: rgba(18, 20, 24, 0.10);
  text-decoration: none;
}

.navmenu {
  position: relative;
  display: none;
}

.navmenu summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 20, 24, 0.10);
  background: rgba(255, 255, 255, 0.55);
}

.navmenu summary::-webkit-details-marker {
  display: none;
}

.navmenu[open] summary {
  color: var(--ink);
  border-color: rgba(18, 20, 24, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.navmenu .menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 240px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 20, 24, 0.10);
  box-shadow: 0 22px 70px rgba(18, 20, 24, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 60;
}

.navmenu .menu a {
  display: block;
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(18, 20, 24, 0.86);
  font-weight: 850;
  text-decoration: none;
}

.navmenu .menu a:hover {
  background: rgba(18, 20, 24, 0.06);
}

.langmenu {
  position: relative;
}

.langmenu summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 20, 24, 0.10);
  background: rgba(255, 255, 255, 0.55);
}

.langmenu summary::-webkit-details-marker {
  display: none;
}

.langmenu[open] summary {
  color: var(--ink);
  border-color: rgba(18, 20, 24, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.langmenu .menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 260px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 20, 24, 0.10);
  box-shadow: 0 22px 70px rgba(18, 20, 24, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 60;
}

.langmenu .menu a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(18, 20, 24, 0.86);
  font-weight: 850;
  text-decoration: none;
}

.langmenu .menu a:hover {
  background: rgba(18, 20, 24, 0.06);
  border-color: transparent;
}

.langmenu .menu a[aria-current="page"] {
  background: rgba(18, 20, 24, 0.06);
}

.langmenu .menu a span {
  color: rgba(18, 20, 24, 0.50);
  font-weight: 850;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(18, 20, 24, 0.10);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 90px rgba(18, 20, 24, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  padding: 34px;
  margin: 18px 0 18px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    radial-gradient(820px 340px at 18% 18%, rgba(240, 138, 44, 0.12), transparent 62%),
    radial-gradient(820px 340px at 84% 50%, rgba(38, 183, 166, 0.10), transparent 60%);
  opacity: 0.8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  box-shadow: 0 0 0 3px rgba(18, 20, 24, 0.06);
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
}

h1 {
  margin: 12px 0 12px;
  font-size: clamp(2.45rem, 4.4vw, 3.75rem);
  line-height: 1.02;
}

.lede {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 14px;
  max-width: 56ch;
}

.bullets {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 700;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  margin-top: 6px;
  flex: 0 0 auto;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.langgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.cardlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(18, 20, 24, 0.10);
  text-decoration: none;
}

.cardlink strong {
  font-weight: 950;
}

.cardlink span {
  font-weight: 900;
  color: var(--muted-2);
}

.cardlink:hover {
  background: rgba(255, 255, 255, 0.88);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(18, 20, 24, 0.14);
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.62);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 0 18px 60px rgba(38, 183, 166, 0.20);
}

.btn-primary:hover {
  filter: brightness(1.06) saturate(1.06);
  text-decoration: none;
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.hero-kpis {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.kpi {
  min-width: 140px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(18, 20, 24, 0.10);
}

.kpi strong {
  display: block;
  font-weight: 950;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.kpi span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted-2);
}

.device {
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 12px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 20, 24, 0.12);
  box-shadow: 0 28px 90px rgba(18, 20, 24, 0.14);
  position: relative;
}

.device::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 34%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(18, 20, 24, 0.07);
}

.device img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
}

.device-sm {
  width: min(380px, 100%);
}

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 26px;
  align-items: center;
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(18, 20, 24, 0.10);
}

.split + .split {
  margin-top: 14px;
}

.split h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.split p {
  margin: 0 0 12px;
  color: var(--muted);
}

.split-reverse {
  grid-template-columns: 0.98fr 1.02fr;
}

.split-reverse .split-text {
  order: 2;
}

.split-reverse .split-media {
  order: 1;
}

.video-card {
  padding: 14px;
}

.video-card video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: rgba(18, 20, 24, 0.06);
  border: 1px solid rgba(18, 20, 24, 0.10);
}

.faq {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.faq details {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 20, 24, 0.10);
  padding: 12px 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
  color: rgba(18, 20, 24, 0.88);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.callout {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(38, 183, 166, 0.16), rgba(240, 138, 44, 0.14));
  border: 1px solid rgba(18, 20, 24, 0.10);
}

.callout h2 {
  margin: 0;
}

.section {
  padding: 28px 0;
}

.section h2 {
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
}

.section p {
  margin: 0 0 12px;
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.panel {
  grid-column: span 6;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(18, 20, 24, 0.10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.panel-wide {
  grid-column: span 7;
}

.panel-narrow {
  grid-column: span 5;
}

.panel-head {
  padding: 18px 18px 0;
  display: grid;
  gap: 6px;
}

.panel-head h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.panel-body {
  padding: 16px 18px 18px;
}

.panel-body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(18, 20, 24, 0.10);
  background: rgba(255, 255, 255, 0.92);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 340px);
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.strip::-webkit-scrollbar {
  height: 10px;
}

.strip::-webkit-scrollbar-thumb {
  background: rgba(18, 20, 24, 0.14);
  border-radius: 999px;
}

.shotcard {
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(18, 20, 24, 0.10);
  border-radius: var(--radius-lg);
  padding: 12px;
}

.shotcard img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(18, 20, 24, 0.10);
  background: rgba(255, 255, 255, 0.92);
}

.card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 20, 24, 0.10);
  border-radius: var(--radius);
  padding: 16px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.sysstats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 20, 24, 0.10);
}

.stat span {
  color: var(--muted);
  font-weight: 950;
  letter-spacing: -0.01em;
}

.stat strong {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(18, 20, 24, 0.12);
  font-size: 13px;
  font-weight: 900;
  color: rgba(18, 20, 24, 0.78);
}

.legal {
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.65;
}

.footer {
  padding: 28px 0 52px;
  color: var(--muted-2);
  font-size: 13px;
}

.footer a {
  color: var(--muted);
}

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

.reveal {
  /* Visible by default, so the site still works if JS is disabled/blocked. */
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 520ms ease, transform 680ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .navwrap {
    position: relative;
  }

  .nav {
    padding: 12px 0 10px;
  }

  .announce-inner {
    justify-content: flex-start;
  }

  .announce-pill {
    font-size: 11px;
    padding: 6px 10px;
  }

  .navlinks {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .navlinks > a {
    display: none;
  }

  .navmenu {
    display: block;
  }

  .navmenu .menu {
    width: min(280px, calc(100vw - 2 * var(--pad)));
  }

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

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

  .split,
  .split-reverse {
    grid-template-columns: 1fr;
  }

  .split-reverse .split-text,
  .split-reverse .split-media {
    order: initial;
  }

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

  .panel,
  .panel-wide,
  .panel-narrow {
    grid-column: auto;
  }

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

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

  .langmenu .menu {
    width: min(280px, calc(100vw - 2 * var(--pad)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
