/* V-20260919-KEY-FRAMES-390 — phone belt grammar. Not leftover cream on Home. v=20260920q */

html:has(body.try-page) {
  background: var(--bg);
}

html:has(body.try-page)::before {
  content: "";
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 92% 64% at -4% -6%,
      color-mix(in srgb, var(--accent) 84%, transparent),
      transparent 64%
    ),
    radial-gradient(
      ellipse 78% 58% at 104% 2%,
      color-mix(in srgb, var(--orange) 80%, transparent),
      transparent 62%
    );
}

body.try-page {
  background: transparent;
}

body.try-page .try-chrome,
body.try-page .try-wrap,
body.try-page .site-footer,
body.try-page .try-toast {
  position: relative;
  z-index: 1;
}

body.try-page .try-chrome {
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom-color: color-mix(in srgb, var(--border-subtle) 70%, transparent);
}

body.try-page .try-chrome-inner {
  box-sizing: border-box;
  align-items: center;
  min-height: 83px;
  padding: 0.5rem 0.85rem;
  gap: 0.4rem;
}

body.try-page a.try-lockup {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
  flex: 0 1 auto;
}

body.try-page .try-lockup .logo-mark--img {
  width: 3.5rem;
  max-height: 40px;
  height: auto;
}

body.try-page .try-lockup .logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: var(--tracking-tight, -0.02em);
}

body.try-page .try-lockup .logo-tld {
  display: block;
  color: var(--accent-muted, var(--text-muted));
  font-size: 0.58em;
  font-weight: 600;
}

body.try-page .try-chrome-inner .try-nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.3rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.75rem 0 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1;
}

body.try-page .try-chrome-inner .try-nav-login::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 32% 28%, #d48a94 0%, #b85a68 52%, #8a3f4a 100%);
  border: 1px solid #8a3f4a;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    0 1px 2px rgba(138, 63, 74, 0.35);
}

body.try-page .try-chrome .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 0.7rem;
  gap: 0.3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text);
}

body.try-page .try-chrome .menu-toggle-label {
  display: inline;
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 480px) {
  body.try-page .try-chrome .menu-toggle svg {
    display: none;
  }

  body.try-page .try-chrome .menu-toggle-label {
    display: inline;
  }
}

@media (max-width: 767px) {
  body.try-page .try-chrome-inner {
    flex-wrap: nowrap;
    width: 100%;
  }

  body.try-page .try-chrome-inner > .header-tools {
    display: none;
  }
}

@media (max-width: 360px) {
  body.try-page .try-lockup .logo-text {
    display: inline-flex;
  }

  body.try-page .try-chrome .menu-toggle svg {
    display: block;
  }

  body.try-page .try-chrome .menu-toggle-label {
    display: none;
  }

  body.try-page .try-chrome .menu-toggle {
    width: 44px;
    max-width: 44px;
    padding: 0;
  }
}

body.try-page .try-classic {
  display: none;
}

body.try-page .site-footer {
  background: transparent;
  border-top: 1px solid color-mix(in srgb, var(--border-subtle) 70%, transparent);
  margin-top: auto;
}

@media (max-width: 480px) {
  body.try-page .site-footer .footer-donate {
    display: none;
  }

  body.try-page .site-footer .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "links";
    align-items: start;
    gap: 0.45rem;
  }

  body.try-page .site-footer .footer-about-stack {
    grid-area: brand;
  }

  body.try-page .site-footer .footer-links {
    grid-area: links;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.85fr) minmax(0, 0.75fr);
    gap: 4px 6px;
    width: 100%;
  }

  body.try-page .site-footer .footer-links a:nth-child(1) { grid-column: 1; grid-row: 1; }
  body.try-page .site-footer .footer-links a:nth-child(2) { grid-column: 2; grid-row: 1; }
  body.try-page .site-footer .footer-links a:nth-child(3) { grid-column: 3; grid-row: 1; }
  body.try-page .site-footer .footer-links a:nth-child(4) { grid-column: 1; grid-row: 2; }
  body.try-page .site-footer .footer-links a:nth-child(5) { grid-column: 2; grid-row: 2; }
  body.try-page .site-footer .footer-links a:nth-child(6) { grid-column: 3; grid-row: 2; }

  body.try-page .site-footer .footer-links a {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.15rem 0.08rem;
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
  }

  body.try-page .site-footer .footer-links .footer-donate {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .try-wrap {
    display: flex;
    flex-direction: column;
  }

  .try-wrap > .try-card {
    order: 1;
  }

  .try-wrap > .try-classic {
    order: 2;
    margin: 0.85rem 0 0;
  }

  .try-card h1 {
    font-size: 1.85rem;
    letter-spacing: -0.03em;
    color: #0b1f3a;
  }

  body.try-page.get-page #get-title {
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    color: #0b1f3a;
  }

  body.try-page .try-card .btn-primary {
    width: 100%;
  }

  body.try-page .try-os,
  body.get-page .try-os {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  body.try-page .try-os .try-chip,
  body.get-page .try-os .try-chip {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 4.4rem;
    padding: 0.4rem 0.25rem;
    border-radius: 1rem;
    font-size: 0.8125rem;
    line-height: 1.1;
    text-align: center;
    box-sizing: border-box;
  }

  body.try-page .try-os .try-chip img,
  body.get-page .try-os .try-chip img {
    width: 1.75rem;
    height: 1.75rem;
  }

  body.get-page #get-os-label:empty {
    display: none;
  }

  .about-toc a {
    white-space: normal;
    max-width: 100%;
  }

  [data-theme="light"] .hero-quiet .brand-hero,
  [data-theme="light"] .hero-quiet .page-title--hero,
  [data-theme="light"] .page-editorial .page-title,
  [data-theme="light"] .page-faq .page-title,
  [data-theme="light"] .page-pricing .page-title,
  [data-theme="light"] .page-auth .page-title,
  [data-theme="light"] .page-archive .page-title,
  [data-theme="light"] .page-risks .page-title,
  [data-theme="light"] .page-tech .page-title,
  [data-theme="light"] .donate-page .page-title {
    color: #0b1f3a;
  }

  [data-theme="light"] .page-editorial .about-hero .page-title,
  [data-theme="light"] .page-editorial .page-head .page-title {
    padding-bottom: 0.35rem;
    border-bottom: 2px solid color-mix(in srgb, #0b1f3a 42%, transparent);
  }

  [data-theme="light"] .page-editorial--about .about-hero {
    border-bottom: 0;
  }

  [data-theme="light"] .page-faq .page-head .page-title,
  [data-theme="light"] .page-pricing .page-head .page-title,
  [data-theme="light"] .privacy-page .page-head .page-title,
  [data-theme="light"] .terms-page .page-head .page-title,
  [data-theme="light"] .page-archive .page-head .page-title,
  [data-theme="light"] .page-risks .page-head .page-title,
  [data-theme="light"] .page-tech .page-head .page-title,
  [data-theme="light"] .donate-page .page-title {
    padding-bottom: 0.35rem;
    border-bottom: 2px solid color-mix(in srgb, #0b1f3a 42%, transparent);
  }

  .terms-toc a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
  }

  .terms-toc a:hover,
  .terms-toc a:focus-visible {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--text-muted) 50%, transparent);
    text-underline-offset: 0.2em;
  }

  #dash-pane-links .access-id-plate,
  #dash-pane-links .access-how {
    display: none;
  }

  .page-head .page-lead + .page-nav-hint {
    margin-top: 0.35rem;
    margin-bottom: 0.85rem;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
  }

  .page-auth .auth-create-lead {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.4;
  }

  .donate-page .donate-lifetime {
    margin: 0.35rem 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-muted);
  }

  .page-tech .tech-steps {
    margin: 0.65rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: tech;
  }

  .page-tech .tech-steps li {
    position: relative;
    margin: 0 0 0.7rem;
    padding-left: 2rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.45;
    counter-increment: tech;
  }

  .page-tech .tech-steps li::before {
    content: counter(tech, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--text-muted);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
  }

  .privacy-page .about-contact a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
  }

  .privacy-page .about-contact a:hover,
  .privacy-page .about-contact a:focus-visible {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--text-muted) 50%, transparent);
    text-underline-offset: 0.2em;
  }

  .privacy-page.page-editorial--about .about-hero .page-title,
  .terms-page.page-editorial--about .about-hero .page-title,
  .page-risks .page-title {
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .privacy-page .eyebrow,
  .terms-page .eyebrow,
  .page-editorial--about .about-hero .page-lead {
    hyphens: none;
    -webkit-hyphens: none;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body {
    hyphens: none;
    -webkit-hyphens: none;
  }

  .qr-tile__why,
  .cab-qr .qr-tile__why {
    hyphens: none;
    -webkit-hyphens: none;
  }

  .pricing-card__more:not([open]) .pricing-card__list {
    display: none;
  }

  .faq-layout {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .faq-layout > .accordion {
    order: 1;
  }

  .faq-layout > .faq-aside {
    order: 2;
  }

  [data-theme="light"] #dash-pane-links #access-line-title {
    color: #0b1f3a;
  }
}

/* Key Frame Overview: door CTA, not URI field. QR nest, not poster. Not Links pack. */
@media (max-width: 479px) {
  #dash-pane-overview .security-copy-field.cab-url {
    display: block;
    border: 0;
    background: none;
    padding: 0;
    gap: 0;
  }

  #dash-pane-overview .security-copy-field.cab-url .link-input.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    pointer-events: none;
  }

  #dash-pane-overview #security-copy-url {
    width: 100%;
  }

}

/* Invitations: two equal wings. CARD.1 is the object; hub stencil is leftover. All belts. */
body.is-dashboard-dock .member-page--dashboard .throw-pad__hub,
body.is-dashboard-dock .member-page--dashboard .throw-pad--empty .throw-pad__hub {
  display: none;
}

body.is-dashboard-dock .member-page--dashboard .throw-pad,
body.is-dashboard-dock .member-page--dashboard .throw-pad--empty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0.65rem;
}

body.is-dashboard-dock .member-page--dashboard .throw-pad__wing--start,
body.is-dashboard-dock .member-page--dashboard .throw-pad__wing--end {
  align-items: center;
  text-align: center;
}

body.is-dashboard-dock .member-page--dashboard .throw-pad__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  margin: 0 0 0.2rem;
  padding: 0.2rem 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.8125rem;
}

body.is-dashboard-dock .member-page--dashboard .throw-pad__hint {
  margin: 0 0 0.45rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 400;
}

body.is-dashboard-dock .member-page--dashboard .throw-pad__wing--start .throw-pad__gestures,
body.is-dashboard-dock .member-page--dashboard .throw-pad__wing--end .throw-pad__gestures,
body.is-dashboard-dock .member-page--dashboard .throw-pad__btn {
  margin-inline: auto;
}

body.is-dashboard-dock .member-page--dashboard .throw-pad__gestures {
  max-width: 8.75rem;
}

body.is-dashboard-dock .member-page--dashboard .member-card--door .member-card__actions #security-download-qr {
  flex: 1 1 8rem;
}

body.is-dashboard-dock .member-page--dashboard .member-card--door .workspace-id {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0.55rem 0 0;
  text-align: start;
  cursor: pointer;
  color: inherit;
}
