/* The launcher's look: the AI Lessons site's top bar, footer and tokens (site.css), a purple hero, and the tool cards.
   DM Sans, deep royal purple for structure, warm gold for emphasis, white page, #F2EFFA as the only tint.
   No images but the AISA marks: the glows, the dot grid and the pictures are CSS and inline SVG. */
:root{
  color-scheme:light;
  --purple:#21076C; --purple-2:#2E1590; --purple-3:#4B2DBF; --gold:#D8B664; --gold-2:#F1DDA6;
  --ink:#1A1A1A; --muted:#555555; --tint:#F2EFFA; --line:#C8BEE8; --line-2:#E6E1F5; --bg:#FFFFFF; --focus:#1C64F2;
  --r:20px; --ease:cubic-bezier(.2,.7,.2,1);
  --shadow:0 1px 2px rgba(33,7,108,.06),0 14px 36px -14px rgba(33,7,108,.22);
  --shadow-up:0 2px 4px rgba(33,7,108,.06),0 28px 56px -18px rgba(33,7,108,.34);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 "DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;display:flex;flex-direction:column;min-height:100vh;-webkit-font-smoothing:antialiased}
main{flex:1 0 auto;width:100%}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.wrap{max-width:1200px;margin:0 auto;padding:0 16px}
@media (min-width:640px){.wrap{padding:0 24px}}
h1,h2{color:var(--purple);margin:0;line-height:1.2}

/* ---- top bar and footer: as on the AI Lessons site ---- */
.top{background:var(--purple);color:#fff;position:relative;z-index:1;border-bottom:1px solid rgba(255,255,255,.08)}
.top .wrap{display:flex;align-items:center;min-height:64px}
.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}
.brand img{display:block}
.brand .lockup{height:40px;width:auto}
.brand .mono{display:none;height:34px;width:34px}
.brand .product{font-weight:700;font-size:16px;letter-spacing:.01em;padding-inline-start:12px;border-inline-start:1px solid rgba(255,255,255,.35);white-space:nowrap}
@media (max-width:640px){.brand .lockup{display:none}.brand .mono{display:block}}
footer.site{background:var(--purple);color:#fff;margin-top:72px;border-top:3px solid var(--gold)}
footer.site .wrap{display:flex;align-items:center;gap:18px;padding-top:22px;padding-bottom:26px}
footer.site img{width:64px;height:64px;flex:none}
footer.site b{display:block;font-size:15px}
footer.site span{display:block;font-size:13.5px;opacity:.85}

/* ---- the hero: purple, with two soft glows and a dot grid that fades out ---- */
.hero{position:relative;isolation:isolate;overflow:hidden;color:#fff;padding:56px 0 132px;
  background:radial-gradient(60% 90% at 88% 10%,rgba(75,45,191,.75),transparent 70%),
             radial-gradient(40% 60% at 70% 95%,rgba(216,182,100,.20),transparent 70%),
             radial-gradient(50% 80% at 0% 0%,rgba(46,21,144,.9),transparent 70%),var(--purple)}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(circle at 1px 1px,rgba(255,255,255,.16) 1px,transparent 1.5px) 0 0/24px 24px;
  -webkit-mask-image:radial-gradient(80% 90% at 75% 40%,#000 10%,transparent 75%);mask-image:radial-gradient(80% 90% at 75% 40%,#000 10%,transparent 75%)}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:40px}
.copy{max-width:700px;animation:rise .7s var(--ease) both}
.eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0;font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.eyebrow::before{content:"";width:22px;height:4px;border-radius:2px;background:var(--gold)}
.hero h1{color:#fff;font-size:clamp(36px,5.6vw,62px);line-height:1.05;letter-spacing:-.015em;margin:14px 0 18px;text-wrap:balance}
.hero h1 em{font-style:normal;color:var(--gold);background:linear-gradient(100deg,var(--gold) 20%,var(--gold-2) 50%,var(--gold) 80%) 0 0/200% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:sheen 6s ease-in-out 1s infinite}
.lead{margin:0;max-width:54ch;font-size:clamp(16.5px,1.6vw,19px);color:rgba(255,255,255,.84)}

/* three short promises, each with a gold icon */
.promises{list-style:none;margin:34px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.promises li{display:flex;flex-direction:column;gap:2px;padding:14px 16px 16px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.promises .pi{width:34px;height:34px;margin-bottom:10px;border-radius:10px;display:grid;place-items:center;background:rgba(216,182,100,.16);color:var(--gold)}
.promises svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.promises b{font-size:14.5px;line-height:1.3}
.promises li>span:last-child{font-size:13px;line-height:1.45;color:rgba(255,255,255,.72)}
@media (max-width:760px){.promises{grid-template-columns:minmax(0,1fr)}.promises li{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-content:start}.promises .pi{grid-row:span 2;margin:0}}

/* the decoration: six tools circling the monogram (the ring turns; each icon turns back, so it stays upright) */
.orbit{--size:400px;--r:160px;position:relative;width:var(--size);height:var(--size);flex:none;animation:rise .9s var(--ease) .1s both}
.ring{position:absolute;inset:40px;border-radius:50%;border:1px dashed rgba(255,255,255,.24)}
.ring.outer{inset:-6px;border:1px solid rgba(255,255,255,.08);animation:spin 160s linear infinite reverse}
.ring.outer::before,.ring.outer::after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 14px 2px rgba(216,182,100,.7)}
.ring.outer::before{top:-4px;left:calc(50% - 4px)}
.ring.outer::after{bottom:14%;left:12%;width:6px;height:6px;background:#fff;box-shadow:0 0 12px 2px rgba(255,255,255,.6)}
.core{position:absolute;left:50%;top:50%;width:124px;height:124px;margin:-62px 0 0 -62px;border-radius:50%;display:grid;place-items:center;
  background:radial-gradient(circle at 32% 28%,var(--purple-3),var(--purple) 72%);
  box-shadow:0 0 0 1px rgba(216,182,100,.55),0 0 0 12px rgba(216,182,100,.07),0 0 70px rgba(216,182,100,.28),0 24px 60px rgba(8,0,40,.45);
  animation:glow 5s ease-in-out infinite}
.core img{width:62px;height:62px;display:block}
.spin{position:absolute;inset:0;animation:spin 90s linear infinite}
.sat{position:absolute;left:50%;top:50%;width:62px;height:62px;margin:-31px 0 0 -31px;transform:rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)))}
.sat:nth-child(1){--a:-90deg}.sat:nth-child(2){--a:-30deg}.sat:nth-child(3){--a:30deg}
.sat:nth-child(4){--a:90deg}.sat:nth-child(5){--a:150deg}.sat:nth-child(6){--a:210deg}
.sat i{display:grid;place-items:center;width:100%;height:100%;border-radius:18px;color:#fff;
  background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.2);
  box-shadow:0 12px 30px -10px rgba(8,0,40,.6),inset 0 1px 0 rgba(255,255,255,.18);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  animation:spin 90s linear infinite reverse}
.sat:nth-child(odd) i{color:var(--gold)}
.sat svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:1100px){.orbit{--size:340px;--r:134px}.ring{inset:36px}.core{width:108px;height:108px;margin:-54px 0 0 -54px}.core img{width:54px;height:54px}.sat{width:54px;height:54px;margin:-27px 0 0 -27px}.sat svg{width:24px;height:24px}}
@media (max-width:900px){.hero .wrap{grid-template-columns:minmax(0,1fr)}.orbit{display:none}.copy{max-width:none}.lead{max-width:62ch}.hero{padding:40px 0 116px}}

/* ---- tool cards: they rise over the hero's edge; the whole card is the link (the title's link covers it) ---- */
.tools{list-style:none;margin:-88px 0 0;padding:0;position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
@media (max-width:1023px){.tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:639px){.tools{grid-template-columns:minmax(0,1fr);gap:14px}}
.tool{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--line-2);border-radius:var(--r);padding:22px 22px 0;box-shadow:var(--shadow);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s;animation:fade .6s ease-out both}
.tool:nth-child(2){animation-delay:.06s}.tool:nth-child(3){animation-delay:.12s}.tool:nth-child(4){animation-delay:.18s}
.tool:nth-child(5){animation-delay:.24s}.tool:nth-child(n+6){animation-delay:.3s}
/* on hover: a gold glow in the corner and a purple-to-gold line along the top */
.tool::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(90% 70% at 100% 0%,rgba(216,182,100,.16),transparent 60%),linear-gradient(180deg,#fff,var(--tint));opacity:0;transition:opacity .35s}
.tool::after{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--purple),var(--purple-3) 50%,var(--gold));transform:scaleX(0);transform-origin:left;transition:transform .45s var(--ease)}
.tool:hover{transform:translateY(-4px);box-shadow:var(--shadow-up);border-color:var(--line)}
.tool:hover::before,.tool:focus-within::before{opacity:1}
.tool:hover::after,.tool:focus-within::after{transform:scaleX(1)}
.tool:focus-within{outline:3px solid var(--focus);outline-offset:2px}
.head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.ico{width:48px;height:48px;border-radius:14px;flex:none;display:grid;place-items:center;color:var(--gold);
  background:linear-gradient(140deg,var(--purple-3),var(--purple) 70%);box-shadow:0 8px 18px -8px rgba(33,7,108,.7),inset 0 1px 0 rgba(255,255,255,.18);transition:transform .35s var(--ease)}
.ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tool:hover .ico{transform:rotate(-6deg) scale(1.06)}
.kind{font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--purple);background:var(--tint);border-radius:999px;padding:4px 11px}
.tool h2{font-size:21px;letter-spacing:-.01em}
.tool h2 a{color:inherit;text-decoration:none}
.tool h2 a::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit}
.tool h2 a:focus-visible{outline:none}
.tool p{margin:8px 0 0;color:var(--muted);font-size:15px;line-height:1.55}
.tags{list-style:none;margin:16px 0 22px;padding:0;display:flex;flex-wrap:wrap;align-content:flex-start;gap:6px}
.tags li{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;line-height:1.35;font-weight:600;color:var(--purple);background:#fff;border:1px solid var(--line-2);border-radius:12px;padding:3px 10px 3px 8px}
.tags li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--gold);flex:none}
.go{display:flex;align-items:center;justify-content:space-between;margin:auto -22px 0;padding:14px 22px;border-top:1px solid var(--line-2);font-weight:700;color:var(--purple);font-size:15px}
.go i{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--tint);color:var(--purple);transition:background .3s,color .3s,transform .35s var(--ease)}
.go svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tool:hover .go i,.tool:focus-within .go i{background:var(--purple);color:var(--gold);transform:translateX(3px)}

/* the wide cards: text on the left, a small picture of the tool on the right */
.tool.feature{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,220px);grid-template-rows:auto auto auto 1fr auto;column-gap:28px;padding-top:26px}
.feature>*{grid-column:1}
.feature .art{grid-column:2;grid-row:2 / 5;align-self:center;margin-bottom:22px;padding:14px;border-radius:16px;background:linear-gradient(160deg,var(--tint),#fff 85%);border:1px solid var(--line-2);pointer-events:none;transition:transform .45s var(--ease)}
.feature .head,.feature .go{grid-column:1 / -1}
.feature .tags{align-self:start}
.feature h2{font-size:25px}
.feature .ico{width:52px;height:52px;border-radius:15px}
.tool.feature:hover .art{transform:translateY(-3px) rotate(-1deg)}
.art svg{display:block;width:100%;height:auto}
.art .row{fill:#fff;stroke:var(--line-2)}
.art .done{fill:var(--gold)}
.art .tick{fill:none;stroke:var(--purple);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.art .todo{fill:#fff;stroke:var(--line);stroke-width:2}
.art .part{fill:none;stroke:var(--gold);stroke-width:2.6;stroke-linecap:round}
.art .t1{fill:var(--purple);opacity:.85}.art .t1.dim{opacity:.35}
.art .t2,.art .track{fill:var(--line-2)}
.art .pill{fill:var(--tint)}.art .pill.gold{fill:var(--gold);opacity:.55}
.art .fill{fill:var(--gold)}
.art .code{fill:var(--purple)}
.art .brk{fill:none;stroke:var(--gold);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.art .c1{fill:#fff;opacity:.55}.art .c2{fill:#fff;opacity:.3}.art .c3{fill:var(--gold);opacity:.8}
.art .arrow{fill:none;stroke:var(--purple);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.art .card{fill:#fff;stroke:var(--line-2)}
.art .finder rect{fill:none;stroke:var(--purple);stroke-width:3}
.art .mod{fill:var(--purple)}.art .mod.gold{fill:var(--gold)}
@media (max-width:639px){
  .tool.feature{grid-column:auto;display:flex;padding-top:22px}
  .feature .art{display:none}
  .feature h2{font-size:22px}
}

/* a tool with no address yet */
.tool.soon{border-style:dashed;border-color:var(--line);box-shadow:none;background:#fff}
.tool.soon:hover{transform:none;box-shadow:none;border-color:var(--line)}
.tool.soon:hover::before{opacity:0}.tool.soon:hover::after{transform:none}
.tool.soon .ico{background:var(--tint);color:var(--purple);box-shadow:none}
.tool.soon:hover .ico{transform:none}
.tool.soon .go{color:var(--muted);font-weight:600}

@keyframes spin{to{transform:rotate(360deg)}}
@keyframes rise{from{opacity:0;transform:translateY(14px)}}
@keyframes fade{from{opacity:0}}
@keyframes glow{50%{box-shadow:0 0 0 1px rgba(216,182,100,.7),0 0 0 16px rgba(216,182,100,.05),0 0 90px rgba(216,182,100,.38),0 24px 60px rgba(8,0,40,.45)}}
@keyframes sheen{0%,60%{background-position:100% 0}100%{background-position:0 0}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .tool:hover,.tool.feature:hover .art,.tool:hover .ico,.tool:hover .go i,.tool:focus-within .go i{transform:none}
}
