  :root{
    --ink:#13254a;
    --ink-2:#1b2f58;
    --paper:#fffdf8;
    --muted:#5d6b7c;
    --orange:#f47a33;
    --gold:#f4c655;
    --teal:#4fb5a3;
    --blue:#4b9ec5;
    --green:#7ed781;
    --line:#1b2f58;
    --shadow:0 22px 52px rgba(19,37,74,.14);
    --soft-shadow:0 12px 26px rgba(19,37,74,.10);
    --radius:30px;
  }

  *{box-sizing:border-box}

  html,
  body{
    min-height:100%;
  }

  body{
    margin:0;
    font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--ink);
    background:
      radial-gradient(circle at 14% 12%, rgba(244,198,85,.28), transparent 27%),
      radial-gradient(circle at 84% 16%, rgba(75,158,197,.20), transparent 26%),
      radial-gradient(circle at 82% 88%, rgba(79,181,163,.14), transparent 28%),
      linear-gradient(135deg,#fffdf8 0%,#f6efe4 52%,#dfeaf2 100%);
  }

  a{
    color:inherit;
    text-decoration:none;
  }

  .page{
    min-height:100vh;
    width:min(1180px,100%);
    margin:0 auto;
    padding:clamp(16px,3vw,42px);
    display:grid;
    align-items:center;
  }

  .launcher{
    width:100%;
    min-height:min(720px,calc(100vh - clamp(32px,6vw,84px)));
    border:1px solid rgba(27,47,88,.10);
    background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.70));
    box-shadow:var(--shadow);
    border-radius:var(--radius);
    backdrop-filter:blur(10px);
    padding:clamp(22px,4vw,46px);
    display:grid;
    grid-template-columns:minmax(320px,.92fr) minmax(360px,1.08fr);
    gap:clamp(20px,4vw,54px);
    align-items:center;
  }

  .brand{
    display:grid;
    gap:15px;
    margin-bottom:28px;
  }

  .brand-line{
    display:inline-flex;
    align-items:center;
    width:fit-content;
    max-width:100%;
    padding:10px 12px;
    border-radius:22px;
    background:rgba(255,255,255,.86);
    border:1px solid rgba(27,47,88,.10);
    box-shadow:var(--soft-shadow);
  }

  .brand img{
    display:block;
    width:min(370px,100%);
    height:auto;
  }

  .kicker{
    margin:0;
    color:#786149;
    font-size:12px;
    line-height:1.35;
    font-weight:950;
    letter-spacing:.16em;
    text-transform:uppercase;
  }

  h1{
    margin:0;
    max-width:620px;
    font-size:clamp(46px,6.2vw,78px);
    line-height:.95;
    letter-spacing:-.045em;
  }

  .sub{
    margin:20px 0 0;
    max-width:590px;
    color:var(--muted);
    font-size:clamp(18px,1.7vw,23px);
    line-height:1.45;
  }

  .primary{
    margin-top:28px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:56px;
    padding:15px 22px;
    border-radius:17px;
    background:linear-gradient(135deg,var(--ink-2),#254985);
    color:white;
    font-weight:950;
    box-shadow:0 12px 24px rgba(19,37,74,.22);
  }

  .mode-panel{
    background:rgba(255,255,255,.62);
    border:1px solid rgba(27,47,88,.10);
    border-radius:26px;
    padding:clamp(16px,2.2vw,24px);
    box-shadow:0 16px 34px rgba(19,37,74,.09);
  }

  .mode-panel h2{
    margin:0;
    font-size:clamp(24px,2.6vw,34px);
    letter-spacing:-.025em;
  }

  .mode-panel p{
    margin:8px 0 0;
    color:var(--muted);
    font-size:16px;
    line-height:1.4;
  }

  .mode-list{
    margin-top:18px;
    display:grid;
    gap:12px;
  }

  .mode-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    min-height:88px;
    padding:15px;
    border-radius:20px;
    background:rgba(255,255,255,.86);
    border:1px solid rgba(27,47,88,.12);
    box-shadow:0 8px 18px rgba(19,37,74,.06);
    transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  }

  .mode-card:hover{
    transform:translateY(-1px);
    box-shadow:0 14px 24px rgba(19,37,74,.10);
    border-color:rgba(27,47,88,.22);
  }

  .mode-left{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
  }

  .mode-icon{
    width:50px;
    height:50px;
    border-radius:16px;
    flex:0 0 50px;
    display:grid;
    place-items:center;
    color:white;
    font-weight:950;
    font-size:22px;
    box-shadow:inset 0 2px 0 rgba(255,255,255,.24),0 8px 15px rgba(19,37,74,.12);
  }

  .icon-blocks{background:linear-gradient(135deg,#f47a33,#f4c655)}
  .icon-pieces{background:linear-gradient(135deg,#4b9ec5,#4fb5a3)}
  .icon-phrases{background:linear-gradient(135deg,#7ed781,#4fb5a3)}

  .mode-title{
    display:block;
    color:var(--ink);
    font-weight:950;
    font-size:20px;
    line-height:1.1;
  }

  .mode-sub{
    display:block;
    margin-top:5px;
    color:#736150;
    font-size:15px;
    line-height:1.3;
  }

  .pill{
    white-space:nowrap;
    color:var(--ink);
    background:var(--green);
    padding:8px 12px;
    border-radius:999px;
    font-weight:950;
    font-size:14px;
  }

  .pill.play{
    background:#eaf0f8;
    border:1px solid rgba(27,47,88,.10);
  }

  .footer-note{
    margin-top:16px;
    color:#776554;
    font-size:13px;
    font-weight:800;
    line-height:1.35;
  }

  @media (max-width:900px){
    .page{
      align-items:start;
    }

    .launcher{
      min-height:auto;
      grid-template-columns:1fr;
      align-items:start;
    }

    .brand{
      margin-bottom:20px;
    }

    .primary{
      margin-top:22px;
    }
  }

  @media (max-width:560px){
    .page{
      padding:12px;
    }

    .launcher{
      border-radius:22px;
      padding:18px;
    }

    .brand-line{
      padding:8px 10px;
    }

    .brand img{
      width:min(300px,100%);
    }

    .kicker{
      font-size:10px;
    }

    h1{
      font-size:clamp(38px,11vw,52px);
    }

    .sub{
      font-size:17px;
    }

    .mode-card{
      min-height:82px;
      padding:12px;
    }

    .mode-icon{
      width:44px;
      height:44px;
      flex-basis:44px;
      font-size:20px;
    }

    .mode-title{
      font-size:18px;
    }

    .mode-sub{
      font-size:14px;
    }

    .pill{
      font-size:13px;
      padding:7px 10px;
    }
  }

  @media (max-height:760px) and (min-width:901px){
    .launcher{
      min-height:0;
      padding:26px;
    }

    .brand{
      margin-bottom:18px;
    }

    .brand img{
      width:310px;
    }

    h1{
      font-size:clamp(44px,5vw,64px);
    }

    .sub{
      margin-top:16px;
      font-size:19px;
    }

    .primary{
      margin-top:20px;
    }

    .mode-card{
      min-height:78px;
      padding:12px 14px;
    }

    .mode-icon{
      width:44px;
      height:44px;
      flex-basis:44px;
      font-size:20px;
    }

    .mode-panel h2{
      font-size:28px;
    }
  }

