* { box-sizing: border-box; margin: 0; padding: 0; }
    html { overflow-x: hidden; }
    body { font-family: "Plus Jakarta Sans", sans-serif; background: radial-gradient(circle at 10% 10%, rgba(255, 210, 231, 0.5) 0%, transparent 31%), radial-gradient(circle at 88% 14%, rgba(255, 202, 177, 0.36) 0%, transparent 29%), radial-gradient(circle at 52% 100%, rgba(232, 205, 255, 0.24), transparent 42%), linear-gradient(180deg, #fffafd 0%, #fff2f8 56%, #fbeef7 100%), repeating-linear-gradient(0deg, rgba(255,255,255,0.22) 0 1px, rgba(118,73,105,0.03) 1px 2px, transparent 2px 6px), repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 1px, rgba(118,73,105,0.02) 1px 2px, transparent 2px 10px); color: #382515; overflow-x: hidden; background-attachment: fixed; scroll-padding-top: 112px; }
    .shell { width: 100%; max-width: none; margin: 0; padding: 112px clamp(16px, 3.5vw, 48px) 24px; min-height: 100vh; position: relative; z-index: 1; display: flex; flex-direction: column; }
    .shell-lines {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: -1;
      opacity: 0.52;
      background:
        repeating-radial-gradient(circle at 80% 18%, rgba(201, 111, 177, 0.26) 0 1px, transparent 1px 8px),
        repeating-radial-gradient(circle at 22% 72%, rgba(185, 97, 166, 0.2) 0 1px, transparent 1px 11px),
        repeating-radial-gradient(circle at 54% 48%, rgba(170, 86, 152, 0.15) 0 1px, transparent 1px 14px);
      background-size: 250px 250px, 310px 310px, 380px 380px;
      background-position: 88% 12%, 12% 84%, 52% 46%;
      animation: none;
    }
    .ambient-strip {
      position: absolute;
      pointer-events: none;
      z-index: -1;
      border-radius: 20px;
      border: 1px solid rgba(205, 143, 187, 0.36);
      background: linear-gradient(120deg, rgba(255, 240, 249, 0.44), rgba(239, 194, 223, 0.2));
      box-shadow: 0 12px 24px rgba(102, 52, 87, 0.18), inset 0 1px 0 rgba(255,255,255,0.56);
      backdrop-filter: blur(2px);
    }
    .ambient-strip.w-one {
      width: clamp(210px, 27vw, 380px);
      height: clamp(46px, 5.5vw, 78px);
      left: -40px;
      bottom: 9%;
      transform: rotate(-12deg);
      animation: none;
    }
    .ambient-strip.w-two {
      width: clamp(170px, 20vw, 300px);
      height: clamp(34px, 4vw, 58px);
      right: 7%;
      top: 32%;
      transform: rotate(10deg);
      animation: none;
    }
    .ambient-strip.w-three {
      width: clamp(130px, 15vw, 230px);
      height: clamp(28px, 3.2vw, 44px);
      right: -20px;
      top: 20%;
      transform: rotate(-19deg);
      animation: none;
    }
    .ambient-strip.w-four {
      width: clamp(130px, 16vw, 230px);
      height: clamp(24px, 2.8vw, 36px);
      left: 20%;
      top: 24%;
      transform: rotate(15deg);
      animation: none;
    }
    .ambient-strip.w-five {
      width: clamp(150px, 18vw, 260px);
      height: clamp(28px, 3.2vw, 42px);
      right: 28%;
      bottom: 20%;
      transform: rotate(-9deg);
      animation: none;
    }
    .ambient-strip.w-six {
      width: clamp(110px, 13vw, 200px);
      height: clamp(24px, 2.8vw, 34px);
      left: 7%;
      bottom: 34%;
      transform: rotate(21deg);
      animation: none;
    }
    .shell::before,
    .shell::after {
      content: "";
      position: absolute;
      pointer-events: none;
      z-index: -1;
    }
    .shell::before {
      width: clamp(190px, 21vw, 286px);
      height: clamp(118px, 11.8vw, 166px);
      border-radius: 18px;
      background: linear-gradient(150deg, rgba(255, 245, 252, 0.85), rgba(244, 212, 236, 0.62));
      border: 1px solid rgba(186, 123, 167, 0.3);
      box-shadow: 0 22px 38px rgba(116, 59, 96, 0.15), inset 0 1px 0 rgba(255,255,255,0.72);
      top: 140px;
      right: -90px;
      transform: rotate(-9deg);
    }
    .shell::after {
      width: clamp(230px, 23vw, 330px);
      height: clamp(38px, 4vw, 54px);
      border-radius: 10px;
      background: linear-gradient(180deg, rgba(225, 160, 202, 0.32), rgba(198, 128, 175, 0.22));
      border: 1px solid rgba(186, 123, 161, 0.24);
      bottom: 24px;
      left: -74px;
      transform: rotate(-11deg);
      box-shadow: 0 8px 14px rgba(107, 56, 89, 0.16);
    }
    .topbar { --menu-accent: #c74d83; --menu-panel-bg: #fff4f9; --menu-panel-border: #e2b1c8; --menu-panel-text: #3d2435; --menu-drawer-bg: #fbeaf3; --menu-drawer-text: #3b2232; --menu-drawer-subtext: #5f3a54; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 12px; border: 1px solid #e2b1c8; border-bottom: 2px solid #c74d83; background: linear-gradient(135deg, #fff3f8 0%, #fcecf4 48%, #fff1e8 100%); position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1200; }
    .top-left { display: flex; align-items: center; gap: clamp(28px, 5vw, 112px); min-width: 0; flex: 1; }
    .brand { display: flex; align-items: center; gap: 6px; text-decoration: none; }
    .brand img { width: 74px; height: 46px; display: block; object-fit: contain; }
    .brand-text { font-family: "Space Grotesk", sans-serif; font-size: 1.16rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; color: #8a3f78; text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 2px 8px rgba(16,42,58,0.16); white-space: nowrap; }
    nav { display: flex; align-items: center; }
    .menu-list { list-style: none; display: flex; align-items: center; gap: 16px; }
    .menu-item { position: relative; }
    .menu-link { text-decoration: none; color: #232c34; font-size: .68rem; font-weight: 700; display: inline-block; padding: 4px 0; }
    .menu-link::after { content: " \25BE"; font-size: .54rem; color: #49535c; }
    .submenu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: linear-gradient(180deg, #f4f8fd 0%, #e8eef6 100%); border-top: 2px solid #c74d83; box-shadow: 0 14px 24px rgba(16, 28, 38, .18); display: none; z-index: 50; }
    .submenu a { display: block; padding: 14px 16px; text-decoration: none; font-weight: 700; color: #1d2630; font-size: .92rem; }
    .submenu a:hover { background: linear-gradient(180deg, #e5edf7 0%, #d8e5f2 100%); }
    .menu-item:hover .submenu, .menu-item:focus-within .submenu { display: block; }
    .top-actions { display: flex; align-items: center; gap: 8px; }
    .divider { width: 1px; height: 20px; background: #84546a; opacity: .65; }
    .menu-btn { border: 0; background: transparent; padding: 2px 4px; display: inline-flex; align-items: center; justify-content: center; }
    .menu-btn { border: 1px solid #aa6d8b; border-radius: 2px; padding: 6px; }
    .icon { width: 16px; height: 16px; stroke: #2d353c; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

    .hero { margin: 24px; padding: 30px; border-radius: 14px 40px 14px 40px; background: linear-gradient(140deg, #4e2b63 0%, #8a3e7f 44%, #d05b6e 78%, #f0a53a 100%); color: #fff7fb; border: 1px solid #d9a7be; position: relative; overflow: hidden; box-shadow: 0 22px 42px rgba(106, 48, 96, 0.3); animation: cornerIn 760ms cubic-bezier(.2,.7,.2,1) both; }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 14% 25%, rgba(255,255,255,0.22), transparent 25%),
        radial-gradient(circle at 84% 72%, rgba(255,255,255,0.18), transparent 30%);
      pointer-events: none;
      z-index: 0;
    }
    .hero h1 { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); }
    .hero p { margin-top: 10px; color: #ffe7f3; max-width: 900px; }
    .hero-kicker { display: inline-block; margin-right: 10px; padding: 5px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #7e2f67; background: #fff1f8; vertical-align: middle; position: relative; }
    .hero-kicker::before,
    .hero-kicker::after { content: none; }
    .hero-accent { color: #fff9fc; text-shadow: 0 8px 20px rgba(86, 32, 74, 0.36); position: relative; }
    .hero-accent::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -5px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,241,248,0.85), rgba(255,255,255,0.2)); }
    .hero-symbol {
      position: absolute;
      right: 34px;
      bottom: 14px;
      width: clamp(150px, 24vw, 250px);
      height: clamp(150px, 24vw, 250px);
      background: url("/assets/hero-writing.svg") center/contain no-repeat;
      opacity: 0.4;
      filter: drop-shadow(0 8px 16px rgba(88, 32, 74, 0.32));
      pointer-events: none;
      user-select: none;
      z-index: 0;
    }
    .hero > *:not(.hero-symbol) { position: relative; z-index: 1; }
    .hero-meta { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
    .meta-chip { padding: 6px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; border: 1px solid rgba(255, 255, 255, 0.38); background: rgba(255, 255, 255, 0.16); color: #fff7fc; letter-spacing: 0.02em; }
    /* The hero progress bar, the "Pick one for me" button, the search box and
       the empty-state panel. listing.html renders all four on every listing
       page, unconditionally - the hero steps and the category filters are the
       parts it guards behind {% if %}, and writing supplies neither - so on
       /writing these rendered with no stylesheet at all: a browser-default
       search input and an unstyled button sitting on the hero gradient.
       reading.css and listening.css have carried them since the template was
       written; this sheet was the copy that did not get them.

       Values are reading.css's, with its blues replaced by this page's
       palette: #7a2f62 is the colour .hero-switch a.active already uses for
       text on white over this hero, and #7e3c6a is .between-choose's. */
    .hero-progress { margin-top: 16px; max-width: 420px; }
    .hero-progress-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.18); overflow: hidden; border: 1px solid rgba(255,255,255,0.28); }
    .hero-progress-fill { display: block; height: 100%; width: 0%; background: #ffffff; border-radius: 999px; transition: width 0.35s ease; }
    .hero-progress-row { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
    .hero-progress-text { color: #ffe7f3; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; opacity: 0.92; }
    .hero-random { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #ffffff; color: #7a2f62; border: 1px solid #ffffff; font-family: inherit; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.03em; cursor: pointer; box-shadow: 0 8px 18px rgba(116, 49, 96, 0.24); transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
    .hero-random:hover { transform: translateY(-1px); background: #fff1f8; box-shadow: 0 12px 22px rgba(116, 49, 96, 0.32); }
    .hero-random:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
    .hero-random::before { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a2f62' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='3'/><circle cx='8.5' cy='8.5' r='1.4' fill='%237a2f62'/><circle cx='15.5' cy='15.5' r='1.4' fill='%237a2f62'/><circle cx='15.5' cy='8.5' r='1.4' fill='%237a2f62'/><circle cx='8.5' cy='15.5' r='1.4' fill='%237a2f62'/><circle cx='12' cy='12' r='1.4' fill='%237a2f62'/></svg>") center/contain no-repeat; }
    .hero-switch { width: 100%; margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
    .hero-switch a {
      text-decoration: none;
      color: #fff7fc;
      border: 1px solid rgba(255, 255, 255, 0.35);
      background: rgba(255, 255, 255, 0.12);
      padding: 9px 14px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 0.86rem;
      position: relative;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(104, 44, 86, 0.16);
      transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
    }
    .hero-switch a:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 255, 255, 0.72);
      background: rgba(255, 255, 255, 0.22);
    }
    .hero-switch a.active {
      background: #ffffff;
      color: #7a2f62;
      border-color: #ffffff;
      box-shadow: 0 4px 10px rgba(116, 49, 96, 0.24);
    }
    .between-bar { margin: 4px 24px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
    .filter-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
    .test-search { padding: 11px 18px 11px 44px; border-radius: 999px; border: 2px solid #c74d83; background: #ffffff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a2f62' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='20' y1='20' x2='16.65' y2='16.65'/></svg>") no-repeat 16px center; background-size: 18px 18px; font-family: inherit; font-size: 0.95rem; font-weight: 600; color: #3d2435; min-width: 280px; box-shadow: 0 8px 22px rgba(133, 67, 113, 0.16); transition: border-color 0.18s ease, box-shadow 0.18s ease; }
    .test-search::placeholder { color: #9a6285; font-weight: 500; }
    .test-search:focus { outline: none; border-color: #8a3f78; box-shadow: 0 0 0 4px rgba(199, 77, 131, 0.22), 0 8px 22px rgba(133, 67, 113, 0.16); }
    .test-search:hover { border-color: #8a3f78; }
    .test-search-count { color: #9a6285; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
    .between-choose { margin: 4px 24px 12px; color: #7e3c6a; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
    .tests-stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 24px; }
    .tests-empty { grid-column: 1 / -1; margin: 4px 0; padding: 28px; border-radius: 18px; background: rgba(255,255,255,0.86); border: 1px dashed #e2b1c8; text-align: center; color: #9a6285; font-size: 0.95rem; font-weight: 600; }
    .section-links { margin: 0; background: linear-gradient(145deg, #fffdfd, #fff3f8 46%, #fff7ef 100%); border: 1px solid #efc8dc; border-radius: 12px 28px 12px 28px; padding: 22px; position: relative; overflow: hidden; box-shadow: 0 14px 28px rgba(133, 67, 113, 0.12); animation: swingRight 760ms cubic-bezier(.2,.7,.2,1) 110ms both; }
    .section-links.is-premium-locked { background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(245,249,255,0.84) 46%, rgba(241,255,252,0.8) 100%); border-color: #c4d4eb; box-shadow: 0 20px 34px rgba(46, 81, 146, 0.1); padding-bottom: 22px; }
    .section-links::before {
      content: "";
      position: absolute;
      width: 4px;
      height: 86%;
      left: 0;
      top: 7%;
      border-radius: 4px;
      background: linear-gradient(180deg, #9b3d79, #ea9151);
    }
    .section-links.is-premium-locked::before { background: linear-gradient(180deg, #88a6d8, #97c2bc); }
    .section-links::after {
      content: "";
      position: absolute;
      width: 170px;
      height: 170px;
      right: -62px;
      bottom: -74px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(155,61,121,0.2), transparent 68%);
      animation: blobMorph 4.4s ease-in-out infinite;
      pointer-events: none;
    }
    .section-links.is-premium-locked::after { width: 260px; height: 260px; right: -80px; bottom: -110px; background: radial-gradient(circle, rgba(255,255,255,0.42), rgba(42,99,199,0.12) 42%, transparent 70%); }
    .premium-flag {
      position: absolute;
      top: 16px;
      right: 16px;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 32px;
      padding: 0 14px;
      border-radius: 999px;
      background: linear-gradient(135deg, #ffffff, rgba(239,244,255,0.95));
      border: 1px solid rgba(92, 123, 176, 0.22);
      color: #596e95;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      box-shadow: 0 10px 18px rgba(63, 86, 137, 0.12);
      backdrop-filter: blur(6px);
    }
    .premium-flag::before {
      content: "LOCKED";
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-right: 8px;
      padding: 4px 7px;
      border-radius: 999px;
      background: linear-gradient(135deg, #2a63c7, #35a7b4);
      color: #ffffff;
      font-size: 0.62rem;
      letter-spacing: 0.08em;
    }
    .test-card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }
    .test-status {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      min-height: 26px;
      margin-left: auto;
      margin-right: -8px;
      padding: 0 10px;
      border-radius: 999px;
      font-size: 0.68rem;
      font-weight: 800;
      line-height: 1;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      border: 1px solid #efc8dc;
      background: rgba(255, 247, 251, 0.92);
      color: #7e3c6a;
    }
    .test-status.is-complete {
      border-color: #d9b0cb;
      background: linear-gradient(180deg, #fff1f8 0%, #ffe7f2 100%);
      color: #8c2e69;
    }
    .section-links h2 { margin-bottom: 12px; font-size: 1.5rem; }
    .link-row { display: flex; gap: 4px; align-items: stretch; width: 100%; }
    .big-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 1; min-width: 0; min-height: 56px; box-sizing: border-box; text-decoration: none; color: #7f2f67; font-weight: 800; font-size: 1.35rem; border: 1px solid #e5b9d1; border-radius: 10px; padding: 12px 18px; background: repeating-linear-gradient(0deg, #fffafc 0 30px, #fff1f7 30px 31px), linear-gradient(110deg, #fffafc, #fff2f8); }
    .big-link > span:first-child { white-space: normal; }
    .big-link:hover { background: repeating-linear-gradient(0deg, #fff5fa 0 30px, #ffe9f2 30px 31px), linear-gradient(110deg, #fff5fa, #ffe9f2); }
    .section-links.is-premium-locked .big-link,
    .section-links.is-premium-locked .start-btn,
    .section-links.is-premium-locked .test-overview-item,
    .section-links.is-premium-locked .test-status {
      filter: saturate(0.65);
      opacity: 0.5;
    }
    .start-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      min-width: 122px;
      height: 56px;
      padding: 0 22px;
      background: linear-gradient(135deg, #9a457f, #7a2f62);
      color: #ffffff;
      font-weight: 800;
      font-size: 1.04rem;
      letter-spacing: 0.01em;
      border-radius: 16px;
      border: 1px solid #67264f;
      white-space: nowrap;
      box-shadow: 0 14px 26px rgba(112, 49, 93, 0.2);
      transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    }
    .start-btn:hover {
      filter: brightness(1.04);
      transform: translateY(-1px);
      box-shadow: 0 18px 28px rgba(112, 49, 93, 0.26);
    }
    .test-overview { margin-top: 12px; display: grid; gap: 8px; }
    .test-overview-title { color: #8b5575; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
    .test-overview-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
    .test-overview-item { border: 1px solid #eed0df; border-radius: 14px; background: linear-gradient(180deg, #fffdfd 0%, #fff4f8 100%); padding: 10px 12px; display: grid; gap: 4px; }
    .test-overview-label { color: #97406f; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
    .test-overview-text { color: #5e3a52; font-size: 0.82rem; line-height: 1.35; font-weight: 700; }
    .section-links.is-premium-locked .test-overview-title,
    .section-links.is-premium-locked .test-overview-label,
    .section-links.is-premium-locked .test-overview-text { color: #7383a0; }
    .premium-overlay {
      position: relative;
      left: auto;
      right: auto;
      bottom: auto;
      z-index: 4;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-top: 16px;
      padding: 18px 18px 16px;
      border-radius: 20px;
      border: 1px solid rgba(119, 149, 206, 0.2);
      background:
        linear-gradient(135deg, rgba(255,255,255,0.92), rgba(241,246,255,0.86)),
        radial-gradient(circle at top right, rgba(42,99,199,0.14), transparent 32%);
      box-shadow: 0 20px 32px rgba(55, 83, 129, 0.12), inset 0 1px 0 rgba(255,255,255,0.84);
      backdrop-filter: blur(8px);
    }
    .premium-overlay::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 20px;
      pointer-events: none;
      background: linear-gradient(120deg, rgba(255,255,255,0.14), transparent 36%, rgba(255,255,255,0.2) 62%, transparent 100%);
      opacity: 0.78;
    }
    .premium-copy { position: relative; min-width: 0; max-width: 360px; }
    .premium-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #3866b4;
      font-size: 0.74rem;
      font-weight: 900;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    .premium-eyebrow::before {
      content: "";
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: linear-gradient(135deg, #2a63c7, #35a7b4);
      box-shadow: 0 0 0 5px rgba(42, 99, 199, 0.12);
    }
    .premium-title {
      margin-top: 8px;
      color: #6d2f5a;
      font-family: "Space Grotesk", sans-serif;
      font-size: clamp(1.1rem, 2vw, 1.4rem);
      line-height: 1.12;
      letter-spacing: -0.01em;
    }
    .premium-text {
      margin-top: 6px;
      color: #644d5f;
      font-size: 0.92rem;
      line-height: 1.55;
      font-weight: 800;
    }
    .premium-actions {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
      flex-shrink: 0;
    }
    .premium-note {
      color: #7b8ead;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .premium-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 156px;
      min-height: 48px;
      padding: 0 18px;
      border-radius: 999px;
      background: linear-gradient(135deg, #2f79c8, #2a63c7);
      color: #ffffff;
      font-size: 0.8rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      box-shadow: 0 14px 22px rgba(54, 92, 156, 0.2);
    }
    @keyframes cornerIn {
      from { opacity: 0; transform: translate(-46px, -28px) rotate(-2deg) scale(0.96); }
      to { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); }
    }
    @keyframes swingRight {
      from { opacity: 0; transform: translateX(52px) rotate(1.2deg); }
      to { opacity: 1; transform: translateX(0) rotate(0); }
    }
    @keyframes sectionOpenPulse {
      0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(104, 44, 86, 0.16); }
      50% { transform: scale(1.03); box-shadow: 0 4px 12px rgba(104, 44, 86, 0.28); }
    }
    @keyframes sectionOpenSweep {
      0% { transform: translateX(-120%); opacity: 0; }
      20% { opacity: 1; }
      60% { opacity: 1; }
      100% { transform: translateX(120%); opacity: 0; }
    }
    @keyframes blobMorph {
      0%, 100% { border-radius: 50%; transform: scale(0.9); }
      50% { border-radius: 38% 62% 54% 46% / 44% 42% 58% 56%; transform: scale(1.06); }
    }
    @keyframes essayTilt {
      0%, 100% { transform: rotate(0deg) translateY(0); }
      50% { transform: rotate(-3deg) translateY(-2px); }
    }
    @keyframes penTick {
      0%, 100% { transform: rotate(-28deg) scaleX(0.8); opacity: 0.55; }
      50% { transform: rotate(-18deg) scaleX(1); opacity: 1; }
    }
    @keyframes inkDot {
      0%, 100% { transform: translateY(-50%) scale(0.85); }
      50% { transform: translateY(-50%) scale(1.2); }
    }
    @keyframes essayGlow {
      0% { opacity: 0.65; transform: scaleX(0.86); background-position: 0% 50%; }
      50% { opacity: 1; transform: scaleX(1); background-position: 100% 50%; }
      100% { opacity: 0.65; transform: scaleX(0.86); background-position: 200% 50%; }
    }
    @keyframes essayDot {
      0% { left: -5px; }
      50% { left: calc(100% - 2px); }
      100% { left: -5px; }
    }
    @keyframes stickerFloatWrite {
      0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.48; }
      50% { transform: translateY(-10px) rotate(-5deg) scale(1.03); opacity: 0.62; }
    }
    @keyframes shellFlowWrite {
      0% { background-position: 88% 12%, 12% 84%, 52% 46%; }
      50% { background-position: 82% 18%, 18% 78%, 48% 52%; }
      100% { background-position: 88% 12%, 12% 84%, 52% 46%; }
    }
    @keyframes lineGridWrite {
      from { background-position: 0 0, 0 0; }
      to { background-position: 0 70px, 80px 0; }
    }
    @keyframes ambientWriteOne {
      0% { transform: rotate(-12deg) translate(0, 0); opacity: 0.56; }
      20% { transform: rotate(-8deg) translate(18px, -14px); opacity: 0.72; }
      40% { transform: rotate(-15deg) translate(34px, 6px); opacity: 0.62; }
      60% { transform: rotate(-7deg) translate(10px, 20px); opacity: 0.76; }
      80% { transform: rotate(-13deg) translate(-10px, 8px); opacity: 0.6; }
      100% { transform: rotate(-12deg) translate(0, 0); opacity: 0.56; }
    }
    @keyframes ambientWriteTwo {
      0% { transform: rotate(10deg) translate(0, 0); opacity: 0.44; }
      20% { transform: rotate(14deg) translate(-22px, -10px); opacity: 0.6; }
      40% { transform: rotate(8deg) translate(-8px, 14px); opacity: 0.5; }
      60% { transform: rotate(15deg) translate(14px, 8px); opacity: 0.66; }
      80% { transform: rotate(11deg) translate(24px, -6px); opacity: 0.54; }
      100% { transform: rotate(10deg) translate(0, 0); opacity: 0.44; }
    }
    @keyframes ambientWriteThree {
      0% { transform: rotate(-19deg) translate(0, 0); opacity: 0.32; }
      20% { transform: rotate(-14deg) translate(-12px, 10px); opacity: 0.46; }
      40% { transform: rotate(-22deg) translate(14px, 18px); opacity: 0.38; }
      60% { transform: rotate(-13deg) translate(28px, -2px); opacity: 0.54; }
      80% { transform: rotate(-18deg) translate(8px, -12px); opacity: 0.42; }
      100% { transform: rotate(-19deg) translate(0, 0); opacity: 0.32; }
    }
    @keyframes ambientWriteFour {
      0% { transform: rotate(15deg) translate(0, 0); opacity: 0.24; }
      20% { transform: rotate(10deg) translate(18px, -12px); opacity: 0.38; }
      40% { transform: rotate(18deg) translate(34px, 2px); opacity: 0.32; }
      60% { transform: rotate(12deg) translate(12px, 15px); opacity: 0.5; }
      80% { transform: rotate(16deg) translate(-6px, 4px); opacity: 0.34; }
      100% { transform: rotate(15deg) translate(0, 0); opacity: 0.24; }
    }
    @keyframes ambientWriteFive {
      0% { transform: rotate(-9deg) translate(0, 0); opacity: 0.28; }
      20% { transform: rotate(-14deg) translate(-18px, 10px); opacity: 0.44; }
      40% { transform: rotate(-7deg) translate(-30px, -4px); opacity: 0.36; }
      60% { transform: rotate(-15deg) translate(-10px, -16px); opacity: 0.52; }
      80% { transform: rotate(-10deg) translate(8px, -8px); opacity: 0.4; }
      100% { transform: rotate(-9deg) translate(0, 0); opacity: 0.28; }
    }
    @keyframes ambientWriteSix {
      0% { transform: rotate(21deg) translate(0, 0); opacity: 0.22; }
      20% { transform: rotate(16deg) translate(14px, -14px); opacity: 0.36; }
      40% { transform: rotate(25deg) translate(30px, -2px); opacity: 0.28; }
      60% { transform: rotate(15deg) translate(10px, 14px); opacity: 0.46; }
      80% { transform: rotate(22deg) translate(-10px, 6px); opacity: 0.32; }
      100% { transform: rotate(21deg) translate(0, 0); opacity: 0.22; }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero, .section-links { animation: none; }
    }

    @media (max-width: 1400px) {
      .tests-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .section-links.is-premium-locked { min-height: 0; }
      .premium-overlay { padding: 14px; gap: 12px; }
      .premium-copy { max-width: none; }
      .premium-title { font-size: clamp(1rem, 1.45vw, 1.26rem); }
      .premium-text { font-size: 0.82rem; }
      .premium-actions { gap: 8px; }
      .premium-cta { min-width: 138px; min-height: 44px; font-size: 0.74rem; padding: 0 14px; }
    }

    @media (max-width: 1024px) {
      .hero, .between-choose, .tests-stack { margin-left: 12px; margin-right: 12px; }
      .tests-stack { grid-template-columns: 1fr; }
    }

    @media (max-width: 760px) {
      .shell { padding-top: 104px; }
      .top-left { flex-direction: column; align-items: flex-start; gap: 8px; }
      .brand img { width: 88px; height: auto; }
      .brand-text { font-size: 0.98rem; }
      .menu-list { gap: 12px; }
      .menu-link::after { content: ""; }
      .submenu { position: static; display: none; box-shadow: none; border: 1px solid #c5d3dc; margin-top: 6px; }
      .hero, .between-choose, .tests-stack { margin-left: 12px; margin-right: 12px; }
      .big-link { font-size: 1.1rem; }
      .link-row { flex-direction: column; }
      .start-btn { justify-content: center; }
      .hero-switch a { font-size: 0.82rem; }
      .section-links.is-premium-locked { min-height: 0; }
      .premium-overlay { padding: 12px; display: grid; gap: 10px; }
      .premium-actions { width: 100%; align-items: stretch; }
      .premium-note { text-align: left; }
      .premium-cta { width: 100%; min-width: 0; }
    }