:root {
  color-scheme: light;
  --alice-purple: #48216b;
  --alice-lilac: #eadcf3;
  --alice-paper: #fbf6fa;
  --alice-cream: #fff5e7;
  font-family: "DM Sans", sans-serif;
  color: var(--alice-purple);
  background: var(--alice-paper);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
svg { display: block; }

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--alice-cream);
}

a:focus-visible { outline: 3px solid #8d53b3; outline-offset: 5px; }

.alice-tree {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--alice-paper);
}

.alice-header-image { display: block; width: 100%; height: auto; }
.alice-links {
  position: relative;
  display: grid;
  gap: 12px;
  margin: -2px 14px 0;
  scroll-margin-top: 16px;
}

.elo-card {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: start;
  padding: 20px 23px 23px;
  overflow: hidden;
  border: 1px solid #b98bd0;
  border-radius: 27px;
  color: var(--alice-cream);
  background: radial-gradient(ellipse at 90% 0%, #70418b 0, transparent 68%), linear-gradient(125deg, #5f367b, #47235f);
  box-shadow: 0 8px 15px -8px #542a6966, inset 0 1px 1px #f3dcff55;
  margin-bottom: 4px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.elo-card-logo {
  width: 42%;
  height: auto;
  aspect-ratio: 940 / 400;
  margin-bottom: 6px;
  filter: brightness(0) invert(94%) sepia(13%) saturate(450%) hue-rotate(325deg);
}

h2, p { margin: 0; }
h2 { font-family: "EB Garamond", Georgia, serif; font-weight: 600; }
.elo-card h2 { font-size: clamp(31px, 7.8vw, 51px); line-height: 1.06; letter-spacing: -.025em; }
.elo-card-copy { width: calc(100% - 31px); }
.elo-card-copy p { margin-top: 5px; font-size: clamp(14px, 3.75vw, 23px); line-height: 1.35; }
.wide-break { display: none; }

.card-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--alice-lilac);
}
.card-arrow svg { width: 17px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.elo-card-arrow { position: absolute; top: 43%; right: 18px; width: 37px; height: 37px; color: var(--alice-purple); background: var(--alice-cream); }
.elo-card-arrow svg { width: 22px; }

.elo-trial {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  padding: 7px 12px;
  border-radius: 100px;
  background: var(--alice-cream);
  color: var(--alice-purple);
  font-size: clamp(12px, 3.4vw, 20px);
  font-weight: 600;
  line-height: 1.3;
}
.elo-trial svg { width: 18px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.elo-card-spark { position: absolute; width: 39px; top: 24%; left: 64%; stroke: var(--alice-cream); stroke-width: 2.4; stroke-linecap: round; }
.elo-card-thread { position: absolute; z-index: -1; width: 58%; right: -2%; bottom: -5px; stroke: #cea1e9; stroke-width: 2; }

.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 14px 15px;
  border: 1px solid #d8bce9;
  border-radius: 22px;
  background: linear-gradient(120deg, #fffafc99, #f8f0fa88);
  box-shadow: 0 6px 15px -10px #63367b44, inset 0 1px 0 #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.social-icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: var(--alice-lilac); }
.social-icon svg { width: 32px; stroke: currentColor; stroke-width: 2; }
.social-icon .icon-dot { fill: currentColor; stroke: none; }
.social-icon .youtube-icon { stroke: none; fill: currentColor; }
.youtube-play { fill: var(--alice-lilac); }
.social-copy { flex: 1; min-width: 0; padding-left: 12px; border-left: 1px solid #d1b1e4; }
.social-copy h2 { font-size: clamp(20px, 5.25vw, 34px); line-height: 1.1; letter-spacing: -.02em; }
.social-copy p { margin-top: 4px; font-size: clamp(12px, 3.15vw, 20px); line-height: 1.35; }

.alice-footer { margin-top: 4px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.alice-footer svg { width: 100%; height: auto; aspect-ratio: 769 / 110; }
.footer-wash { fill: #eadcf3; opacity: .65; }
.footer-thread { stroke: #aa79c9; stroke-width: 2.5; }

@media (hover: hover) {
  .elo-card:hover, .social-card:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px #542a6966; }
}

@media (min-width: 400px) {
  .alice-links { margin-inline: 18px; gap: 15px; }
  .elo-card { padding: 24px 27px 26px; border-radius: 30px; }
  .social-card { padding: 17px 18px; gap: 15px; }
  .social-icon { width: 51px; height: 51px; }
  .social-copy { padding-left: 15px; }
}

@media (min-width: 540px) {
  .alice-links { margin-inline: 22px; gap: 19px; }
  .elo-card { padding: 30px 38px 35px; border-radius: 40px; margin-bottom: 5px; }
  .elo-card-logo { margin-bottom: 10px; }
  .elo-card-copy { width: calc(100% - 42px); }
  .wide-break { display: initial; }
  .elo-card-arrow { width: 56px; height: 56px; right: 28px; }
  .elo-card-arrow svg { width: 30px; }
  .elo-trial { margin-top: 17px; padding: 9px 18px; gap: 12px; }
  .elo-trial svg { width: 24px; }
  .elo-card-spark { width: 48px; }
  .social-card { min-height: 124px; padding: 23px 28px; gap: 20px; border-radius: 31px; }
  .social-icon { width: 70px; height: 70px; border-radius: 21px; }
  .social-icon svg { width: 47px; }
  .social-copy { padding-left: 20px; }
  .social-card .card-arrow { width: 41px; height: 41px; }
  .social-card .card-arrow svg { width: 22px; }
}

@media (min-width: 700px) {
  body { padding: 32px 24px; background: radial-gradient(ellipse at 50% 20%, #fbf6fa 25%, #eee2f5 100%); }
  .alice-tree { border: 1px solid #e4ceef; border-radius: 36px; box-shadow: 0 20px 70px -30px #61347d55; }
}

@media (prefers-reduced-motion: reduce) {
  .elo-card, .social-card { transition: none; }
}
