/* Landing palettes follow the app's atmosphere IDs. */
:root {
  --atmosphere-panel:#fff;
  --atmosphere-soft:#ebf0f5;
  --atmosphere-accent:#0a0d12;
  --atmosphere-on-accent:#fff;
  --atmosphere-hover:#343047;
  --atmosphere-highlight:#6046a5;
  --atmosphere-focus:#6046a5;
  --atmosphere-control-line:#7c8194;
  --atmosphere-heading:linear-gradient(110deg,#106f77,#6147a8);
  --atmosphere-halo:#38e1d9;
  --atmosphere-glow:#7c5cfc;
  --atmosphere-frame:linear-gradient(130deg,#e9f7fc,#b5b5ce 45%,#fff 70%,#b6eadf);
  --atmosphere-orbit:#8f9ab966;
  --atmosphere-shadow:#48426466;
}

:root[data-atmosphere="grafito"] {
  color-scheme:dark;
  --bg:#0a0a0a;
  --ink:#fff;
  --muted:#bdbdbd;
  --line:#303030;
  --atmosphere-panel:#141414;
  --atmosphere-soft:#1c1c1c;
  --atmosphere-accent:#38e07b;
  --atmosphere-on-accent:#0a0a0a;
  --atmosphere-hover:#66ed9a;
  --atmosphere-highlight:#38e07b;
  --atmosphere-focus:#5df097;
  --atmosphere-control-line:#666;
  --atmosphere-heading:linear-gradient(#38e07b,#38e07b);
  --atmosphere-halo:#1c1c1c;
  --atmosphere-glow:#141414;
  --atmosphere-frame:linear-gradient(130deg,#343434,#1c1c1c 45%,#393939);
  --atmosphere-orbit:#454545;
  --atmosphere-shadow:#0009;
}

:root[data-atmosphere="vitella"] {
  color-scheme:light;
  --bg:#f5efe5;
  --ink:#102f28;
  --muted:#4b5b4f;
  --line:#caba9e;
  --atmosphere-panel:#fbf8f2;
  --atmosphere-soft:#ede3d4;
  --atmosphere-accent:#102f28;
  --atmosphere-on-accent:#f5efe5;
  --atmosphere-hover:#2b4f40;
  --atmosphere-highlight:#755021;
  --atmosphere-focus:#755021;
  --atmosphere-control-line:#867653;
  --atmosphere-heading:linear-gradient(105deg,#234739,#755021);
  --atmosphere-halo:#e7d8bc;
  --atmosphere-glow:#dce8d4;
  --atmosphere-frame:linear-gradient(130deg,#fdf8e8,#c6b48f 42%,#f8efdd 72%,#a8b7a2);
  --atmosphere-orbit:#ac9975;
  --atmosphere-shadow:#7d633f42;
}

:root[data-atmosphere="estelar"] {
  color-scheme:dark;
  --bg:#000;
  --ink:#f2e8d7;
  --muted:#c5b9a7;
  --line:#3c3428;
  --atmosphere-panel:#080808;
  --atmosphere-soft:#121212;
  --atmosphere-accent:#dec28f;
  --atmosphere-on-accent:#000;
  --atmosphere-hover:#f0d8af;
  --atmosphere-highlight:#dec28f;
  --atmosphere-focus:#f0d8af;
  --atmosphere-control-line:#82705b;
  --atmosphere-heading:linear-gradient(105deg,#f2e8d7,#c9a55f);
  --atmosphere-halo:#292015;
  --atmosphere-glow:#15110c;
  --atmosphere-frame:linear-gradient(130deg,#766047,#1e1913 42%,#8d7759 72%,#292119);
  --atmosphere-orbit:#5c4d38;
  --atmosphere-shadow:#000b;
}

body :focus-visible {
  outline-color:var(--atmosphere-focus);
}

.skip-link {
  background:var(--atmosphere-panel);
}

.skip-link:not(:focus) {
  clip-path:inset(50%);
}

.prisma-scene-caption {
  color:var(--muted);
}

body .ae-art-button {
  background:var(--atmosphere-accent);
  color:var(--atmosphere-on-accent);
}

body .ae-art-button:hover {
  background:var(--atmosphere-hover);
}

h1 em,
.prisma-promo h2 em,
main h2 em,
.ae-art-move h2 em {
  background-image:var(--atmosphere-heading);
}

.ae-art-eter-intel__pill,
.ae-art-journal__chapters button,
.ae-art-plan>a {
  border-color:var(--atmosphere-control-line);
  color:var(--ink);
}

.ae-art-eter-intel__pill.is-active,
.ae-art-journal__chapters button.is-active,
.ae-art-plan--featured>a {
  border-color:var(--atmosphere-accent);
  background:var(--atmosphere-accent);
  color:var(--atmosphere-on-accent);
}

/* Material changes apply around the app screenshots. */
:root[data-atmosphere]:not([data-atmosphere="prisma"]) {
  --atmosphere-scene:radial-gradient(ellipse at 85% 45%,var(--atmosphere-halo),transparent 55%),
    radial-gradient(ellipse at 22% 85%,var(--atmosphere-glow),transparent 52%),var(--bg);
  --atmosphere-scene-reverse:radial-gradient(ellipse at 12% 75%,var(--atmosphere-halo),transparent 60%),
    radial-gradient(ellipse at 92% 20%,var(--atmosphere-glow),transparent 48%),var(--bg);
  --atmosphere-card:linear-gradient(135deg,var(--atmosphere-panel),var(--atmosphere-soft));
}

:root[data-atmosphere]:not([data-atmosphere="prisma"]) main {
  --glass:var(--atmosphere-card);
  --glass-border:var(--line);
  --glass-shadow:0 18px 48px -30px var(--atmosphere-shadow);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.ae-art-hero,.ae-art-origin,.ae-art-nutrition,.prisma-business,.ae-art-faq,.ae-art-move) {
  background:var(--atmosphere-scene);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.prisma-promo,.ae-art-ecosystem,.ae-art-intelligence,.ae-art-eter-intel,.ae-art-journal,.prisma-sync-section,.ae-art-testimonials,.ae-art-pricing) {
  background:var(--atmosphere-scene-reverse);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.prisma-promo__layout,.prisma-brand-note,.prisma-assistant-note,.prisma-cloud-note,.ae-art-journal__carousel,.ae-art-footer) {
  border-color:var(--line);
  background:var(--atmosphere-card);
  box-shadow:0 18px 48px -30px var(--atmosphere-shadow);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.prisma-phone,.ae-art-journal__screen>div,.ae-art-cloud__visual>img,.ae-art-product-shot img) {
  border-color:var(--atmosphere-orbit);
  background:var(--atmosphere-frame);
  box-shadow:18px 28px 48px -20px var(--atmosphere-shadow);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.prisma-orbit,.prisma-brand-orbit),
:root[data-atmosphere]:not([data-atmosphere="prisma"]) .prisma-brand-orbit::after,
:root[data-atmosphere]:not([data-atmosphere="prisma"]) .ae-art-journal__screen::before {
  border-color:var(--atmosphere-orbit);
  background:none;
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.prisma-brand-disc,.prisma-assistant-disc,.prisma-closing-art img,.ae-art-footer__brand img) {
  border-color:var(--line);
  box-shadow:0 22px 48px -24px var(--atmosphere-shadow);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.prisma-eyebrow,.prisma-brand-caption,.prisma-assistant-note small,.ae-art-product-proof__header h3,.ae-art-plan__badge,.ae-art-footer__layout>small) {
  color:var(--muted);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.prisma-service-icon,.ae-art-eco-card--featured .ae-art-eco-card__action,.ae-art-plan--featured .ae-art-plan__badge,.ae-art-plan--business .ae-art-plan__badge) {
  color:var(--atmosphere-highlight);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"]) .ae-art-intelligence__sequence article::before,
:root[data-atmosphere]:not([data-atmosphere="prisma"]) .ae-art-plan li::marker {
  color:var(--atmosphere-highlight);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.prisma-eyebrow>span,.prisma-dot) {
  background:var(--atmosphere-highlight);
  box-shadow:0 0 0 4px var(--atmosphere-halo);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.ae-art-origin__copy blockquote,.ae-art-cloud__copy>a,.ae-art-plan__option) {
  border-color:var(--atmosphere-control-line);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.prisma-service-icon,.ae-art-faq summary i,.ae-art-eter-intel__btn,.ae-art-journal__arrows button) {
  border-color:var(--atmosphere-control-line);
  background:var(--atmosphere-soft);
  box-shadow:none;
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.ae-art-eco-card--featured,.ae-art-plan--featured,.ae-art-plan--business) {
  border-color:var(--atmosphere-orbit);
  background:linear-gradient(130deg,var(--atmosphere-soft),var(--atmosphere-glow));
}

:root[data-atmosphere]:not([data-atmosphere="prisma"]) .ae-art-eco-card:hover {
  border-color:var(--atmosphere-control-line);
  box-shadow:var(--glass-shadow);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  .ae-art-ecosystem__utilities .ae-art-eco-card:hover {
  box-shadow:none;
}

:root[data-atmosphere]:not([data-atmosphere="prisma"])
  :is(.ae-art-plan__option,.ae-art-plan:not(.ae-art-plan--featured)>a,
    .ae-art-eter-intel__pill:not(.is-active),.ae-art-journal__chapters button:not(.is-active)) {
  background:var(--atmosphere-panel);
}

:root[data-atmosphere]:not([data-atmosphere="prisma"]) ::selection {
  background:var(--atmosphere-accent);
  color:var(--atmosphere-on-accent);
}
