/* Shared native header, signup placements and Default booking surface. */
#site-header .desktop-nav { gap: 3px; }
#site-header .desktop-nav > a,
#site-header .resources-toggle {
  padding: 7px 11px;
  border-radius: 9px;
  white-space: nowrap;
  transition: opacity .16s ease, background-color .16s ease;
}
/* Override the original :has sibling field, including keyboard and open states. */
#site-header .desktop-nav a,
#site-header .desktop-nav:has(a:hover) a:not(:hover),
#site-header .desktop-nav:has(a:focus-visible) a:not(:focus-visible),
#site-header .resources-toggle {
  filter: none;
  opacity: 1;
}
#site-header .desktop-nav > a,
#site-header .desktop-nav:has(a:hover) > a:not(:hover),
#site-header .desktop-nav:has(a:focus-visible) > a:not(:focus-visible),
#site-header .resources-toggle { opacity: .72; }
#site-header .desktop-nav > a:is(:hover, :focus-visible, [aria-current]),
#site-header .desktop-nav:has(a:is(:hover, :focus-visible)) > a:is(:hover, :focus-visible, [aria-current]),
#site-header .resources-toggle:is(:hover, :focus-visible, [aria-current], [aria-expanded="true"]) { opacity: 1; }
#site-header .desktop-nav > a:hover,
#site-header .resources-toggle:is(:hover, [aria-expanded="true"]) { background-color: color-mix(in srgb, currentColor 7%, transparent); }
#site-header .nav-divider { margin-inline: 8px; }
:is(#site-header, #mobile-menu) .resource-link:is([data-resource-object], [data-object]):is(:hover, :focus-visible) {
  background-color: color-mix(in srgb, var(--resources-ink, currentColor) 5%, transparent);
  box-shadow: none;
}
:is(#site-header, #mobile-menu):has([data-resource-object]) .resource-link:is(:hover, :focus-visible) .resource-copy strong {
  color: var(--resources-ink, currentColor);
}
#site-header :is(a, button):focus-visible,
#mobile-menu :is(a, button, summary):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
#site-header .header-waitlist.waitlist-cta {
  width: 176px;
  height: 46px;
  min-height: 46px;
  flex: none;
  --waitlist-hue: 285;
}
#site-header .header-waitlist .waitlist-trigger {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
}
/* Security's dedicated header link uses the same geometry. */
#site-header .security-demo-link { width: 176px; height: 46px; min-height: 46px; box-sizing: border-box; font-size: 14px; font-weight: 500; }
/* Keep header focus rings inside the clipped CTA and override outer glow rings. */
#site-header .header-waitlist .waitlist-trigger:focus-visible,
#site-header .security-demo-link:focus-visible {
  outline: 2px solid #fffdf8;
  outline-offset: -4px;
  border-radius: inherit;
  box-shadow: none;
}
.hero-actions:has(> .native-demo-button) .waitlist-trigger,
.native-closing-actions .waitlist-trigger,
.pc-signup .waitlist-trigger,
.ph-enterprise-signup .ph-enterprise-action {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.005em;
}
.hero-actions:has(> .native-demo-button) { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; max-width: 100%; }
.hero-actions:has(> .native-demo-button) .hero-signup { margin: 0; }
.hero-actions:has(> .native-demo-button) .hero-cta.waitlist-cta { margin: 0; width: 214px; height: 46px; min-height: 46px; }
.hero-actions:has(> .native-demo-button) .waitlist-trigger { display: flex; align-items: center; justify-content: center; height: 46px; box-sizing: border-box; white-space: nowrap; }
.hero-actions:has(> .native-demo-button) .native-demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  min-height: 46px;
  padding: 10px 26px;
  box-sizing: border-box;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
  text-decoration: none;
  color: #28351e;
  background: radial-gradient(101.79% 101.79% at 65.61% 81.79%, #ffffffa6 0%, #ffffff00 100%), radial-gradient(114.65% 114.65% at 9.73% 17.27%, #fbf5df 0%, #c9cbae 100%);
  box-shadow: 8px 10px 18px #0c1a163d;
}
.native-hero-credit { display: block; order: 2; flex-basis: 100%; margin-top: 4px; box-sizing: border-box; font-size: 15px; line-height: 1.4; text-align: center; text-wrap: balance; color: #fffdf8; text-shadow: 0 1px 3px #14200e, 0 1px 12px #14200e; }
:is(.profile-hero, .app-hero) .hero-actions:has(> .native-demo-button) { justify-content: flex-start; }
:is(.profile-hero, .app-hero) .native-hero-credit { padding-right: max(0px, calc(100% - 400px)); text-align: left; color: #302b33; text-shadow: none; }
.native-closing-actions.closing-actions { flex-direction: column; align-items: center; gap: 0; }
.native-closing-actions .inline-waitlist.waitlist-cta,
.pc-signup .inline-waitlist.waitlist-cta,
.ph-enterprise-signup .ph-enterprise-action { height: 46px; min-height: 46px; box-sizing: border-box; }
.native-closing-credit { display: block; margin-top: 12px; font-size: 14px; line-height: 1.45; text-align: center; text-wrap: balance; color: inherit; opacity: .82; }
.native-closing-links { display: flex; gap: 18px; justify-content: center; margin-top: 10px; }
.native-closing-links a,
.closing-actions .native-closing-links .access-link { min-height: 0; padding: 0; font-size: 13px; line-height: 1.5; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.native-demo-button:focus-visible,
.native-closing-links a:focus-visible,
.inline-waitlist a.waitlist-trigger:focus-visible,
.native-demo-dialog button:focus-visible { outline: 2px solid #fffdf8; outline-offset: 3px; box-shadow: 0 0 0 5px #643975; }
@media (min-width: 1001px) and (max-width: 1100px) {
  #site-header .desktop-nav { gap: 0; }
  #site-header .desktop-nav > a, #site-header .resources-toggle { padding-inline: 8px; }
  #site-header .nav-divider { margin-inline: 4px; }
}
@media (max-width: 1000px) {
  #site-header .header-waitlist.waitlist-cta, #site-header .security-demo-link { width: 160px; }
  #site-header .header-waitlist .waitlist-trigger, #site-header .security-demo-link { font-size: 13px; }
}
@media (max-width: 600px) {
  .hero-actions:has(> .native-demo-button) { width: 100%; margin-inline: auto; }
  .hero-actions:has(> .native-demo-button) .hero-signup { flex: 1.4 1 0; min-width: 0; }
  .hero-actions:has(> .native-demo-button) .hero-cta.waitlist-cta { width: 100%; max-width: none; }
  .hero-actions:has(> .native-demo-button) .waitlist-trigger { padding: 10px; gap: 7px; font-size: 15px; }
  .hero-actions:has(> .native-demo-button) .waitlist-slack { width: 18px; height: 18px; flex-basis: 18px; }
  .hero-actions:has(> .native-demo-button) .native-demo-button { flex: 1 1 0; padding: 10px 12px; }
  .native-hero-credit { padding-inline: max(0px, calc((100% - 320px) / 2)); margin-inline: auto; }
  :is(.profile-hero, .app-hero) .native-hero-credit { padding-inline: 0; margin-inline: 0; }
  :is(.profile-hero, .app-hero) .hero-actions:has(> .native-demo-button) { max-width: 342px; margin-inline: 0; }
}

/* Default's logo strip is cropped above one clipped calendar viewport. */
.native-demo-dialog {
  width: min(800px, calc(100vw - 32px));
  max-width: min(800px, calc(100vw - 32px));
  height: min(720px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 40px 0 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 16px;
  overflow: clip;
  background: #fff;
  color: #201c24;
}
.native-demo-dialog[open] { display: block; }
.native-demo-dialog:not([open]) { display: none; }
.native-demo-dialog::backdrop { background: #201c2480; }
.native-demo-dialog::before { content: ""; position: absolute; inset: 0 0 auto; height: 40px; background: #fff; z-index: 1; pointer-events: none; }
.native-demo-close { position: absolute; top: 2px; right: 8px; min-width: 36px; min-height: 36px; z-index: 2; border: 0; background: #fff; color: #201c24; border-radius: 8px; font-size: 24px; cursor: pointer; }
.native-demo-calendar { clip-path: inset(0); contain: paint; isolation: isolate; position: relative; height: 100%; width: 100%; min-height: 0; overflow: clip; }
.native-demo-calendar iframe { position: absolute; top: -64px; left: 0; display: block; width: 100%; height: calc(100% + 64px); border: 0; }
/* This surface stays behind the iframe and is hidden before the loaded frame appears. */
.native-demo-skeleton { position: absolute; inset: 0 0 64px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); align-content: start; gap: 32px; padding: 32px; background: #fff; pointer-events: none; }
.native-demo-skeleton[hidden] { display: none; }
.native-demo-skeleton-panel { min-width: 0; }
.native-demo-skeleton-heading, .native-demo-skeleton-days span, .native-demo-skeleton-times span { display: block; border-radius: 6px; background: #eeedeb; animation: native-demo-pulse 1.8s ease-in-out infinite; }
.native-demo-skeleton-heading { width: 42%; height: 18px; margin-bottom: 28px; }
.native-demo-skeleton-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.native-demo-skeleton-days span { aspect-ratio: 1; }
.native-demo-skeleton-times { display: grid; gap: 12px; padding-top: 46px; align-content: start; }
.native-demo-skeleton-times span { height: 42px; }
@keyframes native-demo-pulse { 50% { opacity: .5; } }
.native-demo-status { position: absolute; bottom: 16px; left: 16px; right: 16px; font: 14px/1.5 HelveticaNow, Arial, sans-serif; text-align: center; }
.native-demo-status[hidden] { display: none; }
.native-demo-status button { color: inherit; font: inherit; border: 0; background: none; text-decoration: underline; cursor: pointer; }
@media (max-width: 600px) {
  .native-demo-calendar iframe { height: calc(100% + 50px); top: -50px; }
  .native-demo-skeleton { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; }
  .native-demo-skeleton-times { padding-top: 0; }
  .native-demo-dialog { width: calc(100vw - 16px); max-width: calc(100vw - 16px); height: min(740px, calc(100dvh - 16px)); max-height: calc(100dvh - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .native-demo-skeleton-heading, .native-demo-skeleton-days span, .native-demo-skeleton-times span { animation: none; }
  #site-header .desktop-nav > a, #site-header .resources-toggle, .hero-actions:has(> .native-demo-button) .native-demo-button { transition: none; }
}
