/* SpeakFlow Studio — shared visual tokens and components. No build step. */
@layer reset, tokens, base, components, pages, responsive, accessibility;
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  body,
  h1,
  h2,
  h3,
  p,
  ol {
    margin: 0;
  }
  button,
  input {
    font: inherit;
  }
  button,
  a,
  input {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    cursor: pointer;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  button {
    color: inherit;
  }
  img,
  svg {
    display: block;
    max-width: 100%;
  }
  [hidden] {
    display: none !important;
  }
}
@layer tokens {
  :root {
    --paper: #fff;
    --canvas: #f7f9ff;
    --blue: #2457ee;
    --blue-dark: #1742c6;
    --blue-soft: #eaf0ff;
    --ink: #17233d;
    --muted: #65718a;
    --line: #e2e7f1;
    --green: #237c68;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 22px 65px -30px #2648833b;
    --font: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    --mono: "SFMono-Regular", Consolas, monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --fast: 180ms;
    --normal: 360ms;
    --slow: 700ms;
    --shell: 1280px;
  }
}
@layer base {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
  }
  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  ::selection {
    background: #cbd9ff;
    color: #12254f;
  }
  h1,
  h2,
  h3 {
    line-height: 1.35;
    font-weight: 650;
    letter-spacing: -0.04em;
  }
  h2 {
    font-size: clamp(24px, 2.4vw, 34px);
  }
  h3 {
    font-size: 22px;
  }
  .shell {
    width: min(var(--shell), calc(100% - 112px));
    margin-inline: auto;
  }
  .eyebrow {
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.17em;
    line-height: 1.6;
  }
  .blue-text {
    color: var(--blue);
  }
  .muted,
  .small-label {
    color: var(--muted);
  }
  .small-label {
    font-size: 11px;
  }
  .mono {
    font-family: var(--mono);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }
  button:focus-visible,
  a:focus-visible,
  input:focus-visible,
  summary:focus-visible {
    outline: 3px solid #7297ff;
    outline-offset: 5px;
  }
  section[id] {
    scroll-margin-top: 105px;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    background: var(--blue);
    color: white;
    padding: 12px 20px;
    z-index: 100;
  }
  .skip-link:focus {
    top: 12px;
  }
}
@layer components {
  .site-header {
    height: 88px;
    padding: 0 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffffed;
    backdrop-filter: blur(16px);
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -1.3px;
    white-space: nowrap;
  }
  .brand-dot {
    font-size: 10px;
    align-self: flex-start;
    margin-top: 5px;
    letter-spacing: 0;
  }
  .brand-mark {
    display: flex;
    align-items: center;
    gap: 3px;
    width: 27px;
    height: 30px;
  }
  .brand-mark i {
    display: block;
    background: var(--blue);
    width: 4px;
    border-radius: 4px;
    height: 14px;
  }
  .brand-mark i:nth-child(2) {
    height: 27px;
  }
  .brand-mark i:nth-child(3) {
    height: 21px;
  }
  .brand-mark i:nth-child(4) {
    height: 10px;
  }
  .site-header nav {
    display: flex;
    align-items: center;
    gap: 36px;
  }
  .nav-link {
    font-size: 13px;
    color: var(--muted);
    position: relative;
    padding: 12px 0;
    transition: color var(--fast);
  }
  .nav-link:hover {
    color: var(--blue);
  }
  .nav-link::after {
    content: "";
    height: 2px;
    background: var(--blue);
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--normal) var(--ease);
  }
  .nav-link:hover::after {
    transform: scaleX(1);
  }
  .tiny-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--blue);
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
  }
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 52px;
    padding: 13px 23px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    transition:
      transform var(--normal) var(--ease),
      box-shadow var(--normal),
      background var(--fast);
    white-space: nowrap;
  }
  .button span {
    font-size: 21px;
    line-height: 1;
    transition: transform var(--normal) var(--ease);
  }
  .button:hover {
    transform: translateY(-2px);
  }
  .button:hover span {
    transform: translate(2px, -2px);
  }
  .button:active {
    transform: translateY(0) scale(0.98);
  }
  .button-blue {
    background: var(--blue);
    color: white;
    box-shadow: 0 5px 12px #2457ee20;
  }
  .button-blue:hover {
    background: var(--blue-dark);
    box-shadow: 0 9px 22px #2457ee30;
  }
  .button-small {
    min-height: 42px;
    padding: 9px 17px;
    font-size: 12px;
    gap: 24px;
  }
  .button-ink {
    background: var(--ink);
    color: white;
  }
  .button-outline {
    background: var(--paper);
    border-color: var(--line);
  }
  .button-outline:hover {
    background: var(--canvas);
    border-color: #c4d1f0;
  }
  .text-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    font-weight: 550;
  }
  .text-link:hover {
    color: var(--blue);
  }
  .text-link span {
    font-size: 20px;
  }
  .live-dot,
  .status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
  }
  .status-dot {
    background: var(--green);
  }
  .section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
  }
  .section-heading .eyebrow {
    color: var(--blue);
    margin-bottom: 12px;
  }
  .prototype-badge {
    font-size: 11px;
    color: var(--muted);
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    white-space: nowrap;
  }
  .section-note {
    font-size: 12px;
    color: var(--muted);
  }
  .icon-button {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    font-size: 18px;
    transition:
      background var(--fast),
      transform var(--fast);
  }
  .icon-button:hover {
    background: var(--blue-soft);
    transform: translateY(-2px);
  }
  .tag {
    font-size: 12px;
    background: var(--blue-soft);
    color: var(--blue);
    padding: 5px 11px;
    border-radius: 6px;
  }
  .status-pill {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .reveal {
    opacity: 1;
  }
  .js-motion .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity var(--slow) var(--ease),
      transform var(--slow) var(--ease);
  }
  .js-motion .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .session-dialog {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 48px;
    width: min(500px, calc(100% - 32px));
    color: var(--ink);
    box-shadow: 0 35px 120px #10244340;
    max-height: 90dvh;
    overflow: auto;
  }
  .session-dialog[open] {
    animation: dialog-in var(--normal) var(--ease);
  }
  .session-dialog::backdrop {
    background: #14254955;
    backdrop-filter: blur(5px);
  }
  .dialog-close {
    position: absolute;
    right: 20px;
    top: 20px;
  }
  .session-dialog .eyebrow {
    color: var(--blue);
    margin-bottom: 14px;
  }
  .session-dialog h2 {
    font-size: 29px;
  }
  .dialog-description {
    color: var(--muted);
    margin: 14px 0 28px;
    font-size: 13px;
  }
  .session-dialog label,
  .session-dialog legend {
    font-size: 12px;
    font-weight: 600;
  }
  .session-dialog input[name="name"] {
    width: 100%;
    margin: 8px 0 24px;
    padding: 13px 14px;
    border: 1px solid #cfd6e5;
    border-radius: 8px;
    color: var(--ink);
    background: var(--canvas);
  }
  .session-dialog fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 28px;
  }
  .duration-options {
    display: flex;
    gap: 9px;
    margin-top: 10px;
  }
  .duration-options label {
    flex: 1;
    position: relative;
    cursor: pointer;
  }
  .duration-options input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  }
  .duration-options span {
    display: block;
    text-align: center;
    border: 1px solid var(--line);
    padding: 10px 3px;
    border-radius: 8px;
  }
  .duration-options input:checked + span {
    border-color: var(--blue);
    background: var(--blue-soft);
    color: var(--blue);
  }
  .duration-options input:focus-visible + span {
    outline: 3px solid #7297ff;
    outline-offset: 3px;
  }
  .session-dialog .button {
    width: 100%;
  }
  .session-dialog .small-label {
    text-align: center;
    margin-top: 13px;
  }
  .toast {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translate(-50%, 20px);
    max-width: calc(100% - 32px);
    padding: 13px 22px;
    background: var(--ink);
    color: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 13px;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity var(--normal),
      transform var(--normal) var(--ease);
  }
  .toast.visible {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@layer pages {
  .hero {
    min-height: 595px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    padding-block: 60px 70px;
  }
  .hero-copy {
    position: relative;
    z-index: 2;
  }
  .hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }
  .hero h1 {
    font-size: clamp(52px, 5.5vw, 78px);
    font-weight: 650;
    letter-spacing: -0.065em;
    line-height: 1.24;
    margin: 25px 0 25px;
  }
  .blue-word {
    color: var(--blue);
    position: relative;
    display: inline-block;
  }
  .blue-word svg {
    position: absolute;
    left: 1%;
    bottom: -11px;
    width: 95%;
    height: 14px;
    overflow: visible;
  }
  .blue-word path {
    fill: none;
    stroke: #bed0ff;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 500;
    stroke-dashoffset: 0;
    animation: draw-line 1.4s var(--ease) both;
  }
  .hero-description {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    margin-top: 30px;
  }
  .hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
  }
  .hero-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    color: #7a8599;
    margin-top: 31px;
  }
  .mini-wave {
    color: var(--blue);
    letter-spacing: 1px;
    font-size: 12px;
  }
  .mobile-break {
    display: none;
  }
  .hero-art {
    position: relative;
    height: 420px;
    isolation: isolate;
  }
  .hero-art::before {
    content: "";
    position: absolute;
    inset: 0 -25px;
    background: radial-gradient(
      ellipse at 50% 55%,
      #dfeaff 0%,
      #f4f7ff80 48%,
      transparent 72%
    );
    z-index: -2;
  }
  .orbit {
    position: absolute;
    left: 5%;
    top: 2%;
    width: 88%;
    height: 95%;
    border: 1px solid #e6edfc;
    border-radius: 50%;
    transform: rotate(-25deg);
  }
  .orbit-two {
    left: 0;
    top: 12%;
    height: 74%;
    width: 98%;
    transform: rotate(28deg);
  }
  .art-caption {
    font-size: 9px;
    color: var(--blue);
    line-height: 1.5;
    letter-spacing: 0.14em;
    position: absolute;
    right: 9%;
    top: 0;
  }
  .art-cross {
    position: absolute;
    color: #9bb7f2;
    font-size: 24px;
    font-weight: 300;
  }
  .cross-one {
    top: 14%;
    left: 8%;
  }
  .cross-two {
    right: 5%;
    bottom: 17%;
  }
  .hero-paper,
  .paper-back {
    position: absolute;
    width: 78%;
    height: 270px;
    left: 11%;
    top: 65px;
    border-radius: 12px;
  }
  .paper-back {
    border: 1px solid #d1dfff;
    background: #e9efff;
  }
  .back-two {
    transform: rotate(10deg);
    background: #dce7ff;
    top: 57px;
  }
  .back-one {
    transform: rotate(-7deg);
    background: #f5f8ff;
  }
  .hero-paper {
    background: linear-gradient(120deg, #fff 58%, #f5f8ff);
    padding: 24px 30px;
    transform: rotate(-2deg);
    box-shadow: 0 18px 40px #2c4e9319;
    overflow: hidden;
    border: 1px solid #e0e6f2;
    animation: paper-in 1s var(--ease) both;
  }
  .hero-paper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--blue);
  }
  .paper-top {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    letter-spacing: 0.12em;
    color: var(--muted);
  }
  .hero-paper p {
    font-size: clamp(29px, 3.1vw, 43px);
    font-weight: 650;
    letter-spacing: -0.05em;
    line-height: 1.42;
    margin-top: 31px;
  }
  .hero-paper p span {
    color: var(--blue);
  }
  .paper-bottom {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 7px;
    letter-spacing: 0.12em;
    margin-top: 24px;
    color: #7b87a0;
  }
  .paper-rule {
    height: 1px;
    width: 35px;
    background: var(--blue);
  }
  .paper-corner {
    position: absolute;
    bottom: 25px;
    right: 27px;
    color: var(--blue);
    font-size: 38px;
    font-weight: 300;
  }
  .floating-note {
    position: absolute;
    right: 0;
    top: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 18px;
    background: white;
    box-shadow: 0 8px 35px #2d4a8d17;
    border: 1px solid #e5ebf8;
    border-radius: 13px;
    font-size: 12px;
    transform: rotate(3deg);
    animation: float-note 7s ease-in-out infinite;
  }
  .floating-note small {
    display: block;
    font-size: 9px;
    color: var(--muted);
    margin-top: 3px;
  }
  .note-check {
    background: var(--blue-soft);
    color: var(--blue);
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: grid;
    place-items: center;
  }
  .note-spark {
    color: var(--blue);
    font-size: 24px;
    margin-left: 8px;
  }
  .audio-float {
    position: absolute;
    left: 3%;
    bottom: 35px;
    width: 280px;
    height: 65px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    background: var(--blue);
    color: white;
    border-radius: 13px;
    transform: rotate(-3deg);
    box-shadow: 0 16px 35px #2457ee35;
  }
  .audio-symbol {
    font-size: 23px;
  }
  .decorative-wave {
    flex: 1;
    display: flex;
    gap: 3px;
    align-items: center;
    height: 28px;
  }
  .decorative-wave i {
    width: 3px;
    height: var(--height);
    background: #fff9;
    border-radius: 4px;
    animation: wave 1.8s ease-in-out infinite alternate;
    animation-delay: var(--delay);
  }
  .audio-float .mono {
    font-size: 10px;
  }
  .art-footer {
    position: absolute;
    right: 5%;
    bottom: 3px;
    font-size: 7px;
    letter-spacing: 0.14em;
    color: #6c81ac;
  }
  .chapter-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-block: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
  }
  .chapter-strip > span:first-child {
    color: var(--muted);
  }
  .chapter-strip ol {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 70px;
  }
  .chapter-strip li {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .chapter-strip b {
    font: 11px var(--mono);
    color: var(--blue);
  }
  .strip-arrow {
    color: var(--blue);
    font-size: 23px;
  }
  .workspace-section {
    padding-top: 68px;
  }
  .project-row {
    display: flex;
    align-items: center;
    gap: 27px;
    border: 1px solid var(--line);
    padding: 22px;
    border-radius: var(--radius);
    transition:
      border-color var(--normal),
      box-shadow var(--normal);
  }
  .project-row:hover {
    border-color: #c8d7ff;
    box-shadow: var(--shadow);
  }
  .project-cover {
    width: 148px;
    height: 99px;
    flex-shrink: 0;
    background: #e8efff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    padding: 12px 17px;
  }
  .project-cover::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border: 1px solid #b0c5f9;
    border-radius: 50%;
    right: -15px;
    top: 3px;
    box-shadow:
      0 0 0 12px #dce6fd,
      0 0 0 13px #c1d1f6;
  }
  .project-cover > span {
    font-size: 24px;
    line-height: 0.98;
    font-weight: 750;
    letter-spacing: -1px;
    color: var(--blue);
    position: relative;
    z-index: 1;
  }
  .project-cover small {
    display: block;
    font-size: 7px;
    margin-top: 10px;
    color: #4e6490;
    position: relative;
    z-index: 1;
  }
  .project-info {
    flex: 1;
  }
  .project-label {
    font-size: 10px;
    display: flex;
    gap: 7px;
    align-items: center;
    margin-bottom: 7px;
  }
  .project-label .muted {
    margin-left: 7px;
  }
  .project-info h3 {
    font-size: 20px;
    letter-spacing: -0.03em;
  }
  .project-info p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
  }
  .project-info p span {
    margin: 0 8px;
  }
  .project-row .button {
    margin-right: 8px;
  }
  .preview-section {
    padding-top: 70px;
  }
  .workbench {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 18px 50px -40px #14337960;
  }
  .workbench-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 27px;
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }
  .tabs {
    display: flex;
    gap: 5px;
    background: #f1f4fa;
    border-radius: 9px;
    padding: 4px;
  }
  .tab {
    background: transparent;
    border: 0;
    border-radius: 7px;
    padding: 10px 20px;
    font-size: 12px;
    color: var(--muted);
    transition:
      color var(--fast),
      background var(--fast),
      box-shadow var(--fast);
  }
  .tab span {
    font-family: var(--mono);
    font-size: 9px;
    margin-right: 8px;
    opacity: 0.7;
  }
  .tab.active {
    background: white;
    color: var(--blue);
    box-shadow: 0 2px 6px #20386d0d;
  }
  .toolbar-note {
    font-size: 10px;
    color: var(--muted);
    display: flex;
    gap: 7px;
    align-items: center;
  }
  .toolbar-note .live-dot {
    width: 5px;
    height: 5px;
  }
  .tab-panel {
    animation: panel-in var(--normal) var(--ease);
  }
  .story-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    padding: 34px;
    gap: 45px;
    min-height: 420px;
  }
  .slide-stage {
    background: var(--canvas);
    border: 1px solid #e9eef9;
    border-radius: 13px;
    padding: 22px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 330px;
    position: relative;
    overflow: hidden;
  }
  .slide-stage::after {
    content: "";
    position: absolute;
    width: 185px;
    height: 185px;
    right: -80px;
    bottom: 55px;
    border: 1px solid #d4dfff;
    border-radius: 50%;
    box-shadow:
      0 0 0 18px #f1f5ff,
      0 0 0 19px #e0e8ff;
    pointer-events: none;
  }
  .slide-meta {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 9px;
  }
  .slide-meta .mono {
    font-size: 9px;
  }
  .slide-content {
    position: relative;
    z-index: 1;
    padding-block: 24px;
  }
  .slide-kicker {
    color: var(--blue);
    font-size: 8px;
    letter-spacing: 0.17em;
  }
  .slide-content h3 {
    font-size: clamp(23px, 2.8vw, 38px);
    line-height: 1.5;
    margin: 12px 0;
    letter-spacing: -0.05em;
  }
  .slide-content p {
    font-size: 11px;
    color: var(--muted);
  }
  .slide-content.swapping {
    animation: panel-in 0.45s var(--ease);
  }
  .slide-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  .slide-controls > div {
    display: flex;
    gap: 8px;
  }
  .slide-dots {
    display: flex;
    gap: 5px;
  }
  .slide-dots i {
    height: 5px;
    width: 5px;
    background: #ccd7ef;
    border-radius: 5px;
    transition:
      width var(--normal),
      background var(--normal);
  }
  .slide-dots i.active {
    width: 19px;
    background: var(--blue);
  }
  .coach-note {
    position: relative;
    align-self: center;
    padding: 0 16px 0 0;
  }
  .coach-note .eyebrow {
    font-size: 8px;
    color: var(--muted);
    letter-spacing: 0.12em;
  }
  .annotation-symbol {
    position: absolute;
    right: 16px;
    top: 20px;
    font-size: 46px;
    color: var(--blue);
    font-weight: 300;
  }
  .coach-note h3 {
    font-size: 27px;
    line-height: 1.5;
    margin: 23px 0 16px;
  }
  .coach-note > p:not(.eyebrow) {
    font-size: 12px;
    line-height: 1.95;
    color: var(--muted);
    max-width: 300px;
  }
  .note-evidence {
    border-left: 2px solid var(--blue);
    padding: 1px 0 1px 14px;
    margin: 23px 0 20px;
  }
  .note-evidence span {
    display: block;
    font-size: 10px;
    color: var(--muted);
  }
  .note-evidence strong {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 550;
  }
  .coach-note .small-label {
    font-size: 9px;
  }
  .workbench-footer {
    display: flex;
    justify-content: space-between;
    padding: 17px 30px;
    background: #fafbfe;
    border-top: 1px solid var(--line);
    font-size: 9px;
    color: var(--muted);
  }
  .workbench-footer > span:last-child {
    font-size: 8px;
    letter-spacing: 0.13em;
  }
  .workbench-footer .tiny-dot {
    margin: 0 7px 0 0;
    width: 4px;
    height: 4px;
  }
  .rhythm-grid,
  .feedback-grid {
    min-height: 420px;
    padding: 38px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
  }
  .rhythm-main h3,
  .feedback-intro h3 {
    font-size: 32px;
    margin: 14px 0;
  }
  .rhythm-main > .eyebrow,
  .feedback-intro > .eyebrow {
    color: var(--muted);
    font-size: 9px;
  }
  .transcript {
    max-width: 475px;
    margin: 20px 0;
    line-height: 2.1;
    font-size: 14px;
  }
  .transcript span {
    color: #8290a8;
    transition:
      color 0.2s,
      background 0.2s;
    border-radius: 4px;
    padding: 3px 1px;
  }
  .transcript span.current {
    color: var(--blue);
    background: var(--blue-soft);
  }
  .playback {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 14px;
  }
  .play-button {
    height: 43px;
    width: 43px;
    border-radius: 50%;
    border: 0;
    color: white;
    background: var(--blue);
    flex-shrink: 0;
    font-size: 14px;
    transition: transform var(--fast);
  }
  .play-button:hover {
    transform: scale(1.07);
  }
  .playback-track {
    position: relative;
    flex: 1;
  }
  .timeline-wave {
    height: 45px;
    display: flex;
    align-items: center;
    gap: 3px;
  }
  .timeline-wave i {
    height: var(--height);
    flex: 1;
    background: #dce5fc;
    border-radius: 3px;
    transition: background 0.2s;
  }
  .timeline-wave i.played {
    background: var(--blue);
  }
  .playback-track input {
    width: 100%;
    accent-color: var(--blue);
    height: 12px;
    margin: 4px 0;
    cursor: pointer;
  }
  .timeline-ticks {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
  }
  .timeline-ticks .mono {
    font-size: 9px;
  }
  .rhythm-aside {
    border-left: 1px solid var(--line);
    padding-left: 38px;
    align-self: center;
  }
  .large-quote {
    font-family: Georgia, serif;
    font-size: 90px;
    color: #c5d5ff;
    height: 65px;
    display: block;
    line-height: 1;
  }
  .rhythm-aside > p {
    font-size: 28px;
    line-height: 1.6;
    letter-spacing: -0.03em;
  }
  .rhythm-tip {
    margin-top: 30px;
    display: flex;
    gap: 16px;
    align-items: start;
  }
  .pause-icon {
    font-size: 22px;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 8px;
    padding: 4px 12px;
  }
  .rhythm-tip strong {
    font-size: 12px;
  }
  .rhythm-tip p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 5px;
    line-height: 1.9;
  }
  .feedback-grid {
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
  }
  .feedback-intro > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
    margin: 22px 0;
  }
  .feedback-list details {
    border-bottom: 1px solid var(--line);
  }
  .feedback-list summary {
    display: flex;
    gap: 17px;
    align-items: center;
    list-style: none;
    cursor: pointer;
    padding: 19px 0;
    font-size: 14px;
    font-weight: 600;
  }
  .feedback-list summary::-webkit-details-marker {
    display: none;
  }
  .feedback-index {
    font: 10px var(--mono);
    color: var(--blue);
  }
  .feedback-list summary small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    font-weight: 400;
    margin-top: 4px;
  }
  .detail-plus {
    margin-left: auto;
    font-size: 24px;
    color: var(--blue);
    transition: transform var(--normal);
  }
  .feedback-list details[open] .detail-plus {
    transform: rotate(45deg);
  }
  .feedback-list details > p {
    color: var(--muted);
    font-size: 12px;
    padding: 0 22px 20px 32px;
    line-height: 1.9;
  }
  .design-section {
    padding-top: 85px;
  }
  .design-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    gap: 20px;
  }
  .design-card {
    border-top: 1px solid var(--ink);
    padding: 20px 0 0;
  }
  .card-number {
    font-size: 9px;
    letter-spacing: 0.12em;
    color: var(--muted);
  }
  .design-card h3 {
    font-size: 20px;
    margin: 23px 0 22px;
  }
  .palette-card {
    padding-right: 24px;
  }
  .swatches {
    display: flex;
    height: 107px;
    border-radius: 9px;
    overflow: hidden;
    border: 1px solid var(--line);
  }
  .swatches > div {
    background: var(--swatch);
    flex: 1;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 12px 9px;
    font-size: 10px;
    transition: flex var(--normal) var(--ease);
  }
  .swatches > div:hover {
    flex: 1.7;
  }
  .swatches small {
    font: 8px var(--mono);
    margin-top: 4px;
    opacity: 0.8;
  }
  .swatches .light-swatch {
    color: var(--ink);
  }
  .palette-card > p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 19px;
  }
  .type-card {
    padding-left: 8px;
  }
  .type-specimen {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-size: 55px;
    letter-spacing: -0.09em;
    font-weight: 650;
    margin: 10px 0;
    color: var(--ink);
  }
  .type-specimen span {
    font-size: 58px;
    color: var(--blue);
    font-weight: 450;
    letter-spacing: -0.07em;
  }
  .type-samples {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .type-samples strong {
    font-size: 16px;
    font-weight: 600;
  }
  .type-samples > span {
    font-size: 12px;
    color: var(--muted);
  }
  .type-samples small {
    font-size: 8px;
    color: var(--muted);
    margin-top: 6px;
  }
  .motion-card {
    padding-left: 8px;
  }
  .motion-card h3 {
    margin-bottom: 14px;
  }
  .motion-demo {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 53px;
    background: none;
    border: 0;
    padding: 0;
  }
  .motion-demo > span {
    height: 25px;
    width: 9px;
    border-radius: 8px;
    background: var(--blue);
    transition: height 0.45s var(--ease);
  }
  .motion-demo > span:nth-child(2) {
    height: 43px;
  }
  .motion-demo > span:nth-child(3) {
    height: 33px;
  }
  .motion-demo > span:nth-child(4) {
    height: 20px;
  }
  .motion-demo > span:nth-child(5) {
    height: 12px;
  }
  .motion-demo i {
    margin-left: auto;
    font-style: normal;
    font-size: 22px;
    color: var(--blue);
  }
  .motion-demo:hover > span {
    height: 12px;
  }
  .motion-demo:hover > span:nth-child(odd) {
    height: 42px;
  }
  .motion-demo.play > span {
    animation: wave 0.5s ease-in-out 3 alternate;
  }
  .motion-setting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    font-size: 11px;
    color: var(--muted);
  }
  .toggle {
    width: 35px;
    height: 21px;
    background: var(--blue);
    border: 0;
    border-radius: 20px;
    padding: 3px;
  }
  .toggle span {
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: white;
    transform: translateX(14px);
    transition: transform var(--normal);
  }
  .toggle[aria-checked="false"] {
    background: #abb5c9;
  }
  .toggle[aria-checked="false"] span {
    transform: translateX(0);
  }
  .component-strip {
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 33px;
  }
  .component-strip > .eyebrow {
    font-size: 8px;
    color: var(--muted);
    margin-right: auto;
  }
  .component-strip > .text-link {
    font-size: 11px;
    margin-left: auto;
  }
  .closing {
    border-top: 1px solid var(--line);
    margin-top: 82px;
    padding-block: 48px 62px;
    position: relative;
  }
  .closing > .eyebrow {
    color: var(--muted);
    font-size: 9px;
  }
  .closing > p {
    font-size: clamp(33px, 4vw, 55px);
    line-height: 1.45;
    letter-spacing: -0.055em;
    font-weight: 600;
    margin-top: 20px;
  }
  .round-arrow {
    position: absolute;
    right: 12px;
    top: 92px;
    width: 82px;
    height: 82px;
    border: 1px solid #c6d4f5;
    border-radius: 50%;
    background: white;
    color: var(--blue);
    font-size: 40px;
    font-weight: 300;
    transition:
      color var(--normal),
      background var(--normal),
      transform var(--normal) var(--ease);
  }
  .round-arrow:hover {
    background: var(--blue);
    color: white;
    transform: rotate(45deg);
  }
  .site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-block: 25px;
    color: var(--muted);
    font-size: 11px;
  }
  .site-footer .brand {
    font-size: 21px;
    color: var(--ink);
  }
  .site-footer > span:last-child {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .template-main {
    padding-block: 65px;
    min-height: calc(100dvh - 170px);
  }
  .template-intro {
    color: var(--muted);
    font-size: 14px;
    margin: 18px 0 35px;
  }
  .template-content {
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--canvas);
    min-height: 280px;
  }
  .template-content h2 {
    font-size: 23px;
  }
  .template-content p {
    max-width: 620px;
    color: var(--muted);
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.9;
  }
  .template-content code {
    color: var(--blue);
    font-size: 12px;
  }
  @keyframes draw-line {
    from {
      stroke-dashoffset: 500;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes paper-in {
    from {
      opacity: 0;
      transform: translateY(25px) rotate(3deg);
    }
    to {
      opacity: 1;
      transform: translateY(0) rotate(-2deg);
    }
  }
  @keyframes float-note {
    0%,
    100% {
      transform: translateY(0) rotate(3deg);
    }
    50% {
      transform: translateY(-7px) rotate(2deg);
    }
  }
  @keyframes wave {
    from {
      transform: scaleY(0.5);
    }
    to {
      transform: scaleY(1);
    }
  }
  @keyframes panel-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes dialog-in {
    from {
      opacity: 0;
      transform: translateY(15px) scale(0.97);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}
@layer responsive {
  @media (min-width: 1600px) {
    .hero {
      min-height: 660px;
    }
    .hero-art {
      height: 450px;
    }
    .hero-paper,
    .paper-back {
      height: 290px;
    }
    .hero-paper p {
      font-size: 47px;
    }
  }
  @media (max-width: 1100px) {
    .shell {
      width: calc(100% - 64px);
    }
    .site-header {
      padding-inline: 32px;
    }
    .site-header nav {
      gap: 24px;
    }
    .hero {
      min-height: 545px;
      gap: 0;
    }
    .hero h1 {
      font-size: 58px;
    }
    .hero-art {
      height: 375px;
    }
    .hero-paper,
    .paper-back {
      height: 247px;
    }
    .hero-paper {
      padding: 21px;
    }
    .hero-paper p {
      font-size: 33px;
    }
    .floating-note {
      right: -5px;
      padding: 11px;
    }
    .note-spark {
      display: none;
    }
    .audio-float {
      width: 230px;
      bottom: 23px;
    }
    .art-footer {
      font-size: 6px;
    }
    .chapter-strip ol {
      gap: 35px;
    }
    .story-grid {
      gap: 28px;
      padding: 25px;
      grid-template-columns: 1.3fr 1fr;
    }
    .coach-note h3 {
      font-size: 23px;
    }
    .annotation-symbol {
      right: 0;
      font-size: 30px;
    }
    .component-strip {
      gap: 15px;
      flex-wrap: wrap;
    }
    .component-strip > .eyebrow {
      width: 100%;
    }
    .component-strip > .text-link {
      margin-left: auto;
    }
    .rhythm-grid,
    .feedback-grid {
      gap: 30px;
      padding: 28px;
    }
    .rhythm-main h3,
    .feedback-intro h3 {
      font-size: 28px;
    }
    .rhythm-aside {
      padding-left: 25px;
    }
    .rhythm-aside > p {
      font-size: 25px;
    }
  }
  @media (max-width: 760px) {
    html {
      scroll-padding-top: 85px;
    }
    .shell {
      width: calc(100% - 40px);
    }
    .site-header {
      height: 72px;
      padding-inline: 20px;
      gap: 12px;
    }
    .brand {
      font-size: 21px;
    }
    .brand-mark {
      width: 23px;
    }
    .site-header nav {
      gap: 16px;
    }
    .nav-link {
      font-size: 11px;
    }
    .site-header > .button {
      display: none;
    }
    .hero {
      grid-template-columns: 1fr;
      padding-block: 44px 30px;
      gap: 14px;
    }
    .hero h1 {
      font-size: 62px;
      letter-spacing: -0.07em;
    }
    .hero .eyebrow {
      font-size: 8px;
    }
    .hero-description {
      font-size: 14px;
      margin-top: 25px;
    }
    .hero-actions {
      margin-top: 25px;
    }
    .hero-caption {
      margin-top: 25px;
    }
    .hero-art {
      height: 350px;
      width: min(490px, 100%);
      justify-self: center;
      margin-top: 16px;
    }
    .hero-art::before {
      inset: 0;
    }
    .hero-paper,
    .paper-back {
      top: 47px;
      height: 238px;
    }
    .hero-paper p {
      font-size: 34px;
      margin-top: 27px;
    }
    .floating-note {
      top: 25px;
      right: 0;
    }
    .audio-float {
      bottom: 24px;
      left: 0;
      height: 57px;
    }
    .art-caption {
      top: -1px;
      font-size: 8px;
    }
    .art-footer {
      bottom: 0;
    }
    .hero-paper .paper-bottom {
      margin-top: 16px;
    }
    .chapter-strip {
      padding-block: 18px;
      gap: 20px;
    }
    .chapter-strip > span:first-child {
      display: none;
    }
    .chapter-strip ol {
      justify-content: space-between;
      gap: 20px;
      flex: 1;
      font-size: 10px;
    }
    .chapter-strip li {
      gap: 8px;
    }
    .strip-arrow {
      display: none;
    }
    .workspace-section {
      padding-top: 43px;
    }
    .section-heading {
      display: block;
      margin-bottom: 22px;
    }
    .section-heading h2 {
      font-size: 24px;
    }
    .section-heading .eyebrow {
      font-size: 8px;
      margin-bottom: 10px;
    }
    .prototype-badge {
      display: inline-block;
      margin-top: 15px;
      font-size: 10px;
    }
    .project-row {
      gap: 17px;
      flex-wrap: wrap;
      padding: 18px;
    }
    .project-cover {
      width: 85px;
      height: 90px;
      padding: 12px;
    }
    .project-cover > span {
      font-size: 23px;
    }
    .project-cover small {
      font-size: 6px;
    }
    .project-info {
      min-width: 170px;
    }
    .project-info h3 {
      font-size: 17px;
    }
    .project-info p {
      font-size: 10px;
      line-height: 1.9;
    }
    .project-info p span {
      margin: 0 3px;
    }
    .project-label {
      font-size: 9px;
      flex-wrap: wrap;
      gap: 5px;
    }
    .project-label .muted {
      margin-left: 1px;
    }
    .project-row > .button {
      width: 100%;
      margin: 0;
      min-height: 42px;
      padding: 8px 18px;
      font-size: 12px;
    }
    .preview-section {
      padding-top: 43px;
    }
    .section-note {
      display: block;
      margin-top: 10px;
      font-size: 11px;
    }
    .workbench {
      border-radius: 18px;
    }
    .workbench-toolbar {
      padding: 14px;
      display: block;
    }
    .tabs {
      width: 100%;
      gap: 2px;
    }
    .tab {
      flex: 1;
      padding: 10px 5px;
      font-size: 11px;
      white-space: nowrap;
    }
    .tab span {
      font-size: 8px;
      margin-right: 3px;
    }
    .toolbar-note {
      display: none;
    }
    .story-grid {
      grid-template-columns: 1fr;
      gap: 28px;
      padding: 18px;
    }
    .slide-stage {
      min-height: 290px;
      padding: 20px;
    }
    .slide-content h3 {
      font-size: 29px;
    }
    .slide-content p {
      font-size: 10px;
      max-width: 240px;
    }
    .coach-note {
      padding: 0 7px 9px;
    }
    .coach-note h3 {
      font-size: 25px;
      margin: 15px 0 12px;
    }
    .coach-note > p:not(.eyebrow) {
      max-width: none;
    }
    .annotation-symbol {
      top: 5px;
      right: 10px;
      font-size: 42px;
    }
    .note-evidence {
      margin-block: 19px 14px;
    }
    .workbench-footer {
      padding: 14px 19px;
      font-size: 8px;
    }
    .workbench-footer > span:last-child {
      font-size: 6px;
    }
    .rhythm-grid,
    .feedback-grid {
      grid-template-columns: 1fr;
      padding: 25px 21px;
      gap: 30px;
      min-height: 0;
    }
    .rhythm-aside {
      padding: 23px 0 5px;
      border-left: 0;
      border-top: 1px solid var(--line);
    }
    .large-quote {
      display: none;
    }
    .rhythm-aside > p {
      font-size: 24px;
    }
    .rhythm-tip {
      margin-top: 20px;
    }
    .feedback-list summary {
      font-size: 13px;
      gap: 11px;
    }
    .design-section {
      padding-top: 50px;
    }
    .design-section .section-heading > .text-link {
      margin-top: 15px;
      font-size: 11px;
    }
    .design-grid {
      grid-template-columns: 1fr;
      gap: 34px;
    }
    .design-card {
      padding: 19px 0 0;
    }
    .swatches {
      height: 110px;
    }
    .design-card h3 {
      margin: 15px 0 20px;
    }
    .type-card {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }
    .type-card > .card-number {
      grid-column: 1 / -1;
    }
    .type-specimen {
      font-size: 45px;
      gap: 10px;
    }
    .type-specimen span {
      font-size: 46px;
    }
    .type-samples {
      padding-top: 12px;
    }
    .motion-card h3 br {
      display: none;
    }
    .motion-demo {
      max-width: 300px;
    }
    .motion-setting {
      max-width: 300px;
    }
    .component-strip {
      padding: 20px;
      gap: 17px;
    }
    .component-strip > .text-link {
      margin-left: 0;
      width: 100%;
    }
    .closing {
      margin-top: 48px;
      padding-block: 35px 40px;
    }
    .closing > p {
      font-size: 37px;
    }
    .closing > .eyebrow {
      font-size: 8px;
    }
    .round-arrow {
      width: 58px;
      height: 58px;
      font-size: 29px;
      top: 80px;
      right: 0;
    }
    .site-footer {
      gap: 15px;
      flex-wrap: wrap;
      padding-block: 22px;
    }
    .site-footer > span:nth-child(2) {
      font-size: 10px;
    }
    .site-footer > span:last-child {
      width: 100%;
      font-size: 7px;
    }
    .session-dialog {
      padding: 40px 25px 27px;
    }
    .session-dialog h2 {
      font-size: 25px;
    }
    .template-main {
      padding-top: 40px;
    }
    .template-content {
      padding: 25px;
    }
  }
  @media (min-width: 761px) and (max-width: 900px) {
    .hero {
      grid-template-columns: 1fr;
      padding-block: 45px 35px;
      gap: 30px;
    }
    .hero-art {
      width: 520px;
      max-width: 100%;
      justify-self: center;
    }
    .hero-copy {
      padding-left: 20px;
    }
    .hero h1 {
      font-size: 68px;
    }
    .story-grid {
      gap: 22px;
    }
    .annotation-symbol {
      font-size: 24px;
    }
    .coach-note h3 {
      font-size: 22px;
    }
    .type-specimen {
      font-size: 40px;
      gap: 10px;
    }
    .type-specimen span {
      font-size: 45px;
    }
  }
  @media (max-width: 380px) {
    .hero h1 {
      font-size: 55px;
    }
    .site-header nav {
      gap: 10px;
    }
    .brand-mark {
      display: none;
    }
    .hero-art {
      height: 325px;
    }
    .hero-paper p {
      font-size: 30px;
    }
    .audio-float {
      bottom: 5px;
    }
    .art-footer {
      display: none;
    }
    .mobile-break {
      display: block;
    }
    .hero-description {
      font-size: 13px;
    }
  }
}
@layer accessibility {
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
      animation: none !important;
      transition: none !important;
    }
    .js-motion .reveal {
      opacity: 1;
      transform: none;
    }
  }
  html.motion-off {
    scroll-behavior: auto;
  }
  .motion-off *,
  .motion-off *::before,
  .motion-off *::after {
    animation: none !important;
    transition: none !important;
  }
  .motion-off .reveal {
    opacity: 1;
    transform: none;
  }
}
