/* Home redesign only. Other pages retain their existing layout and behavior. */
.home-screen {
  height: auto;
  min-height: 100dvh;
  --g-surface: var(--glass-surface);
  --g-surface-2: var(--glass-control);
  --g-hairline: var(--glass-border);
  --g-accent-wash: color-mix(in srgb, var(--accent) 10%, var(--panel));
  --g-shadow: var(--glass-shadow);
  background: var(--page-background);
}
.home-screen main {
  display: block;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 64px) clamp(20px, 4vw, 64px) 70px;
}
.home-screen header { border-bottom-color:var(--g-hairline); }
.home-screen header nav button {
  border-radius: 10px;
  font-weight: 600;
}
.home-screen header nav button.active {
  background: var(--glass-selected);
  color: var(--accent);
}
.home-screen footer { border-top-color:var(--g-hairline); }
.home-screen :is(h1,h2,h3,p) { overflow-wrap:break-word; }
.home-screen h1,.home-screen h2,.home-screen h3 { letter-spacing:-.04em; }

.home-screen .g-icon { width:22px;height:22px;display:inline-grid;place-items:center;flex:none; }
.home-screen .g-icon svg { width:100%;height:100%;display:block; }
.home-screen .g-eyebrow { color:var(--accent);font:700 11px/1.4 system-ui,sans-serif;letter-spacing:.18em; }
.home-screen .g-overline { display:inline-flex;gap:9px;align-items:center;color:var(--accent);font-size:13px;font-weight:700; }
.home-screen .g-overline .g-icon { width:19px;height:19px; }
.home-screen .g-action {
  appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 19px;min-height:46px;border:1px solid var(--line);border-radius:12px;
  background:var(--glass-control);color:var(--ink);font-weight:700;text-align:center;box-shadow:var(--glass-soft-shadow);
  transition:background .2s,border-color .2s,transform .2s;white-space:nowrap;
}
.home-screen .g-action .g-icon { width:18px;height:18px; }
.home-screen .g-action-primary {
  background:var(--action-fill);border-color:var(--glass-border);color:var(--action-ink);
}
html.dark .home-screen .g-action-primary {color:var(--action-ink);}
.home-screen .g-action-muted {background:var(--g-surface-2);}
.home-screen .g-action-text {background:transparent;border-color:transparent;color:var(--accent);padding-inline:0;}
.home-screen .g-chip {display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;}
.home-screen .g-chip .g-icon {width:15px;height:15px;color:var(--accent);}
.home-screen .g-desktop {display:block;}
.home-screen .g-dashboard {display:none;}

/* Large screen: editorial landing + work launcher */
.home-screen .g-hero {
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);
  align-items:center;gap:32px;min-height:486px;position:relative;
  padding:clamp(32px,4vw,60px);margin:0 0 76px;
  border-radius:30px;overflow:hidden;
  border:1px solid var(--g-hairline);
  background:
    radial-gradient(ellipse at 82% 15%,color-mix(in srgb,var(--accent) 15%,transparent),transparent 48%),
    var(--glass-surface);
  box-shadow:var(--g-shadow);
}
.home-screen .g-hero-copy {position:relative;z-index:2;max-width:620px;}
.home-screen .g-hero h1 {font-size:clamp(43px,4.6vw,76px);line-height:1.13;font-weight:780;margin:24px 0 20px;max-width:11ch;}
.home-screen .g-hero-lead {font-size:clamp(15px,1.34vw,19px);line-height:1.9;color:var(--muted);margin:0;max-width:53ch;}
.home-screen .g-hero-buttons {display:flex;flex-wrap:wrap;gap:10px;margin:29px 0 22px;}
.home-screen .g-hero-buttons .g-action {min-height:52px;padding-inline:25px;}
.home-screen .g-downloads {display:flex;flex-wrap:wrap;gap:12px;align-items:center;}
.home-screen .g-download-link {
  display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:6px 11px;border-radius:8px;
  border:1px solid var(--g-hairline);font-size:12px;color:var(--ink);
  text-decoration:none;background:var(--g-surface-2);
}
.home-screen .g-download-link .g-icon {width:16px;height:16px;}
.home-screen .g-download-unavailable {opacity:.5;cursor:default;}
.home-screen .g-hero-footnote {font-size:12px;color:var(--muted);margin:18px 0 0;}
.home-screen .g-hero-composition {position:relative;min-height:360px;display:grid;place-items:center;isolation:isolate;}
.home-screen .g-orbit {
  position:absolute;inset:5% 3% 8% 3%;border-radius:50%;
  background:radial-gradient(circle,transparent 45%,color-mix(in srgb,var(--accent) 6%,transparent) 47%,transparent 70%);
  border:1px solid color-mix(in srgb,var(--accent) 10%,transparent);transform:rotate(-13deg);opacity:.8;
}
.home-screen .g-orbit .g-icon {position:absolute;top:-10px;left:13%;width:35px;height:35px;color:var(--accent);opacity:.6;}
.home-screen .g-sheet-mock {
  position:relative;z-index:1;width:min(100%,450px);min-height:296px;padding:21px 23px 23px;
  border:1px solid color-mix(in srgb,var(--line) 65%,transparent);border-radius:19px;
  background:var(--glass-surface);box-shadow:var(--glass-shadow);
  transform:rotate(-3deg);
}
.home-screen .g-sheet-header {display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:17px;margin-bottom:18px;border-bottom:1px solid var(--g-hairline);}
.home-screen .g-sheet-header > span {font:700 10px system-ui;letter-spacing:.16em;color:var(--muted);}
.home-screen .g-window-dots {display:flex;gap:5px;}
.home-screen .g-window-dots i {width:7px;height:7px;background:var(--line);border-radius:50%;}
.home-screen .g-sheet-mock > strong {display:block;font-size:16px;margin-bottom:7px;}
.home-screen .g-sheet-tools {display:flex;gap:8px;margin-top:24px;}
.home-screen .g-sheet-tools > div {display:flex;align-items:center;gap:7px;flex:1;min-width:0;border-radius:9px;padding:9px;background:var(--g-surface-2);font:600 10px system-ui;color:var(--muted);}
.home-screen .g-sheet-tools .g-icon {width:15px;height:15px;color:var(--accent);}
.home-screen .g-float-card {
  position:absolute;z-index:2;right:0;bottom:1px;display:flex;align-items:center;gap:12px;
  padding:12px 16px;border:1px solid var(--g-hairline);border-radius:14px;
  background:var(--glass-surface);box-shadow:var(--glass-shadow);
}
.home-screen .g-float-card>.g-icon {width:35px;height:35px;padding:7px;background:var(--g-accent-wash);color:var(--accent);border-radius:10px;}
.home-screen .g-float-card small {display:block;color:var(--muted);font-size:11px;}
.home-screen .g-float-card strong {font:800 16px system-ui;letter-spacing:.12em;}
.home-screen .g-note-art {position:relative;overflow:hidden;direction:ltr;isolation:isolate;}
.home-screen .g-note-art-hero {height:114px;margin-top:8px;}
.home-screen .g-staff {position:absolute;inset:28% 0 24%;display:flex;flex-direction:column;justify-content:space-between;}
.home-screen .g-staff span {height:1px;width:100%;background:color-mix(in srgb,var(--muted) 34%,transparent);}
.home-screen .g-note {
  position:absolute;z-index:1;width:15px;height:10px;transform:rotate(-22deg);
  border-radius:50%;background:var(--accent);
}
.home-screen .g-note:after {content:'';display:block;position:absolute;right:1px;bottom:4px;width:1.5px;height:35px;background:var(--accent);}
.home-screen .g-section-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px;}
.home-screen .g-section-heading h2 {font-size:clamp(27px,3vw,40px);margin:8px 0 0;line-height:1.3;font-weight:760;}
.home-screen .g-section-heading p {color:var(--muted);margin:7px 0 0;line-height:1.8;font-size:14px;}
.home-screen .g-hub {scroll-margin-top:30px;margin-bottom:83px;}
.home-screen .g-hub-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.home-screen .g-hub-card {
  display:flex;flex-direction:column;align-items:stretch;min-width:0;text-align:start;
  padding:27px 30px 22px;background:var(--glass-surface);border:1px solid var(--g-hairline);
  border-radius:24px;box-shadow:var(--g-shadow);overflow:hidden;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.home-screen .g-hub-top {display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--accent);}
.home-screen .g-hub-top>.g-icon {width:44px;height:44px;padding:10px;border-radius:12px;background:var(--g-accent-wash);}
.home-screen .g-hub-top>span:last-child {font:700 12px system-ui;color:var(--muted);}
.home-screen .g-hub-content {margin-top:26px;}
.home-screen .g-hub-kicker {color:var(--muted);font-size:12px;font-weight:700;}
.home-screen .g-hub h3 {font:750 clamp(30px,3.2vw,44px)/1.1 system-ui,sans-serif;letter-spacing:-.04em;margin:6px 0 11px;color:var(--ink);}
.home-screen .g-hub-content p {font-size:14px;line-height:1.8;color:var(--muted);margin:0;max-width:42ch;}
.home-screen .g-hub-visual {height:138px;display:grid;place-items:center;margin:25px -30px 18px;overflow:hidden;background:var(--g-surface-2);border-block:1px solid var(--g-hairline);}
.home-screen .g-note-art-card {width:80%;height:120px;transform:translateY(13px);}
.home-screen .g-hub-card .g-note {background:var(--accent);}
.home-screen .g-waveform {display:flex;align-items:center;justify-content:center;gap:7px;height:100%;width:min(80%,360px);direction:ltr;}
.home-screen .g-waveform i {width:7px;max-width:6%;border-radius:100px;background:var(--accent);opacity:.8;}
.home-screen .g-hub-foot {display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:auto;font-size:12px;color:var(--muted);}
.home-screen .g-hub-enter {display:inline-flex;align-items:center;gap:8px;color:var(--accent);font-weight:700;white-space:nowrap;}
.home-screen .g-hub-enter .g-icon {width:16px;height:16px;}
[dir=rtl] .home-screen .g-hub-enter .g-icon {transform:rotate(180deg);}
.home-screen .g-community {margin-bottom:12px;}
.home-screen .g-community-teaser {
  display:grid;grid-template-columns:40% 1fr;gap:32px;align-items:center;
  min-height:228px;border-radius:24px;overflow:hidden;
  border:1px solid var(--g-hairline);background:var(--glass-surface);
}
.home-screen .g-community-poster {height:100%;min-height:228px;display:grid;place-items:center;background:var(--g-accent-wash);padding:30px;}
.home-screen .g-note-art-community {width:100%;height:150px;transform:rotate(-5deg);}
.home-screen .g-community-copy {padding:26px 28px;}
.home-screen .g-tag {display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:6px;background:var(--g-accent-wash);color:var(--accent);font:750 11px system-ui;letter-spacing:.09em;}
.home-screen .g-tag .g-icon {width:14px;height:14px;}
.home-screen .g-community h3 {font-size:clamp(21px,2.2vw,29px);margin:13px 0 8px;}
.home-screen .g-community-copy p {font-size:14px;color:var(--muted);line-height:1.85;margin:0;max-width:56ch;}
html.dark .home-screen {--g-shadow:var(--glass-shadow);}

/* Tablet and phone: immediate in-app dashboard, no marketing landing */
@media(max-width:1099px) {
  .home-screen .g-desktop {display:none;}
  .home-screen .g-dashboard {display:block;}
  .home-screen main {max-width:1140px;padding:clamp(24px,3vw,42px) clamp(18px,3vw,38px) 60px;}
  .home-screen .g-dashboard-heading {background:transparent;border:0;box-shadow:none;margin:0 0 24px;padding:0;}
  .home-screen .g-dashboard-top {display:flex;align-items:center;justify-content:space-between;gap:20px;}
  .home-screen .g-dashboard h1 {font-size:clamp(27px,3.4vw,42px);line-height:1.27;margin:6px 0 7px;}
  .home-screen .g-dashboard-heading p {font-size:14px;color:var(--muted);margin:0;}
  .home-screen .g-count {display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:115px;padding:11px 13px;border:1px solid var(--g-hairline);border-radius:14px;background:var(--glass-surface);}
  .home-screen .g-count strong {font:750 28px/1.1 system-ui;letter-spacing:-.03em;}
  .home-screen .g-count span {font-size:11px;color:var(--muted);margin-top:4px;}
  .home-screen .g-home-tabs {display:none;}
  .home-screen .g-dashboard-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;}
  .home-screen .g-dashboard-panel {min-width:0;margin:0;padding:24px;border:1px solid var(--g-hairline);border-radius:22px;background:var(--glass-surface);box-shadow:var(--g-shadow);}
  .home-screen .g-panel-heading {display:flex;justify-content:space-between;gap:10px;align-items:center;}
  .home-screen .g-panel-heading>div {display:flex;align-items:center;gap:11px;}
  .home-screen .g-panel-heading .g-icon {display:grid;place-items:center;width:39px;height:39px;padding:9px;background:var(--g-accent-wash);color:var(--accent);border-radius:11px;}
  .home-screen .g-panel-heading h2 {font:750 25px/1.2 system-ui;margin:0;}
  .home-screen .g-panel-description {color:var(--muted);font-size:13px;margin:11px 0 21px;min-height:25px;}
  .home-screen .g-create-row {display:flex;flex-wrap:wrap;gap:9px;margin-bottom:28px;}
  .home-screen .g-create-row .g-action {flex:1;}
  .home-screen .g-list-title {display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 0 10px;border-bottom:1px solid var(--g-hairline);}
  .home-screen .g-list-title h3 {font-size:15px;margin:0;}
  .home-screen .g-count-pill {border-radius:20px;background:var(--g-surface-2);padding:2px 10px;color:var(--muted);font:700 12px/1.8 system-ui;}
  .home-screen .g-etude-list {padding-top:6px;}
  .home-screen .g-etude-row {
    display:flex;align-items:center;gap:11px;width:100%;padding:13px 0;text-align:start;
    background:transparent;border:0;border-bottom:1px solid var(--g-hairline);border-radius:0;
  }
  .home-screen .g-etude-symbol {display:grid;place-items:center;width:37px;height:37px;flex:none;border-radius:10px;background:var(--g-surface-2);color:var(--accent);}
  .home-screen .g-etude-symbol .g-icon {width:19px;height:19px;}
  .home-screen .g-etude-info {display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;text-align:start;gap:3px;}
  .home-screen .g-etude-info strong {font-size:13px;font-weight:750;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .home-screen .g-etude-info small {font-size:11px;color:var(--muted);}
  .home-screen .g-row-arrow {width:16px;height:16px;color:var(--muted);}
  [dir=rtl] .home-screen .g-row-arrow {transform:rotate(180deg);}
  .home-screen .g-empty-library {display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:152px;padding:23px 12px;text-align:center;gap:6px;}
  .home-screen .g-empty-library>.g-icon {display:grid;place-items:center;width:45px;height:45px;padding:10px;background:var(--g-accent-wash);border-radius:13px;color:var(--accent);}
  .home-screen .g-empty-library strong {font-size:13px;margin-top:5px;}
  .home-screen .g-empty-library p {margin:0;color:var(--muted);font-size:12px;}
  .home-screen .g-community-mini {margin-top:24px;padding:17px;border:1px dashed var(--line);border-radius:14px;background:var(--g-surface-2);}
  .home-screen .g-mini-title {display:flex;align-items:center;gap:9px;margin-bottom:8px;}
  .home-screen .g-mini-title .g-icon {color:var(--accent);width:18px;height:18px;}
  .home-screen .g-mini-title h3 {font-size:13px;margin:0;}
  .home-screen .g-muted-info {font-size:12px;color:var(--muted);line-height:1.8;}
  .home-screen .g-daily-card {padding:22px;margin-bottom:24px;border-radius:17px;border:1px solid var(--g-hairline);background:var(--g-accent-wash);}
  .home-screen .g-daily-eyebrow {display:flex;align-items:center;gap:7px;color:var(--accent);font-size:11px;font-weight:750;letter-spacing:.06em;}
  .home-screen .g-daily-eyebrow .g-icon {width:16px;height:16px;}
  .home-screen .g-daily-card h3 {font-size:21px;line-height:1.3;margin:14px 0 7px;}
  .home-screen .g-daily-card p {color:var(--muted);font-size:13px;margin:0 0 18px;}
  .home-screen .g-daily-card .g-action {width:100%;}
  .home-screen .g-practice-link {
    display:flex;align-items:center;gap:11px;width:100%;min-height:49px;text-align:start;
    background:transparent;border:0;border-bottom:1px solid var(--g-hairline);border-radius:0;padding:9px 0;
  }
  .home-screen .g-practice-link>.g-icon:first-child {width:22px;height:22px;color:var(--accent);}
  .home-screen .g-practice-link span:nth-child(2) {flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:600;}
  .home-screen .g-tools-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:23px;}
  .home-screen .g-tool-tile {display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;min-height:112px;padding:16px;border:1px solid var(--g-hairline);border-radius:13px;background:var(--g-surface-2);}
  .home-screen .g-tool-tile>.g-icon {width:23px;height:23px;color:var(--accent);}
  .home-screen .g-tool-tile strong {font-size:12px;line-height:1.4;}
  .home-screen .g-tool-tile small {color:var(--muted);font-size:11px;}
}
/* Phone: app sections are switched by a thumb-reachable fixed segmented control. */
@media(max-width:699px) {
  .home-screen main {padding:22px 16px calc(36px + env(safe-area-inset-bottom));}
  .home-screen header {padding-inline:17px;min-height:62px;}
  .home-screen header nav {display:none;}
  .home-screen .g-dashboard-heading {margin-bottom:19px;}
  .home-screen .g-dashboard-top {align-items:flex-start;}
  .home-screen .g-dashboard h1 {font-size:clamp(25px,7vw,32px);margin:7px 0 8px;}
  .home-screen .g-dashboard-heading p {font-size:12px;max-width:39ch;}
  .home-screen .g-count {min-width:68px;padding:9px;gap:3px;}
  .home-screen .g-count strong {font-size:23px;}
  .home-screen .g-count span {font-size:9px;max-width:61px;text-align:center;}
  .home-screen .g-dashboard-grid {display:block;}
  .home-screen .g-dashboard-panel {padding:19px;border-radius:20px;}
  .home-screen .g-dashboard-panel:not(.is-selected) {display:none;}
  .home-screen .g-home-tabs {
    position:fixed;z-index:25;inset:auto 12px calc(10px + env(safe-area-inset-bottom));
    display:flex;gap:6px;padding:6px;border:1px solid var(--g-hairline);border-radius:17px;
    background:var(--glass-surface);box-shadow:var(--glass-shadow);
  }
  .home-screen .g-home-tab {
    display:flex;flex:1;align-items:center;justify-content:center;gap:8px;
    min-width:0;padding:12px 10px;border-radius:12px;border:0;background:transparent;
    color:var(--muted);font:750 13px system-ui,sans-serif;
  }
  .home-screen .g-home-tab.is-selected {background:var(--g-accent-wash);color:var(--accent);}
  .home-screen .g-home-tab .g-icon {width:19px;height:19px;}
  .home-screen .g-create-row {margin-bottom:23px;}
  .home-screen .g-create-row .g-action {font-size:13px;padding-inline:11px;}
  .home-screen .g-panel-description {min-height:auto;margin-bottom:17px;}
  .home-screen .g-daily-card {padding:19px;}
  .home-screen .g-community-mini {margin-top:18px;}
  .home-screen {padding-bottom:calc(75px + env(safe-area-inset-bottom));}
}
@media(min-width:700px) and (max-width:850px) {
  .home-screen .g-dashboard-grid {gap:12px;}
  .home-screen .g-dashboard-panel {padding:17px;}
  .home-screen .g-create-row .g-action {font-size:12px;padding-inline:10px;}
  .home-screen .g-tool-tile {padding:12px;}
}
/* A touch tablet in landscape keeps its header navigation at the top. */
@media(min-width:700px) and (max-width:1099px) and (pointer:coarse) and (orientation:landscape) and (max-height:520px) {
  .home-screen {padding-bottom:0;}
  .home-screen header nav {position:static;inset:auto;display:flex;grid-template-columns:none;padding:0;border-top:0;background:transparent;}
  .home-screen footer {display:flex;}
}
@media(min-width:1100px) and (max-width:1230px) {
  .home-screen .g-hero {grid-template-columns:minmax(0,1fr) minmax(345px,.9fr);gap:14px;padding:35px;}
  .home-screen .g-hero h1 {font-size:52px;}
}
@media(hover:hover) {
  .home-screen .g-hub-card:hover {transform:translateY(-4px);border-color:var(--accent);box-shadow:0 20px 52px rgb(36 102 153 / .12);}
  .home-screen .g-action:hover {border-color:var(--accent);}
  .home-screen .g-etude-row:hover,.home-screen .g-practice-link:hover {color:var(--accent);}
}
@media(prefers-reduced-motion:reduce) {
  .home-screen .g-action,.home-screen .g-hub-card {transition:none;}
}
@media print {
  .home-screen .g-home-tabs {display:none!important;}
  .home-screen .g-desktop {display:none!important;}
  .home-screen .g-dashboard {display:block!important;}
  .home-screen .g-dashboard-panel {display:block!important;}
}


/* Shared desktop navigation and footer on every route; all actions remain unchanged. */
@media (min-width: 1100px) {
  body {
    --g-hairline: var(--glass-border);
    --g-accent-wash: color-mix(in srgb, var(--accent) 9%, var(--panel));
  }

  body > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 94px;
    padding: 15px max(clamp(20px, 4vw, 64px), calc((100vw - 1360px) / 2 + 64px));
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
  }

  body > header > .wordmark {
    justify-self: start;
    width: 192px;
    height: 76px;
    object-fit: contain;
  }

  body > header > nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  body > header > nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 19px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
    white-space: nowrap;
    transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  }

  body > header > nav button.active,
  .home-screen header nav button.active {
    background: color-mix(in srgb, var(--accent) 12%, var(--bg));
    color: var(--accent);
    border-color: transparent;
    box-shadow: none;
  }

  .home-screen header > nav button {
    border-radius: 999px;
    font-weight: 650;
  }

  body > header > nav button:not(.active):hover {
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    color: var(--ink);
  }

  body > header > aside {
    display: flex;
    justify-self: end;
    align-items: center;
    flex-wrap: nowrap;
    gap: 7px;
  }

  body > header > aside button {
    display: inline-grid;
    place-items: center;
    min-height: 43px;
    min-width: 43px;
    padding: 7px 13px;
    border: 1px solid var(--g-hairline);
    border-radius: 12px;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
  }

  body > header > aside #theme {
    padding: 0;
    font-size: 21px;
    font-weight: 400;
  }

  body > header > aside button:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
  }

  body > footer {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
    min-height: 160px;
    padding: 32px max(clamp(20px, 4vw, 64px), calc((100vw - 1360px) / 2 + 64px));
    border-top: 1px solid var(--g-hairline);
    background: linear-gradient(
      115deg,
      var(--panel),
      color-mix(in srgb, var(--panel) 75%, var(--soft))
    );
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--panel) 90%, transparent);
  }

  body > footer::before {
    content: "";
    position: absolute;
    inset-block-start: -1px;
    inset-inline-start: max(clamp(20px, 4vw, 64px), calc((100vw - 1360px) / 2 + 64px));
    width: 76px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
  }

  body > footer .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  body > footer .footer-brand .wordmark {
    width: 120px;
    height: 47px;
  }

  body > footer .footer-brand::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 72%, var(--line));
  }

  body > footer nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-self: end;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--g-hairline);
    border-radius: 14px;
    background: var(--glass-surface);
  }

  body > footer nav button {
    min-height: 42px;
    padding: 9px 16px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease;
  }

  body > footer nav button:hover {
    color: var(--accent);
    background: var(--glass-selected);
  }
}

@media (min-width: 1100px) and (max-width: 1180px) {
  body > header { gap: 14px; }
  body > header > nav button { padding-inline: 12px; }
  body > header > aside button { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  body > header > nav button,
  body > header > aside button,
  body > footer nav button {
    transition: none;
  }
}


/* Desktop hero copy: concise feature-led presentation. Illustration stays unchanged. */
@media (min-width: 1100px) {
  .home-screen .g-desktop .g-hero-copy h1 {
    max-width: 17ch;
    margin: 17px 0 13px;
    font-size: clamp(40px, 3.65vw, 54px);
    line-height: 1.35;
    letter-spacing: -.035em;
  }

  .home-screen .g-desktop .g-hero-copy .g-hero-lead {
    max-width: 49ch;
    font-size: 15px;
    line-height: 1.95;
  }

  .home-screen .g-desktop .g-feature-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 23px;
    max-width: 550px;
  }

  .home-screen .g-desktop .g-feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 35px;
    padding: 7px 12px;
    border: 1px solid var(--g-hairline);
    border-radius: 10px;
    background: var(--glass-control);
    color: var(--ink);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
    white-space: nowrap;
  }

  .home-screen .g-desktop .g-feature-chip .g-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
  }

  .home-screen .g-desktop .g-hero-buttons {
    margin-top: 24px;
    margin-bottom: 16px;
  }
}



@media (min-width: 1100px) {
  /* Unframed footer, consistent with the borderless desktop navbar. */
  body > footer {
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  body > footer .footer-brand::after {
    display: none;
  }
  body > footer::before {
    display: block;
    inset-block-start: 0;
    inset-inline-start: max(clamp(20px, 4vw, 64px), calc((100vw - 1360px) / 2 + 64px));
    inset-inline-end: max(clamp(20px, 4vw, 64px), calc((100vw - 1360px) / 2 + 64px));
    width: auto;
    height: 1px;
    border-radius: 0;
    background: var(--g-hairline);
  }
  body > footer nav {
    background: transparent;
    border: 0;
    padding: 0;
  }

  /* Highlight musical design and per-note pitch tools without release labels. */
  .home-screen .g-desktop .g-feature-chip-featured {
    background: color-mix(in srgb, var(--accent) 11%, var(--panel));
    border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
    color: var(--ink);
    font-weight: 750;
  }
  .home-screen .g-desktop .g-feature-chip-featured .g-icon {
    color: var(--accent);
  }
}


/* Mobile editorial Home — uses the ORIGINAL desktop hero and musical cards.
   Only the phone viewport gets this visual composition. */
@media screen and (max-width: 699px) {
  /* Avoid accumulating body + main + hub bottom gaps below the last card. */
  body.home-screen {
    padding-bottom: 0;
  }
  body.home-screen main {
    width: 100%;
    max-width: 100%;
    padding: 10px 14px calc(104px + env(safe-area-inset-bottom));
  }
  .home-screen .g-desktop {display: block;}
  .home-screen .g-dashboard {display: none;}

  .home-screen .g-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 0;
    margin: 0 0 36px;
    padding: 26px 19px 23px;
    border: 1px solid var(--g-hairline);
    border-radius: 25px;
    background:
      radial-gradient(ellipse at 85% 4%,
        color-mix(in srgb,var(--accent) 15%,transparent),transparent 53%),
      radial-gradient(ellipse at 4% 95%,
        color-mix(in srgb,var(--accent) 7%,transparent),transparent 54%),
      var(--glass-surface);
    box-shadow: 0 12px 35px color-mix(in srgb,var(--ink) 6%,transparent);
    overflow: hidden;
  }
  .home-screen .g-hero-copy {width: 100%;max-width: none;}
  .home-screen .g-overline {gap: 7px;font-size: 11px;letter-spacing: .035em;}
  .home-screen .g-overline .g-icon {width: 17px;height: 17px;}
  .home-screen .g-hero h1 {
    max-width: 14ch;
    margin: 17px 0 13px;
    font-size: clamp(31px, 8.5vw, 43px);
    line-height: 1.23;
    font-weight: 780;
    letter-spacing: -.035em;
  }
  .home-screen .g-hero-lead {
    max-width: 40ch;
    margin: 0;
    font-size: 13px;
    line-height: 1.85;
    color: var(--muted);
  }
  .home-screen .g-feature-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    max-width: 100%;
    margin-top: 17px;
    padding-bottom: 7px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
  }
  .home-screen .g-feature-chips.g-feature-auto {
    scroll-snap-type: none;
  }
  .home-screen .g-feature-chips::-webkit-scrollbar {display: none;}
  .home-screen .g-feature-chip {
    display: inline-flex;
    align-items: center;
    flex: none;
    gap: 6px;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--g-hairline);
    border-radius: 10px;
    background: var(--g-surface-2);
    color: var(--ink);
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .home-screen .g-feature-chip-featured {
    border-color: color-mix(in srgb,var(--accent) 27%,var(--line));
    background: var(--glass-selected);
  }
  .home-screen .g-feature-chip .g-icon {
    width: 15px;
    height: 15px;
    color: var(--accent);
  }
  .home-screen .g-hero-buttons {display: flex;margin: 15px 0 12px;}
  .home-screen .g-hero-buttons .g-action {
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    border-radius: 13px;
    font-size: 14px;
  }
  .home-screen .g-downloads {display: flex;flex-wrap: wrap;gap: 7px;}
  .home-screen .g-download-link {
    min-height: 35px;
    padding: 6px 9px;
    border-radius: 9px;
    font-size: 10px;
  }
  .home-screen .g-hero-footnote {
    margin-top: 10px;
    font-size: 10.5px;
    line-height: 1.6;
  }
  /* Use the actual desktop staff mock, adapted to the available width. */
  .home-screen .g-hero-composition {
    position: relative;
    width: 100%;
    min-height: 202px;
    margin: 19px 0 0;
    padding: 10px 5px 14px;
  }
  .home-screen .g-orbit {inset: 2% 2% 8%;opacity: .45;}
  .home-screen .g-sheet-mock {
    width: min(100%, 370px);
    min-height: 185px;
    padding: 13px 14px;
    border-radius: 15px;
    transform: rotate(-2deg);
    box-shadow: 0 15px 40px color-mix(in srgb,var(--ink) 13%,transparent);
  }
  .home-screen .g-sheet-header {margin-bottom: 10px;padding-bottom: 10px;}
  .home-screen .g-sheet-mock > strong {font-size: 13px;margin-bottom: 1px;}
  .home-screen .g-note-art-hero {height: 73px;margin-top: 1px;}
  .home-screen .g-sheet-tools {gap: 5px;margin-top: 11px;}
  .home-screen .g-sheet-tools > div {gap: 5px;padding: 6px 5px;font-size: 9px;}
  .home-screen .g-sheet-tools .g-icon {width: 12px;height: 12px;}
  .home-screen .g-float-card {
    right: -4px;
    bottom: 0;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 11px;
  }
  .home-screen .g-float-card > .g-icon {width: 29px;height: 29px;padding: 6px;}
  .home-screen .g-float-card small {font-size: 9px;}
  .home-screen .g-float-card strong {font-size: 13px;}

  .home-screen .g-hub {margin: 0;scroll-margin-top: 18px;}
  .home-screen .g-section-heading {display: block;margin-bottom: 16px;}
  .home-screen .g-section-heading h2 {
    margin: 7px 0 0;
    font-size: clamp(26px, 7.3vw, 34px);
    line-height: 1.3;
  }
  .home-screen .g-section-heading p {font-size: 12px;line-height: 1.75;}
  .home-screen .g-hub-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
  }
  .home-screen .g-hub-card {
    width: 100%;
    min-height: 0;
    padding: 18px 17px 15px;
    border-radius: 20px;
    gap: 0;
    box-shadow: 0 8px 25px color-mix(in srgb,var(--ink) 5%,transparent);
  }
  .home-screen .g-hub-top > .g-icon {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 12px;
  }
  .home-screen .g-hub-content {margin-top: 13px;}
  .home-screen .g-hub-kicker {font-size: 11px;}
  .home-screen .g-hub h3 {margin: 5px 0 0;font-size: 29px;}
  .home-screen .g-hub-visual {
    height: 98px;
    margin: 15px -17px 13px;
  }
  .home-screen .g-note-art-card {height: 100px;transform: translateY(15px);}
  .home-screen .g-waveform {gap: 6px;}
  .home-screen .g-waveform i {width: 6px;}
  .home-screen .g-hub-foot {gap: 8px;font-size: 11px;}
  .home-screen .g-hub-enter {font-size: 11px;gap: 5px;}
  .home-screen .g-hub-enter .g-icon {width: 14px;height: 14px;}
}


/* Three core product capabilities take the prominent position previously
   used by "Your next melody starts here" in the Studio illustration.
   Keep the mock score, controls, original hero text and glass styling. */
.home-screen .g-sheet-capabilities {
  display: grid;
  gap: 7px;
  margin: 2px 0 12px;
}
.home-screen .g-sheet-capability {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--g-hairline));
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 5%, var(--glass-control));
  color: var(--ink);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.45;
  text-align: start;
}
.home-screen .g-sheet-capability:first-child {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--g-hairline));
  background: color-mix(in srgb, var(--accent) 11%, var(--glass-control));
}
.home-screen .g-sheet-capability .g-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
@media screen and (max-width: 699px) {
  .home-screen .g-sheet-capabilities {
    gap: 5px;
    margin-bottom: 8px;
  }
  .home-screen .g-sheet-capability {
    gap: 7px;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.4;
  }
  .home-screen .g-sheet-capability .g-icon {
    width: 16px;
    height: 16px;
  }
}

/* Legacy WorkspaceLanding composition for V2. No standalone tuner. */
.home-screen .gh-home {max-width:1116px;margin-inline:auto;display:grid;gap:22px;}
.home-screen .gh-intro {padding:8px 0 2px;}
.home-screen .gh-intro h1 {font-size:clamp(25px,3vw,37px);line-height:1.3;font-weight:650;margin:0 0 8px;letter-spacing:normal;}
.home-screen .gh-intro p,.home-screen .gh-meta p {color:var(--muted);margin:0;font-size:15px;line-height:1.7;}
.home-screen .gh-destinations {display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.home-screen .gh-destination {position:relative;display:flex;align-items:center;gap:16px;min-width:0;min-height:186px;padding:22px;border-radius:24px;border:1px solid var(--line);background:var(--panel);color:var(--ink);box-shadow:var(--glass-shadow);text-align:start;overflow:hidden;}
.home-screen .gh-destination.gh-studio {grid-column:1/-1;min-height:194px;background:var(--selection-surface);border-color:var(--selection-ink);}
.home-screen .gh-destination.gh-practice {grid-column:1/-1;}
.home-screen .gh-destination::before {content:'';position:absolute;inset-inline-end:-75px;top:-65px;width:260px;aspect-ratio:1;border:1px solid var(--selection-ink);border-radius:50%;opacity:.18;pointer-events:none;}
.home-screen .gh-symbol {display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:14px;border:1px solid var(--line);background:var(--bg);color:var(--selection-ink);}
.home-screen .gh-destination .gh-symbol {width:58px;height:58px;}
.home-screen .gh-copy {display:flex;flex:1;min-width:0;flex-direction:column;gap:7px;text-align:start;}
.home-screen .gh-destination .gh-copy strong {font-size:24px;line-height:1.35;}
.home-screen .gh-studio .gh-copy strong {font-size:30px;}
.home-screen .gh-copy > span,.home-screen .gh-copy small {font-size:14px;color:var(--muted);line-height:1.7;}
.home-screen .gh-art {width:clamp(100px,18vw,245px);height:130px;flex:none;background-position:center;background-repeat:no-repeat;background-size:contain;pointer-events:none;}
.home-screen .gh-art-score {background-image:var(--home-score-art);}
.home-screen .gh-art-ear {background-image:var(--home-ear-art);}
.home-screen .gh-chevron {color:var(--selection-ink);width:18px;}
html[dir="rtl"] .home-screen .gh-chevron,html[dir="rtl"] .home-screen .gh-heading .g-icon {transform:scaleX(-1);}
.home-screen .gh-features {background:none;border:0;box-shadow:none;padding:0;margin:0;backdrop-filter:none;}
.home-screen .gh-home h2 {font-size:22px;letter-spacing:normal;line-height:1.4;margin:0 0 12px;}
.home-screen .gh-feature-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.home-screen .gh-feature {display:flex;align-items:flex-start;gap:12px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--glass-surface);box-shadow:var(--glass-soft-shadow);}
.home-screen .gh-feature .gh-symbol {width:36px;height:36px;border-radius:10px;color:var(--accent);}
.home-screen .gh-feature .g-icon {width:18px;height:18px;}
.home-screen .gh-feature h3 {font-size:14px;line-height:1.5;margin:0 0 4px;letter-spacing:normal;}
.home-screen .gh-feature p {font-size:12px;line-height:1.7;color:var(--muted);margin:0;}
.home-screen .gh-meta {display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:12px;color:var(--muted);}
.home-screen .gh-meta p {font-size:12px;}
.home-screen .gh-meta a {color:var(--accent);}
@media (hover:hover) {.home-screen .gh-destination:hover {border-color:var(--selection-ink);}}
@media (min-width:900px) {.home-screen .gh-destination.gh-practice {min-height:150px;}}
@media (max-width:700px) {
  .home-screen .gh-home {gap:16px;}
  .home-screen .gh-intro {text-align:center;padding:10px 0;}
  .home-screen .gh-intro p {font-size:13px;}
  .home-screen .gh-destinations {grid-template-columns:1fr;gap:12px;}
  .home-screen .gh-destination,.home-screen .gh-destination.gh-studio {min-height:122px;padding:14px;gap:10px;border-radius:20px;}
  .home-screen .gh-destination .gh-symbol {width:42px;height:42px;}
  .home-screen .gh-destination .gh-copy strong {font-size:19px;}
  .home-screen .gh-copy > span {font-size:12px;}
  .home-screen .gh-art {width:76px;height:72px;}
  .home-screen .gh-chevron {width:16px;}
  .home-screen .gh-home h2 {font-size:18px;}
  .home-screen .gh-feature-grid {grid-template-columns:1fr;}
  .home-screen .gh-feature {padding:12px;}
}
@media (max-width:365px) {.home-screen .gh-art {width:54px;height:62px;}.home-screen .gh-destination .gh-symbol {width:36px;height:36px;}.home-screen .gh-destination {gap:7px;}}

/* Home without an enclosing panel; the two destinations remain independent. */
.home-screen .gh-home{gap:26px}
.home-screen .gh-destination.gh-studio{
  background:linear-gradient(120deg,var(--selection-surface),color-mix(in srgb,var(--action-base) 9%,var(--panel)));
}
.home-screen .gh-destination.gh-practice{
  background:linear-gradient(135deg,var(--panel),color-mix(in srgb,var(--accent) 8%,var(--panel)));
}
.home-screen .gh-destination::before{display:none}
.home-screen .gh-feature-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.home-screen .gh-feature-heading h2{margin:0}
.home-screen .gh-feature-pause{display:none}
.home-screen .gh-feature-copy{display:none}
.home-screen .gh-feature-viewport{min-width:0}

.home-screen .gh-feature{background:linear-gradient(135deg,var(--panel),color-mix(in srgb,var(--accent) 6%,var(--panel)))}
.home-screen .gh-feature:nth-child(3n+2){background:linear-gradient(135deg,var(--panel),color-mix(in srgb,var(--selection-ink) 8%,var(--panel)))}
.home-screen .gh-feature:nth-child(3n){background:linear-gradient(135deg,var(--panel),color-mix(in srgb,var(--success) 7%,var(--panel)))}
.home-screen .gh-feature .gh-symbol{background:color-mix(in srgb,var(--accent) 12%,var(--panel));border-color:color-mix(in srgb,var(--accent) 20%,var(--line))}
.home-screen .gh-feature:nth-child(3n+2) .gh-symbol{color:var(--selection-ink);background:var(--selection-surface)}
.home-screen .gh-feature:nth-child(3n) .gh-symbol{color:var(--success);background:color-mix(in srgb,var(--success) 10%,var(--panel))}
@media(min-width:701px) and (max-width:899px){.home-screen .gh-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  /* Prevent the three carousel groups from contributing their full intrinsic
     width to the page grid. Only the carousel itself may scroll horizontally. */
  .home-screen .gh-home{gap:19px;width:100%;min-width:0;grid-template-columns:minmax(0,1fr)}
  .home-screen .gh-home > *{min-width:0;max-width:100%}
  .home-screen .gh-feature-viewport{width:100%;max-width:100%}
  .home-screen .gh-feature-heading{margin-bottom:10px}
  .home-screen .gh-feature-pause{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 12px;border-radius:9px;border:1px solid var(--line);background:var(--glass-control);color:var(--accent);font-size:12px}
  .home-screen .gh-feature-viewport{display:flex;direction:ltr;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;position:relative;padding-block:3px 8px}
  .home-screen .gh-feature-viewport::-webkit-scrollbar{display:none}
  .home-screen .gh-feature-grid,.home-screen .gh-feature-copy{display:flex;flex:none;gap:10px;padding-inline-end:10px;align-items:stretch}
  .home-screen .gh-feature{flex:0 0 auto;width:max-content;min-height:0;align-items:center;padding:9px 12px;gap:9px}
  .home-screen .gh-feature > div{flex:none;min-width:max-content}
  .home-screen .gh-feature h3{font-size:13px;line-height:1.4;margin:0 0 3px;white-space:nowrap}
  .home-screen .gh-feature p{font-size:11px;line-height:1.5;white-space:nowrap}
  .home-screen .gh-feature .gh-symbol{width:32px;height:32px;border-radius:9px}
  .home-screen .gh-feature .g-icon{width:17px;height:17px}
}
/* Mobile destination card sizing and positioning from Goosh v1.
   Shared vector artwork is defined by the visual-system theme variables. */
@media (max-width:700px) {
  .home-screen .gh-destinations > .gh-destination {
    min-height:104px;
    padding:10px 14px;
    gap:10px;
    border-radius:20px;
  }
  .home-screen .gh-destinations > .gh-destination .gh-symbol {
    width:48px;height:48px;border-radius:16px;
  }
  .home-screen .gh-destinations > .gh-destination .gh-symbol .g-icon {
    width:24px;height:24px;
  }
  .home-screen .gh-destinations > .gh-destination .gh-copy {gap:6px}
  .home-screen .gh-destinations > .gh-destination .gh-copy strong {font-size:19px;line-height:27px}
  .home-screen .gh-destinations > .gh-destination .gh-copy > span {font-size:13px;line-height:20px}
  .home-screen .gh-destinations > .gh-destination .gh-art {
    width:120px;height:76px;flex:0 0 120px;opacity:.93;
    background-size:contain;background-position:center;
  }
}
/* Keep the normal flex order even though the artwork precedes the copy
   in the markup, allowing narrow screens to use natural text wrapping. */
.home-screen .gh-destinations > .gh-destination > .gh-art {order:1}
/* Mobile Home only: artwork is decorative and does not participate in
   the flex layout. Keep text above the artwork without wrapping. */
@media (max-width:700px) {
  .home-screen .gh-destinations > .gh-destination:is(.gh-studio,.gh-practice) {
    position:relative;
    isolation:isolate;
  }
  .home-screen .gh-destinations > .gh-destination:is(.gh-studio,.gh-practice) > .gh-art {
    display:block;
    position:absolute;
    inset-inline-end:14px;
    top:50%;
    transform:translateY(-50%);
    width:120px;
    height:76px;
    margin:0;
    z-index:0;
  }
  .home-screen .gh-destinations > .gh-destination:is(.gh-studio,.gh-practice) > :is(.gh-symbol,.gh-copy) {
    position:relative;
    z-index:1;
  }
  .home-screen .gh-destinations > .gh-destination:is(.gh-studio,.gh-practice) .gh-copy > :is(strong,span) {
    white-space:nowrap;
    overflow-wrap:normal;
    word-break:normal;
  }
}

/* The mobile feature strip is editorial information, not a set of actions. */
@media (max-width:700px) {
  .home-screen .gh-feature:nth-child(n) {
    padding:5px 11px;
    gap:7px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    cursor:default;
  }
  .home-screen .gh-feature:nth-child(n) .gh-symbol {
    width:23px;height:23px;
    border:0;
    background:transparent;
    box-shadow:none;
  }
  .home-screen .gh-feature h3 {font-weight:650;margin-bottom:1px}
  .home-screen .gh-feature p {font-size:11px}
  .home-screen .gh-feature .g-icon {width:17px;height:17px}
  .home-screen .gh-feature + .gh-feature {border-inline-start:1px solid var(--line)}
}

/* Desktop Home capabilities: eight evenly aligned items in one compact section.
   Keep the mobile carousel, destination cards and feature content unchanged. */
@media screen and (min-width:701px) and (pointer:fine) {
  .home-screen .gh-features {
    min-width:0;
    padding:14px;
    border:1px solid var(--line);
    border-radius:18px;
    background:var(--glass-surface);
  }
  .home-screen .gh-feature-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:1fr;
    gap:8px;
    align-items:stretch;
  }
  .home-screen .gh-feature-copy {display:none;}
  .home-screen .gh-feature-grid > .gh-feature:nth-child(n) {
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    align-items:start;
    gap:10px;
    padding:12px;
    border:1px solid color-mix(in srgb,var(--line) 75%,transparent);
    border-radius:12px;
    background:color-mix(in srgb,var(--panel) 76%,transparent);
    box-shadow:none;
  }
  .home-screen .gh-feature-grid > .gh-feature:nth-child(n) .gh-symbol {
    width:34px;height:34px;border-radius:9px;
    color:var(--accent);
    background:color-mix(in srgb,var(--accent) 12%,var(--panel));
    border-color:color-mix(in srgb,var(--accent) 20%,var(--line));
  }
  .home-screen .gh-feature > div {min-width:0;}
  .home-screen .gh-feature h3 {font-size:13px;line-height:1.55;margin:0 0 4px;overflow-wrap:anywhere;}
  .home-screen .gh-feature p {font-size:12px;line-height:1.65;overflow-wrap:anywhere;}
}
@media screen and (min-width:1000px) and (pointer:fine) {
  .home-screen .gh-feature-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
}


