/* Ecliptica marketing and privacy pages. Uses the shared SEM design tokens. */

.ecliptica-main {
  display: block;
}

.ecliptica-main .page-head {
  padding-bottom: var(--sp-6);
}

.ec-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
  padding: var(--sp-8) 0 var(--sp-10);
  border-top: 1px solid var(--line);
}

.ec-kicker {
  margin: 0 0 var(--sp-3);
  color: var(--accent-ink);
  font: 500 12px/1.3 var(--font);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.ec-hero h2,
.ec-section h2,
.ec-final h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.ec-hero h2 {
  max-width: 16ch;
  font-size: var(--type-product-title);
}

.ec-lede {
  max-width: 61ch;
  margin: var(--sp-4) 0 0;
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: 1.7;
}

.ec-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.ec-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--bg);
  font: 700 var(--fs-sm)/1 var(--font);
  letter-spacing: .02em;
}

.ec-store-button[aria-disabled="true"] {
  cursor: not-allowed;
}

.ec-text-link {
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-sm);
  font-weight: 500;
}

.ec-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: var(--sp-5) 0 0;
  padding: 0;
  list-style: none;
  color: var(--subtle);
  font: 500 10.5px/1.5 var(--font);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ec-trust li {
  padding: 0 12px;
  border-right: 1px solid var(--line);
}

.ec-trust li:first-child {
  padding-left: 0;
}

.ec-trust li:last-child {
  border-right: 0;
}

.ec-orbit-stage {
  position: relative;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 43%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 44%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 95%, var(--accent)), var(--bg2));
  overflow: hidden;
}

.ec-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: 50%;
  transform: translate(-50%, -56%);
}

.ec-orbit::before,
.ec-orbit::after {
  content: "";
  position: absolute;
  background: color-mix(in srgb, var(--accent) 25%, var(--line));
}

.ec-orbit::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.ec-orbit::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.ec-orbit-outer {
  width: 330px;
  height: 330px;
}

.ec-orbit-middle {
  width: 232px;
  height: 232px;
  transform: translate(-50%, -56%) rotate(22deg);
}

.ec-orbit-inner {
  width: 126px;
  height: 126px;
  transform: translate(-50%, -56%) rotate(-18deg);
}

.ec-orbit-node {
  position: absolute;
  z-index: 2;
  width: 13px;
  height: 13px;
  border: 2px solid var(--bg2);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 72%, transparent);
}

.ec-node-one {
  top: 20%;
  left: 33%;
}

.ec-node-two {
  top: 49%;
  right: 17%;
}

.ec-node-three {
  bottom: 25%;
  left: 27%;
  background: var(--violet);
}

.ec-crescent {
  position: absolute;
  z-index: 3;
  top: 43%;
  left: 50%;
  color: var(--accent-ink);
  font: 400 66px/1 Georgia, serif;
  text-shadow: 0 0 32px color-mix(in srgb, var(--accent) 36%, transparent);
  transform: translate(-48%, -50%);
}

.ec-stage-label {
  position: absolute;
  z-index: 4;
  min-width: 118px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: var(--shadow);
}

.ec-stage-label span,
.ec-stage-label strong {
  display: block;
}

.ec-stage-label span {
  color: var(--subtle);
  font: 500 9px/1 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ec-stage-label strong {
  margin-top: 5px;
  font-size: var(--fs-xs);
}

.ec-label-one {
  top: 18px;
  left: 18px;
}

.ec-label-two {
  top: 28%;
  right: 18px;
}

.ec-label-three {
  right: 18px;
  bottom: 18px;
}

.ec-section {
  padding: var(--sp-10) 0;
  border-top: 1px solid var(--line);
}

.ec-section-head {
  max-width: 760px;
  margin-bottom: var(--sp-6);
}

.ec-section h2,
.ec-final h2 {
  font-size: var(--type-section-title);
}

.ec-section-head > p:last-child {
  margin: var(--sp-3) 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.ec-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.ec-capability {
  min-height: 184px;
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.ec-capability .st {
  display: block;
  margin-bottom: var(--sp-3);
  color: var(--subtle);
  font: 700 10px/1 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ec-capability .st::before {
  content: "● ";
  color: var(--accent);
}

.ec-capability h3 {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.35;
}

.ec-capability p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.ec-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.ec-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.ec-shot-placeholder {
  display: flex;
  aspect-ratio: 1320 / 2868;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 35%),
    repeating-radial-gradient(circle at 50% 40%, transparent 0 42px, color-mix(in srgb, var(--accent) 18%, transparent) 43px, transparent 44px),
    var(--bg2);
  text-align: center;
}

.ec-shot-placeholder > span {
  color: var(--accent-ink);
  font: 400 48px/1 Georgia, serif;
}

.ec-shot-placeholder strong {
  margin-top: var(--sp-4);
  font-size: var(--fs-base);
}

.ec-shot-placeholder small {
  margin-top: var(--sp-2);
  color: var(--subtle);
  font: 500 9px/1.4 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ec-shot figcaption {
  padding: 15px 17px 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-xs);
  line-height: 1.5;
}

.ec-shot figcaption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
}

.ec-privacy-band {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: center;
  padding: var(--sp-6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.ec-privacy-mark {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  border-radius: 18px;
  background: var(--bg2);
  color: var(--accent-ink);
  font: 400 42px/1 Georgia, serif;
}

.ec-privacy-band h2 {
  margin-bottom: var(--sp-3);
}

.ec-privacy-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.ec-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px var(--sp-4);
  margin: var(--sp-4) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
}

.ec-checks li::before {
  content: "●";
  margin-right: 8px;
  color: var(--accent-ink);
  font-size: 8px;
  vertical-align: 2px;
}

.ec-faq {
  display: grid;
  grid-template-columns: minmax(210px, .65fr) minmax(0, 1.35fr);
  gap: var(--sp-10);
}

.ec-faq details {
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--line);
}

.ec-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.ec-faq summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.45;
}

.ec-faq details p {
  margin: var(--sp-3) 0 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.ec-final {
  padding: var(--sp-10) var(--sp-6);
  border-top: 1px solid var(--line);
  background: var(--bg2);
  text-align: center;
}

.ec-final h2 {
  max-width: 820px;
  margin: 0 auto;
}

.ec-final .ec-actions {
  justify-content: center;
}

.ec-footer {
  margin-top: 0;
}

.ec-policy-hero {
  padding: var(--sp-8) 0 var(--sp-6);
  border-bottom: 1px solid var(--line);
}

.ec-policy-hero h1 {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--type-page-title);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.01em;
}

.ec-policy-meta {
  margin: 0;
  color: var(--subtle);
  font: 500 11px/1.5 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ec-policy-promise {
  max-width: 900px;
  margin-top: var(--sp-5);
  padding: 20px 22px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  font-size: var(--fs-lg);
  line-height: 1.55;
}

.ec-policy-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 740px);
  gap: var(--sp-10);
  justify-content: center;
  padding: var(--sp-8) 0 var(--sp-10);
}

.ec-policy-index {
  align-self: start;
  position: sticky;
  top: 86px;
}

.ec-policy-index strong {
  display: block;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line);
  font: 700 10px/1 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ec-policy-index a {
  display: block;
  padding: 7px 0;
  color: var(--subtle);
  font-size: var(--fs-xs);
}

.ec-policy-copy section {
  scroll-margin-top: 86px;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--line2);
}

.ec-policy-copy h2 {
  margin: 0 0 var(--sp-3);
  color: var(--text);
  font-size: var(--fs-xl);
  line-height: 1.3;
}

.ec-policy-copy p,
.ec-policy-copy li {
  color: var(--muted);
  line-height: 1.75;
}

.ec-policy-copy ul {
  padding-left: 20px;
}

.ec-policy-copy li {
  margin: 7px 0;
}

.ec-policy-copy strong {
  color: var(--text);
}

.ec-policy-contact {
  padding: var(--sp-5);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}

@media (max-width: 900px) {
  .ec-hero {
    grid-template-columns: 1fr;
  }

  .ec-orbit-stage {
    min-height: 540px;
  }

  .ec-capabilities,
  .ec-shot-grid {
    grid-template-columns: 1fr;
  }

  .ec-shot {
    display: grid;
    grid-template-columns: minmax(160px, 240px) 1fr;
    align-items: center;
  }

  .ec-shot figcaption {
    border-top: 0;
  }

  .ec-faq,
  .ec-policy-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .ec-policy-index {
    display: none;
  }
}

@media (max-width: 560px) {
  .ec-hero h2 {
    font-size: var(--type-product-title);
  }

  .ec-orbit-stage {
    min-height: 390px;
  }

  .ec-orbit-outer {
    width: 280px;
    height: 280px;
  }

  .ec-orbit-middle {
    width: 196px;
    height: 196px;
  }

  .ec-orbit-inner {
    width: 106px;
    height: 106px;
  }

  .ec-stage-label {
    min-width: 104px;
    padding: 8px 9px;
  }

  .ec-privacy-band {
    grid-template-columns: 1fr;
  }

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

  .ec-shot {
    display: block;
  }

  .ec-shot figcaption {
    border-top: 1px solid var(--line);
  }

  .ec-trust li {
    width: 100%;
    padding: 3px 0;
    border: 0;
  }
}
