
  :root {
    --ink: #1E1E1E;
    --red: #D7263D;
    --yellow: #FFD84D;
    --blue: #2F6FE0;
    --sky: #4DA8F0;
    --green: #2FBF71;
    --pink: #FF6FB5;
    --purple: #6A4CF0;
    --cream: #F8F6EE;
    --paper: #FAFAFA;
    --line: #C9C9C9;
    --muted: #5A5550;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: #fff; color: var(--ink); font-family: "Instrument Sans", Arial, sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
  a { color: inherit; }
  code, .mono { font-family: Cousine, monospace; }

  /* Ticker */
  .ticker { background: var(--red); border-bottom: 3px solid var(--ink); overflow: hidden; white-space: nowrap; }
  .ticker-track { display: inline-flex; animation: tick 40s linear infinite; }
  .ticker p { font: 700 13px/1 Cousine, monospace; letter-spacing: 1.6px; color: #fff; padding: 9px 36px 9px 0; text-transform: uppercase; }
  @keyframes tick { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

  /* Header */
  header { text-align: center; padding: 26px 16px 8px; }
  .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
  .logo-ai { font: 400 30px/1 "Titan One", sans-serif; }
  .tiles { display: inline-flex; gap: 5px; }
  .tile { display: inline-block; width: 42px; height: 46px; line-height: 44px; text-align: center; border: 2.5px solid var(--ink); border-radius: 9px; font: 27px "Titan One", sans-serif; box-shadow: 3px 3px 0 var(--ink); }
  .tagline { font: 21px "Patrick Hand", cursive; color: var(--muted); margin-top: 10px; }
  nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; margin-top: 14px; }
  nav a { font: 400 12px Cousine, monospace; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; }
  nav a:hover { color: var(--red); }
  .btn { display: inline-block; background: var(--red); color: #fff; border: 2px solid var(--ink); border-radius: 100px; padding: 12px 20px; font: 700 12px Cousine, monospace; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
  .btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }

  main { max-width: 1040px; margin: 0 auto; padding: 0 16px 60px; }

  /* Hero */
  .hero { margin-top: 22px; border: 2px solid var(--ink); border-radius: 26px; padding: 44px 24px 36px; text-align: center; background: #fff; position: relative; overflow: hidden; }
  .hero h1 { font: 700 clamp(44px, 9vw, 92px)/0.95 "Instrument Sans", sans-serif; letter-spacing: -2px; }
  .hero h1 .thin { font-weight: 400; display: block; }
  .hero .lead { font-size: clamp(19px, 2.6vw, 26px); font-weight: 700; max-width: 720px; margin: 22px auto 0; line-height: 1.3; }
  .hero .lead em { font-style: normal; color: var(--red); }
  .hero .lead mark { background: var(--yellow); padding: 0 4px; }
  .sticker { position: absolute; background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 6px 12px; font-weight: 600; font-size: 15px; box-shadow: 3px 3px 0 var(--ink); }
  .s1 { left: 6%; top: 14%; transform: rotate(-6deg); }
  .s2 { right: 6%; top: 16%; transform: rotate(5deg); }
  .s3 { left: 4%; top: 46%; transform: rotate(4deg); }
  .s4 { right: 4%; top: 44%; transform: rotate(-5deg); }
  @media (max-width: 920px) { .sticker { display: none; } }

  /* OS switch */
  .switch-wrap { text-align: center; margin: 22px 0 0; }
  .setup .switch-label { color: var(--ink); }
  .switch-label { font: 21px "Patrick Hand", cursive; color: var(--muted); }
  .switch { display: inline-flex; gap: 10px; margin-top: 8px; padding: 6px; background: #fff; border: 3px solid var(--ink); border-radius: 100px; }
  .switch button { font: 22px "Lilita One", sans-serif; letter-spacing: .3px; border: 2.5px solid transparent; background: transparent; color: var(--ink); border-radius: 100px; padding: 10px 26px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
  .switch button[aria-selected="true"] { background: var(--yellow); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
  .switch button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
  .switch svg { width: 22px; height: 22px; }

  /* Section jump pills */
  .jumps { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 30px 0 8px; }
  .jump { font-family: "Instrument Sans", sans-serif; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: #fff; border: 2px solid var(--ink); border-radius: 100px; padding: 8px 16px 8px 8px; font-weight: 600; box-shadow: 3px 3px 0 var(--ink); }
  .jump .n { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font: 15px "Titan One", sans-serif; }

  /* Big section panels */
  .panel { border: 3px solid var(--ink); border-radius: 26px; padding: 34px 26px; margin-top: 30px; scroll-margin-top: 16px; }
  .panel.setup { background: var(--yellow); }
  .panel.cleanup { background: var(--sky); }
  .panel.edit { background: var(--pink); }
  .panel-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .num { flex: none; width: 58px; height: 62px; line-height: 58px; text-align: center; background: #fff; border: 3px solid var(--ink); border-radius: 12px; font: 34px "Titan One", sans-serif; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-6deg); }
  .panel h2 { font: clamp(32px, 5vw, 46px)/1.05 "Lilita One", "Titan One", sans-serif; letter-spacing: .3px; }
  .panel .sub { font: 20px "Patrick Hand", cursive; margin-top: 2px; }
  .panel .intro { margin-top: 18px; max-width: 760px; font-size: 18px; }

  .note { margin-top: 18px; background: #fff; border: 2px dashed var(--ink); border-radius: 16px; padding: 14px 18px; display: flex; gap: 12px; align-items: flex-start; }
  .note b { font-family: Cousine, monospace; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; background: var(--ink); color: #fff; border-radius: 6px; padding: 3px 8px; flex: none; margin-top: 2px; }

  /* Step cards */
  .steps { list-style: none; display: grid; gap: 16px; margin-top: 24px; counter-reset: step; }
  .step { background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 20px 22px 20px 74px; position: relative; box-shadow: 5px 5px 0 var(--ink); counter-increment: step; }
  .step::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 20px "Titan One", sans-serif; }
  .step h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
  .step p, .step li { color: #2B2420; }
  .step p { margin-top: 6px; }
  .step ul { margin: 8px 0 0 18px; }
  .step li { margin-top: 4px; }
  .size { display: inline-block; font: 700 11px Cousine, monospace; letter-spacing: 1px; text-transform: uppercase; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 6px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
  .opt { background: var(--green); color: #fff; }

  /* Say this (copyable prompts) */
  .say { margin-top: 12px; display: flex; align-items: stretch; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--ink); max-width: 640px; }
  .say span { flex: 1; color: #fff; font: 700 15px/1.4 Cousine, monospace; padding: 11px 14px; word-break: break-word; }
  .say span::before { content: "type  "; color: var(--yellow); font-weight: 400; }
  .say button { flex: none; border: 0; border-left: 2px solid var(--ink); background: var(--yellow); font: 700 12px Cousine, monospace; letter-spacing: 1px; text-transform: uppercase; padding: 0 16px; cursor: pointer; }
  .say button:hover { background: #fff; }
  .say button.done { background: var(--green); color: #fff; }
  .say.paste span::before { content: "paste  "; }
  .say.paste span { word-break: break-all; }
  @media (max-width: 600px) { .say.paste span { font-size: 13px; } }
  .points .note { margin-top: 12px; }

  /* Two-column chips */
  .grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
  .chip { background: var(--paper); border: 2px dashed var(--line); border-radius: 14px; padding: 12px 14px; }
  .chip strong { display: block; font-size: 16px; }
  .chip span { font-size: 15px; color: var(--muted); }
  .styles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .style-tag { border: 2px solid var(--ink); border-radius: 100px; padding: 4px 12px; font-weight: 600; font-size: 15px; background: #fff; box-shadow: 2px 2px 0 var(--ink); }
  .legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 10px; font-size: 15px; }
  .legend i { font-style: normal; padding: 0 5px; border-radius: 4px; }
  .hl { background: var(--yellow); }
  .st { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); }

  [hidden] { display: none !important; }

  /* Footer */
  .help { margin-top: 30px; border: 2px solid var(--ink); border-radius: 26px; padding: 30px 24px; background: var(--cream); text-align: center; }
  .help h2 { font: 32px "Lilita One", sans-serif; }
  .help p { max-width: 640px; margin: 8px auto 0; }
  footer { text-align: center; padding: 26px 16px 40px; font: 12px Cousine, monospace; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }

  @media (max-width: 600px) {
    body { font-size: 16px; }
    .logo-ai { font-size: 24px; }
    .tile { width: 34px; height: 38px; line-height: 36px; font-size: 22px; }
    .panel { padding: 26px 16px; }
    .step { padding: 64px 16px 18px; }
    .step::before { left: 16px; top: 16px; }
    .switch button { padding: 9px 12px; font-size: 17px; gap: 6px; white-space: nowrap; }
    .switch { gap: 4px; }
    .switch svg { width: 18px; height: 18px; }
  }
  /* Tutorial video + short points */
  .video { margin-top: 22px; position: relative; aspect-ratio: 16 / 9; background: var(--ink); border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); }
  .video { background-position: center; background-size: cover; }
  .video wistia-player { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
  .video video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; background: var(--ink); }
  .vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 22px; }
  .vlabel { font: 22px "Lilita One", sans-serif; margin-top: 22px; }
  .vids .video { margin-top: 8px; }
  .video .soon { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; padding: 16px; background: repeating-linear-gradient(-45deg, #1E1E1E 0 22px, #262626 22px 44px); }
  .video .soon .play { width: 74px; height: 74px; margin: 0 auto 12px; border-radius: 50%; background: var(--red); border: 3px solid #fff; display: grid; place-items: center; box-shadow: 3px 3px 0 #000; }
  .video .soon .play::after { content: ""; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
  .video .soon b { font: 24px "Lilita One", sans-serif; display: block; }
  .video .soon span { font: 12px Cousine, monospace; letter-spacing: 1.4px; text-transform: uppercase; color: #ccc; }
  .points { list-style: none; counter-reset: pt; margin-top: 22px; background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 8px 20px; box-shadow: 5px 5px 0 var(--ink); }
  .points > li { counter-increment: pt; position: relative; padding: 14px 0 14px 48px; border-bottom: 2px dashed #ddd; }
  .points > li:last-child { border-bottom: 0; }
  .points > li::before { content: counter(pt); position: absolute; left: 0; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 16px "Titan One", sans-serif; }
  .points i { font-style: normal; padding: 0 5px; border-radius: 4px; }
  .aside { margin-top: 14px; font: 19px "Patrick Hand", cursive; }
  @media (max-width: 600px) { .points { padding: 4px 14px; } .points > li { padding-left: 42px; } }
  .style-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 14px; }
  .style-card { text-align: left; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; display: grid; grid-template-columns: 18px 1fr; column-gap: 10px; row-gap: 2px; transition: transform .12s, box-shadow .12s; }
  .style-card:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
  .style-card[aria-pressed="true"] { background: var(--yellow); }
  .style-card { align-content: start; }
  .style-card span:not(.sw) { grid-column: 2; }
  .style-card .sw { grid-row: 1; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 5px; margin-top: 3px; }
  .style-card strong { font-size: 16px; }
  .style-card span:not(.sw) { font-size: 14px; color: var(--muted); line-height: 1.4; }
  .tip { margin-top: 8px; font: 18px "Patrick Hand", cursive; color: var(--muted); }

  /* ---- Account site additions ---- */
  .panel.connector { background: var(--sky); }
  .panel.releases { background: var(--pink); }
  .panel.account { background: var(--cream); }
  .panel.login { background: var(--yellow); max-width: 560px; margin-left: auto; margin-right: auto; }
  .box { margin-top: 18px; background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 20px 22px; box-shadow: 5px 5px 0 var(--ink); }
  .box h3 { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
  .box p + p { margin-top: 8px; }
  label { display: block; font-weight: 700; margin: 14px 0 6px; }
  input { width: 100%; font: 400 17px/1.3 "Instrument Sans", Arial, sans-serif; color: var(--ink); background: #fff; border: 2.5px solid var(--ink); border-radius: 12px; padding: 11px 13px; }
  input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
  button.btn { cursor: pointer; }
  .btn.ghost { background: #fff; color: var(--ink); }
  .btn:disabled { opacity: .55; cursor: default; transform: none; }
  .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
  .msg { min-height: 1.4em; margin-top: 10px; color: var(--muted); font-size: 15px; }
  .msg.bad { color: var(--red); font-weight: 600; }
  .muted { color: var(--muted); }
  .pill { display: inline-block; font: 700 12px Cousine, monospace; letter-spacing: 1px; text-transform: uppercase; border: 2px solid var(--ink); border-radius: 100px; padding: 4px 12px; background: #fff; }
  .pill.ok { background: var(--green); color: #fff; }
  .pill.bad { background: var(--red); color: #fff; }
  .pill.wait { background: var(--yellow); }
  .list { list-style: none; margin-top: 10px; }
  .list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 2px dashed #ddd; }
  .list li:first-child { border-top: 0; }
  .list li button { flex: none; }
  .release { padding: 16px 0; border-top: 2px dashed #ddd; }
  .release:first-child { border-top: 0; padding-top: 4px; }
  .release .v { font: 24px "Titan One", sans-serif; }
  .release .d { font: 12px Cousine, monospace; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
  .release p { margin-top: 4px; }
  .release.latest .v::after { content: "Latest"; font: 700 11px Cousine, monospace; letter-spacing: 1px; text-transform: uppercase; background: var(--yellow); border: 2px solid var(--ink); border-radius: 100px; padding: 2px 9px; margin-left: 10px; vertical-align: 5px; }
  nav a.on { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
