:root {
  --ink: #050716;
  --night: #07091b;
  --navy: #0b1024;
  --panel: rgba(13, 17, 38, 0.58);
  --paper: #ffffff;
  --muted: #8a91ad;
  --line: rgba(147, 155, 210, 0.18);
  --blue: #0047ff;
  --violet: #9a5cff;
  --violet-soft: #c59aff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, "SF Pro Display", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.reference-hero {
  position: relative;
  width: min(100%, 755px);
  margin: 0 auto;
  background: #050716;
}

.reference-hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-hit {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
}

.hero-hit-primary {
  top: 34.7%;
  left: 29.4%;
  width: 21.4%;
  height: 4.2%;
}

.hero-hit-secondary {
  top: 34.7%;
  left: 53.4%;
  width: 18.4%;
  height: 4.2%;
}

.alastark-hero {
  position: relative;
  width: min(100%, 755px);
  height: 1024px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #050716;
}

.hero-bg-image {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: calc(100% + 100px);
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.alastark-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 7, 22, 0.16), rgba(5, 7, 22, 0.04) 40%, rgba(5, 7, 22, 0.4) 100%),
    radial-gradient(circle at 50% 30%, transparent 0 42%, rgba(5, 7, 22, 0.2) 72%);
  pointer-events: none;
}

.hero-nav,
.hero-content-live,
.hero-feature-panel,
.hero-stats,
.hero-partners,
.hero-bottom-cta {
  position: relative;
  z-index: 2;
}

.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 46px 0;
}

.alastark-hero .brand {
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 780;
}

.alastark-hero .brand-mark {
  width: 29px;
  height: 29px;
  border-radius: 0;
  background: #ffffff;
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  box-shadow: none;
  transform: none;
}

.alastark-hero .main-nav {
  gap: 28px;
}

.alastark-hero .main-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 560;
}

.hero-nav-button {
  min-height: 38px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 11px;
}

.hero-content-live {
  position: absolute;
  top: 100px;
  left: 50%;
  width: min(620px, calc(100% - 56px));
  margin: 0;
  text-align: center;
  transform: translateX(-50%);
}

.hero-pill {
  display: inline-flex;
  margin: 0 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 7px 16px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 450;
  line-height: 1.2;
}

.hero-content-live h1 {
  margin: 0 0 25px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

.hero-content-live h1 span {
  display: block;
}

.hero-content-live h1 span:first-child {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.28);
}

.hero-content-live h1 span:last-child {
  color: #c895ff;
  text-shadow: 0 0 24px rgba(190, 115, 255, 0.36);
}

.hero-content-live p:not(.hero-pill) {
  max-width: 430px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
}

.alastark-hero .hero-actions {
  justify-content: center;
  gap: 24px;
}

.alastark-hero .button {
  min-height: 43px;
  border-radius: 999px;
  padding: 0 25px;
  font-size: 12px;
}

.button-plain {
  color: #ffffff;
  background: transparent;
}

.button-plain::after {
  content: "→";
  margin-left: 14px;
}

.alastark-hero .button-primary::after {
  content: "→";
  margin-left: 14px;
}

.hero-feature-panel {
  position: absolute;
  top: 510px;
  left: 50%;
  display: grid;
  width: calc(100% - 76px);
  margin: 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border: 1px solid rgba(199, 127, 255, 0.24);
  border-radius: 28px;
  padding: 22px 38px 18px;
  background: rgba(6, 8, 25, 0.72);
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.hero-feature-panel article {
  min-width: 0;
}

.hero-icon {
  display: inline-flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border: 1px solid rgba(190, 85, 255, 0.92);
  border-radius: 14px;
  color: #ffffff;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 28%), rgba(95, 31, 170, 0.72);
  box-shadow: 0 0 26px rgba(166, 74, 255, 0.58);
  font-size: 22px;
}

.hero-feature-panel h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 620;
  line-height: 1.45;
}

.hero-feature-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  line-height: 1.6;
}

.hero-stats {
  position: absolute;
  top: 715px;
  left: 50%;
  display: grid;
  width: calc(100% - 76px);
  margin: 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border: 1px solid rgba(199, 127, 255, 0.18);
  border-radius: 22px;
  padding: 24px 42px;
  background: rgba(6, 8, 25, 0.56);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.hero-stats strong {
  display: block;
  color: #a66cff;
  font-size: 21px;
  line-height: 1.1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
}

.hero-partners {
  position: absolute;
  top: 840px;
  left: 50%;
  display: grid;
  width: calc(100% - 104px);
  margin: 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 14px;
  font-weight: 700;
  transform: translateX(-50%);
}

.hero-partners small {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  font-weight: 500;
}

.hero-bottom-cta {
  position: absolute;
  top: 918px;
  left: 50%;
  width: min(430px, calc(100% - 48px));
  margin: 0;
  text-align: center;
  transform: translateX(-50%);
}

.hero-bottom-cta p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.hero-bottom-cta span {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.hero-bottom-cta a {
  display: inline-flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  border: 1px solid rgba(188, 104, 255, 0.9);
  border-radius: 999px;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(147, 77, 255, 0.55);
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(5, 7, 22, 0.68);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 760;
}

.brand-logo-img {
  width: 152px;
  height: auto;
  object-fit: contain;
}

.brand-logo-inverse {
  width: 138px;
}

.hero-brand-logo {
  display: block;
  width: auto;
  height: 32px;
  object-fit: contain;
}

.hero-brand-mark-only {
  width: 34px;
  height: 34px;
}

.hero-brand-sterne {
  width: 56px;
  height: 56px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, #5a22e0, #0047ff);
  box-shadow: 0 0 22px rgba(130, 80, 255, 0.65);
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
}

.main-nav,
.header-actions,
.hero-actions,
.social-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a,
.text-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 19px;
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #6937ff);
  box-shadow: 0 13px 34px rgba(0, 71, 255, 0.34);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  position: relative;
  min-height: 1080px;
  overflow: hidden;
  padding: 132px 24px 54px;
  background:
    radial-gradient(circle at 50% 45%, rgba(71, 54, 150, 0.2), transparent 28%),
    radial-gradient(circle at 50% 76%, rgba(145, 75, 255, 0.4), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(0, 71, 255, 0.22), transparent 36%),
    #050716;
}

.star-field {
  position: absolute;
  inset: 0;
  opacity: 0.52;
  background-image:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.75) 0 1px, transparent 1.5px),
    radial-gradient(circle at 84% 50%, rgba(255, 255, 255, 0.56) 0 1px, transparent 1.5px),
    radial-gradient(circle at 37% 38%, rgba(177, 128, 255, 0.85) 0 1px, transparent 1.5px);
  background-size: 180px 170px, 260px 240px, 310px 300px, 420px 360px;
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 7px 14px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
}

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

h1 {
  margin-bottom: 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 6.4vw, 78px);
  font-weight: 650;
  line-height: 1.08;
}

.title-white {
  color: #ffffff;
}

.title-gradient {
  background: linear-gradient(135deg, #b060ff 0%, #e0a8ff 55%, #c880ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 620;
  line-height: 1.06;
}

h3 {
  margin-bottom: 9px;
  font-size: 17px;
  font-weight: 680;
}

.hero-copy {
  max-width: 640px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

.hero-actions {
  justify-content: center;
}

.horizon {
  position: absolute;
  z-index: 2;
  right: -14%;
  bottom: -20px;
  left: -14%;
  height: 440px;
  border-top: 2px solid rgba(210, 150, 255, 0.78);
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(ellipse 68% 55% at 50% 0%, rgba(172, 74, 255, 0.52) 0%, transparent 55%),
    radial-gradient(ellipse 95% 72% at 50% 0%, rgba(0, 52, 210, 0.22) 0%, transparent 72%);
  box-shadow:
    0 -6px 28px rgba(245, 195, 255, 0.9),
    0 -52px 145px rgba(148, 68, 255, 0.46),
    0 -110px 220px rgba(80, 18, 200, 0.2);
  overflow: visible;
}

.rising-star {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 20px #ffffff,
    0 0 60px #d88cff,
    0 0 140px rgba(123, 61, 255, 0.7);
  transform: translateX(-50%);
}

/* upward light beam — cone from the horizon point */
.rising-star::before {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 360px;
  height: 640px;
  background: linear-gradient(
    to top,
    rgba(140, 58, 255, 0.36) 0%,
    rgba(195, 115, 255, 0.22) 22%,
    rgba(220, 165, 255, 0.1) 52%,
    transparent 100%
  );
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transform: translateX(-50%);
  pointer-events: none;
}

/* horizontal lens-flare line */
.rising-star::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  transform: translate(-50%, -50%);
}

.signal-panel {
  position: absolute;
  z-index: 5;
  right: 50%;
  bottom: 58px;
  display: grid;
  width: min(1120px, calc(100% - 48px));
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 18px;
  background: rgba(5, 7, 22, 0.58);
  backdrop-filter: blur(18px);
  transform: translateX(50%);
}

.signal-panel article,
.feature-grid article,
.article-grid article,
.work-card,
.metric-grid article,
.brief-card {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.signal-panel article {
  min-height: 188px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(181, 112, 255, 0.72);
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 760;
  background: rgba(114, 58, 255, 0.25);
}

.signal-panel h2 {
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 690;
  line-height: 1.28;
}

.signal-panel p,
.feature-grid p,
.article-grid p,
.about-band p,
.contact-section p,
.login-band p {
  color: rgba(255, 255, 255, 0.66);
}

.trust-strip {
  display: grid;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 34px 0;
}

.trust-strip strong {
  display: block;
  color: var(--violet-soft);
  font-size: 24px;
  font-weight: 720;
}

.trust-strip span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.split,
.product-showcase,
.about-band,
.contact-section,
.login-band,
.tech-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
}

.split > div > p,
.showcase-copy > p,
.about-band > p,
.contact-section > div > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.inline-link,
.article-grid a,
.work-card a,
.internal-articles a {
  color: var(--violet-soft);
  font-weight: 730;
}

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

.feature-grid article,
.article-grid article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.product-showcase {
  width: min(1160px, calc(100% - 48px));
}

.mockup-frame {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mockup-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(90deg, var(--violet-soft), var(--violet-soft)) 0 12px / 14px 2px no-repeat;
}

.tech-band,
.about-band {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-list span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
}

.section-heading {
  max-width: 720px;
}

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

.article-grid span {
  color: var(--violet-soft);
  font-size: 12px;
  font-weight: 760;
}

.contact-section {
  align-items: start;
}

.contact-form,
.login-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 13px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.login-band {
  padding-top: 22px;
}

.login-form {
  grid-template-columns: 1fr 1fr auto;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 30px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer h2 {
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
}

.app-page {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 258px 1fr;
  color: var(--navy);
  background: #f6f7fb;
}

.app-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  gap: 30px;
  padding: 28px 18px;
  border-right: 1px solid #e1e5ef;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
}

.app-sidebar .brand,
.app-sidebar a,
.app-shell {
  color: var(--navy);
}

.app-sidebar nav {
  display: grid;
  gap: 7px;
}

.app-sidebar nav a {
  border-radius: 8px;
  padding: 12px 14px;
  color: #535e79;
  font-size: 14px;
  font-weight: 680;
}

.app-sidebar nav a.active {
  color: #3619d2;
  background: #eee8ff;
}

.app-shell {
  padding: 26px 32px 52px;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 32px;
}

.search {
  width: min(640px, 100%);
}

.search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.search input,
.app-page input {
  color: var(--navy);
  border-color: #dbe1ef;
  background: #ffffff;
}

.workspace-hero,
.automation-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.workspace-hero h1 {
  margin-bottom: 14px;
  color: var(--navy);
  font-family: inherit;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 660;
  line-height: 1.04;
}

.workspace-hero .eyebrow {
  color: #6d38ff;
  border-color: #e3dcff;
  background: #f1edff;
}

.workspace-hero p,
.automation-banner p {
  color: #5d6681;
}

.brief-card,
.metric-grid article,
.work-card,
.automation-banner,
.internal-articles {
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(22, 28, 54, 0.08);
}

.brief-card {
  padding: 22px;
}

.brief-card span,
.metric-grid span,
.work-card span,
.work-card small {
  color: #66708c;
}

.brief-card strong {
  display: block;
  margin: 12px 0 8px;
  color: #3619d2;
  font-size: 23px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.metric-grid article {
  padding: 20px;
}

.metric-grid strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 27px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 16px;
}

.work-card {
  padding: 22px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.card-head h2,
.automation-banner h2,
.internal-articles h2 {
  margin: 0;
  color: var(--navy);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.3;
}

.task-list,
.message-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-list li,
.message-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #edf0f7;
  padding-bottom: 12px;
}

.chart-line {
  height: 170px;
  border-radius: 8px;
  background:
    linear-gradient(160deg, transparent 0 30%, rgba(109, 56, 255, 0.18) 31% 100%),
    linear-gradient(135deg, transparent 0 18%, #6435ff 18% 20%, transparent 20% 38%, #6435ff 38% 40%, transparent 40% 59%, #6435ff 59% 61%, transparent 61%);
}

.doc-preview {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  border: 1px solid #e2e6f0;
}

.doc-preview img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center top;
}

.automation-banner,
.internal-articles {
  margin-top: 18px;
  border: 1px solid #e0e5f1;
  border-radius: 8px;
  padding: 22px;
}

.automation-banner {
  align-items: center;
}

.internal-articles {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    width: auto;
    margin: 0;
    border-radius: 0;
    transform: none;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 1040px;
    padding-top: 78px;
  }

  .horizon {
    bottom: 310px;
  }

  .signal-panel,
  .trust-strip,
  .feature-grid,
  .article-grid,
  .metric-grid,
  .dashboard-layout {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .product-showcase,
  .about-band,
  .contact-section,
  .login-band,
  .workspace-hero,
  .automation-banner,
  .site-footer,
  .tech-band {
    grid-template-columns: 1fr;
  }

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

  .app-sidebar {
    position: static;
    height: auto;
  }
}

@media (max-width: 680px) {
  .header-actions .text-link,
  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: 1210px;
  }

  .horizon {
    right: -58%;
    bottom: -10px;
    left: -58%;
    height: 280px;
  }

  .signal-panel {
    bottom: 28px;
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .social-links,
  .app-topbar,
  .internal-articles {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-strip,
  .feature-grid,
  .article-grid,
  .metric-grid,
  .dashboard-layout,
  .login-form {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 32px, 1120px);
    padding: 68px 0;
  }

  .app-shell {
    padding: 22px 16px 42px;
  }
}
/* Responsive hero full-width override */
.alastark-hero {
  width: 100%;
}

.hero-bg-image {
  top: 0;
  left: 50%;
  height: 100%;
  min-width: 755px;
  object-fit: cover;
  object-position: center 70%;
  transform: translateX(-50%);
}

.hero-nav {
  left: 50%;
  width: min(100%, 755px);
  transform: translateX(-50%);
}

.hero-feature-panel,
.hero-stats {
  width: min(678px, calc(100% - 76px));
}

.hero-partners {
  width: min(650px, calc(100% - 104px));
}

@media (max-width: 640px) {
  .alastark-hero {
    height: 1120px;
    border-radius: 0;
  }

  .hero-bg-image {
    width: 100%;
    min-width: 760px;
    height: 1120px;
    object-fit: cover;
    object-position: center 62%;
  }

  .hero-nav {
    top: 0;
    width: 100%;
    padding: 18px 22px 0;
  }

  .hero-brand-sterne {
    width: 48px;
    height: 48px;
  }

  .alastark-hero .main-nav {
    display: none;
  }

  .hero-nav-button {
    min-height: 35px;
    padding: 0 14px;
    font-size: 10px;
  }

  .hero-content-live {
    top: 108px;
    width: calc(100% - 34px);
  }

  .hero-pill {
    max-width: 100%;
    margin-bottom: 22px;
    padding: 7px 14px;
    font-size: 12px;
    white-space: normal;
  }

  .hero-content-live h1 {
    max-width: 360px;
    margin: 0 auto 24px;
    font-size: 52px;
    line-height: 0.94;
  }

  .hero-content-live p:not(.hero-pill) {
    max-width: 360px;
    margin-bottom: 26px;
    font-size: 13px;
    line-height: 1.7;
  }

  .alastark-hero .hero-actions {
    gap: 12px;
  }

  .alastark-hero .button {
    min-height: 40px;
    padding: 0 18px;
    font-size: 11px;
  }

  .hero-feature-panel {
    top: 640px;
    width: calc(100% - 46px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    padding: 28px 24px;
  }

  .hero-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }

  .hero-feature-panel h2 {
    margin-bottom: 9px;
    font-size: 14px;
    line-height: 1.35;
  }

  .hero-feature-panel p {
    font-size: 11px;
    line-height: 1.5;
  }

  .hero-stats {
    top: 908px;
    width: calc(100% - 46px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    padding: 22px 20px;
  }

  .hero-partners {
    top: 1048px;
    width: calc(100% - 46px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .hero-bottom-cta {
    display: none;
  }
}

@media (max-width: 420px) {
  .alastark-hero {
    height: 1140px;
  }

  .hero-bg-image {
    min-width: 790px;
    height: 1140px;
    object-position: center 61%;
  }

  .hero-content-live h1 {
    max-width: 330px;
    font-size: 47px;
  }

  .hero-feature-panel {
    top: 650px;
  }

  .hero-stats {
    top: 922px;
  }

  .hero-partners {
    top: 1066px;
  }
}
