* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body.landing-body {
  background: #0c100c;
  color: #f5f7f1;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.landing {
  --accent: #ddfa6b;
  --on-accent: #080b08;
  --fg: #f7f9f1;
  --muted: #c1c8bd;
  --background: #0e130f;
  --shade-angle: 90deg;
  --content-shade: linear-gradient(var(--shade-angle), #0a100cf7 3%, #0a100cdc 34%, #0b100b56 67%, #0c100c08 100%);
  --edge-shade: linear-gradient(0deg, #080d0bc4 0%, transparent 52%);
  background: var(--background);
  color: var(--fg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: clamp(106px, 16vh, 190px) clamp(29px, 7.4vw, 155px) clamp(64px, 12vh, 134px);
}

.landing[data-theme="neon"] {
  --background: #101021;
  --content-shade: linear-gradient(var(--shade-angle), #0e1020fa 0%, #0e1020e3 35%, #10112750 67%, #15133005);
  --edge-shade: linear-gradient(0deg, #0b0b21b0, transparent 52%);
  --muted: #ccc9e6;
}

.landing[data-theme="clean"] {
  --fg: #1d241d;
  --muted: #424b42;
  --background: #e8eee1;
  --content-shade: linear-gradient(var(--shade-angle), #e8eee1f5 0%, #e8eee1d0 41%, #e8eee130 78%, #e8eee105);
  --edge-shade: linear-gradient(0deg, #dce6d596, transparent 52%);
  background:
    radial-gradient(ellipse at 82% 40%, #b9c8ad 0%, transparent 38%),
    radial-gradient(ellipse at 97% 85%, #d5e1cd 0%, transparent 45%),
    var(--background);
}

.landing[data-theme="clean"]::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: min(63vw, 850px);
  aspect-ratio: 1;
  inset: 50% 0 auto auto;
  translate: 26% -49%;
  border-radius: 50%;
  background: repeating-radial-gradient(circle closest-side, transparent 0 9%, #57684925 9.15% 9.4%, transparent 9.6% 13.75%);
  pointer-events: none;
}

.landing[data-theme="clean"][data-cover="custom"]::after { display: none; }

.landing-media, .landing-art, .landing-shade, .landing-glow {
  position: absolute;
  pointer-events: none;
}

.landing-media {
  inset: 0;
  z-index: -3;
}

.landing-art {
  --photo-default: 67% 45%;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--desktop-photo-position, var(--photo-default));
}

.landing[data-cover="custom"] .landing-art { --photo-default: center; }
.landing [hidden] { display: none; }

.landing[data-cover-mode="banner"] {
  align-content: stretch;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100vh;
  height: 100svh;
  min-height: 360px;
  gap: clamp(10px, 2.5vh, 23px);
  padding: clamp(9px, 2.3vh, 22px) clamp(9px, 2vw, 27px) clamp(13px, 3vh, 31px);
}
.landing[data-cover-mode="banner"] .landing-media {
  position: relative;
  z-index: 0;
  inset: auto;
  width: min(100%, 1600px);
  min-height: 0;
  justify-self: center;
  overflow: hidden;
  border-radius: clamp(8px, 1.3vw, 18px);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--background) 89%, var(--accent)), var(--background) 77%);
}
.landing[data-cover-mode="banner"] .landing-art { object-fit: contain; }
.landing[data-cover-mode="banner"] :is(.landing-brand, .landing-eyebrow, .landing-shade, .landing-glow) { display: none; }
.landing[data-cover-mode="banner"] .landing-content { width: 100%; }
.landing[data-cover-mode="banner"] :is(.landing-headline, .landing-description) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.landing[data-cover-mode="banner"] .landing-actions {
  justify-content: center;
  gap: 8px 12px;
  margin: 0;
}

.landing-shade {
  z-index: -1;
  inset: 0;
  background: var(--edge-shade), var(--content-shade);
  opacity: var(--cover-shade, 1);
}

[dir="rtl"] .landing:not([data-cover="custom"]) .landing-art,
[dir="rtl"] .landing-shade { transform: scaleX(-1); }

.landing-glow {
  z-index: -2;
  inset: -30%;
  background: radial-gradient(ellipse at 78% 28%, var(--accent) 0%, transparent 38%);
  opacity: .12;
  mix-blend-mode: screen;
}

.landing[data-theme="clean"] .landing-glow { mix-blend-mode: multiply; opacity: .075; }

.landing-brand {
  --type-size: clamp(11px, 1.4vw, 17px);
  position: absolute;
  inset-block-start: clamp(27px, 5.5vh, 66px);
  inset-inline-start: clamp(29px, 7.4vw, 155px);
  inset-inline-end: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  max-width: calc(100% - 56px);
  color: var(--fg);
  font-size: var(--type-size);
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.landing-mark { display: flex; align-items: center; gap: 3px; color: var(--accent); }
.landing-mark i { display: block; width: 4px; height: 13px; transform: skew(-21deg); background: currentColor; border-radius: 1px; }
.landing-mark i:nth-child(2) { height: 17px; }
.landing-mark i:nth-child(3) { height: 11px; opacity: .66; }

.landing-content { position: relative; width: min(100%, var(--content-width, 690px)); min-width: 0; }

.landing-eyebrow {
  --type-size: clamp(10px, 1.2vw, 13px);
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  margin-bottom: clamp(16px, 3vh, 28px);
  border: 1px solid color-mix(in srgb, var(--fg) 26%, transparent);
  border-radius: 100px;
  background: color-mix(in srgb, var(--background) 60%, transparent);
  color: var(--fg);
  font-size: var(--type-size);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.landing-eyebrow::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--accent);
}

.landing-headline {
  --type-size: clamp(3rem, 10.1vw, 8rem);
  margin: 0;
  max-width: 100%;
  font-family: "Barlow Condensed", "Arial Narrow", "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: var(--type-size);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .89;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.landing[data-theme="clean"] .landing-headline {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  --type-size: clamp(2.45rem, 8.4vw, 6.9rem);
  font-weight: 750;
  letter-spacing: -.067em;
  line-height: .94;
}

.landing-headline:lang(ar), .landing-headline:lang(th), .landing-headline:lang(hi), .landing-headline:lang(bn) {
  line-height: 1.12;
  letter-spacing: 0;
}

.landing-description {
  --type-size: clamp(.9rem, 1.65vw, 1.19rem);
  margin: clamp(16px, 3.4vh, 28px) 0 0;
  max-width: 39ch;
  color: var(--muted);
  font-size: var(--type-size);
  font-weight: 450;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.landing-button {
  --type-size: clamp(.9rem, 1.55vw, 1.07rem);
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 54px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: clamp(22px, 4.5vh, 37px);
  padding: 14px 19px 14px 22px;
  border-radius: var(--button-radius, 7px);
  background: var(--button-fill, var(--accent));
  color: var(--button-ink, var(--on-accent));
  text-decoration: none;
  font-size: var(--type-size);
  font-weight: 800;
  line-height: 1.25;
  transition: translate 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.landing-button span { overflow-wrap: anywhere; min-width: 0; }
.landing-button svg { width: 19px; height: 19px; flex: 0 0 19px; }
[dir="rtl"] .landing-button svg { rotate: 180deg; }
.landing-button[href]:hover {
  translate: 0 -2px;
  filter: brightness(1.08);
  box-shadow: 0 9px 24px color-mix(in srgb, var(--button-fill, var(--accent)) 23%, transparent);
}
.landing-button:focus-visible { outline: 2px solid var(--fg, var(--guide-ink)); outline-offset: 5px; }
.landing-button[aria-disabled="true"] { cursor: default; }

.landing-page[data-button-style="outline"] .landing-button {
  border: 1px solid var(--button-fill, var(--accent));
  background: transparent;
  color: var(--button-fill, var(--fg, var(--guide-ink)));
}
.landing-page[data-button-style="glass"] .landing-button {
  border: 1px solid color-mix(in srgb, var(--button-fill, var(--accent)) 55%, transparent);
  background: color-mix(in srgb, var(--button-fill, var(--accent)) 20%, transparent);
  color: var(--fg, var(--guide-ink));
  backdrop-filter: blur(10px);
}
.landing-page[data-button-size="compact"] :is(.landing-button, .landing-jump) { min-height: 38px; padding: 8px 11px; gap: 9px; }
.landing-page[data-button-size="large"] :is(.landing-button, .landing-jump) { min-height: 62px; padding: 15px 22px; gap: 16px; }

.landing[data-align="center"] { justify-items: center; text-align: center; }
.landing[data-align="end"] { justify-items: end; text-align: end; --shade-angle: 270deg; }
.landing[data-align="center"] :is(.landing-eyebrow, .landing-description) { margin-inline: auto; }
.landing[data-align="end"] :is(.landing-eyebrow, .landing-description) { margin-inline-start: auto; }
.landing[data-align="center"] .landing-actions { justify-content: center; }
.landing[data-align="end"] .landing-actions { justify-content: flex-end; }
.landing[data-align="start"] .landing-actions { justify-content: flex-start; }
.landing[data-align="center"] .landing-brand { inset-inline: 0; margin-inline: auto; }
.landing[data-align="end"] .landing-brand { inset-inline-start: auto; inset-inline-end: clamp(25px, 7.4vw, 155px); }
.landing[data-vertical="top"]:not([data-cover-mode="banner"]) { align-content: start; }
.landing[data-vertical="center"]:not([data-cover-mode="banner"]) { align-content: center; }
.landing[data-vertical="bottom"]:not([data-cover-mode="banner"]) { align-content: end; }

@media (max-width: 630px) {
  .landing {
    align-content: end;
    --content-shade: linear-gradient(0deg, #0a100cf7 4%, #0a100ce8 34%, #0a100c80 57%, #0a100c1a 82%);
    --edge-shade: linear-gradient(180deg, #080d0b80, transparent 29%);
    padding: max(260px, 48vh) 25px 51px;
  }
  .landing[data-theme="neon"] {
    --content-shade: linear-gradient(0deg, #0e1020fb 4%, #0e1020e9 35%, #10112766 60%, #15133005 84%);
  }
  .landing[data-theme="clean"] {
    --content-shade: linear-gradient(0deg, #e8eee1f7 4%, #e8eee1e8 34%, #e8eee141 65%, #e8eee105 84%);
    --edge-shade: none;
  }
  .landing[data-theme="clean"]::after { width: 115vw; inset: 25% 0 auto auto; }
  .landing-brand { inset-inline-start: 25px; }
  .landing-art {
    --photo-default: 72% 34%;
    object-position: var(--phone-photo-position, var(--desktop-photo-position, var(--photo-default)));
  }
  .landing-headline { --type-size: clamp(2.85rem, 12vw, 4.7rem); }
  .landing[data-theme="clean"] .landing-headline { --type-size: clamp(2.5rem, 10.7vw, 4.3rem); }
  .landing-button { min-height: 48px; }
}

@media (max-width: 630px) and (max-height: 560px) {
  .landing { padding-block: 190px 33px; }
}

.landing[data-custom-background] {
  --background: var(--custom-bg);
  --fg: var(--custom-ink);
  --muted: color-mix(in srgb, var(--fg) 78%, var(--background));
  --content-shade: linear-gradient(var(--shade-angle), var(--background) 3%, color-mix(in srgb, var(--background) 85%, transparent) 34%, color-mix(in srgb, var(--background) 32%, transparent) 67%, transparent);
  --edge-shade: linear-gradient(0deg, color-mix(in srgb, var(--background) 74%, transparent), transparent 52%);
  background: var(--background);
}

@media (max-width: 630px) {
  .landing[data-custom-background] { --shade-angle: 0deg; }
  .landing:is([data-vertical="top"], [data-vertical="center"]):not([data-cover-mode="banner"]) {
    padding-block: clamp(96px, 16svh, 148px) clamp(32px, 8svh, 62px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing *, .landing *::before, .landing *::after { animation: none !important; transition: none !important; }
}
