/* Homepage */
.sdu-home-hero {
  --sdu-home-ink: #1f2937;
  --sdu-home-muted: #627089;
  --sdu-home-border: #dfe7f0;
  --sdu-home-soft: #f6f8fb;
  --sdu-home-blue: #294a73;
  --sdu-home-cyan: #247f9a;
  --sdu-home-green: #2f7d65;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(620px, calc(76vh - 74px), 760px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--sdu-home-border);
  background: #f8fafc;
}

.sdu-home-hero > .container,
.sdu-home-section,
.sdu-home-band > .container {
  max-width: var(--sdu-max-width, 1120px);
}

.sdu-home-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sdu-home-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(41, 74, 115, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 74, 115, 0.075) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.68) 68%, transparent);
}

.sdu-home-stream {
  position: absolute;
  left: 38%;
  right: -20rem;
  white-space: nowrap;
  color: rgba(41, 74, 115, 0.18);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 80%, transparent);
}

.sdu-home-stream-a {
  top: 21%;
  animation: sdu-home-drift-left 34s linear infinite;
}

.sdu-home-stream-b {
  top: 44%;
  animation: sdu-home-drift-right 42s linear infinite;
}

.sdu-home-bars {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: min(42rem, 50vw);
  height: 20rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.9rem;
  opacity: 0.48;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 72%, transparent);
}

.sdu-home-bars span {
  align-self: end;
  height: 58%;
  border: 1px solid rgba(36, 127, 154, 0.16);
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(180deg, rgba(36, 127, 154, 0.18), rgba(47, 125, 101, 0.06));
  transform-origin: bottom;
  animation: sdu-home-bars 6.5s ease-in-out infinite;
}

.sdu-home-bars span:nth-child(2) {
  height: 76%;
  animation-delay: -0.9s;
}

.sdu-home-bars span:nth-child(3) {
  height: 42%;
  animation-delay: -1.8s;
}

.sdu-home-bars span:nth-child(4) {
  height: 68%;
  animation-delay: -2.7s;
}

.sdu-home-bars span:nth-child(5) {
  height: 50%;
  animation-delay: -3.6s;
}

.sdu-home-bars span:nth-child(6) {
  height: 84%;
  animation-delay: -4.5s;
}

.sdu-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(36, 127, 154, 0.075) 48%, transparent 68%);
  animation: sdu-home-scan 10s ease-in-out infinite;
}

.sdu-home-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(3.25rem, 6vh, 4.5rem);
  padding-bottom: clamp(3rem, 5vh, 4rem);
}

.sdu-home-kicker,
.sdu-home-label {
  color: var(--sdu-home-cyan);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.sdu-home-hero h1 {
  max-width: 16.5ch;
  margin: 0.6rem 0 1.1rem;
  color: var(--sdu-home-ink);
  font-size: clamp(2.55rem, 5vw, 4.45rem);
  font-weight: 780;
  line-height: 1.02;
}

.sdu-home-hero p {
  max-width: 68ch;
  color: var(--sdu-home-muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.sdu-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.sdu-home-actions--compact {
  margin-top: 1rem;
}

.sdu-home-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 880px;
  margin-top: 1.5rem;
}

.sdu-home-proof div {
  min-height: 5.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(223, 231, 240, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--sdu-home-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  backdrop-filter: blur(8px);
}

.sdu-home-proof span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--sdu-home-ink);
  font-weight: 750;
}

.sdu-home-section {
  padding-top: 3rem;
}

.sdu-home-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 2rem;
  align-items: center;
}

.sdu-home-featured__copy p {
  margin: 1rem 0 0;
  max-width: 62ch;
  color: var(--sdu-home-muted, #627089);
  font-size: 1rem;
  line-height: 1.7;
}

.sdu-home-seqstats-preview {
  display: block;
  padding: 1rem;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(31, 41, 55, 0.07);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.sdu-home-seqstats-preview:hover,
.sdu-home-seqstats-preview:focus {
  border-color: rgba(36, 127, 154, 0.42);
  box-shadow: 0 18px 46px rgba(31, 41, 55, 0.1);
  transform: translateY(-1px);
}

.sdu-home-preview-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  border-left: 3px solid #8bb8ff;
  border-radius: 8px;
  background: #f7faff;
}

.sdu-home-preview-top span,
.sdu-home-preview-controls span {
  color: var(--sdu-home-muted, #627089);
  font-size: 0.82rem;
}

.sdu-home-preview-top strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--sdu-home-ink, #1f2937);
  font-size: 1rem;
  line-height: 1.35;
}

.sdu-home-preview-badge {
  align-self: start;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  background: #1769ff;
  color: #ffffff !important;
  font-weight: 750;
}

.sdu-home-preview-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.8rem 0;
}

.sdu-home-preview-controls span {
  padding: 0.28rem 0.55rem;
  border: 1px solid #dfe7f0;
  border-radius: 999px;
  background: #ffffff;
}

.sdu-home-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.sdu-home-preview-card {
  min-height: 12rem;
  padding: 0.85rem;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background: #ffffff;
}

.sdu-home-preview-card__title {
  color: var(--sdu-home-ink, #1f2937);
  font-size: 0.9rem;
  font-weight: 750;
}

.sdu-home-hist {
  height: 8rem;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.28rem;
  align-items: end;
  margin-top: 0.65rem;
  padding: 0.4rem 0.25rem 0;
  border-bottom: 1px solid #dfe7f0;
  background:
    linear-gradient(180deg, transparent 24%, rgba(223, 231, 240, 0.55) 25%, transparent 26%),
    linear-gradient(180deg, transparent 56%, rgba(223, 231, 240, 0.55) 57%, transparent 58%);
}

.sdu-home-hist span {
  display: block;
  align-self: end;
  height: var(--h, 1rem) !important;
  min-height: 0.5rem;
  border: 1px solid rgba(23, 105, 255, 0.2);
  border-radius: 4px 4px 0 0;
  background: rgba(23, 105, 255, 0.2);
}

.sdu-home-hist span:nth-child(1) { height: 5.8rem !important; }
.sdu-home-hist span:nth-child(2) { height: 7.1rem !important; }
.sdu-home-hist span:nth-child(3) { height: 4.8rem !important; }
.sdu-home-hist span:nth-child(4) { height: 3.8rem !important; }
.sdu-home-hist span:nth-child(5) { height: 2.8rem !important; }
.sdu-home-hist span:nth-child(6) { height: 2.1rem !important; }
.sdu-home-hist span:nth-child(7) { height: 1.6rem !important; }
.sdu-home-hist span:nth-child(8) { height: 1.1rem !important; }
.sdu-home-hist span:nth-child(9) { height: 0.85rem !important; }
.sdu-home-hist span:nth-child(10) { height: 0.65rem !important; }

.sdu-home-curve {
  position: relative;
  height: 8rem;
  margin-top: 0.65rem;
  border-left: 1px solid #dfe7f0;
  border-bottom: 1px solid #dfe7f0;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 26%, rgba(223, 231, 240, 0.55) 27%, transparent 28%),
    linear-gradient(180deg, transparent 58%, rgba(223, 231, 240, 0.55) 59%, transparent 60%);
}

.sdu-home-curve-line {
  position: absolute;
  left: 4%;
  right: 7%;
  bottom: 12%;
  height: 76%;
  border-top: 4px solid rgba(23, 105, 255, 0.16);
  border-radius: 100% 0 0 0;
  transform: skewX(-18deg);
}

.sdu-home-n50,
.sdu-home-n90 {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 88%;
  background: rgba(31, 41, 55, 0.5);
}

.sdu-home-n50 {
  left: 32%;
}

.sdu-home-n90 {
  left: 72%;
}

.sdu-home-preview-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  color: var(--sdu-home-muted, #627089);
  font-size: 0.78rem;
}

.sdu-home-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sdu-home-section__header h2,
.sdu-home-workbench h2,
.sdu-home-reference-copy h2,
.sdu-home-scale h2 {
  margin: 0;
  color: var(--sdu-home-ink, #1f2937);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 750;
}

.sdu-home-section__header a {
  flex: 0 0 auto;
}

.sdu-home-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.sdu-home-tool {
  display: grid;
  gap: 0.35rem;
  min-height: 12rem;
  padding: 1.1rem;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.045);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.sdu-home-tool:hover,
.sdu-home-tool:focus {
  border-color: rgba(36, 127, 154, 0.42);
  box-shadow: 0 14px 34px rgba(31, 41, 55, 0.08);
  transform: translateY(-1px);
}

.sdu-home-tool span {
  color: var(--sdu-home-green, #2f7d65);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.sdu-home-tool strong {
  color: var(--sdu-home-ink, #1f2937);
  font-size: 1.04rem;
}

.sdu-home-tool p {
  margin: 0;
  color: var(--sdu-home-muted, #627089);
  font-size: 0.92rem;
  line-height: 1.52;
}

.sdu-home-band {
  margin-top: 3rem;
  padding: 3rem 0;
  background: #f7fafc;
  border-top: 1px solid #dfe7f0;
  border-bottom: 1px solid #dfe7f0;
}

.sdu-home-workbench {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.sdu-home-workbench p,
.sdu-home-reference-copy p,
.sdu-home-scale p {
  margin: 1rem 0 0;
  color: var(--sdu-home-muted, #627089);
  font-size: 1rem;
  line-height: 1.7;
}

.sdu-home-capabilities {
  display: grid;
  gap: 0.75rem;
}

.sdu-home-capabilities div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background: #ffffff;
}

.sdu-home-capabilities i {
  color: var(--sdu-home-cyan, #247f9a);
}

.sdu-home-reference-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.sdu-home-reference-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.sdu-home-reference-links a {
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background: #ffffff;
  color: var(--sdu-home-ink, #1f2937);
  font-weight: 700;
  text-decoration: none;
}

.sdu-home-reference-links a:hover,
.sdu-home-reference-links a:focus {
  border-color: rgba(41, 74, 115, 0.35);
  background: #f8fafc;
}

.sdu-home-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #dfe7f0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f3f8fa 100%);
  box-shadow: 0 12px 34px rgba(31, 41, 55, 0.055);
}

.sdu-home-scale p {
  max-width: 74ch;
}

@keyframes sdu-home-drift-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-18rem);
  }
}

@keyframes sdu-home-drift-right {
  from {
    transform: translateX(-14rem);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes sdu-home-bars {
  0%, 100% {
    transform: scaleY(0.78);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes sdu-home-scan {
  0%, 18% {
    transform: translateX(-56%);
  }
  68%, 100% {
    transform: translateX(90%);
  }
}

@media (max-width: 991.98px) {
  .sdu-home-hero {
    min-height: auto;
  }

  .sdu-home-hero__inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .sdu-home-hero h1 {
    max-width: 15.5ch;
    font-size: clamp(2.2rem, 9vw, 3.8rem);
  }

  .sdu-home-stream {
    left: 10%;
  }

  .sdu-home-bars {
    width: 100%;
    right: 0;
  }

  .sdu-home-proof,
  .sdu-home-featured,
  .sdu-home-tool-grid,
  .sdu-home-workbench,
  .sdu-home-reference-grid {
    grid-template-columns: 1fr;
  }

  .sdu-home-tool {
    min-height: auto;
  }

  .sdu-home-preview-grid {
    grid-template-columns: 1fr;
  }

  .sdu-home-scale {
    display: grid;
  }
}

@media (max-width: 575.98px) {
  .sdu-home-hero__inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .sdu-home-actions .btn,
  .sdu-home-scale .btn {
    width: 100%;
  }

  .sdu-home-section__header {
    align-items: start;
    flex-direction: column;
  }

  .sdu-home-reference-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sdu-home-stream,
  .sdu-home-bars span,
  .sdu-home-hero::after {
    animation: none;
  }
}
