/* Aetherdesk landing — Aether Blue palette from ADSharedPalette */
:root {
  --bg-top: #eaf5ff;
  --bg-mid: #e6f8f3;
  --bg-bottom: #d2e7fb;
  --surface: #ffffff;
  --surface-tint: #f2f8ff;
  --primary: #1a5cc4;
  --primary-deep: #0c3a7a;
  --accent: #2b9bff;
  --accent-teal: #12b8a8;
  --accent-warm: #ff7b54;
  --accent-gold: #e8a317;
  --text: #0a1e38;
  --text-muted: #4a6080;
  --stroke: #c5dbf2;
  --success: #16a36a;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --spine-w: 4.5rem;
  --radius: 1.25rem;
  --glow: 0 0 60px rgba(43, 155, 255, 0.28);
  --shadow: 0 18px 40px rgba(12, 58, 122, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(43, 155, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(18, 184, 168, 0.16), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(255, 123, 84, 0.08), transparent 55%),
    linear-gradient(165deg, var(--bg-top), var(--bg-mid) 42%, var(--bg-bottom));
  background-attachment: fixed;
  line-height: 1.55;
}

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

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--primary-deep);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary-deep);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* —— Spine nav (desktop) —— */
.spine {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--spine-w);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0.5rem;
  border-right: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  z-index: 40;
}

.spine__brand {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  text-decoration: none;
  box-shadow: var(--glow);
}

.spine__nav {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.spine__nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}

.spine__nav a:hover,
.spine__nav a.is-active {
  color: var(--primary-deep);
}

.spine__store {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-teal);
  text-decoration: none;
}

/* —— Mobile dock —— */
.dock {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 0.15rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.dock a {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
}

.dock a.is-active,
.dock a:hover {
  background: var(--surface-tint);
  color: var(--primary-deep);
}

.shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 6.5rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  display: grid;
  gap: 2rem;
  padding: 2.5rem 1.5rem 2rem;
  border-radius: calc(var(--radius) + 0.5rem);
  border: 1px solid var(--stroke);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(242, 248, 255, 0.55));
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: min(88vh, 720px);
  align-items: center;
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(43, 155, 255, 0.35), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--primary-deep);
}

.hero__sub {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 600;
  color: var(--primary);
}

.hero__lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--primary-deep), var(--primary) 45%, var(--accent));
  box-shadow: 0 10px 28px rgba(26, 92, 196, 0.35);
}

.btn--ghost {
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--stroke);
}

.hero__metrics {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
}

.hero__metrics li {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero__metrics strong {
  color: var(--primary-deep);
  font-family: var(--font-display);
}

.hero__art {
  position: relative;
  z-index: 1;
  min-height: 240px;
  display: grid;
  place-items: center;
}

.station {
  position: relative;
  width: min(100%, 280px);
  height: 240px;
}

.station__rings {
  position: absolute;
  inset: 10% 8%;
  border-radius: 50%;
  border: 1.5px solid rgba(26, 92, 196, 0.22);
  box-shadow:
    0 0 0 18px rgba(43, 155, 255, 0.08),
    0 0 0 36px rgba(18, 184, 168, 0.06);
  animation: drift 8s ease-in-out infinite alternate;
}

.station__desk {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 150px;
}

.station__monitor {
  width: 78px;
  height: 52px;
  margin: 0 auto 6px;
  border-radius: 8px;
  background: linear-gradient(160deg, #fff, var(--surface-tint));
  border: 2px solid rgba(26, 92, 196, 0.45);
  box-shadow: inset 0 0 0 1px rgba(43, 155, 255, 0.2);
}

.station__monitor::after {
  content: "";
  display: block;
  width: 36px;
  height: 18px;
  margin: 14px auto 0;
  background:
    linear-gradient(var(--primary), var(--primary)) 0 100% / 8px 10px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 14px 100% / 8px 16px no-repeat,
    linear-gradient(var(--accent-teal), var(--accent-teal)) 28px 100% / 8px 13px no-repeat;
}

.station__top {
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.station__legs {
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  margin-top: 2px;
}

.station__legs::before,
.station__legs::after {
  content: "";
  width: 7px;
  height: 34px;
  border-radius: 999px;
  background: rgba(26, 92, 196, 0.45);
}

.station__wheel {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 54px;
  height: 54px;
  margin-left: -27px;
  border-radius: 50%;
  border: 3px solid var(--accent-warm);
  box-shadow: inset 0 0 0 8px rgba(255, 123, 84, 0.15);
}

.station__wheel::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: var(--accent-warm);
}

@keyframes drift {
  from { transform: rotate(-4deg) scale(0.98); }
  to { transform: rotate(5deg) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .station__rings { animation: none; }
}

/* —— Features zigzag —— */
.band {
  margin-top: 3.5rem;
}

.band__intro {
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.band__intro h2,
.about-card h2,
.legal-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.02em;
  color: var(--primary-deep);
  line-height: 1.15;
}

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

.zig {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.25rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.zig--flip {
  background: linear-gradient(120deg, rgba(242, 248, 255, 0.95), rgba(230, 248, 243, 0.75));
}

.zig__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent);
}

.zig__body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--primary-deep);
}

.zig__body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.zig__mark {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1rem;
  border: 1px solid var(--stroke);
  background: var(--surface-tint);
  position: relative;
}

.zig__mark--bars::before {
  content: "";
  position: absolute;
  inset: 0.85rem 0.75rem 0.7rem;
  background:
    linear-gradient(var(--primary), var(--primary)) 0 100% / 22% 55% no-repeat,
    linear-gradient(var(--accent), var(--accent)) 39% 100% / 22% 85% no-repeat,
    linear-gradient(var(--accent-teal), var(--accent-teal)) 78% 100% / 22% 65% no-repeat;
}

.zig__mark--forge::before {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border-radius: 0.35rem;
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  clip-path: polygon(20% 0, 80% 0, 100% 35%, 65% 100%, 35% 100%, 0 35%);
}

.zig__mark--wheel::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border-radius: 50%;
  border: 3px solid var(--accent-warm);
  box-shadow: inset 0 0 0 7px rgba(255, 123, 84, 0.18);
}

.zig__mark--pulse::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 48%;
  height: 3px;
  border-radius: 999px;
  background: var(--accent-teal);
  box-shadow: 0 -8px 0 0 rgba(18, 184, 168, 0.35), 0 8px 0 0 rgba(18, 184, 168, 0.35);
}

.zig__mark--globe::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background:
    linear-gradient(90deg, transparent 46%, rgba(26, 92, 196, 0.35) 46%, rgba(26, 92, 196, 0.35) 54%, transparent 54%),
    linear-gradient(transparent 46%, rgba(43, 155, 255, 0.35) 46%, rgba(43, 155, 255, 0.35) 54%, transparent 54%);
}

.zig__mark--ring::before {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--accent-gold);
  border-right-color: var(--accent);
  transform: rotate(-20deg);
}

/* —— About —— */
.about-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(230, 248, 243, 0.65));
  box-shadow: var(--shadow);
}

.about-card p {
  color: var(--text-muted);
  max-width: 52rem;
}

.disclaimer {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(43, 155, 255, 0.08);
  border-radius: 0 0.75rem 0.75rem 0;
  font-size: 0.92rem;
}

/* —— Legal side-by-side —— */
.legal-grid {
  display: grid;
  gap: 1rem;
}

.legal-panel {
  padding: 1.6rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  scroll-margin-top: 1.5rem;
}

.legal-panel h3 {
  margin: 1.35rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--primary-deep);
}

.legal-panel p,
.legal-panel li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-panel ul {
  padding-left: 1.15rem;
}

.legal-meta {
  font-size: 0.85rem !important;
  color: var(--accent-teal) !important;
}

.contact-rows {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-rows > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--stroke);
  background: var(--surface-tint);
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-rows a,
.contact-rows span:last-child {
  font-weight: 600;
  color: var(--primary-deep);
  text-decoration: none;
}

/* —— Footer —— */
.foot {
  margin-top: 3rem;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid var(--stroke);
  display: grid;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.foot strong {
  display: block;
  font-family: var(--font-display);
  color: var(--primary-deep);
  font-size: 1.1rem;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.foot nav a {
  font-weight: 600;
  text-decoration: none;
}

/* —— Breakpoints —— */
@media (min-width: 860px) {
  .spine {
    display: flex;
  }

  .dock {
    display: none;
  }

  .shell {
    width: min(1120px, calc(100% - var(--spine-w) - 3rem));
    margin-left: calc(var(--spine-w) + 1.5rem);
    padding-bottom: 3rem;
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 3rem 2.5rem;
  }

  .zig--flip {
    direction: rtl;
  }

  .zig--flip > * {
    direction: ltr;
  }

  .legal-grid {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: start;
  }
}

@media (max-width: 520px) {
  .zig {
    grid-template-columns: auto 1fr;
  }

  .zig__mark {
    display: none;
  }

  .dock a {
    padding: 0.5rem 0.55rem;
    font-size: 0.68rem;
  }
}
